Class AntlrExceptionVisitor

java.lang.Object
ca.hedlund.dp.visitor.VisitorAdapter<org.antlr.runtime.RecognitionException>
ca.phon.phontalk.parser.AntlrExceptionVisitor
All Implemented Interfaces:
Visitor<org.antlr.runtime.RecognitionException>

public class AntlrExceptionVisitor extends VisitorAdapter<org.antlr.runtime.RecognitionException>
Creates a PhonTalkMessage from antlr RecognitionException.
  • Constructor Details

    • AntlrExceptionVisitor

      public AntlrExceptionVisitor()
    • AntlrExceptionVisitor

      public AntlrExceptionVisitor(AntlrTokens tokens)
  • Method Details

    • getMessage

      public PhonTalkMessage getMessage()
    • fallbackVisit

      public void fallbackVisit(org.antlr.runtime.RecognitionException obj)
      Description copied from class: VisitorAdapter
      Generic, i.e., fallback, processing method.
      Specified by:
      fallbackVisit in class VisitorAdapter<org.antlr.runtime.RecognitionException>
    • visitMismatchedTokenException

      @Visits public void visitMismatchedTokenException(org.antlr.runtime.MismatchedTokenException mte)
    • visitMismatchedTreeNodeException

      @Visits public void visitMismatchedTreeNodeException(org.antlr.runtime.MismatchedTreeNodeException mte)