Class GroovyLikeBaseListener
- All Implemented Interfaces:
ParseTreeListener,GroovyLikeListener
GroovyLikeListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byGroovyLikeParser.args().voidEnter a parse tree produced byGroovyLikeParser.block().voidEnter a parse tree produced byGroovyLikeParser.classBody().voidEnter a parse tree produced byGroovyLikeParser.closure().voidEnter a parse tree produced byGroovyLikeParser.compilationUnit().voidvoidEnter a parse tree produced byGroovyLikeParser.expression().voidEnter a parse tree produced byGroovyLikeParser.fieldDecl().voidEnter a parse tree produced byGroovyLikeParser.member().voidEnter a parse tree produced byGroovyLikeParser.methodDecl().voidEnter a parse tree produced byGroovyLikeParser.nls().voidEnter a parse tree produced byGroovyLikeParser.packageDecl().voidEnter a parse tree produced byGroovyLikeParser.params().voidEnter a parse tree produced byGroovyLikeParser.postfix().voidEnter a parse tree produced byGroovyLikeParser.primary().voidEnter a parse tree produced byGroovyLikeParser.qualifiedName().voidEnter a parse tree produced byGroovyLikeParser.sep().voidEnter a parse tree produced byGroovyLikeParser.statement().voidEnter a parse tree produced byGroovyLikeParser.typeDecl().voidExit a parse tree produced byGroovyLikeParser.args().voidExit a parse tree produced byGroovyLikeParser.block().voidExit a parse tree produced byGroovyLikeParser.classBody().voidExit a parse tree produced byGroovyLikeParser.closure().voidExit a parse tree produced byGroovyLikeParser.compilationUnit().voidvoidExit a parse tree produced byGroovyLikeParser.expression().voidExit a parse tree produced byGroovyLikeParser.fieldDecl().voidExit a parse tree produced byGroovyLikeParser.member().voidExit a parse tree produced byGroovyLikeParser.methodDecl().voidExit a parse tree produced byGroovyLikeParser.nls().voidExit a parse tree produced byGroovyLikeParser.packageDecl().voidExit a parse tree produced byGroovyLikeParser.params().voidExit a parse tree produced byGroovyLikeParser.postfix().voidExit a parse tree produced byGroovyLikeParser.primary().voidExit a parse tree produced byGroovyLikeParser.qualifiedName().voidExit a parse tree produced byGroovyLikeParser.sep().voidExit a parse tree produced byGroovyLikeParser.statement().voidExit a parse tree produced byGroovyLikeParser.typeDecl().voidvisitErrorNode(ErrorNode node) voidvisitTerminal(TerminalNode node)
-
Constructor Details
-
GroovyLikeBaseListener
public GroovyLikeBaseListener()
-
-
Method Details
-
enterCompilationUnit
Enter a parse tree produced byGroovyLikeParser.compilationUnit().The default implementation does nothing.
- Specified by:
enterCompilationUnitin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitCompilationUnit
Exit a parse tree produced byGroovyLikeParser.compilationUnit().The default implementation does nothing.
- Specified by:
exitCompilationUnitin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterPackageDecl
Enter a parse tree produced byGroovyLikeParser.packageDecl().The default implementation does nothing.
- Specified by:
enterPackageDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitPackageDecl
Exit a parse tree produced byGroovyLikeParser.packageDecl().The default implementation does nothing.
- Specified by:
exitPackageDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterTypeDecl
Enter a parse tree produced byGroovyLikeParser.typeDecl().The default implementation does nothing.
- Specified by:
enterTypeDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitTypeDecl
Exit a parse tree produced byGroovyLikeParser.typeDecl().The default implementation does nothing.
- Specified by:
exitTypeDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterClassBody
Enter a parse tree produced byGroovyLikeParser.classBody().The default implementation does nothing.
- Specified by:
enterClassBodyin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitClassBody
Exit a parse tree produced byGroovyLikeParser.classBody().The default implementation does nothing.
- Specified by:
exitClassBodyin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterMember
Enter a parse tree produced byGroovyLikeParser.member().The default implementation does nothing.
- Specified by:
enterMemberin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitMember
Exit a parse tree produced byGroovyLikeParser.member().The default implementation does nothing.
- Specified by:
exitMemberin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterFieldDecl
Enter a parse tree produced byGroovyLikeParser.fieldDecl().The default implementation does nothing.
- Specified by:
enterFieldDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitFieldDecl
Exit a parse tree produced byGroovyLikeParser.fieldDecl().The default implementation does nothing.
- Specified by:
exitFieldDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterMethodDecl
Enter a parse tree produced byGroovyLikeParser.methodDecl().The default implementation does nothing.
- Specified by:
enterMethodDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitMethodDecl
Exit a parse tree produced byGroovyLikeParser.methodDecl().The default implementation does nothing.
- Specified by:
exitMethodDeclin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterParams
Enter a parse tree produced byGroovyLikeParser.params().The default implementation does nothing.
- Specified by:
enterParamsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitParams
Exit a parse tree produced byGroovyLikeParser.params().The default implementation does nothing.
- Specified by:
exitParamsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterBlock
Enter a parse tree produced byGroovyLikeParser.block().The default implementation does nothing.
- Specified by:
enterBlockin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitBlock
Exit a parse tree produced byGroovyLikeParser.block().The default implementation does nothing.
- Specified by:
exitBlockin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterStatement
Enter a parse tree produced byGroovyLikeParser.statement().The default implementation does nothing.
- Specified by:
enterStatementin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitStatement
Exit a parse tree produced byGroovyLikeParser.statement().The default implementation does nothing.
- Specified by:
exitStatementin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterExpression
Enter a parse tree produced byGroovyLikeParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitExpression
Exit a parse tree produced byGroovyLikeParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterPostfix
Enter a parse tree produced byGroovyLikeParser.postfix().The default implementation does nothing.
- Specified by:
enterPostfixin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitPostfix
Exit a parse tree produced byGroovyLikeParser.postfix().The default implementation does nothing.
- Specified by:
exitPostfixin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterArgs
Enter a parse tree produced byGroovyLikeParser.args().The default implementation does nothing.
- Specified by:
enterArgsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitArgs
Exit a parse tree produced byGroovyLikeParser.args().The default implementation does nothing.
- Specified by:
exitArgsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterPrimary
Enter a parse tree produced byGroovyLikeParser.primary().The default implementation does nothing.
- Specified by:
enterPrimaryin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitPrimary
Exit a parse tree produced byGroovyLikeParser.primary().The default implementation does nothing.
- Specified by:
exitPrimaryin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterClosure
Enter a parse tree produced byGroovyLikeParser.closure().The default implementation does nothing.
- Specified by:
enterClosurein interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitClosure
Exit a parse tree produced byGroovyLikeParser.closure().The default implementation does nothing.
- Specified by:
exitClosurein interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterQualifiedName
Enter a parse tree produced byGroovyLikeParser.qualifiedName().The default implementation does nothing.
- Specified by:
enterQualifiedNamein interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitQualifiedName
Exit a parse tree produced byGroovyLikeParser.qualifiedName().The default implementation does nothing.
- Specified by:
exitQualifiedNamein interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterNls
Enter a parse tree produced byGroovyLikeParser.nls().The default implementation does nothing.
- Specified by:
enterNlsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitNls
Exit a parse tree produced byGroovyLikeParser.nls().The default implementation does nothing.
- Specified by:
exitNlsin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterSep
Enter a parse tree produced byGroovyLikeParser.sep().The default implementation does nothing.
- Specified by:
enterSepin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
exitSep
Exit a parse tree produced byGroovyLikeParser.sep().The default implementation does nothing.
- Specified by:
exitSepin interfaceGroovyLikeListener- Parameters:
ctx- the parse tree
-
enterEveryRule
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceParseTreeListener
-
exitEveryRule
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceParseTreeListener
-
visitTerminal
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceParseTreeListener
-
visitErrorNode
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceParseTreeListener
-