JFlex
public class LexicalStates extends Object
Constructor Summary | |
---|---|
LexicalStates()
constructs a new lexical state symbol table |
Method Summary | |
---|---|
Enumeration | getInclusiveStates()
returns the code of all inclusive states |
Integer | getNumber(String name)
returns the number (code) of a declared state,
null if no such state has been declared. |
void | insert(String name, boolean is_inclusive)
insert a new state declaration |
Enumeration | names()
returns the names of all states |
int | number()
returns the number of declared states |
null
if no such state has been declared.