Class MathExParser


  • public class MathExParser
    extends org.antlr.v4.runtime.Parser
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.antlr.v4.runtime.atn.ATN _ATN  
      protected static org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA  
      static java.lang.String _serializedATN  
      protected static org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache  
      static int IDENTIFIER  
      static int NUMBER  
      static int PREC0_OP  
      static int PREC1_OP  
      static int PREC2_OP  
      static int RULE_expression  
      static java.lang.String[] ruleNames  
      static int T__0  
      static int T__1  
      static int T__2  
      static int T__3  
      static int T__4  
      static int T__5  
      static int T__6  
      static int T__7  
      static java.lang.String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
      static org.antlr.v4.runtime.Vocabulary VOCABULARY  
      static int WS  
      • Fields inherited from class org.antlr.v4.runtime.Parser

        _buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
      • Fields inherited from class org.antlr.v4.runtime.Recognizer

        _interp, EOF
    • Constructor Summary

      Constructors 
      Constructor Description
      MathExParser​(org.antlr.v4.runtime.TokenStream input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      MathExParser.ExpressionContext expression()  
      org.antlr.v4.runtime.atn.ATN getATN()  
      java.lang.String getGrammarFileName()  
      java.lang.String[] getRuleNames()  
      java.lang.String getSerializedATN()  
      java.lang.String[] getTokenNames()
      Deprecated.
      org.antlr.v4.runtime.Vocabulary getVocabulary()  
      boolean sempred​(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)  
      • Methods inherited from class org.antlr.v4.runtime.Parser

        addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
      • Methods inherited from class org.antlr.v4.runtime.Recognizer

        action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
      • Methods inherited from class java.lang.Object

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

      • MathExParser

        public MathExParser​(org.antlr.v4.runtime.TokenStream input)
    • Method Detail

      • getTokenNames

        @Deprecated
        public java.lang.String[] getTokenNames()
        Deprecated.
        Specified by:
        getTokenNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getVocabulary

        public org.antlr.v4.runtime.Vocabulary getVocabulary()
        Overrides:
        getVocabulary in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getGrammarFileName

        public java.lang.String getGrammarFileName()
        Specified by:
        getGrammarFileName in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getRuleNames

        public java.lang.String[] getRuleNames()
        Specified by:
        getRuleNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getSerializedATN

        public java.lang.String getSerializedATN()
        Overrides:
        getSerializedATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • getATN

        public org.antlr.v4.runtime.atn.ATN getATN()
        Specified by:
        getATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>
      • expression

        public final MathExParser.ExpressionContext expression()
                                                        throws org.antlr.v4.runtime.RecognitionException
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • sempred

        public boolean sempred​(org.antlr.v4.runtime.RuleContext _localctx,
                               int ruleIndex,
                               int predIndex)
        Overrides:
        sempred in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,​org.antlr.v4.runtime.atn.ParserATNSimulator>