Package ca.phon.phontalk.parser
Class PhonTalkParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
ca.phon.phontalk.parser.PhonTalkParser
- Direct Known Subclasses:
TalkBank2ASTParser
public class PhonTalkParser
extends org.antlr.runtime.Parser
Custom base class for antlr parsers.
-
Field Summary
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
ConstructorDescriptionPhonTalkParser
(org.antlr.runtime.TokenStream input) PhonTalkParser
(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state) -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
void
message
(PhonTalkMessage message) void
reportError
(String message) void
reportError
(String message, PhonTalkMessage.Severity severity) void
reportError
(String message, Level level) void
reportError
(org.antlr.runtime.RecognitionException re) void
reportInfo
(String message) void
reportWarning
(String message) void
void
setPhonTalkListener
(PhonTalkListener listener) 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, getGrammarFileName, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
-
Constructor Details
-
PhonTalkParser
public PhonTalkParser(org.antlr.runtime.TokenStream input)
-
Method Details
-
getFile
-
setFile
-
getPhonTalkListener
-
setPhonTalkListener
-
reportInfo
-
reportWarning
-
reportError
-
reportError
-
reportError
-
message
-
reportError
public void reportError(org.antlr.runtime.RecognitionException re) - Overrides:
reportError
in classorg.antlr.runtime.BaseRecognizer
-