Class ClientHintsParserBaseVisitor<T>
java.lang.Object
nl.basjes.parse.useragent.parser.ClientHintsParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
ClientHintsParserVisitor<T>
- Direct Known Subclasses:
BrandListParser
This class provides an empty implementation of
ClientHintsParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TaggregateResult(T arg0, T arg1) protected Tprotected booleanshouldVisitNextChild(org.antlr.v4.runtime.tree.RuleNode arg0, T arg1) visit(org.antlr.v4.runtime.tree.ParseTree arg0) visit(org.antlr.v4.runtime.tree.ParseTree arg0) Visit a parse tree produced byClientHintsParser.brand().Visit a parse tree produced byClientHintsParser.brandEntry().Visit a parse tree produced byClientHintsParser.brandList().visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) Visit a parse tree produced byClientHintsParser.greaseEntry().visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0) visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0)
-
Constructor Details
-
ClientHintsParserBaseVisitor
public ClientHintsParserBaseVisitor()
-
-
Method Details
-
visitBrandList
Visit a parse tree produced byClientHintsParser.brandList().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBrandListin interfaceClientHintsParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBrandEntry
Visit a parse tree produced byClientHintsParser.brandEntry().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBrandEntryin interfaceClientHintsParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGreaseEntry
Visit a parse tree produced byClientHintsParser.greaseEntry().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitGreaseEntryin interfaceClientHintsParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBrand
Visit a parse tree produced byClientHintsParser.brand().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBrandin interfaceClientHintsParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
defaultResult
-
aggregateResult
-
shouldVisitNextChild
-