ITreeAdaptorCreate Method |
Name | Description | |
---|---|---|
![]() | Create(IToken) |
Create a tree node from Token object; for CommonTree type trees,
then the token just becomes the payload. This is the most
common create call.
|
![]() | Create(Int32, IToken) |
Create a new node derived from a token, with a new token type.
This is invoked from an imaginary node ref on right side of a
rewrite rule as IMAG[$tokenLabel].
|
![]() | Create(Int32, String) |
Create a new node derived from a token, with a new token type.
This is invoked from an imaginary node ref on right side of a
rewrite rule as IMAG["IMAG"].
|
![]() | Create(IToken, String) |
Same as create(fromToken) except set the text too.
This is invoked when the text terminal option is set, as in
IMAG<text='IMAG'>.
|
![]() | Create(Int32, IToken, String) |
Same as create(tokenType,fromToken) except set the text too.
This is invoked from an imaginary node ref on right side of a
rewrite rule as IMAG[$tokenLabel, "IMAG"].
|