Class MethodSignatureParserBaseVisitor<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>,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, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
visitMethodPatternin 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:
visitFormalParametersPatternin 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:
visitFormalsPatternin 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:
visitDotDotin 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:
visitFormalsPatternAfterDotDotin 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:
visitOptionalParensTypePatternin 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:
visitTargetTypePatternin 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:
visitFormalTypePatternin 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:
visitClassNameOrInterfacein 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:
visitSimpleNamePatternin interfaceMethodSignatureParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-