| java.lang.Object fri.patterns.interpreter.parsergenerator.lexer.ResultTree
ResultTree | public class ResultTree (Code) | | Lexer result tree element, holding texts, its line/column range, and result children.
author: Fritz Ritzberger, 2003 |
getChild | public Object getChild(int i)(Code) | | Returns the child at index i of this element, which could be StringBuffer or ResultTree.
|
getChildCount | public int getChildCount()(Code) | | Returns the count of children of this element.
|
getRange | public Token.Range getRange()(Code) | | Returns the character- or byte-range within input where the token was found.
|
getRule | public Rule getRule()(Code) | | Returns the rule this ResultTree was built from.
|
hasText | public boolean hasText()(Code) | | Returns true if this ResultTree or any of its children has text.
|
toString | public String toString()(Code) | | Returns the String text of this ResultTree, including any text of its children.
|
|
|