Class LeafRefPathParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.opendaylight.yangtools.yang.parser.antlr.LeafRefPathParserBaseVisitor<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>
,LeafRefPathParserVisitor<T>
public class LeafRefPathParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements LeafRefPathParserVisitor<T>
This class provides an empty implementation ofLeafRefPathParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description LeafRefPathParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitPath_arg
public T visitPath_arg(LeafRefPathParser.Path_argContext ctx)
Visit a parse tree produced byLeafRefPathParser.path_arg()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath_arg
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeref_expr
public T visitDeref_expr(LeafRefPathParser.Deref_exprContext ctx)
Visit a parse tree produced byLeafRefPathParser.deref_expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDeref_expr
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPath_str
public T visitPath_str(LeafRefPathParser.Path_strContext ctx)
Visit a parse tree produced byLeafRefPathParser.path_str()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath_str
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAbsolute_path
public T visitAbsolute_path(LeafRefPathParser.Absolute_pathContext ctx)
Visit a parse tree produced byLeafRefPathParser.absolute_path()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAbsolute_path
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelative_path
public T visitRelative_path(LeafRefPathParser.Relative_pathContext ctx)
Visit a parse tree produced byLeafRefPathParser.relative_path()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelative_path
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDescendant_path
public T visitDescendant_path(LeafRefPathParser.Descendant_pathContext ctx)
Visit a parse tree produced byLeafRefPathParser.descendant_path()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDescendant_path
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPath_predicate
public T visitPath_predicate(LeafRefPathParser.Path_predicateContext ctx)
Visit a parse tree produced byLeafRefPathParser.path_predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath_predicate
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPath_equality_expr
public T visitPath_equality_expr(LeafRefPathParser.Path_equality_exprContext ctx)
Visit a parse tree produced byLeafRefPathParser.path_equality_expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath_equality_expr
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPath_key_expr
public T visitPath_key_expr(LeafRefPathParser.Path_key_exprContext ctx)
Visit a parse tree produced byLeafRefPathParser.path_key_expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath_key_expr
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRel_path_keyexpr
public T visitRel_path_keyexpr(LeafRefPathParser.Rel_path_keyexprContext ctx)
Visit a parse tree produced byLeafRefPathParser.rel_path_keyexpr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRel_path_keyexpr
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNode_identifier
public T visitNode_identifier(LeafRefPathParser.Node_identifierContext ctx)
Visit a parse tree produced byLeafRefPathParser.node_identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNode_identifier
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCurrent_function_invocation
public T visitCurrent_function_invocation(LeafRefPathParser.Current_function_invocationContext ctx)
Visit a parse tree produced byLeafRefPathParser.current_function_invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCurrent_function_invocation
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeref_function_invocation
public T visitDeref_function_invocation(LeafRefPathParser.Deref_function_invocationContext ctx)
Visit a parse tree produced byLeafRefPathParser.deref_function_invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDeref_function_invocation
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix
public T visitPrefix(LeafRefPathParser.PrefixContext ctx)
Visit a parse tree produced byLeafRefPathParser.prefix()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrefix
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public T visitIdentifier(LeafRefPathParser.IdentifierContext ctx)
Visit a parse tree produced byLeafRefPathParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifier
in interfaceLeafRefPathParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-