Module: lib/model

Members

(static, constant) bareScriptTypes

The BareScript type model

Source:

Methods

(static) lintScript(script) → {Array.<string>}

Lint a BareScript script model

Parameters:
Name Type Description
script Object

The BareScript model

Source:
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

Source:
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

Source:
Throws:
Returns:

The validated BareScript model

Type
Object