|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStates
This interface is used to store the different states of a grammar. While tracing debugging information, the methods to dump the current state as a string are called.
Field Summary | |
---|---|
static int |
END_STATE
The END_STATE |
static int |
GRAMMAR_END
The ending state for every grammars |
static int |
INIT_GRAMMAR_STATE
The initial state of every grammar |
Method Summary | |
---|---|
java.lang.String |
getGrammarName(IGrammar grammar)
Return the grammar name of a grammar |
java.lang.String |
getGrammarName(int grammar)
Return the grammar name from a grammar number |
java.lang.String |
getState(int state)
Get the current state's name |
Field Detail |
---|
static final int INIT_GRAMMAR_STATE
static final int GRAMMAR_END
static final int END_STATE
Method Detail |
---|
java.lang.String getState(int state)
state
- the current state
java.lang.String getGrammarName(IGrammar grammar)
grammar
- the grammar from which we want the name
java.lang.String getGrammarName(int grammar)
grammar
- the grammar number from which we want the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |