Skip to content

BasicSymbol

BasicSymbol is a kind of OutputSymbol that has instance and static members. It is suitable for use in simple language implementations where there isn’t much in the way of unique symbol semantics.

Extends OutputSymbol

copy() => BasicSymbol
instanceMembersimport(”./output-space.js”).OutputMemberSpace
memberSpacesstring[]
staticMembersimport(”./output-space.js”).OutputMemberSpace

Instantiation is done by copying symbols from instance members to static members of the instantiation target.