net.sf.parser4j.parser.entity.data
Class LexerData
java.lang.Object
net.sf.parser4j.parser.entity.data.LexerData
- All Implemented Interfaces:
- java.io.Serializable
public class LexerData
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- luc peuvrier
- See Also:
- Serialized Form
Constructor Summary |
LexerData(int numberOfState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexerData
public LexerData(int numberOfState)
getNumberOfState
public int getNumberOfState()
addGotoByTerminal
public void addGotoByTerminal(int fromStateIdentifier,
TerminalCharRange terminalCharRange,
int toStateIdentifier)
- add a goto from state to state by terminal
- Parameters:
fromStateIdentifier
- terminalCharRange
- toStateIdentifier
-
addMatch
public void addMatch(int stateIdentifier,
java.lang.Integer[] nonTerminalIdentifierArray)
getMatchedNonTerminalIdentifier
public int[][] getMatchedNonTerminalIdentifier()
getLexerGotoByTerminalTable
public GotoByTerminalEntry[] getLexerGotoByTerminalTable()
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.