Members
(static, constant) bareScriptTypes
The BareScript type model
Methods
(static) lintScript(script) → {Array.<string>}
Lint a BareScript script model
Parameters:
Name | Type | Description |
---|---|---|
script |
Object | The BareScript model |
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