Mixin: Check_Names

Eleven~ Check_Names

Methods to check names, return (typed) node. Requires Symbols.

Source:

Methods


_type(lineno, name)

Utility: returns type of name, defaulted to number.

Parameters:
Name Type Description
lineno number

for error message, if any.

name string

to find.

Source:

assign(node)

[ 'assign' name value ] casts value to type of name.

Parameters:
Name Type Description
node Array

to check.

Source:

name(node)

Returns node.type(name), if undefined node.number.

Parameters:
Name Type Description
node Array

to check.

Source: