GenericNonterminalUnion.Union

Tagged union of types for nonterminals. Used internally by the parser. The tree creator can also choose a custom implementation.

Members

Aliases

Location
alias Location = CreatorInstance.Location
Undocumented in source.

Functions

get
inout(NonterminalType!nonterminalID2) get()
Undocumented in source.
get
auto get()
Undocumented in source. Be warned that the author may not have intended to support it.
getT
inout(T) getT()
Undocumented in source. Be warned that the author may not have intended to support it.
isType
bool isType()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(Union!(singleNonterminalID2, maxSize2) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
setT
void setT(T data, SymbolID nonterminalID3)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

nonterminalID
enum nonterminalID;
Undocumented in source.

Static functions

create
Union create(SymbolID nonterminalID, T tree)
Undocumented in source. Be warned that the author may not have intended to support it.
create
Union create(SymbolID nonterminalID)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

nonterminalIDs
auto nonterminalIDs;
Undocumented in source.
nonterminalIDs
auto nonterminalIDs;
Undocumented in source.

Templates

NonterminalType
template NonterminalType(SymbolID nonterminalID)
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

nonterminalID
SymbolID nonterminalID;
Undocumented in source.
values
AliasSeq!(NonterminalType!(singleNonterminalID)) values;
Undocumented in source.

Meta