JFlex
Class RegExps
java.lang.Object
JFlex.RegExps
- public class RegExps
- extends java.lang.Object
Stores all rules of the specification for later access in RegExp -> NFA
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegExps
public RegExps()
insert
public int insert(int line,
java.util.Vector stateList,
RegExp regExp,
Action action,
java.lang.Boolean isBOL,
RegExp lookAhead)
insert
public int insert(java.util.Vector stateList,
Action action)
addStates
public void addStates(int regNum,
java.util.Vector newStates)
getNum
public int getNum()
isBOL
public boolean isBOL(int num)
getLookAhead
public RegExp getLookAhead(int num)
isEOF
public boolean isEOF(int num)
getStates
public java.util.Vector getStates(int num)
getRegExp
public RegExp getRegExp(int num)
getLine
public int getLine(int num)
checkActions
public void checkActions()
getAction
public Action getAction(int num)