Package ca.phon.ipadictionary.cmd
Class IPADictParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
ca.phon.ipadictionary.cmd.IPADictParser
public class IPADictParser
extends org.antlr.runtime.Parser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.antlr.runtime.tree.TreeAdaptor
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
Fields inherited from class org.antlr.runtime.Parser
input
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
-
Constructor Summary
ConstructorDescriptionIPADictParser
(org.antlr.runtime.TokenStream input) IPADictParser
(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state) -
Method Summary
Modifier and TypeMethodDescriptionaddExpr()
command()
dropExpr()
expr()
org.antlr.runtime.Parser[]
String[]
org.antlr.runtime.tree.TreeAdaptor
helpExpr()
listExpr()
void
reportError
(org.antlr.runtime.RecognitionException e) void
setLookupContext
(IPALookupContext context) void
setTreeAdaptor
(org.antlr.runtime.tree.TreeAdaptor adaptor) Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
-
Field Details
-
tokenNames
-
EOF
public static final int EOF- See Also:
-
T__18
public static final int T__18- See Also:
-
ADDIPA
public static final int ADDIPA- See Also:
-
ALL
public static final int ALL- See Also:
-
CREATE
public static final int CREATE- See Also:
-
DICT_ID
public static final int DICT_ID- See Also:
-
DROP
public static final int DROP- See Also:
-
EXPORT
public static final int EXPORT- See Also:
-
HELP
public static final int HELP- See Also:
-
IMPORT
public static final int IMPORT- See Also:
-
LIST
public static final int LIST- See Also:
-
LOOKUP
public static final int LOOKUP- See Also:
-
REMOVE
public static final int REMOVE- See Also:
-
STRING
public static final int STRING- See Also:
-
SWITCH
public static final int SWITCH- See Also:
-
WS
public static final int WS- See Also:
-
adaptor
protected org.antlr.runtime.tree.TreeAdaptor adaptor -
FOLLOW_createExpr_in_expr49
public static final org.antlr.runtime.BitSet FOLLOW_createExpr_in_expr49 -
FOLLOW_dropExpr_in_expr54
public static final org.antlr.runtime.BitSet FOLLOW_dropExpr_in_expr54 -
FOLLOW_addExpr_in_expr59
public static final org.antlr.runtime.BitSet FOLLOW_addExpr_in_expr59 -
FOLLOW_importExpr_in_expr64
public static final org.antlr.runtime.BitSet FOLLOW_importExpr_in_expr64 -
FOLLOW_exportExpr_in_expr69
public static final org.antlr.runtime.BitSet FOLLOW_exportExpr_in_expr69 -
FOLLOW_lookupExpr_in_expr74
public static final org.antlr.runtime.BitSet FOLLOW_lookupExpr_in_expr74 -
FOLLOW_removeExpr_in_expr79
public static final org.antlr.runtime.BitSet FOLLOW_removeExpr_in_expr79 -
FOLLOW_removeAllExpr_in_expr84
public static final org.antlr.runtime.BitSet FOLLOW_removeAllExpr_in_expr84 -
FOLLOW_switchExpr_in_expr89
public static final org.antlr.runtime.BitSet FOLLOW_switchExpr_in_expr89 -
FOLLOW_listExpr_in_expr94
public static final org.antlr.runtime.BitSet FOLLOW_listExpr_in_expr94 -
FOLLOW_helpExpr_in_expr99
public static final org.antlr.runtime.BitSet FOLLOW_helpExpr_in_expr99 -
FOLLOW_CREATE_in_createExpr112
public static final org.antlr.runtime.BitSet FOLLOW_CREATE_in_createExpr112 -
FOLLOW_DICT_ID_in_createExpr114
public static final org.antlr.runtime.BitSet FOLLOW_DICT_ID_in_createExpr114 -
FOLLOW_18_in_createExpr117
public static final org.antlr.runtime.BitSet FOLLOW_18_in_createExpr117 -
FOLLOW_STRING_in_createExpr119
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_createExpr119 -
FOLLOW_DROP_in_dropExpr148
public static final org.antlr.runtime.BitSet FOLLOW_DROP_in_dropExpr148 -
FOLLOW_DICT_ID_in_dropExpr150
public static final org.antlr.runtime.BitSet FOLLOW_DICT_ID_in_dropExpr150 -
FOLLOW_ADDIPA_in_addExpr174
public static final org.antlr.runtime.BitSet FOLLOW_ADDIPA_in_addExpr174 -
FOLLOW_STRING_in_addExpr176
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_addExpr176 -
FOLLOW_18_in_addExpr178
public static final org.antlr.runtime.BitSet FOLLOW_18_in_addExpr178 -
FOLLOW_STRING_in_addExpr180
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_addExpr180 -
FOLLOW_IMPORT_in_importExpr204
public static final org.antlr.runtime.BitSet FOLLOW_IMPORT_in_importExpr204 -
FOLLOW_STRING_in_importExpr206
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_importExpr206 -
FOLLOW_EXPORT_in_exportExpr230
public static final org.antlr.runtime.BitSet FOLLOW_EXPORT_in_exportExpr230 -
FOLLOW_STRING_in_exportExpr232
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_exportExpr232 -
FOLLOW_LOOKUP_in_lookupExpr256
public static final org.antlr.runtime.BitSet FOLLOW_LOOKUP_in_lookupExpr256 -
FOLLOW_STRING_in_lookupExpr260
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_lookupExpr260 -
FOLLOW_REMOVE_in_removeExpr283
public static final org.antlr.runtime.BitSet FOLLOW_REMOVE_in_removeExpr283 -
FOLLOW_STRING_in_removeExpr285
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_removeExpr285 -
FOLLOW_18_in_removeExpr287
public static final org.antlr.runtime.BitSet FOLLOW_18_in_removeExpr287 -
FOLLOW_STRING_in_removeExpr289
public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_removeExpr289 -
FOLLOW_REMOVE_in_removeAllExpr313
public static final org.antlr.runtime.BitSet FOLLOW_REMOVE_in_removeAllExpr313 -
FOLLOW_ALL_in_removeAllExpr315
public static final org.antlr.runtime.BitSet FOLLOW_ALL_in_removeAllExpr315 -
FOLLOW_SWITCH_in_switchExpr338
public static final org.antlr.runtime.BitSet FOLLOW_SWITCH_in_switchExpr338 -
FOLLOW_DICT_ID_in_switchExpr340
public static final org.antlr.runtime.BitSet FOLLOW_DICT_ID_in_switchExpr340 -
FOLLOW_LIST_in_listExpr363
public static final org.antlr.runtime.BitSet FOLLOW_LIST_in_listExpr363 -
FOLLOW_HELP_in_helpExpr382
public static final org.antlr.runtime.BitSet FOLLOW_HELP_in_helpExpr382 -
FOLLOW_command_in_helpExpr384
public static final org.antlr.runtime.BitSet FOLLOW_command_in_helpExpr384
-
-
Constructor Details
-
IPADictParser
public IPADictParser(org.antlr.runtime.TokenStream input)
-
-
Method Details
-
getDelegates
public org.antlr.runtime.Parser[] getDelegates() -
setTreeAdaptor
public void setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor) -
getTreeAdaptor
public org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor() -
getTokenNames
- Overrides:
getTokenNames
in classorg.antlr.runtime.BaseRecognizer
-
getGrammarFileName
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
setLookupContext
-
getLookupContext
-
reportError
public void reportError(org.antlr.runtime.RecognitionException e) - Overrides:
reportError
in classorg.antlr.runtime.BaseRecognizer
-
expr
- Throws:
org.antlr.runtime.RecognitionException
-
createExpr
public final IPADictParser.createExpr_return createExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
dropExpr
- Throws:
org.antlr.runtime.RecognitionException
-
addExpr
- Throws:
org.antlr.runtime.RecognitionException
-
importExpr
public final IPADictParser.importExpr_return importExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
exportExpr
public final IPADictParser.exportExpr_return exportExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
lookupExpr
public final IPADictParser.lookupExpr_return lookupExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
removeExpr
public final IPADictParser.removeExpr_return removeExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
removeAllExpr
public final IPADictParser.removeAllExpr_return removeAllExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
switchExpr
public final IPADictParser.switchExpr_return switchExpr() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
listExpr
- Throws:
org.antlr.runtime.RecognitionException
-
helpExpr
- Throws:
org.antlr.runtime.RecognitionException
-
command
- Throws:
org.antlr.runtime.RecognitionException
-