Class ClientHintsParser

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

public class ClientHintsParser extends Object
  • Field Details

    • _decisionToDFA

      protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
    • _sharedContextCache

      protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
    • VERSION

      public static final int VERSION
      See Also:
    • KEY

      public static final int KEY
      See Also:
    • DOUBLEQUOTE

      public static final int DOUBLEQUOTE
      See Also:
    • SPACE

      public static final int SPACE
      See Also:
    • COMMA

      public static final int COMMA
      See Also:
    • SEMICOLON

      public static final int SEMICOLON
      See Also:
    • EQUALS

      public static final int EQUALS
      See Also:
    • KNOWNGREASE

      public static final int KNOWNGREASE
      See Also:
    • VALUE

      public static final int VALUE
      See Also:
    • GREASEVALUE

      public static final int GREASEVALUE
      See Also:
    • RULE_brandList

      public static final int RULE_brandList
      See Also:
    • RULE_brandEntry

      public static final int RULE_brandEntry
      See Also:
    • RULE_greaseEntry

      public static final int RULE_greaseEntry
      See Also:
    • RULE_brand

      public static final int RULE_brand
      See Also:
    • ruleNames

      public static final String[] ruleNames
    • VOCABULARY

      public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
    • tokenNames

      @Deprecated public static final String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
    • _serializedATN

      public static final String _serializedATN
      See Also:
    • _ATN

      public static final org.antlr.v4.runtime.atn.ATN _ATN
    • _errHandler

      protected org.antlr.v4.runtime.ANTLRErrorStrategy _errHandler
    • _input

      protected org.antlr.v4.runtime.TokenStream _input
    • _precedenceStack

      protected final org.antlr.v4.runtime.misc.IntegerStack _precedenceStack
    • _ctx

      protected org.antlr.v4.runtime.ParserRuleContext _ctx
    • _buildParseTrees

      protected boolean _buildParseTrees
    • _parseListeners

      protected List<org.antlr.v4.runtime.tree.ParseTreeListener> _parseListeners
    • _syntaxErrors

      protected int _syntaxErrors
    • matchedEOF

      protected boolean matchedEOF
    • EOF

      public static final int EOF
      See Also:
    • _interp

      protected org.antlr.v4.runtime.atn.ParserATNSimulator _interp
  • Constructor Details

    • ClientHintsParser

      public ClientHintsParser(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()
    • brandList

      public final ClientHintsParser.BrandListContext brandList() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • brandEntry

      public final ClientHintsParser.BrandEntryContext brandEntry() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • greaseEntry

      public final ClientHintsParser.GreaseEntryContext greaseEntry() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • brand

      public final ClientHintsParser.BrandContext brand() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • 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()
    • sempred

      public boolean sempred(org.antlr.v4.runtime.RuleContext arg0, int arg1, int arg2)
    • 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)