Mixin: Symbols

Eleven~ Symbols

Mixin with a symbol table. Private method names start with an underscore.

Properties:
Name Type Description
symbols Map

symbol table, maps names to descriptions; imported from previous visitor, if any.

Source:

Members


constructor

Creates the Map for symbol descriptions or gets it from the previous processor.

Source:

Methods


_alloc(name)

Returns a name's description, if necessary creates it.

Parameters:
Name Type Description
name string

to allocate.

Source:
Returns:

description which indicates creation order, starting at 1.

Type
ord:number