Package ca.phon.phontalk.parser
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>
Creates a
PhonTalkMessage
from antlr RecognitionException
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fallbackVisit
(org.antlr.runtime.RecognitionException obj) Generic, i.e., fallback, processing method.void
visitMismatchedTokenException
(org.antlr.runtime.MismatchedTokenException mte) void
visitMismatchedTreeNodeException
(org.antlr.runtime.MismatchedTreeNodeException mte) Methods inherited from class ca.hedlund.dp.visitor.VisitorAdapter
visit
-
Constructor Details
-
AntlrExceptionVisitor
public AntlrExceptionVisitor() -
AntlrExceptionVisitor
-
-
Method Details
-
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 classVisitorAdapter<org.antlr.runtime.RecognitionException>
-
visitMismatchedTokenException
-
visitMismatchedTreeNodeException
@Visits public void visitMismatchedTreeNodeException(org.antlr.runtime.MismatchedTreeNodeException mte)
-