Class KeyValueBaseVisitor<T>
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
step.repositories.parser.keyvalue.KeyValueBaseVisitor<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>
,KeyValueVisitor<T>
public class KeyValueBaseVisitor<T>
extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
implements KeyValueVisitor<T>
This class provides an empty implementation of
KeyValueVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byKeyValueParser.key()
.Visit a parse tree produced byKeyValueParser.keyValue()
.Visit a parse tree produced byKeyValueParser.keyValueList()
.Visit a parse tree produced byKeyValueParser.parse()
.Visit a parse tree produced byKeyValueParser.value()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
KeyValueBaseVisitor
public KeyValueBaseVisitor()
-
-
Method Details
-
visitParse
Visit a parse tree produced byKeyValueParser.parse()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParse
in interfaceKeyValueVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValueList
Visit a parse tree produced byKeyValueParser.keyValueList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyValueList
in interfaceKeyValueVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byKeyValueParser.keyValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyValue
in interfaceKeyValueVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKey
Visit a parse tree produced byKeyValueParser.key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKey
in interfaceKeyValueVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byKeyValueParser.value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitValue
in interfaceKeyValueVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-