T
- The return type of the visit operation. Use Void
for
operations with no return type.public class HbsParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements HbsParserVisitor<T>
HbsParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
HbsParserBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitTemplate(HbsParser.TemplateContext ctx)
HbsParser.template()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTemplate
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitBody(HbsParser.BodyContext ctx)
HbsParser.body()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBody
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitStatement(HbsParser.StatementContext ctx)
HbsParser.statement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStatement
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitEscape(HbsParser.EscapeContext ctx)
HbsParser.escape()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEscape
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitText(HbsParser.TextContext ctx)
HbsParser.text()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitText
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitBlock(HbsParser.BlockContext ctx)
HbsParser.block()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBlock
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitRawBlock(HbsParser.RawBlockContext ctx)
HbsParser.rawBlock()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRawBlock
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitBlockParams(HbsParser.BlockParamsContext ctx)
HbsParser.blockParams()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBlockParams
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitSexpr(HbsParser.SexprContext ctx)
HbsParser.sexpr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSexpr
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitElseBlock(HbsParser.ElseBlockContext ctx)
HbsParser.elseBlock()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElseBlock
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitElseStmt(HbsParser.ElseStmtContext ctx)
HbsParser.elseStmt()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElseStmt
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitElseStmtChain(HbsParser.ElseStmtChainContext ctx)
HbsParser.elseStmtChain()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElseStmtChain
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitUnless(HbsParser.UnlessContext ctx)
HbsParser.unless()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnless
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitTvar(HbsParser.TvarContext ctx)
HbsParser.tvar()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTvar
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitAmpvar(HbsParser.AmpvarContext ctx)
HbsParser.ampvar()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAmpvar
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitVar(HbsParser.VarContext ctx)
HbsParser.var()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVar
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitDelimiters(HbsParser.DelimitersContext ctx)
HbsParser.delimiters()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDelimiters
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitPartial(HbsParser.PartialContext ctx)
HbsParser.partial()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPartial
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitPartialBlock(HbsParser.PartialBlockContext ctx)
HbsParser.partialBlock()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPartialBlock
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitDynamicPath(HbsParser.DynamicPathContext ctx)
dynamicPath
labeled alternative in HbsParser.pexpr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDynamicPath
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitStaticPath(HbsParser.StaticPathContext ctx)
staticPath
labeled alternative in HbsParser.pexpr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStaticPath
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitLiteralPath(HbsParser.LiteralPathContext ctx)
literalPath
labeled alternative in HbsParser.pexpr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLiteralPath
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitStringParam(HbsParser.StringParamContext ctx)
stringParam
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStringParam
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitCharParam(HbsParser.CharParamContext ctx)
charParam
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCharParam
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitNumberParam(HbsParser.NumberParamContext ctx)
numberParam
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNumberParam
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitBoolParam(HbsParser.BoolParamContext ctx)
boolParam
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBoolParam
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitRefParam(HbsParser.RefParamContext ctx)
refParam
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRefParam
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitSubParamExpr(HbsParser.SubParamExprContext ctx)
subParamExpr
labeled alternative in HbsParser.param()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubParamExpr
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitHash(HbsParser.HashContext ctx)
HbsParser.hash()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitHash
in interface HbsParserVisitor<T>
ctx
- the parse treepublic T visitComment(HbsParser.CommentContext ctx)
HbsParser.comment()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitComment
in interface HbsParserVisitor<T>
ctx
- the parse treeCopyright © 2022. All rights reserved.