Type Validation for Applications Incorporating A Weakly-Typed Language
A method for performing type validation of scripts in a complex application is provided. The method comprises the following steps. A variable table comprising all application domain entities is created. The application domain entities includes formal parameters expected by functions within the appli...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method for performing type validation of scripts in a complex application is provided. The method comprises the following steps. A variable table comprising all application domain entities is created. The application domain entities includes formal parameters expected by functions within the application. At least some of the scripts in the application are tokenized into functions and associated actual parameters. The actual parameters are validated in accordance with the corresponding formal parameters in accordance with a predefined rule set. A notification is presented if the actual parameters are not validated. A computer readable medium comprising instructions for executing the method is also provided. A script validator for performing type validation is also provided, |
---|