public class LexicalStates extends Object
Constructor and Description |
---|
LexicalStates()
constructs a new lexical state symbol table
|
Modifier and Type | Method and Description |
---|---|
List<Integer> |
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
|
Set<String> |
names()
returns the names of all states
|
int |
number()
returns the number of declared states
|
public void insert(String name, boolean is_inclusive)
public Integer getNumber(String name)
null
if no such state has been declared.public int number()
Copyright © 1998–2016. All rights reserved.