Class GolangBaseListener
- java.lang.Object
-
- net.sourceforge.pmd.lang.go.antlr4.GolangBaseListener
-
- All Implemented Interfaces:
GolangListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class GolangBaseListener extends Object implements GolangListener
This class provides an empty implementation ofGolangListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description GolangBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterSourceFile
public void enterSourceFile(GolangParser.SourceFileContext ctx)
Enter a parse tree produced byGolangParser.sourceFile().The default implementation does nothing.
- Specified by:
enterSourceFilein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSourceFile
public void exitSourceFile(GolangParser.SourceFileContext ctx)
Exit a parse tree produced byGolangParser.sourceFile().The default implementation does nothing.
- Specified by:
exitSourceFilein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterPackageClause
public void enterPackageClause(GolangParser.PackageClauseContext ctx)
Enter a parse tree produced byGolangParser.packageClause().The default implementation does nothing.
- Specified by:
enterPackageClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitPackageClause
public void exitPackageClause(GolangParser.PackageClauseContext ctx)
Exit a parse tree produced byGolangParser.packageClause().The default implementation does nothing.
- Specified by:
exitPackageClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterImportDecl
public void enterImportDecl(GolangParser.ImportDeclContext ctx)
Enter a parse tree produced byGolangParser.importDecl().The default implementation does nothing.
- Specified by:
enterImportDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitImportDecl
public void exitImportDecl(GolangParser.ImportDeclContext ctx)
Exit a parse tree produced byGolangParser.importDecl().The default implementation does nothing.
- Specified by:
exitImportDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterImportSpec
public void enterImportSpec(GolangParser.ImportSpecContext ctx)
Enter a parse tree produced byGolangParser.importSpec().The default implementation does nothing.
- Specified by:
enterImportSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitImportSpec
public void exitImportSpec(GolangParser.ImportSpecContext ctx)
Exit a parse tree produced byGolangParser.importSpec().The default implementation does nothing.
- Specified by:
exitImportSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterImportPath
public void enterImportPath(GolangParser.ImportPathContext ctx)
Enter a parse tree produced byGolangParser.importPath().The default implementation does nothing.
- Specified by:
enterImportPathin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitImportPath
public void exitImportPath(GolangParser.ImportPathContext ctx)
Exit a parse tree produced byGolangParser.importPath().The default implementation does nothing.
- Specified by:
exitImportPathin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTopLevelDecl
public void enterTopLevelDecl(GolangParser.TopLevelDeclContext ctx)
Enter a parse tree produced byGolangParser.topLevelDecl().The default implementation does nothing.
- Specified by:
enterTopLevelDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTopLevelDecl
public void exitTopLevelDecl(GolangParser.TopLevelDeclContext ctx)
Exit a parse tree produced byGolangParser.topLevelDecl().The default implementation does nothing.
- Specified by:
exitTopLevelDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterDeclaration
public void enterDeclaration(GolangParser.DeclarationContext ctx)
Enter a parse tree produced byGolangParser.declaration().The default implementation does nothing.
- Specified by:
enterDeclarationin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitDeclaration
public void exitDeclaration(GolangParser.DeclarationContext ctx)
Exit a parse tree produced byGolangParser.declaration().The default implementation does nothing.
- Specified by:
exitDeclarationin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterConstDecl
public void enterConstDecl(GolangParser.ConstDeclContext ctx)
Enter a parse tree produced byGolangParser.constDecl().The default implementation does nothing.
- Specified by:
enterConstDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitConstDecl
public void exitConstDecl(GolangParser.ConstDeclContext ctx)
Exit a parse tree produced byGolangParser.constDecl().The default implementation does nothing.
- Specified by:
exitConstDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterConstSpec
public void enterConstSpec(GolangParser.ConstSpecContext ctx)
Enter a parse tree produced byGolangParser.constSpec().The default implementation does nothing.
- Specified by:
enterConstSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitConstSpec
public void exitConstSpec(GolangParser.ConstSpecContext ctx)
Exit a parse tree produced byGolangParser.constSpec().The default implementation does nothing.
- Specified by:
exitConstSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterIdentifierList
public void enterIdentifierList(GolangParser.IdentifierListContext ctx)
Enter a parse tree produced byGolangParser.identifierList().The default implementation does nothing.
- Specified by:
enterIdentifierListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitIdentifierList
public void exitIdentifierList(GolangParser.IdentifierListContext ctx)
Exit a parse tree produced byGolangParser.identifierList().The default implementation does nothing.
- Specified by:
exitIdentifierListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExpressionList
public void enterExpressionList(GolangParser.ExpressionListContext ctx)
Enter a parse tree produced byGolangParser.expressionList().The default implementation does nothing.
- Specified by:
enterExpressionListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExpressionList
public void exitExpressionList(GolangParser.ExpressionListContext ctx)
Exit a parse tree produced byGolangParser.expressionList().The default implementation does nothing.
- Specified by:
exitExpressionListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeDecl
public void enterTypeDecl(GolangParser.TypeDeclContext ctx)
Enter a parse tree produced byGolangParser.typeDecl().The default implementation does nothing.
- Specified by:
enterTypeDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeDecl
public void exitTypeDecl(GolangParser.TypeDeclContext ctx)
Exit a parse tree produced byGolangParser.typeDecl().The default implementation does nothing.
- Specified by:
exitTypeDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeSpec
public void enterTypeSpec(GolangParser.TypeSpecContext ctx)
Enter a parse tree produced byGolangParser.typeSpec().The default implementation does nothing.
- Specified by:
enterTypeSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeSpec
public void exitTypeSpec(GolangParser.TypeSpecContext ctx)
Exit a parse tree produced byGolangParser.typeSpec().The default implementation does nothing.
- Specified by:
exitTypeSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFunctionDecl
public void enterFunctionDecl(GolangParser.FunctionDeclContext ctx)
Enter a parse tree produced byGolangParser.functionDecl().The default implementation does nothing.
- Specified by:
enterFunctionDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFunctionDecl
public void exitFunctionDecl(GolangParser.FunctionDeclContext ctx)
Exit a parse tree produced byGolangParser.functionDecl().The default implementation does nothing.
- Specified by:
exitFunctionDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFunction
public void enterFunction(GolangParser.FunctionContext ctx)
Enter a parse tree produced byGolangParser.function().The default implementation does nothing.
- Specified by:
enterFunctionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFunction
public void exitFunction(GolangParser.FunctionContext ctx)
Exit a parse tree produced byGolangParser.function().The default implementation does nothing.
- Specified by:
exitFunctionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterMethodDecl
public void enterMethodDecl(GolangParser.MethodDeclContext ctx)
Enter a parse tree produced byGolangParser.methodDecl().The default implementation does nothing.
- Specified by:
enterMethodDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitMethodDecl
public void exitMethodDecl(GolangParser.MethodDeclContext ctx)
Exit a parse tree produced byGolangParser.methodDecl().The default implementation does nothing.
- Specified by:
exitMethodDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterReceiver
public void enterReceiver(GolangParser.ReceiverContext ctx)
Enter a parse tree produced byGolangParser.receiver().The default implementation does nothing.
- Specified by:
enterReceiverin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitReceiver
public void exitReceiver(GolangParser.ReceiverContext ctx)
Exit a parse tree produced byGolangParser.receiver().The default implementation does nothing.
- Specified by:
exitReceiverin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterVarDecl
public void enterVarDecl(GolangParser.VarDeclContext ctx)
Enter a parse tree produced byGolangParser.varDecl().The default implementation does nothing.
- Specified by:
enterVarDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitVarDecl
public void exitVarDecl(GolangParser.VarDeclContext ctx)
Exit a parse tree produced byGolangParser.varDecl().The default implementation does nothing.
- Specified by:
exitVarDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterVarSpec
public void enterVarSpec(GolangParser.VarSpecContext ctx)
Enter a parse tree produced byGolangParser.varSpec().The default implementation does nothing.
- Specified by:
enterVarSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitVarSpec
public void exitVarSpec(GolangParser.VarSpecContext ctx)
Exit a parse tree produced byGolangParser.varSpec().The default implementation does nothing.
- Specified by:
exitVarSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterBlock
public void enterBlock(GolangParser.BlockContext ctx)
Enter a parse tree produced byGolangParser.block().The default implementation does nothing.
- Specified by:
enterBlockin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitBlock
public void exitBlock(GolangParser.BlockContext ctx)
Exit a parse tree produced byGolangParser.block().The default implementation does nothing.
- Specified by:
exitBlockin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterStatementList
public void enterStatementList(GolangParser.StatementListContext ctx)
Enter a parse tree produced byGolangParser.statementList().The default implementation does nothing.
- Specified by:
enterStatementListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitStatementList
public void exitStatementList(GolangParser.StatementListContext ctx)
Exit a parse tree produced byGolangParser.statementList().The default implementation does nothing.
- Specified by:
exitStatementListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterStatement
public void enterStatement(GolangParser.StatementContext ctx)
Enter a parse tree produced byGolangParser.statement().The default implementation does nothing.
- Specified by:
enterStatementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitStatement
public void exitStatement(GolangParser.StatementContext ctx)
Exit a parse tree produced byGolangParser.statement().The default implementation does nothing.
- Specified by:
exitStatementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSimpleStmt
public void enterSimpleStmt(GolangParser.SimpleStmtContext ctx)
Enter a parse tree produced byGolangParser.simpleStmt().The default implementation does nothing.
- Specified by:
enterSimpleStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSimpleStmt
public void exitSimpleStmt(GolangParser.SimpleStmtContext ctx)
Exit a parse tree produced byGolangParser.simpleStmt().The default implementation does nothing.
- Specified by:
exitSimpleStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExpressionStmt
public void enterExpressionStmt(GolangParser.ExpressionStmtContext ctx)
Enter a parse tree produced byGolangParser.expressionStmt().The default implementation does nothing.
- Specified by:
enterExpressionStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExpressionStmt
public void exitExpressionStmt(GolangParser.ExpressionStmtContext ctx)
Exit a parse tree produced byGolangParser.expressionStmt().The default implementation does nothing.
- Specified by:
exitExpressionStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSendStmt
public void enterSendStmt(GolangParser.SendStmtContext ctx)
Enter a parse tree produced byGolangParser.sendStmt().The default implementation does nothing.
- Specified by:
enterSendStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSendStmt
public void exitSendStmt(GolangParser.SendStmtContext ctx)
Exit a parse tree produced byGolangParser.sendStmt().The default implementation does nothing.
- Specified by:
exitSendStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterIncDecStmt
public void enterIncDecStmt(GolangParser.IncDecStmtContext ctx)
Enter a parse tree produced byGolangParser.incDecStmt().The default implementation does nothing.
- Specified by:
enterIncDecStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitIncDecStmt
public void exitIncDecStmt(GolangParser.IncDecStmtContext ctx)
Exit a parse tree produced byGolangParser.incDecStmt().The default implementation does nothing.
- Specified by:
exitIncDecStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterAssignment
public void enterAssignment(GolangParser.AssignmentContext ctx)
Enter a parse tree produced byGolangParser.assignment().The default implementation does nothing.
- Specified by:
enterAssignmentin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitAssignment
public void exitAssignment(GolangParser.AssignmentContext ctx)
Exit a parse tree produced byGolangParser.assignment().The default implementation does nothing.
- Specified by:
exitAssignmentin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterAssign_op
public void enterAssign_op(GolangParser.Assign_opContext ctx)
Enter a parse tree produced byGolangParser.assign_op().The default implementation does nothing.
- Specified by:
enterAssign_opin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitAssign_op
public void exitAssign_op(GolangParser.Assign_opContext ctx)
Exit a parse tree produced byGolangParser.assign_op().The default implementation does nothing.
- Specified by:
exitAssign_opin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterShortVarDecl
public void enterShortVarDecl(GolangParser.ShortVarDeclContext ctx)
Enter a parse tree produced byGolangParser.shortVarDecl().The default implementation does nothing.
- Specified by:
enterShortVarDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitShortVarDecl
public void exitShortVarDecl(GolangParser.ShortVarDeclContext ctx)
Exit a parse tree produced byGolangParser.shortVarDecl().The default implementation does nothing.
- Specified by:
exitShortVarDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterEmptyStmt
public void enterEmptyStmt(GolangParser.EmptyStmtContext ctx)
Enter a parse tree produced byGolangParser.emptyStmt().The default implementation does nothing.
- Specified by:
enterEmptyStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitEmptyStmt
public void exitEmptyStmt(GolangParser.EmptyStmtContext ctx)
Exit a parse tree produced byGolangParser.emptyStmt().The default implementation does nothing.
- Specified by:
exitEmptyStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterLabeledStmt
public void enterLabeledStmt(GolangParser.LabeledStmtContext ctx)
Enter a parse tree produced byGolangParser.labeledStmt().The default implementation does nothing.
- Specified by:
enterLabeledStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitLabeledStmt
public void exitLabeledStmt(GolangParser.LabeledStmtContext ctx)
Exit a parse tree produced byGolangParser.labeledStmt().The default implementation does nothing.
- Specified by:
exitLabeledStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterReturnStmt
public void enterReturnStmt(GolangParser.ReturnStmtContext ctx)
Enter a parse tree produced byGolangParser.returnStmt().The default implementation does nothing.
- Specified by:
enterReturnStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitReturnStmt
public void exitReturnStmt(GolangParser.ReturnStmtContext ctx)
Exit a parse tree produced byGolangParser.returnStmt().The default implementation does nothing.
- Specified by:
exitReturnStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterBreakStmt
public void enterBreakStmt(GolangParser.BreakStmtContext ctx)
Enter a parse tree produced byGolangParser.breakStmt().The default implementation does nothing.
- Specified by:
enterBreakStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitBreakStmt
public void exitBreakStmt(GolangParser.BreakStmtContext ctx)
Exit a parse tree produced byGolangParser.breakStmt().The default implementation does nothing.
- Specified by:
exitBreakStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterContinueStmt
public void enterContinueStmt(GolangParser.ContinueStmtContext ctx)
Enter a parse tree produced byGolangParser.continueStmt().The default implementation does nothing.
- Specified by:
enterContinueStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitContinueStmt
public void exitContinueStmt(GolangParser.ContinueStmtContext ctx)
Exit a parse tree produced byGolangParser.continueStmt().The default implementation does nothing.
- Specified by:
exitContinueStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterGotoStmt
public void enterGotoStmt(GolangParser.GotoStmtContext ctx)
Enter a parse tree produced byGolangParser.gotoStmt().The default implementation does nothing.
- Specified by:
enterGotoStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitGotoStmt
public void exitGotoStmt(GolangParser.GotoStmtContext ctx)
Exit a parse tree produced byGolangParser.gotoStmt().The default implementation does nothing.
- Specified by:
exitGotoStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFallthroughStmt
public void enterFallthroughStmt(GolangParser.FallthroughStmtContext ctx)
Enter a parse tree produced byGolangParser.fallthroughStmt().The default implementation does nothing.
- Specified by:
enterFallthroughStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFallthroughStmt
public void exitFallthroughStmt(GolangParser.FallthroughStmtContext ctx)
Exit a parse tree produced byGolangParser.fallthroughStmt().The default implementation does nothing.
- Specified by:
exitFallthroughStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterDeferStmt
public void enterDeferStmt(GolangParser.DeferStmtContext ctx)
Enter a parse tree produced byGolangParser.deferStmt().The default implementation does nothing.
- Specified by:
enterDeferStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitDeferStmt
public void exitDeferStmt(GolangParser.DeferStmtContext ctx)
Exit a parse tree produced byGolangParser.deferStmt().The default implementation does nothing.
- Specified by:
exitDeferStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterIfStmt
public void enterIfStmt(GolangParser.IfStmtContext ctx)
Enter a parse tree produced byGolangParser.ifStmt().The default implementation does nothing.
- Specified by:
enterIfStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitIfStmt
public void exitIfStmt(GolangParser.IfStmtContext ctx)
Exit a parse tree produced byGolangParser.ifStmt().The default implementation does nothing.
- Specified by:
exitIfStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSwitchStmt
public void enterSwitchStmt(GolangParser.SwitchStmtContext ctx)
Enter a parse tree produced byGolangParser.switchStmt().The default implementation does nothing.
- Specified by:
enterSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSwitchStmt
public void exitSwitchStmt(GolangParser.SwitchStmtContext ctx)
Exit a parse tree produced byGolangParser.switchStmt().The default implementation does nothing.
- Specified by:
exitSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExprSwitchStmt
public void enterExprSwitchStmt(GolangParser.ExprSwitchStmtContext ctx)
Enter a parse tree produced byGolangParser.exprSwitchStmt().The default implementation does nothing.
- Specified by:
enterExprSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExprSwitchStmt
public void exitExprSwitchStmt(GolangParser.ExprSwitchStmtContext ctx)
Exit a parse tree produced byGolangParser.exprSwitchStmt().The default implementation does nothing.
- Specified by:
exitExprSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExprCaseClause
public void enterExprCaseClause(GolangParser.ExprCaseClauseContext ctx)
Enter a parse tree produced byGolangParser.exprCaseClause().The default implementation does nothing.
- Specified by:
enterExprCaseClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExprCaseClause
public void exitExprCaseClause(GolangParser.ExprCaseClauseContext ctx)
Exit a parse tree produced byGolangParser.exprCaseClause().The default implementation does nothing.
- Specified by:
exitExprCaseClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExprSwitchCase
public void enterExprSwitchCase(GolangParser.ExprSwitchCaseContext ctx)
Enter a parse tree produced byGolangParser.exprSwitchCase().The default implementation does nothing.
- Specified by:
enterExprSwitchCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExprSwitchCase
public void exitExprSwitchCase(GolangParser.ExprSwitchCaseContext ctx)
Exit a parse tree produced byGolangParser.exprSwitchCase().The default implementation does nothing.
- Specified by:
exitExprSwitchCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeSwitchStmt
public void enterTypeSwitchStmt(GolangParser.TypeSwitchStmtContext ctx)
Enter a parse tree produced byGolangParser.typeSwitchStmt().The default implementation does nothing.
- Specified by:
enterTypeSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeSwitchStmt
public void exitTypeSwitchStmt(GolangParser.TypeSwitchStmtContext ctx)
Exit a parse tree produced byGolangParser.typeSwitchStmt().The default implementation does nothing.
- Specified by:
exitTypeSwitchStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeSwitchGuard
public void enterTypeSwitchGuard(GolangParser.TypeSwitchGuardContext ctx)
Enter a parse tree produced byGolangParser.typeSwitchGuard().The default implementation does nothing.
- Specified by:
enterTypeSwitchGuardin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeSwitchGuard
public void exitTypeSwitchGuard(GolangParser.TypeSwitchGuardContext ctx)
Exit a parse tree produced byGolangParser.typeSwitchGuard().The default implementation does nothing.
- Specified by:
exitTypeSwitchGuardin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeCaseClause
public void enterTypeCaseClause(GolangParser.TypeCaseClauseContext ctx)
Enter a parse tree produced byGolangParser.typeCaseClause().The default implementation does nothing.
- Specified by:
enterTypeCaseClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeCaseClause
public void exitTypeCaseClause(GolangParser.TypeCaseClauseContext ctx)
Exit a parse tree produced byGolangParser.typeCaseClause().The default implementation does nothing.
- Specified by:
exitTypeCaseClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeSwitchCase
public void enterTypeSwitchCase(GolangParser.TypeSwitchCaseContext ctx)
Enter a parse tree produced byGolangParser.typeSwitchCase().The default implementation does nothing.
- Specified by:
enterTypeSwitchCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeSwitchCase
public void exitTypeSwitchCase(GolangParser.TypeSwitchCaseContext ctx)
Exit a parse tree produced byGolangParser.typeSwitchCase().The default implementation does nothing.
- Specified by:
exitTypeSwitchCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeList
public void enterTypeList(GolangParser.TypeListContext ctx)
Enter a parse tree produced byGolangParser.typeList().The default implementation does nothing.
- Specified by:
enterTypeListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeList
public void exitTypeList(GolangParser.TypeListContext ctx)
Exit a parse tree produced byGolangParser.typeList().The default implementation does nothing.
- Specified by:
exitTypeListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSelectStmt
public void enterSelectStmt(GolangParser.SelectStmtContext ctx)
Enter a parse tree produced byGolangParser.selectStmt().The default implementation does nothing.
- Specified by:
enterSelectStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSelectStmt
public void exitSelectStmt(GolangParser.SelectStmtContext ctx)
Exit a parse tree produced byGolangParser.selectStmt().The default implementation does nothing.
- Specified by:
exitSelectStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterCommClause
public void enterCommClause(GolangParser.CommClauseContext ctx)
Enter a parse tree produced byGolangParser.commClause().The default implementation does nothing.
- Specified by:
enterCommClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitCommClause
public void exitCommClause(GolangParser.CommClauseContext ctx)
Exit a parse tree produced byGolangParser.commClause().The default implementation does nothing.
- Specified by:
exitCommClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterCommCase
public void enterCommCase(GolangParser.CommCaseContext ctx)
Enter a parse tree produced byGolangParser.commCase().The default implementation does nothing.
- Specified by:
enterCommCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitCommCase
public void exitCommCase(GolangParser.CommCaseContext ctx)
Exit a parse tree produced byGolangParser.commCase().The default implementation does nothing.
- Specified by:
exitCommCasein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterRecvStmt
public void enterRecvStmt(GolangParser.RecvStmtContext ctx)
Enter a parse tree produced byGolangParser.recvStmt().The default implementation does nothing.
- Specified by:
enterRecvStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitRecvStmt
public void exitRecvStmt(GolangParser.RecvStmtContext ctx)
Exit a parse tree produced byGolangParser.recvStmt().The default implementation does nothing.
- Specified by:
exitRecvStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterForStmt
public void enterForStmt(GolangParser.ForStmtContext ctx)
Enter a parse tree produced byGolangParser.forStmt().The default implementation does nothing.
- Specified by:
enterForStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitForStmt
public void exitForStmt(GolangParser.ForStmtContext ctx)
Exit a parse tree produced byGolangParser.forStmt().The default implementation does nothing.
- Specified by:
exitForStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterForClause
public void enterForClause(GolangParser.ForClauseContext ctx)
Enter a parse tree produced byGolangParser.forClause().The default implementation does nothing.
- Specified by:
enterForClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitForClause
public void exitForClause(GolangParser.ForClauseContext ctx)
Exit a parse tree produced byGolangParser.forClause().The default implementation does nothing.
- Specified by:
exitForClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterRangeClause
public void enterRangeClause(GolangParser.RangeClauseContext ctx)
Enter a parse tree produced byGolangParser.rangeClause().The default implementation does nothing.
- Specified by:
enterRangeClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitRangeClause
public void exitRangeClause(GolangParser.RangeClauseContext ctx)
Exit a parse tree produced byGolangParser.rangeClause().The default implementation does nothing.
- Specified by:
exitRangeClausein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterGoStmt
public void enterGoStmt(GolangParser.GoStmtContext ctx)
Enter a parse tree produced byGolangParser.goStmt().The default implementation does nothing.
- Specified by:
enterGoStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitGoStmt
public void exitGoStmt(GolangParser.GoStmtContext ctx)
Exit a parse tree produced byGolangParser.goStmt().The default implementation does nothing.
- Specified by:
exitGoStmtin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterType
public void enterType(GolangParser.TypeContext ctx)
Enter a parse tree produced byGolangParser.type().The default implementation does nothing.
- Specified by:
enterTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitType
public void exitType(GolangParser.TypeContext ctx)
Exit a parse tree produced byGolangParser.type().The default implementation does nothing.
- Specified by:
exitTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeName
public void enterTypeName(GolangParser.TypeNameContext ctx)
Enter a parse tree produced byGolangParser.typeName().The default implementation does nothing.
- Specified by:
enterTypeNamein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeName
public void exitTypeName(GolangParser.TypeNameContext ctx)
Exit a parse tree produced byGolangParser.typeName().The default implementation does nothing.
- Specified by:
exitTypeNamein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeLit
public void enterTypeLit(GolangParser.TypeLitContext ctx)
Enter a parse tree produced byGolangParser.typeLit().The default implementation does nothing.
- Specified by:
enterTypeLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeLit
public void exitTypeLit(GolangParser.TypeLitContext ctx)
Exit a parse tree produced byGolangParser.typeLit().The default implementation does nothing.
- Specified by:
exitTypeLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterArrayType
public void enterArrayType(GolangParser.ArrayTypeContext ctx)
Enter a parse tree produced byGolangParser.arrayType().The default implementation does nothing.
- Specified by:
enterArrayTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitArrayType
public void exitArrayType(GolangParser.ArrayTypeContext ctx)
Exit a parse tree produced byGolangParser.arrayType().The default implementation does nothing.
- Specified by:
exitArrayTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterArrayLength
public void enterArrayLength(GolangParser.ArrayLengthContext ctx)
Enter a parse tree produced byGolangParser.arrayLength().The default implementation does nothing.
- Specified by:
enterArrayLengthin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitArrayLength
public void exitArrayLength(GolangParser.ArrayLengthContext ctx)
Exit a parse tree produced byGolangParser.arrayLength().The default implementation does nothing.
- Specified by:
exitArrayLengthin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterElementType
public void enterElementType(GolangParser.ElementTypeContext ctx)
Enter a parse tree produced byGolangParser.elementType().The default implementation does nothing.
- Specified by:
enterElementTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitElementType
public void exitElementType(GolangParser.ElementTypeContext ctx)
Exit a parse tree produced byGolangParser.elementType().The default implementation does nothing.
- Specified by:
exitElementTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterPointerType
public void enterPointerType(GolangParser.PointerTypeContext ctx)
Enter a parse tree produced byGolangParser.pointerType().The default implementation does nothing.
- Specified by:
enterPointerTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitPointerType
public void exitPointerType(GolangParser.PointerTypeContext ctx)
Exit a parse tree produced byGolangParser.pointerType().The default implementation does nothing.
- Specified by:
exitPointerTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterInterfaceType
public void enterInterfaceType(GolangParser.InterfaceTypeContext ctx)
Enter a parse tree produced byGolangParser.interfaceType().The default implementation does nothing.
- Specified by:
enterInterfaceTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitInterfaceType
public void exitInterfaceType(GolangParser.InterfaceTypeContext ctx)
Exit a parse tree produced byGolangParser.interfaceType().The default implementation does nothing.
- Specified by:
exitInterfaceTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSliceType
public void enterSliceType(GolangParser.SliceTypeContext ctx)
Enter a parse tree produced byGolangParser.sliceType().The default implementation does nothing.
- Specified by:
enterSliceTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSliceType
public void exitSliceType(GolangParser.SliceTypeContext ctx)
Exit a parse tree produced byGolangParser.sliceType().The default implementation does nothing.
- Specified by:
exitSliceTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterMapType
public void enterMapType(GolangParser.MapTypeContext ctx)
Enter a parse tree produced byGolangParser.mapType().The default implementation does nothing.
- Specified by:
enterMapTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitMapType
public void exitMapType(GolangParser.MapTypeContext ctx)
Exit a parse tree produced byGolangParser.mapType().The default implementation does nothing.
- Specified by:
exitMapTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterChannelType
public void enterChannelType(GolangParser.ChannelTypeContext ctx)
Enter a parse tree produced byGolangParser.channelType().The default implementation does nothing.
- Specified by:
enterChannelTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitChannelType
public void exitChannelType(GolangParser.ChannelTypeContext ctx)
Exit a parse tree produced byGolangParser.channelType().The default implementation does nothing.
- Specified by:
exitChannelTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterMethodSpec
public void enterMethodSpec(GolangParser.MethodSpecContext ctx)
Enter a parse tree produced byGolangParser.methodSpec().The default implementation does nothing.
- Specified by:
enterMethodSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitMethodSpec
public void exitMethodSpec(GolangParser.MethodSpecContext ctx)
Exit a parse tree produced byGolangParser.methodSpec().The default implementation does nothing.
- Specified by:
exitMethodSpecin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFunctionType
public void enterFunctionType(GolangParser.FunctionTypeContext ctx)
Enter a parse tree produced byGolangParser.functionType().The default implementation does nothing.
- Specified by:
enterFunctionTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFunctionType
public void exitFunctionType(GolangParser.FunctionTypeContext ctx)
Exit a parse tree produced byGolangParser.functionType().The default implementation does nothing.
- Specified by:
exitFunctionTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSignature
public void enterSignature(GolangParser.SignatureContext ctx)
Enter a parse tree produced byGolangParser.signature().The default implementation does nothing.
- Specified by:
enterSignaturein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSignature
public void exitSignature(GolangParser.SignatureContext ctx)
Exit a parse tree produced byGolangParser.signature().The default implementation does nothing.
- Specified by:
exitSignaturein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterResult
public void enterResult(GolangParser.ResultContext ctx)
Enter a parse tree produced byGolangParser.result().The default implementation does nothing.
- Specified by:
enterResultin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitResult
public void exitResult(GolangParser.ResultContext ctx)
Exit a parse tree produced byGolangParser.result().The default implementation does nothing.
- Specified by:
exitResultin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterParameters
public void enterParameters(GolangParser.ParametersContext ctx)
Enter a parse tree produced byGolangParser.parameters().The default implementation does nothing.
- Specified by:
enterParametersin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitParameters
public void exitParameters(GolangParser.ParametersContext ctx)
Exit a parse tree produced byGolangParser.parameters().The default implementation does nothing.
- Specified by:
exitParametersin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterParameterList
public void enterParameterList(GolangParser.ParameterListContext ctx)
Enter a parse tree produced byGolangParser.parameterList().The default implementation does nothing.
- Specified by:
enterParameterListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitParameterList
public void exitParameterList(GolangParser.ParameterListContext ctx)
Exit a parse tree produced byGolangParser.parameterList().The default implementation does nothing.
- Specified by:
exitParameterListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterParameterDecl
public void enterParameterDecl(GolangParser.ParameterDeclContext ctx)
Enter a parse tree produced byGolangParser.parameterDecl().The default implementation does nothing.
- Specified by:
enterParameterDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitParameterDecl
public void exitParameterDecl(GolangParser.ParameterDeclContext ctx)
Exit a parse tree produced byGolangParser.parameterDecl().The default implementation does nothing.
- Specified by:
exitParameterDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterOperand
public void enterOperand(GolangParser.OperandContext ctx)
Enter a parse tree produced byGolangParser.operand().The default implementation does nothing.
- Specified by:
enterOperandin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitOperand
public void exitOperand(GolangParser.OperandContext ctx)
Exit a parse tree produced byGolangParser.operand().The default implementation does nothing.
- Specified by:
exitOperandin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterLiteral
public void enterLiteral(GolangParser.LiteralContext ctx)
Enter a parse tree produced byGolangParser.literal().The default implementation does nothing.
- Specified by:
enterLiteralin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitLiteral
public void exitLiteral(GolangParser.LiteralContext ctx)
Exit a parse tree produced byGolangParser.literal().The default implementation does nothing.
- Specified by:
exitLiteralin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterBasicLit
public void enterBasicLit(GolangParser.BasicLitContext ctx)
Enter a parse tree produced byGolangParser.basicLit().The default implementation does nothing.
- Specified by:
enterBasicLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitBasicLit
public void exitBasicLit(GolangParser.BasicLitContext ctx)
Exit a parse tree produced byGolangParser.basicLit().The default implementation does nothing.
- Specified by:
exitBasicLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterOperandName
public void enterOperandName(GolangParser.OperandNameContext ctx)
Enter a parse tree produced byGolangParser.operandName().The default implementation does nothing.
- Specified by:
enterOperandNamein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitOperandName
public void exitOperandName(GolangParser.OperandNameContext ctx)
Exit a parse tree produced byGolangParser.operandName().The default implementation does nothing.
- Specified by:
exitOperandNamein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterQualifiedIdent
public void enterQualifiedIdent(GolangParser.QualifiedIdentContext ctx)
Enter a parse tree produced byGolangParser.qualifiedIdent().The default implementation does nothing.
- Specified by:
enterQualifiedIdentin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitQualifiedIdent
public void exitQualifiedIdent(GolangParser.QualifiedIdentContext ctx)
Exit a parse tree produced byGolangParser.qualifiedIdent().The default implementation does nothing.
- Specified by:
exitQualifiedIdentin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterCompositeLit
public void enterCompositeLit(GolangParser.CompositeLitContext ctx)
Enter a parse tree produced byGolangParser.compositeLit().The default implementation does nothing.
- Specified by:
enterCompositeLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitCompositeLit
public void exitCompositeLit(GolangParser.CompositeLitContext ctx)
Exit a parse tree produced byGolangParser.compositeLit().The default implementation does nothing.
- Specified by:
exitCompositeLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterLiteralType
public void enterLiteralType(GolangParser.LiteralTypeContext ctx)
Enter a parse tree produced byGolangParser.literalType().The default implementation does nothing.
- Specified by:
enterLiteralTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitLiteralType
public void exitLiteralType(GolangParser.LiteralTypeContext ctx)
Exit a parse tree produced byGolangParser.literalType().The default implementation does nothing.
- Specified by:
exitLiteralTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterLiteralValue
public void enterLiteralValue(GolangParser.LiteralValueContext ctx)
Enter a parse tree produced byGolangParser.literalValue().The default implementation does nothing.
- Specified by:
enterLiteralValuein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitLiteralValue
public void exitLiteralValue(GolangParser.LiteralValueContext ctx)
Exit a parse tree produced byGolangParser.literalValue().The default implementation does nothing.
- Specified by:
exitLiteralValuein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterElementList
public void enterElementList(GolangParser.ElementListContext ctx)
Enter a parse tree produced byGolangParser.elementList().The default implementation does nothing.
- Specified by:
enterElementListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitElementList
public void exitElementList(GolangParser.ElementListContext ctx)
Exit a parse tree produced byGolangParser.elementList().The default implementation does nothing.
- Specified by:
exitElementListin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterKeyedElement
public void enterKeyedElement(GolangParser.KeyedElementContext ctx)
Enter a parse tree produced byGolangParser.keyedElement().The default implementation does nothing.
- Specified by:
enterKeyedElementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitKeyedElement
public void exitKeyedElement(GolangParser.KeyedElementContext ctx)
Exit a parse tree produced byGolangParser.keyedElement().The default implementation does nothing.
- Specified by:
exitKeyedElementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterKey
public void enterKey(GolangParser.KeyContext ctx)
Enter a parse tree produced byGolangParser.key().The default implementation does nothing.
- Specified by:
enterKeyin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitKey
public void exitKey(GolangParser.KeyContext ctx)
Exit a parse tree produced byGolangParser.key().The default implementation does nothing.
- Specified by:
exitKeyin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterElement
public void enterElement(GolangParser.ElementContext ctx)
Enter a parse tree produced byGolangParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitElement
public void exitElement(GolangParser.ElementContext ctx)
Exit a parse tree produced byGolangParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterStructType
public void enterStructType(GolangParser.StructTypeContext ctx)
Enter a parse tree produced byGolangParser.structType().The default implementation does nothing.
- Specified by:
enterStructTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitStructType
public void exitStructType(GolangParser.StructTypeContext ctx)
Exit a parse tree produced byGolangParser.structType().The default implementation does nothing.
- Specified by:
exitStructTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFieldDecl
public void enterFieldDecl(GolangParser.FieldDeclContext ctx)
Enter a parse tree produced byGolangParser.fieldDecl().The default implementation does nothing.
- Specified by:
enterFieldDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFieldDecl
public void exitFieldDecl(GolangParser.FieldDeclContext ctx)
Exit a parse tree produced byGolangParser.fieldDecl().The default implementation does nothing.
- Specified by:
exitFieldDeclin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterAnonymousField
public void enterAnonymousField(GolangParser.AnonymousFieldContext ctx)
Enter a parse tree produced byGolangParser.anonymousField().The default implementation does nothing.
- Specified by:
enterAnonymousFieldin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitAnonymousField
public void exitAnonymousField(GolangParser.AnonymousFieldContext ctx)
Exit a parse tree produced byGolangParser.anonymousField().The default implementation does nothing.
- Specified by:
exitAnonymousFieldin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterFunctionLit
public void enterFunctionLit(GolangParser.FunctionLitContext ctx)
Enter a parse tree produced byGolangParser.functionLit().The default implementation does nothing.
- Specified by:
enterFunctionLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitFunctionLit
public void exitFunctionLit(GolangParser.FunctionLitContext ctx)
Exit a parse tree produced byGolangParser.functionLit().The default implementation does nothing.
- Specified by:
exitFunctionLitin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterPrimaryExpr
public void enterPrimaryExpr(GolangParser.PrimaryExprContext ctx)
Enter a parse tree produced byGolangParser.primaryExpr().The default implementation does nothing.
- Specified by:
enterPrimaryExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitPrimaryExpr
public void exitPrimaryExpr(GolangParser.PrimaryExprContext ctx)
Exit a parse tree produced byGolangParser.primaryExpr().The default implementation does nothing.
- Specified by:
exitPrimaryExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSelector
public void enterSelector(GolangParser.SelectorContext ctx)
Enter a parse tree produced byGolangParser.selector().The default implementation does nothing.
- Specified by:
enterSelectorin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSelector
public void exitSelector(GolangParser.SelectorContext ctx)
Exit a parse tree produced byGolangParser.selector().The default implementation does nothing.
- Specified by:
exitSelectorin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterIndex
public void enterIndex(GolangParser.IndexContext ctx)
Enter a parse tree produced byGolangParser.index().The default implementation does nothing.
- Specified by:
enterIndexin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitIndex
public void exitIndex(GolangParser.IndexContext ctx)
Exit a parse tree produced byGolangParser.index().The default implementation does nothing.
- Specified by:
exitIndexin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterSlice
public void enterSlice(GolangParser.SliceContext ctx)
Enter a parse tree produced byGolangParser.slice().The default implementation does nothing.
- Specified by:
enterSlicein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitSlice
public void exitSlice(GolangParser.SliceContext ctx)
Exit a parse tree produced byGolangParser.slice().The default implementation does nothing.
- Specified by:
exitSlicein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterTypeAssertion
public void enterTypeAssertion(GolangParser.TypeAssertionContext ctx)
Enter a parse tree produced byGolangParser.typeAssertion().The default implementation does nothing.
- Specified by:
enterTypeAssertionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitTypeAssertion
public void exitTypeAssertion(GolangParser.TypeAssertionContext ctx)
Exit a parse tree produced byGolangParser.typeAssertion().The default implementation does nothing.
- Specified by:
exitTypeAssertionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterArguments
public void enterArguments(GolangParser.ArgumentsContext ctx)
Enter a parse tree produced byGolangParser.arguments().The default implementation does nothing.
- Specified by:
enterArgumentsin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitArguments
public void exitArguments(GolangParser.ArgumentsContext ctx)
Exit a parse tree produced byGolangParser.arguments().The default implementation does nothing.
- Specified by:
exitArgumentsin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterMethodExpr
public void enterMethodExpr(GolangParser.MethodExprContext ctx)
Enter a parse tree produced byGolangParser.methodExpr().The default implementation does nothing.
- Specified by:
enterMethodExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitMethodExpr
public void exitMethodExpr(GolangParser.MethodExprContext ctx)
Exit a parse tree produced byGolangParser.methodExpr().The default implementation does nothing.
- Specified by:
exitMethodExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterReceiverType
public void enterReceiverType(GolangParser.ReceiverTypeContext ctx)
Enter a parse tree produced byGolangParser.receiverType().The default implementation does nothing.
- Specified by:
enterReceiverTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitReceiverType
public void exitReceiverType(GolangParser.ReceiverTypeContext ctx)
Exit a parse tree produced byGolangParser.receiverType().The default implementation does nothing.
- Specified by:
exitReceiverTypein interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterExpression
public void enterExpression(GolangParser.ExpressionContext ctx)
Enter a parse tree produced byGolangParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitExpression
public void exitExpression(GolangParser.ExpressionContext ctx)
Exit a parse tree produced byGolangParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterUnaryExpr
public void enterUnaryExpr(GolangParser.UnaryExprContext ctx)
Enter a parse tree produced byGolangParser.unaryExpr().The default implementation does nothing.
- Specified by:
enterUnaryExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitUnaryExpr
public void exitUnaryExpr(GolangParser.UnaryExprContext ctx)
Exit a parse tree produced byGolangParser.unaryExpr().The default implementation does nothing.
- Specified by:
exitUnaryExprin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterConversion
public void enterConversion(GolangParser.ConversionContext ctx)
Enter a parse tree produced byGolangParser.conversion().The default implementation does nothing.
- Specified by:
enterConversionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitConversion
public void exitConversion(GolangParser.ConversionContext ctx)
Exit a parse tree produced byGolangParser.conversion().The default implementation does nothing.
- Specified by:
exitConversionin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterEos
public void enterEos(GolangParser.EosContext ctx)
Enter a parse tree produced byGolangParser.eos().The default implementation does nothing.
- Specified by:
enterEosin interfaceGolangListener- Parameters:
ctx- the parse tree
-
exitEos
public void exitEos(GolangParser.EosContext ctx)
Exit a parse tree produced byGolangParser.eos().The default implementation does nothing.
- Specified by:
exitEosin interfaceGolangListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-