Method | Description | |
---|---|---|
Descendants ( IParseTree t ) : IList |
||
FindAllNodes ( IParseTree t, int index, bool findTokens ) : IList |
||
FindAllRuleNodes ( IParseTree t, int ruleIndex ) : ICollection |
||
FindAllTokenNodes ( IParseTree t, int ttype ) : ICollection |
||
GetChildren ( ITree t ) : IList |
Return ordered list of all children of this node
|
|
GetNodeText ( ITree t, IList |
||
GetNodeText ( ITree t, Parser recog ) : string | ||
ToStringTree ( ITree t ) : string |
Print out a whole tree in LISP form. Print out a whole tree in LISP form. GetNodeText(ITree, Antlr4.Runtime.Parser) is used on the node payloads to get the text for the nodes. Detect parse trees and extract data appropriately. |
|
ToStringTree ( ITree t, IList |
Print out a whole tree in LISP form. Print out a whole tree in LISP form. GetNodeText(ITree, Antlr4.Runtime.Parser) is used on the node payloads to get the text for the nodes. Detect parse trees and extract data appropriately. |
|
ToStringTree ( ITree t, Parser recog ) : string |
Print out a whole tree in LISP form. Print out a whole tree in LISP form. GetNodeText(ITree, Antlr4.Runtime.Parser) is used on the node payloads to get the text for the nodes. Detect parse trees and extract data appropriately. |
Method | Description | |
---|---|---|
GetAncestors ( ITree t ) : IList |
||
Trees ( ) : System.Collections.Generic | ||
_findAllNodes ( IParseTree t, int index, bool findTokens, IList |
public static Descendants ( IParseTree t ) : IList |
||
t | IParseTree | |
return | IList |
public static FindAllNodes ( IParseTree t, int index, bool findTokens ) : IList |
||
t | IParseTree | |
index | int | |
findTokens | bool | |
return | IList |
public static FindAllRuleNodes ( IParseTree t, int ruleIndex ) : ICollection |
||
t | IParseTree | |
ruleIndex | int | |
return | ICollection |
public static FindAllTokenNodes ( IParseTree t, int ttype ) : ICollection |
||
t | IParseTree | |
ttype | int | |
return | ICollection |
public static GetChildren ( ITree t ) : IList |
||
t | ITree | |
return | IList |
public static GetNodeText ( ITree t, IList |
||
t | ITree | |
ruleNames | IList |
|
return | string |
public static GetNodeText ( ITree t, Parser recog ) : string | ||
t | ITree | |
recog | Parser | |
return | string |
public static ToStringTree ( ITree t ) : string | ||
t | ITree | |
return | string |
public static ToStringTree ( ITree t, IList |
||
t | ITree | |
ruleNames | IList |
|
return | string |
public static ToStringTree ( ITree t, Parser recog ) : string | ||
t | ITree | |
recog | Parser | |
return | string |