Class UserAgentTreeWalkerParser

java.lang.Object
nl.basjes.parse.useragent.parser.UserAgentTreeWalkerParser

public class UserAgentTreeWalkerParser extends Object
  • Field Details

  • Constructor Details

    • UserAgentTreeWalkerParser

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

    • getTokenNames

      @Deprecated public String[] getTokenNames()
      Deprecated.
    • getVocabulary

      public org.antlr.v4.runtime.Vocabulary getVocabulary()
    • getGrammarFileName

      public String getGrammarFileName()
    • getRuleNames

      public String[] getRuleNames()
    • getSerializedATN

      public String getSerializedATN()
    • getATN

      public org.antlr.v4.runtime.atn.ATN getATN()
    • matcherRequire

      public final UserAgentTreeWalkerParser.MatcherRequireContext matcherRequire() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • matcherExtract

      public final UserAgentTreeWalkerParser.MatcherExtractContext matcherExtract() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • matcherVariable

      public final UserAgentTreeWalkerParser.MatcherVariableContext matcherVariable() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • matcher

      public final UserAgentTreeWalkerParser.MatcherContext matcher() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • basePath

      public final UserAgentTreeWalkerParser.BasePathContext basePath() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • path

      public final UserAgentTreeWalkerParser.PathContext path() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • numberRange

      public final UserAgentTreeWalkerParser.NumberRangeContext numberRange() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • wordRange

      public final UserAgentTreeWalkerParser.WordRangeContext wordRange() 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)
    • reset

      public void reset()
    • match

      public org.antlr.v4.runtime.Token match(int arg0) throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • matchWildcard

      public org.antlr.v4.runtime.Token matchWildcard() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • setBuildParseTree

      public void setBuildParseTree(boolean arg0)
    • getBuildParseTree

      public boolean getBuildParseTree()
    • setTrimParseTree

      public void setTrimParseTree(boolean arg0)
    • getTrimParseTree

      public boolean getTrimParseTree()
    • getParseListeners

      public List<org.antlr.v4.runtime.tree.ParseTreeListener> getParseListeners()
    • addParseListener

      public void addParseListener(org.antlr.v4.runtime.tree.ParseTreeListener arg0)
    • removeParseListener

      public void removeParseListener(org.antlr.v4.runtime.tree.ParseTreeListener arg0)
    • removeParseListeners

      public void removeParseListeners()
    • triggerEnterRuleEvent

      protected void triggerEnterRuleEvent()
    • triggerExitRuleEvent

      protected void triggerExitRuleEvent()
    • getNumberOfSyntaxErrors

      public int getNumberOfSyntaxErrors()
    • getTokenFactory

      public org.antlr.v4.runtime.TokenFactory<?> getTokenFactory()
    • setTokenFactory

      public void setTokenFactory(org.antlr.v4.runtime.TokenFactory<?> arg0)
    • getATNWithBypassAlts

      public org.antlr.v4.runtime.atn.ATN getATNWithBypassAlts()
    • compileParseTreePattern

      public org.antlr.v4.runtime.tree.pattern.ParseTreePattern compileParseTreePattern(String arg0, int arg1)
    • compileParseTreePattern

      public org.antlr.v4.runtime.tree.pattern.ParseTreePattern compileParseTreePattern(String arg0, int arg1, org.antlr.v4.runtime.Lexer arg2)
    • getErrorHandler

      public org.antlr.v4.runtime.ANTLRErrorStrategy getErrorHandler()
    • setErrorHandler

      public void setErrorHandler(org.antlr.v4.runtime.ANTLRErrorStrategy arg0)
    • getInputStream

      public org.antlr.v4.runtime.TokenStream getInputStream()
    • setInputStream

      public final void setInputStream(org.antlr.v4.runtime.IntStream arg0)
    • getTokenStream

      public org.antlr.v4.runtime.TokenStream getTokenStream()
    • setTokenStream

      public void setTokenStream(org.antlr.v4.runtime.TokenStream arg0)
    • getCurrentToken

      public org.antlr.v4.runtime.Token getCurrentToken()
    • notifyErrorListeners

      public final void notifyErrorListeners(String arg0)
    • notifyErrorListeners

      public void notifyErrorListeners(org.antlr.v4.runtime.Token arg0, String arg1, org.antlr.v4.runtime.RecognitionException arg2)
    • consume

      public org.antlr.v4.runtime.Token consume()
    • createTerminalNode

      public org.antlr.v4.runtime.tree.TerminalNode createTerminalNode(org.antlr.v4.runtime.ParserRuleContext arg0, org.antlr.v4.runtime.Token arg1)
    • createErrorNode

      public org.antlr.v4.runtime.tree.ErrorNode createErrorNode(org.antlr.v4.runtime.ParserRuleContext arg0, org.antlr.v4.runtime.Token arg1)
    • addContextToParseTree

      protected void addContextToParseTree()
    • enterRule

      public void enterRule(org.antlr.v4.runtime.ParserRuleContext arg0, int arg1, int arg2)
    • exitRule

      public void exitRule()
    • enterOuterAlt

      public void enterOuterAlt(org.antlr.v4.runtime.ParserRuleContext arg0, int arg1)
    • getPrecedence

      public final int getPrecedence()
    • enterRecursionRule

      @Deprecated public void enterRecursionRule(org.antlr.v4.runtime.ParserRuleContext arg0, int arg1)
      Deprecated.
    • enterRecursionRule

      public void enterRecursionRule(org.antlr.v4.runtime.ParserRuleContext arg0, int arg1, int arg2, int arg3)
    • pushNewRecursionContext

      public void pushNewRecursionContext(org.antlr.v4.runtime.ParserRuleContext arg0, int arg1, int arg2)
    • unrollRecursionContexts

      public void unrollRecursionContexts(org.antlr.v4.runtime.ParserRuleContext arg0)
    • getInvokingContext

      public org.antlr.v4.runtime.ParserRuleContext getInvokingContext(int arg0)
    • getContext

      public org.antlr.v4.runtime.ParserRuleContext getContext()
    • setContext

      public void setContext(org.antlr.v4.runtime.ParserRuleContext arg0)
    • precpred

      public boolean precpred(org.antlr.v4.runtime.RuleContext arg0, int arg1)
    • inContext

      public boolean inContext(String arg0)
    • isExpectedToken

      public boolean isExpectedToken(int arg0)
    • isMatchedEOF

      public boolean isMatchedEOF()
    • getExpectedTokens

      public org.antlr.v4.runtime.misc.IntervalSet getExpectedTokens()
    • getExpectedTokensWithinCurrentRule

      public org.antlr.v4.runtime.misc.IntervalSet getExpectedTokensWithinCurrentRule()
    • getRuleIndex

      public int getRuleIndex(String arg0)
    • getRuleContext

      public org.antlr.v4.runtime.ParserRuleContext getRuleContext()
    • getRuleInvocationStack

      public List<String> getRuleInvocationStack()
    • getRuleInvocationStack

      public List<String> getRuleInvocationStack(org.antlr.v4.runtime.RuleContext arg0)
    • getDFAStrings

      public List<String> getDFAStrings()
    • dumpDFA

      public void dumpDFA()
    • dumpDFA

      public void dumpDFA(PrintStream arg0)
    • getSourceName

      public String getSourceName()
    • getParseInfo

      public org.antlr.v4.runtime.atn.ParseInfo getParseInfo()
    • setProfile

      public void setProfile(boolean arg0)
    • setTrace

      public void setTrace(boolean arg0)
    • isTrace

      public boolean isTrace()
    • getTokenTypeMap

      public Map<String,Integer> getTokenTypeMap()
    • getRuleIndexMap

      public Map<String,Integer> getRuleIndexMap()
    • getTokenType

      public int getTokenType(String arg0)
    • getInterpreter

      public org.antlr.v4.runtime.atn.ParserATNSimulator getInterpreter()
    • setInterpreter

      public void setInterpreter(org.antlr.v4.runtime.atn.ParserATNSimulator arg0)
    • getErrorHeader

      public String getErrorHeader(org.antlr.v4.runtime.RecognitionException arg0)
    • getTokenErrorDisplay

      @Deprecated public String getTokenErrorDisplay(org.antlr.v4.runtime.Token arg0)
      Deprecated.
    • addErrorListener

      public void addErrorListener(org.antlr.v4.runtime.ANTLRErrorListener arg0)
    • removeErrorListener

      public void removeErrorListener(org.antlr.v4.runtime.ANTLRErrorListener arg0)
    • removeErrorListeners

      public void removeErrorListeners()
    • getErrorListeners

      public List<? extends org.antlr.v4.runtime.ANTLRErrorListener> getErrorListeners()
    • getErrorListenerDispatch

      public org.antlr.v4.runtime.ANTLRErrorListener getErrorListenerDispatch()
    • action

      public void action(org.antlr.v4.runtime.RuleContext arg0, int arg1, int arg2)
    • getState

      public final int getState()
    • setState

      public final void setState(int arg0)