Members
(static, constant) bareScriptTypes
The BareScript type model
Methods
(static) lintScript(script, globalsnullable) → {Array.<string>}
Lint a BareScript script model
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
script |
Object | The BareScript model |
|
globals |
Object |
<nullable> |
The script global variables |
Returns:
The array of lint warnings
- Type
- Array.<string>
(static) validateExpression(expr) → {Object}
Validate an expression model
Parameters:
| Name | Type | Description |
|---|---|---|
expr |
Object | The expression model |
Throws:
Returns:
The validated expression model
- Type
- Object
(static) validateScript(script) → {Object}
Validate a BareScript script model
Parameters:
| Name | Type | Description |
|---|---|---|
script |
Object | The BareScript model |
Throws:
Returns:
The validated BareScript model
- Type
- Object