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