Class TemplateParameterParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.openrewrite.java.internal.grammar.TemplateParameterParserBaseVisitor<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>,TemplateParameterParserVisitor<T>
public class TemplateParameterParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements TemplateParameterParserVisitor<T>
This class provides an empty implementation ofTemplateParameterParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description TemplateParameterParserBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TvisitMatcherName(TemplateParameterParser.MatcherNameContext ctx)Visit a parse tree produced byTemplateParameterParser.matcherName().TvisitMatcherParameter(TemplateParameterParser.MatcherParameterContext ctx)Visit a parse tree produced byTemplateParameterParser.matcherParameter().TvisitMatcherPattern(TemplateParameterParser.MatcherPatternContext ctx)Visit a parse tree produced byTemplateParameterParser.matcherPattern().-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitMatcherPattern
public T visitMatcherPattern(TemplateParameterParser.MatcherPatternContext ctx)
Visit a parse tree produced byTemplateParameterParser.matcherPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatcherPatternin interfaceTemplateParameterParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherParameter
public T visitMatcherParameter(TemplateParameterParser.MatcherParameterContext ctx)
Visit a parse tree produced byTemplateParameterParser.matcherParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatcherParameterin interfaceTemplateParameterParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherName
public T visitMatcherName(TemplateParameterParser.MatcherNameContext ctx)
Visit a parse tree produced byTemplateParameterParser.matcherName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatcherNamein interfaceTemplateParameterParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-