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. UseVoidfor 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 TvisitKey(KeyValueParser.KeyContext ctx)Visit a parse tree produced byKeyValueParser.key().TvisitKeyValue(KeyValueParser.KeyValueContext ctx)Visit a parse tree produced byKeyValueParser.keyValue().TvisitKeyValueList(KeyValueParser.KeyValueListContext ctx)Visit a parse tree produced byKeyValueParser.keyValueList().TvisitParse(KeyValueParser.ParseContext ctx)Visit a parse tree produced byKeyValueParser.parse().TvisitValue(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:
visitParsein 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:
visitKeyValueListin 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:
visitKeyValuein 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:
visitKeyin 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:
visitValuein interfaceKeyValueVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-