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 ofKeyValueVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description KeyValueBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
visitKey(KeyValueParser.KeyContext ctx)
Visit a parse tree produced byKeyValueParser.key()
.T
visitKeyValue(KeyValueParser.KeyValueContext ctx)
Visit a parse tree produced byKeyValueParser.keyValue()
.T
visitKeyValueList(KeyValueParser.KeyValueListContext ctx)
Visit a parse tree produced byKeyValueParser.keyValueList()
.T
visitParse(KeyValueParser.ParseContext ctx)
Visit a parse tree produced byKeyValueParser.parse()
.T
visitValue(KeyValueParser.ValueContext ctx)
Visit a parse tree produced byKeyValueParser.value()
.-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitParse
public T visitParse(KeyValueParser.ParseContext ctx)
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
public T visitKeyValueList(KeyValueParser.KeyValueListContext ctx)
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
public T visitKeyValue(KeyValueParser.KeyValueContext ctx)
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
public T visitKey(KeyValueParser.KeyContext ctx)
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
public T visitValue(KeyValueParser.ValueContext ctx)
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
-
-