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

    Constructors
    Constructor
    Description
    PhonTalkParser(org.antlr.runtime.TokenStream input)
     
    PhonTalkParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
     
    void
     
    void
     
    void
    reportError(String message, Level level)
     
    void
    reportError(org.antlr.runtime.RecognitionException re)
     
    void
    reportInfo(String message)
     
    void
     
    void
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PhonTalkParser

      public PhonTalkParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
    • PhonTalkParser

      public PhonTalkParser(org.antlr.runtime.TokenStream input)
  • Method Details

    • getFile

      public String getFile()
    • setFile

      public void setFile(String file)
    • getPhonTalkListener

      public PhonTalkListener getPhonTalkListener()
    • setPhonTalkListener

      public void setPhonTalkListener(PhonTalkListener listener)
    • reportInfo

      public void reportInfo(String message)
    • reportWarning

      public void reportWarning(String message)
    • reportError

      public void reportError(String message)
    • reportError

      public void reportError(String message, Level level)
    • reportError

      public void reportError(String message, PhonTalkMessage.Severity severity)
    • message

      public void message(PhonTalkMessage message)
    • reportError

      public void reportError(org.antlr.runtime.RecognitionException re)
      Overrides:
      reportError in class org.antlr.runtime.BaseRecognizer