T
- The return type of the visit operation. Use Void
for
operations with no return type.public class YangStatementParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements YangStatementParserVisitor<T>
YangStatementParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
YangStatementParserBaseVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
visitArgument(YangStatementParser.ArgumentContext ctx)
Visit a parse tree produced by
YangStatementParser.argument() . |
T |
visitKeyword(YangStatementParser.KeywordContext ctx)
Visit a parse tree produced by
YangStatementParser.keyword() . |
T |
visitStatement(YangStatementParser.StatementContext ctx)
Visit a parse tree produced by
YangStatementParser.statement() . |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitStatement(YangStatementParser.StatementContext ctx)
YangStatementParser.statement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStatement
in interface YangStatementParserVisitor<T>
ctx
- the parse treepublic T visitKeyword(YangStatementParser.KeywordContext ctx)
YangStatementParser.keyword()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitKeyword
in interface YangStatementParserVisitor<T>
ctx
- the parse treepublic T visitArgument(YangStatementParser.ArgumentContext ctx)
YangStatementParser.argument()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArgument
in interface YangStatementParserVisitor<T>
ctx
- the parse treeCopyright © 2019 OpenDaylight. All rights reserved.