org.sonar.sslr.internal.matchers
Class ParseNode
java.lang.Object
org.sonar.sslr.internal.matchers.ParseNode
public class ParseNode
- extends Object
Node of a parse tree.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseNode
public ParseNode(int startIndex,
int endIndex,
List<ParseNode> children,
Matcher matcher)
ParseNode
public ParseNode(int startIndex,
int endIndex,
Matcher matcher)
- Leaf node.
getStartIndex
public int getStartIndex()
getEndIndex
public int getEndIndex()
- Be aware that element of input with this index is not included into this node.
getChildren
public List<ParseNode> getChildren()
getMatcher
public Matcher getMatcher()
Copyright © 2009-2014 SonarSource. All Rights Reserved.