JFlex

Class EOFActions


public class EOFActions
extends java.lang.Object

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

Method Summary

void
add(Integer state, Action action)
void
add(Vector stateList, Action action)
Action
getAction(int state)
Action
getDefault()
boolean
isEOFAction(Object a)
int
numActions()
void
setNumLexStates(int num)

Method Details

add

public void add(Integer state,
                Action action)

add

public void add(Vector stateList,
                Action action)

getAction

public Action getAction(int state)

getDefault

public Action getDefault()

isEOFAction

public boolean isEOFAction(Object a)

numActions

public int numActions()

setNumLexStates

public void setNumLexStates(int num)