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

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addGotoByTerminal(int fromStateIdentifier, TerminalCharRange terminalCharRange, int toStateIdentifier)
          add a goto from state to state by terminal
 void addMatch(int stateIdentifier, java.lang.Integer[] nonTerminalIdentifierArray)
           
 GotoByTerminalEntry[] getLexerGotoByTerminalTable()
           
 int[][] getMatchedNonTerminalIdentifier()
           
 int getNumberOfState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexerData

public LexerData(int numberOfState)
Method Detail

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.