Package step.core.ql

Class OQLParser


  • public class OQLParser
    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 AND  
      static int CPAR  
      static int EQ  
      static int NEQ  
      static int NONQUOTEDSTRING  
      static int NOT  
      static int OPAR  
      static int OR  
      static int REGEX  
      static int RULE_atom  
      static int RULE_expr  
      static int RULE_parse  
      static java.lang.String[] ruleNames  
      static int SPACE  
      static int STRING  
      static java.lang.String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
      static org.antlr.v4.runtime.Vocabulary VOCABULARY  
      • 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
      OQLParser​(org.antlr.v4.runtime.TokenStream input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      OQLParser.AtomContext atom()  
      OQLParser.ExprContext expr()  
      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()  
      OQLParser.ParseContext parse()  
      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, 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

      • OQLParser

        public OQLParser​(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>
      • parse

        public final OQLParser.ParseContext parse()
                                           throws org.antlr.v4.runtime.RecognitionException
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • expr

        public final OQLParser.ExprContext expr()
                                         throws org.antlr.v4.runtime.RecognitionException
        Throws:
        org.antlr.v4.runtime.RecognitionException
      • atom

        public final OQLParser.AtomContext atom()
                                         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>