Package nl.basjes.parse.useragent.parser
Class ClientHintsBaseVisitor<T>
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
nl.basjes.parse.useragent.parser.ClientHintsBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
ClientHintsVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
BrandListParser
public class ClientHintsBaseVisitor<T>
extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
implements ClientHintsVisitor<T>
This class provides an empty implementation of
ClientHintsVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byClientHintsParser.brand()
.Visit a parse tree produced byClientHintsParser.brandEntry()
.Visit a parse tree produced byClientHintsParser.brandList()
.Visit a parse tree produced byClientHintsParser.greaseEntry()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ClientHintsBaseVisitor
public ClientHintsBaseVisitor()
-
-
Method Details
-
visitBrandList
Visit a parse tree produced byClientHintsParser.brandList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBrandList
in interfaceClientHintsVisitor<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
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBrandEntry
in interfaceClientHintsVisitor<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
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGreaseEntry
in interfaceClientHintsVisitor<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
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBrand
in interfaceClientHintsVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-