Package ca.phon.orthography.parser
Class OrthographyParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
ca.phon.orthography.parser.OrthographyParser
public class OrthographyParser
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
protected 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 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 String[]
static final int
static final int
static final int
static final int
protected Stack<OrthographyParser.wordnet_scope>
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
ConstructorDescriptionOrthographyParser
(org.antlr.runtime.TokenStream input) OrthographyParser
(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state) -
Method Summary
Modifier and TypeMethodDescriptioncomment()
error()
event()
org.antlr.runtime.Parser[]
String[]
org.antlr.runtime.tree.TreeAdaptor
punct()
void
reportError
(org.antlr.runtime.RecognitionException e) void
setTreeAdaptor
(org.antlr.runtime.tree.TreeAdaptor adaptor) word()
wordnet()
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:
-
COMMENT
public static final int COMMENT- See Also:
-
COMMENT_TYPE
public static final int COMMENT_TYPE- See Also:
-
ERROR
public static final int ERROR- See Also:
-
EVENT
public static final int EVENT- See Also:
-
EVENT_TYPE
public static final int EVENT_TYPE- See Also:
-
PUNCT
public static final int PUNCT- See Also:
-
WORD
public static final int WORD- See Also:
-
WORDNET_MARKER
public static final int WORDNET_MARKER- See Also:
-
WORD_PREFIX
public static final int WORD_PREFIX- See Also:
-
WORD_SUFFIX
public static final int WORD_SUFFIX- See Also:
-
adaptor
protected org.antlr.runtime.tree.TreeAdaptor adaptor -
wordnet_stack
-
FOLLOW_orthoElement_in_orthography86
public static final org.antlr.runtime.BitSet FOLLOW_orthoElement_in_orthography86 -
FOLLOW_error_in_orthography88
public static final org.antlr.runtime.BitSet FOLLOW_error_in_orthography88 -
FOLLOW_ERROR_in_error102
public static final org.antlr.runtime.BitSet FOLLOW_ERROR_in_error102 -
FOLLOW_WORD_PREFIX_in_word120
public static final org.antlr.runtime.BitSet FOLLOW_WORD_PREFIX_in_word120 -
FOLLOW_WORD_in_word123
public static final org.antlr.runtime.BitSet FOLLOW_WORD_in_word123 -
FOLLOW_WORD_SUFFIX_in_word125
public static final org.antlr.runtime.BitSet FOLLOW_WORD_SUFFIX_in_word125 -
FOLLOW_word_in_wordnet156
public static final org.antlr.runtime.BitSet FOLLOW_word_in_wordnet156 -
FOLLOW_WORDNET_MARKER_in_wordnet161
public static final org.antlr.runtime.BitSet FOLLOW_WORDNET_MARKER_in_wordnet161 -
FOLLOW_word_in_wordnet167
public static final org.antlr.runtime.BitSet FOLLOW_word_in_wordnet167 -
FOLLOW_COMMENT_TYPE_in_comment191
public static final org.antlr.runtime.BitSet FOLLOW_COMMENT_TYPE_in_comment191 -
FOLLOW_COMMENT_in_comment194
public static final org.antlr.runtime.BitSet FOLLOW_COMMENT_in_comment194 -
FOLLOW_EVENT_TYPE_in_event213
public static final org.antlr.runtime.BitSet FOLLOW_EVENT_TYPE_in_event213 -
FOLLOW_EVENT_in_event216
public static final org.antlr.runtime.BitSet FOLLOW_EVENT_in_event216 -
FOLLOW_PUNCT_in_punct235
public static final org.antlr.runtime.BitSet FOLLOW_PUNCT_in_punct235 -
FOLLOW_word_in_orthoElement249
public static final org.antlr.runtime.BitSet FOLLOW_word_in_orthoElement249 -
FOLLOW_wordnet_in_orthoElement257
public static final org.antlr.runtime.BitSet FOLLOW_wordnet_in_orthoElement257 -
FOLLOW_comment_in_orthoElement265
public static final org.antlr.runtime.BitSet FOLLOW_comment_in_orthoElement265 -
FOLLOW_event_in_orthoElement273
public static final org.antlr.runtime.BitSet FOLLOW_event_in_orthoElement273 -
FOLLOW_punct_in_orthoElement281
public static final org.antlr.runtime.BitSet FOLLOW_punct_in_orthoElement281
-
-
Constructor Details
-
OrthographyParser
public OrthographyParser(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
-
getOrthography
-
reportError
public void reportError(org.antlr.runtime.RecognitionException e) - Overrides:
reportError
in classorg.antlr.runtime.BaseRecognizer
-
orthography
public final OrthographyParser.orthography_return orthography() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
error
- Throws:
org.antlr.runtime.RecognitionException
-
word
- Throws:
org.antlr.runtime.RecognitionException
-
wordnet
public final OrthographyParser.wordnet_return wordnet() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
comment
public final OrthographyParser.comment_return comment() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
event
- Throws:
org.antlr.runtime.RecognitionException
-
punct
- Throws:
org.antlr.runtime.RecognitionException
-
orthoElement
public final OrthographyParser.orthoElement_return orthoElement() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-