net.sf.parser4j.parser.entity.syntaxnode
Class SyntaxNode

java.lang.Object
  extended by 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)
           
 
Method Summary
 void accept(ISyntaxNodeVisitor visitor)
           
 SyntaxNode[] getAlternative()
           
 int getBeginColumnNumber()
           
 int getBeginLineNumber()
           
 int getEndColumnNumber()
           
 int getEndLineNumber()
           
 java.lang.String getFileName()
           
 java.lang.String getGrammarSymbolName()
           
 java.lang.String getMatchIdentifier()
           
 int getMyIdentifier()
           
 int[] getNotWhiteIndexes()
           
 int getNumberOfAlternative()
           
 SyntaxNode[] getSonSyntaxNode()
           
 java.lang.String getValue()
           
 boolean isNonTerminal()
           
 boolean isTerminal()
           
 boolean isWhiteSpace()
           
 java.lang.String toString()
           
 java.lang.String toString(boolean visitAgainEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.