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. UseVoidfor 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
Constructors -
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, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
visitBrandListin 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:
visitBrandEntryin 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:
visitGreaseEntryin 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:
visitBrandin interfaceClientHintsVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-