T - The return type of the visit operation. Use Void for
operations with no return type.public class NginxBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements NginxVisitor<T>
NginxVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
NginxBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitConfig(NginxParser.ConfigContext ctx)
NginxParser.config().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitConfig in interface NginxVisitor<T>ctx - the parse treepublic T visitStatement(NginxParser.StatementContext ctx)
NginxParser.statement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatement in interface NginxVisitor<T>ctx - the parse treepublic T visitGenericStatement(NginxParser.GenericStatementContext ctx)
NginxParser.genericStatement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGenericStatement in interface NginxVisitor<T>ctx - the parse treepublic T visitRegexHeaderStatement(NginxParser.RegexHeaderStatementContext ctx)
NginxParser.regexHeaderStatement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRegexHeaderStatement in interface NginxVisitor<T>ctx - the parse treepublic T visitBlock(NginxParser.BlockContext ctx)
NginxParser.block().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBlock in interface NginxVisitor<T>ctx - the parse treepublic T visitGenericBlockHeader(NginxParser.GenericBlockHeaderContext ctx)
NginxParser.genericBlockHeader().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGenericBlockHeader in interface NginxVisitor<T>ctx - the parse treepublic T visitIf_statement(NginxParser.If_statementContext ctx)
NginxParser.if_statement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIf_statement in interface NginxVisitor<T>ctx - the parse treepublic T visitIf_body(NginxParser.If_bodyContext ctx)
NginxParser.if_body().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIf_body in interface NginxVisitor<T>ctx - the parse treepublic T visitRegexp(NginxParser.RegexpContext ctx)
NginxParser.regexp().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRegexp in interface NginxVisitor<T>ctx - the parse treepublic T visitLocationBlockHeader(NginxParser.LocationBlockHeaderContext ctx)
NginxParser.locationBlockHeader().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLocationBlockHeader in interface NginxVisitor<T>ctx - the parse treepublic T visitRewriteStatement(NginxParser.RewriteStatementContext ctx)
NginxParser.rewriteStatement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRewriteStatement in interface NginxVisitor<T>ctx - the parse treeCopyright © 2016. All rights reserved.