net.sf.parser4j.parser.entity.syntaxnode
Class SyntaxNode
java.lang.Object
net.sf.parser4j.parser.entity.syntaxnode.SyntaxNode
public class SyntaxNode
- extends java.lang.Object
- Author:
- luc peuvrier
Constructor Summary |
SyntaxNode(java.lang.String grammarSymbolName,
java.lang.String matchIdentifier,
boolean terminal,
boolean whiteSpace,
SyntaxNode[] sonSyntaxNode,
int[] notWhiteIndexes,
java.lang.String value,
SyntaxNode[] alternative,
java.lang.String fileName,
int beginLineNumber,
int beginColumnNumber,
int endLineNumber,
int endColumnNumber,
ParsingToStringUtil parsingToStringUtil)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SyntaxNode
public SyntaxNode(java.lang.String grammarSymbolName,
java.lang.String matchIdentifier,
boolean terminal,
boolean whiteSpace,
SyntaxNode[] sonSyntaxNode,
int[] notWhiteIndexes,
java.lang.String value,
SyntaxNode[] alternative,
java.lang.String fileName,
int beginLineNumber,
int beginColumnNumber,
int endLineNumber,
int endColumnNumber,
ParsingToStringUtil parsingToStringUtil)
getGrammarSymbolName
public java.lang.String getGrammarSymbolName()
getMatchIdentifier
public java.lang.String getMatchIdentifier()
isTerminal
public boolean isTerminal()
isNonTerminal
public boolean isNonTerminal()
isWhiteSpace
public boolean isWhiteSpace()
getSonSyntaxNode
public SyntaxNode[] getSonSyntaxNode()
getNotWhiteIndexes
public int[] getNotWhiteIndexes()
getValue
public java.lang.String getValue()
getAlternative
public SyntaxNode[] getAlternative()
getFileName
public java.lang.String getFileName()
getBeginLineNumber
public int getBeginLineNumber()
getBeginColumnNumber
public int getBeginColumnNumber()
getEndLineNumber
public int getEndLineNumber()
getEndColumnNumber
public int getEndColumnNumber()
accept
public void accept(ISyntaxNodeVisitor visitor)
getMyIdentifier
public int getMyIdentifier()
getNumberOfAlternative
public int getNumberOfAlternative()
toString
public java.lang.String toString(boolean visitAgainEnabled)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.