public class RegExps extends Object
Constructor and Description |
---|
RegExps() |
Modifier and Type | Method and Description |
---|---|
void |
addStates(int regNum,
List<Integer> newStates) |
void |
checkActions() |
void |
checkLookAheads() |
Action |
getAction(int num) |
int |
getLine(int num) |
RegExp |
getLookAhead(int num) |
int |
getLookEntry(int num) |
int |
getNum() |
RegExp |
getRegExp(int num) |
List<Integer> |
getStates(int num) |
int |
insert(int line,
List<Integer> stateList,
RegExp regExp,
Action action,
Boolean isBOL,
RegExp lookAhead) |
int |
insert(List<Integer> stateList,
Action action) |
boolean |
isBOL(int num) |
boolean |
isEOF(int num) |
int |
NFASize(Macros macros) |
public int insert(int line, List<Integer> stateList, RegExp regExp, Action action, Boolean isBOL, RegExp lookAhead)
public int getNum()
public boolean isBOL(int num)
public RegExp getLookAhead(int num)
public boolean isEOF(int num)
public RegExp getRegExp(int num)
public int getLine(int num)
public int getLookEntry(int num)
public void checkActions()
public Action getAction(int num)
public int NFASize(Macros macros)
public void checkLookAheads()
Copyright © 1998–2016. All rights reserved.