Class MethodSignatureParserBaseVisitor<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>
,MethodSignatureParserVisitor<T>
MethodSignatureParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byMethodSignatureParser.classNameOrInterface()
.Visit a parse tree produced byMethodSignatureParser.dotDot()
.Visit a parse tree produced byMethodSignatureParser.formalParametersPattern()
.Visit a parse tree produced byMethodSignatureParser.formalsPattern()
.Visit a parse tree produced byMethodSignatureParser.formalsPatternAfterDotDot()
.Visit a parse tree produced byMethodSignatureParser.formalTypePattern()
.Visit a parse tree produced byMethodSignatureParser.methodPattern()
.Visit a parse tree produced byMethodSignatureParser.optionalParensTypePattern()
.Visit a parse tree produced byMethodSignatureParser.simpleNamePattern()
.Visit a parse tree produced byMethodSignatureParser.targetTypePattern()
.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
-
MethodSignatureParserBaseVisitor
public MethodSignatureParserBaseVisitor()
-
-
Method Details
-
visitMethodPattern
Visit a parse tree produced byMethodSignatureParser.methodPattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodPattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParametersPattern
Visit a parse tree produced byMethodSignatureParser.formalParametersPattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalParametersPattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalsPattern
Visit a parse tree produced byMethodSignatureParser.formalsPattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalsPattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDotDot
Visit a parse tree produced byMethodSignatureParser.dotDot()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDotDot
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalsPatternAfterDotDot
Visit a parse tree produced byMethodSignatureParser.formalsPatternAfterDotDot()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalsPatternAfterDotDot
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOptionalParensTypePattern
Visit a parse tree produced byMethodSignatureParser.optionalParensTypePattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOptionalParensTypePattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTargetTypePattern
Visit a parse tree produced byMethodSignatureParser.targetTypePattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTargetTypePattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalTypePattern
Visit a parse tree produced byMethodSignatureParser.formalTypePattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalTypePattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassNameOrInterface
Visit a parse tree produced byMethodSignatureParser.classNameOrInterface()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassNameOrInterface
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleNamePattern
Visit a parse tree produced byMethodSignatureParser.simpleNamePattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleNamePattern
in interfaceMethodSignatureParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-