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

java.lang.Object
  extended by net.sf.parser4j.parser.entity.data.MatchEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MatchEntry>

public class MatchEntry
extends java.lang.Object
implements java.lang.Comparable<MatchEntry>, java.io.Serializable

non terminal match entry:

Author:
luc peuvrier
See Also:
Serialized Form

Constructor Summary
MatchEntry(int nonTerminalIdentifier, boolean intermediate, int length, int nodeType, boolean token)
           
 
Method Summary
 int compareTo(MatchEntry matchEntry)
           
 int getMatchedLength()
           
 int getMatchedNonTerminalIdentifier()
           
 int getNodeType()
           
 boolean isIntermediate()
           
 boolean isToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchEntry

public MatchEntry(int nonTerminalIdentifier,
                  boolean intermediate,
                  int length,
                  int nodeType,
                  boolean token)
Method Detail

getMatchedNonTerminalIdentifier

public int getMatchedNonTerminalIdentifier()

getMatchedLength

public int getMatchedLength()

getNodeType

public int getNodeType()

isToken

public boolean isToken()

compareTo

public int compareTo(MatchEntry matchEntry)
Specified by:
compareTo in interface java.lang.Comparable<MatchEntry>

isIntermediate

public boolean isIntermediate()


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