Class YangStatementParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,YangStatementParserVisitor<T>
public class YangStatementParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements YangStatementParserVisitor<T>
This class provides an empty implementation ofYangStatementParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description YangStatementParserBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
visitArgument(YangStatementParser.ArgumentContext ctx)
Visit a parse tree produced byYangStatementParser.argument()
.T
visitKeyword(YangStatementParser.KeywordContext ctx)
Visit a parse tree produced byYangStatementParser.keyword()
.T
visitStatement(YangStatementParser.StatementContext ctx)
Visit a parse tree produced byYangStatementParser.statement()
.-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitStatement
public T visitStatement(YangStatementParser.StatementContext ctx)
Visit a parse tree produced byYangStatementParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStatement
in interfaceYangStatementParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyword
public T visitKeyword(YangStatementParser.KeywordContext ctx)
Visit a parse tree produced byYangStatementParser.keyword()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyword
in interfaceYangStatementParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArgument
public T visitArgument(YangStatementParser.ArgumentContext ctx)
Visit a parse tree produced byYangStatementParser.argument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArgument
in interfaceYangStatementParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-