|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJFlex.RegExps
public class RegExps
Stores all rules of the specification for later access in RegExp -> NFA
| Field Summary | |
|---|---|
(package private) java.util.Vector |
actions
the action of a regexp |
(package private) java.util.Vector |
BOL
flag if it is a BOL regexp |
(package private) java.util.Vector |
lines
the spec line in which a regexp is used |
(package private) java.util.Vector |
look
the lookahead expression |
(package private) java.util.Vector |
regExps
the regexp |
(package private) java.util.Vector |
states
the lexical states in wich the regexp is used |
| Constructor Summary | |
|---|---|
RegExps()
|
|
| Method Summary | |
|---|---|
void |
addStates(int regNum,
java.util.Vector newStates)
|
void |
checkActions()
|
Action |
getAction(int num)
|
int |
getLine(int num)
|
RegExp |
getLookAhead(int num)
|
int |
getNum()
|
RegExp |
getRegExp(int num)
|
java.util.Vector |
getStates(int num)
|
int |
insert(int line,
java.util.Vector stateList,
RegExp regExp,
Action action,
java.lang.Boolean isBOL,
RegExp lookAhead)
|
int |
insert(java.util.Vector stateList,
Action action)
|
boolean |
isBOL(int num)
|
boolean |
isEOF(int num)
|
int |
NFASize(Macros macros)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.Vector lines
java.util.Vector states
java.util.Vector regExps
java.util.Vector actions
java.util.Vector BOL
java.util.Vector look
| Constructor Detail |
|---|
public RegExps()
| Method Detail |
|---|
public int insert(int line,
java.util.Vector stateList,
RegExp regExp,
Action action,
java.lang.Boolean isBOL,
RegExp lookAhead)
public int insert(java.util.Vector stateList,
Action action)
public void addStates(int regNum,
java.util.Vector newStates)
public int getNum()
public boolean isBOL(int num)
public RegExp getLookAhead(int num)
public boolean isEOF(int num)
public java.util.Vector getStates(int num)
public RegExp getRegExp(int num)
public int getLine(int num)
public void checkActions()
public Action getAction(int num)
public int NFASize(Macros macros)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||