net.sf.parser4j.parser.entity.data
Class MatchEntry
java.lang.Object
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:
- non terminal identifier
- matched length
- node type
- token
- Author:
- luc peuvrier
- See Also:
- Serialized Form
Constructor Summary |
MatchEntry(int nonTerminalIdentifier,
boolean intermediate,
int length,
int nodeType,
boolean token)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchEntry
public MatchEntry(int nonTerminalIdentifier,
boolean intermediate,
int length,
int nodeType,
boolean token)
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.