public interface IStates
| Modifier and Type | Field and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
String |
getGrammarName(IGrammar grammar)
Return the grammar name of a grammar
|
String |
getGrammarName(int grammar)
Return the grammar name from a grammar number
|
String |
getState(int state)
Get the current state's name
|
static final int INIT_GRAMMAR_STATE
static final int GRAMMAR_END
static final int END_STATE
String getState(int state)
state - the current stateString getGrammarName(IGrammar grammar)
grammar - the grammar from which we want the nameString getGrammarName(int grammar)
grammar - the grammar number from which we want the nameCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.