|
||||||||||
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 |
GRAMMAR_SWITCH_MASK
The mask to filter grammar switch |
static int |
INIT_GRAMMAR_STATE
The initial state of every grammar |
static int |
STATES_SWITCH_MASK
The mask to filter states transition |
Method Summary | |
---|---|
java.lang.String |
getGrammarName(IGrammar grammar)
Return the grammar name from a grammar |
java.lang.String |
getGrammarName(int grammar)
Return the grammar name from a grammar number |
java.lang.String |
getState(int grammar,
int state)
Get the current state for a specified grammar |
Field Detail |
---|
static final int INIT_GRAMMAR_STATE
static final int GRAMMAR_END
static final int END_STATE
static final int GRAMMAR_SWITCH_MASK
static final int STATES_SWITCH_MASK
Method Detail |
---|
java.lang.String getState(int grammar, int state)
java.lang.String getGrammarName(IGrammar grammar)
java.lang.String getGrammarName(int grammar)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |