Classes
Methods
(static) parseExpression(exprText) → {Object}
Parse a BareScript expression
Parameters:
Name | Type | Description |
---|---|---|
exprText |
string | The expression text |
Throws:
Returns:
The expression model
- Type
- Object
(static) parseScript(scriptText, startLineNumberopt) → {Object}
Parse a BareScript script
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
scriptText |
string | Array.<string> | The script text |
||
startLineNumber |
number |
<optional> |
1 | The script's starting line number |
Throws:
Returns:
The BareScript model
- Type
- Object