public class FormCalcBaseListener extends Object implements FormCalcListener
FormCalcListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
| Constructor and Description |
|---|
FormCalcBaseListener() |
public void enterExpression(@NotNull
FormCalcParser.ExpressionContext ctx)
FormCalcParser.expression().
The default implementation does nothing.
enterExpression in interface FormCalcListener
ctx - the parse tree
public void exitExpression(@NotNull
FormCalcParser.ExpressionContext ctx)
FormCalcParser.expression().
The default implementation does nothing.
exitExpression in interface FormCalcListener
ctx - the parse tree
public void enterVariableDeclarator(@NotNull
FormCalcParser.VariableDeclaratorContext ctx)
FormCalcParser.variableDeclarator().
The default implementation does nothing.
enterVariableDeclarator in interface FormCalcListener
ctx - the parse tree
public void exitVariableDeclarator(@NotNull
FormCalcParser.VariableDeclaratorContext ctx)
FormCalcParser.variableDeclarator().
The default implementation does nothing.
exitVariableDeclarator in interface FormCalcListener
ctx - the parse tree
public void enterVariableDeclaratorId(@NotNull
FormCalcParser.VariableDeclaratorIdContext ctx)
FormCalcParser.variableDeclaratorId().
The default implementation does nothing.
enterVariableDeclaratorId in interface FormCalcListener
ctx - the parse tree
public void exitVariableDeclaratorId(@NotNull
FormCalcParser.VariableDeclaratorIdContext ctx)
FormCalcParser.variableDeclaratorId().
The default implementation does nothing.
exitVariableDeclaratorId in interface FormCalcListener
ctx - the parse tree
public void enterAssign(@NotNull
FormCalcParser.AssignContext ctx)
FormCalcParser.assign().
The default implementation does nothing.
enterAssign in interface FormCalcListener
ctx - the parse tree
public void exitAssign(@NotNull
FormCalcParser.AssignContext ctx)
FormCalcParser.assign().
The default implementation does nothing.
exitAssign in interface FormCalcListener
ctx - the parse tree
public void enterForDownToStatement(@NotNull
FormCalcParser.ForDownToStatementContext ctx)
FormCalcParser.forDownToStatement().
The default implementation does nothing.
enterForDownToStatement in interface FormCalcListener
ctx - the parse tree
public void exitForDownToStatement(@NotNull
FormCalcParser.ForDownToStatementContext ctx)
FormCalcParser.forDownToStatement().
The default implementation does nothing.
exitForDownToStatement in interface FormCalcListener
ctx - the parse tree
public void enterCompilationUnit(@NotNull
FormCalcParser.CompilationUnitContext ctx)
FormCalcParser.compilationUnit().
The default implementation does nothing.
enterCompilationUnit in interface FormCalcListener
ctx - the parse tree
public void exitCompilationUnit(@NotNull
FormCalcParser.CompilationUnitContext ctx)
FormCalcParser.compilationUnit().
The default implementation does nothing.
exitCompilationUnit in interface FormCalcListener
ctx - the parse tree
public void enterExpressionList(@NotNull
FormCalcParser.ExpressionListContext ctx)
FormCalcParser.expressionList().
The default implementation does nothing.
enterExpressionList in interface FormCalcListener
ctx - the parse tree
public void exitExpressionList(@NotNull
FormCalcParser.ExpressionListContext ctx)
FormCalcParser.expressionList().
The default implementation does nothing.
exitExpressionList in interface FormCalcListener
ctx - the parse tree
public void enterRelationalOperators(@NotNull
FormCalcParser.RelationalOperatorsContext ctx)
FormCalcParser.relationalOperators().
The default implementation does nothing.
enterRelationalOperators in interface FormCalcListener
ctx - the parse tree
public void exitRelationalOperators(@NotNull
FormCalcParser.RelationalOperatorsContext ctx)
FormCalcParser.relationalOperators().
The default implementation does nothing.
exitRelationalOperators in interface FormCalcListener
ctx - the parse tree
public void enterStatementExpression(@NotNull
FormCalcParser.StatementExpressionContext ctx)
FormCalcParser.statementExpression().
The default implementation does nothing.
enterStatementExpression in interface FormCalcListener
ctx - the parse tree
public void exitStatementExpression(@NotNull
FormCalcParser.StatementExpressionContext ctx)
FormCalcParser.statementExpression().
The default implementation does nothing.
exitStatementExpression in interface FormCalcListener
ctx - the parse tree
public void enterForUpToStatement(@NotNull
FormCalcParser.ForUpToStatementContext ctx)
FormCalcParser.forUpToStatement().
The default implementation does nothing.
enterForUpToStatement in interface FormCalcListener
ctx - the parse tree
public void exitForUpToStatement(@NotNull
FormCalcParser.ForUpToStatementContext ctx)
FormCalcParser.forUpToStatement().
The default implementation does nothing.
exitForUpToStatement in interface FormCalcListener
ctx - the parse tree
public void enterVariableInitializer(@NotNull
FormCalcParser.VariableInitializerContext ctx)
FormCalcParser.variableInitializer().
The default implementation does nothing.
enterVariableInitializer in interface FormCalcListener
ctx - the parse tree
public void exitVariableInitializer(@NotNull
FormCalcParser.VariableInitializerContext ctx)
FormCalcParser.variableInitializer().
The default implementation does nothing.
exitVariableInitializer in interface FormCalcListener
ctx - the parse tree
public void enterBlock(@NotNull
FormCalcParser.BlockContext ctx)
FormCalcParser.block().
The default implementation does nothing.
enterBlock in interface FormCalcListener
ctx - the parse tree
public void exitBlock(@NotNull
FormCalcParser.BlockContext ctx)
FormCalcParser.block().
The default implementation does nothing.
exitBlock in interface FormCalcListener
ctx - the parse tree
public void enterBlockStatement(@NotNull
FormCalcParser.BlockStatementContext ctx)
FormCalcParser.blockStatement().
The default implementation does nothing.
enterBlockStatement in interface FormCalcListener
ctx - the parse tree
public void exitBlockStatement(@NotNull
FormCalcParser.BlockStatementContext ctx)
FormCalcParser.blockStatement().
The default implementation does nothing.
exitBlockStatement in interface FormCalcListener
ctx - the parse tree
public void enterElseStatement(@NotNull
FormCalcParser.ElseStatementContext ctx)
FormCalcParser.elseStatement().
The default implementation does nothing.
enterElseStatement in interface FormCalcListener
ctx - the parse tree
public void exitElseStatement(@NotNull
FormCalcParser.ElseStatementContext ctx)
FormCalcParser.elseStatement().
The default implementation does nothing.
exitElseStatement in interface FormCalcListener
ctx - the parse tree
public void enterType(@NotNull
FormCalcParser.TypeContext ctx)
FormCalcParser.type().
The default implementation does nothing.
enterType in interface FormCalcListener
ctx - the parse tree
public void exitType(@NotNull
FormCalcParser.TypeContext ctx)
FormCalcParser.type().
The default implementation does nothing.
exitType in interface FormCalcListener
ctx - the parse tree
public void enterElseIfStatement(@NotNull
FormCalcParser.ElseIfStatementContext ctx)
FormCalcParser.elseIfStatement().
The default implementation does nothing.
enterElseIfStatement in interface FormCalcListener
ctx - the parse tree
public void exitElseIfStatement(@NotNull
FormCalcParser.ElseIfStatementContext ctx)
FormCalcParser.elseIfStatement().
The default implementation does nothing.
exitElseIfStatement in interface FormCalcListener
ctx - the parse tree
public void enterWildcardExpression(@NotNull
FormCalcParser.WildcardExpressionContext ctx)
FormCalcParser.wildcardExpression().
The default implementation does nothing.
enterWildcardExpression in interface FormCalcListener
ctx - the parse tree
public void exitWildcardExpression(@NotNull
FormCalcParser.WildcardExpressionContext ctx)
FormCalcParser.wildcardExpression().
The default implementation does nothing.
exitWildcardExpression in interface FormCalcListener
ctx - the parse tree
public void enterIntegerLiteral(@NotNull
FormCalcParser.IntegerLiteralContext ctx)
FormCalcParser.integerLiteral().
The default implementation does nothing.
enterIntegerLiteral in interface FormCalcListener
ctx - the parse tree
public void exitIntegerLiteral(@NotNull
FormCalcParser.IntegerLiteralContext ctx)
FormCalcParser.integerLiteral().
The default implementation does nothing.
exitIntegerLiteral in interface FormCalcListener
ctx - the parse tree
public void enterQualifiedNameList(@NotNull
FormCalcParser.QualifiedNameListContext ctx)
FormCalcParser.qualifiedNameList().
The default implementation does nothing.
enterQualifiedNameList in interface FormCalcListener
ctx - the parse tree
public void exitQualifiedNameList(@NotNull
FormCalcParser.QualifiedNameListContext ctx)
FormCalcParser.qualifiedNameList().
The default implementation does nothing.
exitQualifiedNameList in interface FormCalcListener
ctx - the parse tree
public void enterPrimary(@NotNull
FormCalcParser.PrimaryContext ctx)
FormCalcParser.primary().
The default implementation does nothing.
enterPrimary in interface FormCalcListener
ctx - the parse tree
public void exitPrimary(@NotNull
FormCalcParser.PrimaryContext ctx)
FormCalcParser.primary().
The default implementation does nothing.
exitPrimary in interface FormCalcListener
ctx - the parse tree
public void enterNullEqualityExpression(@NotNull
FormCalcParser.NullEqualityExpressionContext ctx)
FormCalcParser.nullEqualityExpression().
The default implementation does nothing.
enterNullEqualityExpression in interface FormCalcListener
ctx - the parse tree
public void exitNullEqualityExpression(@NotNull
FormCalcParser.NullEqualityExpressionContext ctx)
FormCalcParser.nullEqualityExpression().
The default implementation does nothing.
exitNullEqualityExpression in interface FormCalcListener
ctx - the parse tree
public void enterVariableModifier(@NotNull
FormCalcParser.VariableModifierContext ctx)
FormCalcParser.variableModifier().
The default implementation does nothing.
enterVariableModifier in interface FormCalcListener
ctx - the parse tree
public void exitVariableModifier(@NotNull
FormCalcParser.VariableModifierContext ctx)
FormCalcParser.variableModifier().
The default implementation does nothing.
exitVariableModifier in interface FormCalcListener
ctx - the parse tree
public void enterParExpression(@NotNull
FormCalcParser.ParExpressionContext ctx)
FormCalcParser.parExpression().
The default implementation does nothing.
enterParExpression in interface FormCalcListener
ctx - the parse tree
public void exitParExpression(@NotNull
FormCalcParser.ParExpressionContext ctx)
FormCalcParser.parExpression().
The default implementation does nothing.
exitParExpression in interface FormCalcListener
ctx - the parse tree
public void enterEqualityOperators(@NotNull
FormCalcParser.EqualityOperatorsContext ctx)
FormCalcParser.equalityOperators().
The default implementation does nothing.
enterEqualityOperators in interface FormCalcListener
ctx - the parse tree
public void exitEqualityOperators(@NotNull
FormCalcParser.EqualityOperatorsContext ctx)
FormCalcParser.equalityOperators().
The default implementation does nothing.
exitEqualityOperators in interface FormCalcListener
ctx - the parse tree
public void enterQualifiedName(@NotNull
FormCalcParser.QualifiedNameContext ctx)
FormCalcParser.qualifiedName().
The default implementation does nothing.
enterQualifiedName in interface FormCalcListener
ctx - the parse tree
public void exitQualifiedName(@NotNull
FormCalcParser.QualifiedNameContext ctx)
FormCalcParser.qualifiedName().
The default implementation does nothing.
exitQualifiedName in interface FormCalcListener
ctx - the parse tree
public void enterBooleanLiteral(@NotNull
FormCalcParser.BooleanLiteralContext ctx)
FormCalcParser.booleanLiteral().
The default implementation does nothing.
enterBooleanLiteral in interface FormCalcListener
ctx - the parse tree
public void exitBooleanLiteral(@NotNull
FormCalcParser.BooleanLiteralContext ctx)
FormCalcParser.booleanLiteral().
The default implementation does nothing.
exitBooleanLiteral in interface FormCalcListener
ctx - the parse tree
public void enterIfStatement(@NotNull
FormCalcParser.IfStatementContext ctx)
FormCalcParser.ifStatement().
The default implementation does nothing.
enterIfStatement in interface FormCalcListener
ctx - the parse tree
public void exitIfStatement(@NotNull
FormCalcParser.IfStatementContext ctx)
FormCalcParser.ifStatement().
The default implementation does nothing.
exitIfStatement in interface FormCalcListener
ctx - the parse tree
public void enterAndOperators(@NotNull
FormCalcParser.AndOperatorsContext ctx)
FormCalcParser.andOperators().
The default implementation does nothing.
enterAndOperators in interface FormCalcListener
ctx - the parse tree
public void exitAndOperators(@NotNull
FormCalcParser.AndOperatorsContext ctx)
FormCalcParser.andOperators().
The default implementation does nothing.
exitAndOperators in interface FormCalcListener
ctx - the parse tree
public void enterStatement(@NotNull
FormCalcParser.StatementContext ctx)
FormCalcParser.statement().
The default implementation does nothing.
enterStatement in interface FormCalcListener
ctx - the parse tree
public void exitStatement(@NotNull
FormCalcParser.StatementContext ctx)
FormCalcParser.statement().
The default implementation does nothing.
exitStatement in interface FormCalcListener
ctx - the parse tree
public void enterVariableAssign(@NotNull
FormCalcParser.VariableAssignContext ctx)
FormCalcParser.variableAssign().
The default implementation does nothing.
enterVariableAssign in interface FormCalcListener
ctx - the parse tree
public void exitVariableAssign(@NotNull
FormCalcParser.VariableAssignContext ctx)
FormCalcParser.variableAssign().
The default implementation does nothing.
exitVariableAssign in interface FormCalcListener
ctx - the parse tree
public void enterArguments(@NotNull
FormCalcParser.ArgumentsContext ctx)
FormCalcParser.arguments().
The default implementation does nothing.
enterArguments in interface FormCalcListener
ctx - the parse tree
public void exitArguments(@NotNull
FormCalcParser.ArgumentsContext ctx)
FormCalcParser.arguments().
The default implementation does nothing.
exitArguments in interface FormCalcListener
ctx - the parse tree
public void enterMethodBody(@NotNull
FormCalcParser.MethodBodyContext ctx)
FormCalcParser.methodBody().
The default implementation does nothing.
enterMethodBody in interface FormCalcListener
ctx - the parse tree
public void exitMethodBody(@NotNull
FormCalcParser.MethodBodyContext ctx)
FormCalcParser.methodBody().
The default implementation does nothing.
exitMethodBody in interface FormCalcListener
ctx - the parse tree
public void enterNumericOperators(@NotNull
FormCalcParser.NumericOperatorsContext ctx)
FormCalcParser.numericOperators().
The default implementation does nothing.
enterNumericOperators in interface FormCalcListener
ctx - the parse tree
public void exitNumericOperators(@NotNull
FormCalcParser.NumericOperatorsContext ctx)
FormCalcParser.numericOperators().
The default implementation does nothing.
exitNumericOperators in interface FormCalcListener
ctx - the parse tree
public void enterArrayInitializer(@NotNull
FormCalcParser.ArrayInitializerContext ctx)
FormCalcParser.arrayInitializer().
The default implementation does nothing.
enterArrayInitializer in interface FormCalcListener
ctx - the parse tree
public void exitArrayInitializer(@NotNull
FormCalcParser.ArrayInitializerContext ctx)
FormCalcParser.arrayInitializer().
The default implementation does nothing.
exitArrayInitializer in interface FormCalcListener
ctx - the parse tree
public void enterWhileStatement(@NotNull
FormCalcParser.WhileStatementContext ctx)
FormCalcParser.whileStatement().
The default implementation does nothing.
enterWhileStatement in interface FormCalcListener
ctx - the parse tree
public void exitWhileStatement(@NotNull
FormCalcParser.WhileStatementContext ctx)
FormCalcParser.whileStatement().
The default implementation does nothing.
exitWhileStatement in interface FormCalcListener
ctx - the parse tree
public void enterOrOperators(@NotNull
FormCalcParser.OrOperatorsContext ctx)
FormCalcParser.orOperators().
The default implementation does nothing.
enterOrOperators in interface FormCalcListener
ctx - the parse tree
public void exitOrOperators(@NotNull
FormCalcParser.OrOperatorsContext ctx)
FormCalcParser.orOperators().
The default implementation does nothing.
exitOrOperators in interface FormCalcListener
ctx - the parse tree
public void enterAccessor(@NotNull
FormCalcParser.AccessorContext ctx)
FormCalcParser.accessor().
The default implementation does nothing.
enterAccessor in interface FormCalcListener
ctx - the parse tree
public void exitAccessor(@NotNull
FormCalcParser.AccessorContext ctx)
FormCalcParser.accessor().
The default implementation does nothing.
exitAccessor in interface FormCalcListener
ctx - the parse tree
public void enterPrimitiveType(@NotNull
FormCalcParser.PrimitiveTypeContext ctx)
FormCalcParser.primitiveType().
The default implementation does nothing.
enterPrimitiveType in interface FormCalcListener
ctx - the parse tree
public void exitPrimitiveType(@NotNull
FormCalcParser.PrimitiveTypeContext ctx)
FormCalcParser.primitiveType().
The default implementation does nothing.
exitPrimitiveType in interface FormCalcListener
ctx - the parse tree
public void enterFuncCallExpression(@NotNull
FormCalcParser.FuncCallExpressionContext ctx)
FormCalcParser.funcCallExpression().
The default implementation does nothing.
enterFuncCallExpression in interface FormCalcListener
ctx - the parse tree
public void exitFuncCallExpression(@NotNull
FormCalcParser.FuncCallExpressionContext ctx)
FormCalcParser.funcCallExpression().
The default implementation does nothing.
exitFuncCallExpression in interface FormCalcListener
ctx - the parse tree
public void enterThenStatement(@NotNull
FormCalcParser.ThenStatementContext ctx)
FormCalcParser.thenStatement().
The default implementation does nothing.
enterThenStatement in interface FormCalcListener
ctx - the parse tree
public void exitThenStatement(@NotNull
FormCalcParser.ThenStatementContext ctx)
FormCalcParser.thenStatement().
The default implementation does nothing.
exitThenStatement in interface FormCalcListener
ctx - the parse tree
public void enterLiteral(@NotNull
FormCalcParser.LiteralContext ctx)
FormCalcParser.literal().
The default implementation does nothing.
enterLiteral in interface FormCalcListener
ctx - the parse tree
public void exitLiteral(@NotNull
FormCalcParser.LiteralContext ctx)
FormCalcParser.literal().
The default implementation does nothing.
exitLiteral in interface FormCalcListener
ctx - the parse tree
public void enterEveryRule(@NotNull
org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(@NotNull
org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(@NotNull
org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(@NotNull
org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListener
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.