Click or drag to resize

ITreeAdaptorCreate Method

Overload List
  NameDescription
Public methodCreate(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.
Public methodCreate(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].
Public methodCreate(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"].
Public methodCreate(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'>.
Public methodCreate(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"].
Top
See Also