JFlex
Class EOFActions

java.lang.Object
  extended byJFlex.EOFActions

public class EOFActions
extends java.lang.Object

A simple table to store EOF actions for each lexical state.


Constructor Summary
EOFActions()
           
 
Method Summary
 void add(java.lang.Integer state, Action action)
           
 void add(java.util.Vector stateList, Action action)
           
 Action getAction(int state)
           
 Action getDefault()
           
 boolean isEOFAction(java.lang.Object a)
           
 int numActions()
           
 void setNumLexStates(int num)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOFActions

public EOFActions()
Method Detail

setNumLexStates

public void setNumLexStates(int num)

add

public void add(java.util.Vector stateList,
                Action action)

add

public void add(java.lang.Integer state,
                Action action)

isEOFAction

public boolean isEOFAction(java.lang.Object a)

getAction

public Action getAction(int state)

getDefault

public Action getDefault()

numActions

public int numActions()