net.sf.parser4j.parser.entity.data
Class ParserDataRecognitionPoint

java.lang.Object
  extended by net.sf.parser4j.parser.entity.data.ParserDataRecognitionPoint
All Implemented Interfaces:
java.io.Serializable

public class ParserDataRecognitionPoint
extends java.lang.Object
implements java.io.Serializable

recognition point of a basic rule, in parser data for information ( log and debug )

Author:
luc peuvrier
See Also:
Serialized Form

Constructor Summary
ParserDataRecognitionPoint(EnumNodeType nodeType, int definedNonTerminalIdentifier, int[] rightPart, int recognitionPointIndex, boolean token)
           
 
Method Summary
 int getDefinedNonTerminalIdentifier()
           
 EnumNodeType getNodeType()
           
 int getRecognitionPointIndex()
           
 int[] getRightPart()
           
 boolean isConcat()
           
 boolean isNonTerminal()
           
 boolean isTerminal()
           
 boolean isToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserDataRecognitionPoint

public ParserDataRecognitionPoint(EnumNodeType nodeType,
                                  int definedNonTerminalIdentifier,
                                  int[] rightPart,
                                  int recognitionPointIndex,
                                  boolean token)
Method Detail

getNodeType

public EnumNodeType getNodeType()
Returns:
the nodeType

getDefinedNonTerminalIdentifier

public int getDefinedNonTerminalIdentifier()
Returns:
the definedNonTerminalIdentifier

getRightPart

public int[] getRightPart()
Returns:
the rightPart

getRecognitionPointIndex

public int getRecognitionPointIndex()
Returns:
the recognitionPointIndex

isToken

public boolean isToken()
Returns:
true if token

isTerminal

public boolean isTerminal()
Returns:
true if terminal
See Also:
EnumNodeType.isTerminal()

isNonTerminal

public boolean isNonTerminal()
Returns:
true if non terminal
See Also:
EnumNodeType.isNonTerminal()

isConcat

public boolean isConcat()
Returns:
true if concat rule
See Also:
EnumNodeType.isConcat()


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.