SymbolInstance

Metadata about a symbol inside a production.

Alias This

symbol

Members

Variables

annotations
string[] annotations;

Annotations for the symbol from the grammar file.

dropNode
bool dropNode;

This symbol should not be represented as a node in the parse tree.

negLookaheads
immutable(Symbol)[] negLookaheads;

Negative lookahead for this symbol.

subToken
string subToken;

Expected content for tokens with only one allowed value.

symbol
Symbol symbol;

ID of the symbol.

symbolInstanceName
string symbolInstanceName;

Optional name for this symbol inside the production.

unwrapProduction
bool unwrapProduction;

The production should be replaced with this symbol in the parse tree.

Meta