Appearance
Home > resol-vbus-core-script > parseScript
parseScript() function
Parse the provided script contents into a function.
Signature:
typescript
export declare function parseScript(scriptContents: string, filename: string): ParsedScript;
Parameters
Parameter | Type | Description |
---|---|---|
scriptContents | string | The script contents to parse. |
filename | string | The file name for diagnostics. |
The script function and reported diagnostics.