T - The return type of the visit operation. Use Void for operations with no return type.
public class FormCalcBaseVisitorextends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor implements FormCalcVisitor
FormCalcVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
| Constructor and Description |
|---|
FormCalcBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitExpression(@NotNull FormCalcParser.ExpressionContext ctx)
FormCalcParser.expression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitVariableDeclarator(@NotNull FormCalcParser.VariableDeclaratorContext ctx)
FormCalcParser.variableDeclarator().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableDeclarator in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitVariableDeclaratorId(@NotNull FormCalcParser.VariableDeclaratorIdContext ctx)
FormCalcParser.variableDeclaratorId().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableDeclaratorId in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitAssign(@NotNull FormCalcParser.AssignContext ctx)
FormCalcParser.assign().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAssign in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitForDownToStatement(@NotNull FormCalcParser.ForDownToStatementContext ctx)
FormCalcParser.forDownToStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitForDownToStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitCompilationUnit(@NotNull FormCalcParser.CompilationUnitContext ctx)
FormCalcParser.compilationUnit().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCompilationUnit in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitExpressionList(@NotNull FormCalcParser.ExpressionListContext ctx)
FormCalcParser.expressionList().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionList in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitRelationalOperators(@NotNull FormCalcParser.RelationalOperatorsContext ctx)
FormCalcParser.relationalOperators().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRelationalOperators in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitStatementExpression(@NotNull FormCalcParser.StatementExpressionContext ctx)
FormCalcParser.statementExpression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatementExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitForUpToStatement(@NotNull FormCalcParser.ForUpToStatementContext ctx)
FormCalcParser.forUpToStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitForUpToStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitVariableInitializer(@NotNull FormCalcParser.VariableInitializerContext ctx)
FormCalcParser.variableInitializer().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableInitializer in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitBlock(@NotNull FormCalcParser.BlockContext ctx)
FormCalcParser.block().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBlock in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitBlockStatement(@NotNull FormCalcParser.BlockStatementContext ctx)
FormCalcParser.blockStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBlockStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitElseStatement(@NotNull FormCalcParser.ElseStatementContext ctx)
FormCalcParser.elseStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitElseStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitType(@NotNull FormCalcParser.TypeContext ctx)
FormCalcParser.type().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitType in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitElseIfStatement(@NotNull FormCalcParser.ElseIfStatementContext ctx)
FormCalcParser.elseIfStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitElseIfStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitWildcardExpression(@NotNull FormCalcParser.WildcardExpressionContext ctx)
FormCalcParser.wildcardExpression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWildcardExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitIntegerLiteral(@NotNull FormCalcParser.IntegerLiteralContext ctx)
FormCalcParser.integerLiteral().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIntegerLiteral in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitQualifiedNameList(@NotNull FormCalcParser.QualifiedNameListContext ctx)
FormCalcParser.qualifiedNameList().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitQualifiedNameList in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitPrimary(@NotNull FormCalcParser.PrimaryContext ctx)
FormCalcParser.primary().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPrimary in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitNullEqualityExpression(@NotNull FormCalcParser.NullEqualityExpressionContext ctx)
FormCalcParser.nullEqualityExpression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNullEqualityExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitVariableModifier(@NotNull FormCalcParser.VariableModifierContext ctx)
FormCalcParser.variableModifier().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableModifier in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitParExpression(@NotNull FormCalcParser.ParExpressionContext ctx)
FormCalcParser.parExpression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitEqualityOperators(@NotNull FormCalcParser.EqualityOperatorsContext ctx)
FormCalcParser.equalityOperators().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitEqualityOperators in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitQualifiedName(@NotNull FormCalcParser.QualifiedNameContext ctx)
FormCalcParser.qualifiedName().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitQualifiedName in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitBooleanLiteral(@NotNull FormCalcParser.BooleanLiteralContext ctx)
FormCalcParser.booleanLiteral().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBooleanLiteral in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitIfStatement(@NotNull FormCalcParser.IfStatementContext ctx)
FormCalcParser.ifStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIfStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitAndOperators(@NotNull FormCalcParser.AndOperatorsContext ctx)
FormCalcParser.andOperators().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAndOperators in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitStatement(@NotNull FormCalcParser.StatementContext ctx)
FormCalcParser.statement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitVariableAssign(@NotNull FormCalcParser.VariableAssignContext ctx)
FormCalcParser.variableAssign().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableAssign in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitArguments(@NotNull FormCalcParser.ArgumentsContext ctx)
FormCalcParser.arguments().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArguments in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitMethodBody(@NotNull FormCalcParser.MethodBodyContext ctx)
FormCalcParser.methodBody().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethodBody in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitNumericOperators(@NotNull FormCalcParser.NumericOperatorsContext ctx)
FormCalcParser.numericOperators().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumericOperators in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitArrayInitializer(@NotNull FormCalcParser.ArrayInitializerContext ctx)
FormCalcParser.arrayInitializer().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArrayInitializer in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitWhileStatement(@NotNull FormCalcParser.WhileStatementContext ctx)
FormCalcParser.whileStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWhileStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitOrOperators(@NotNull FormCalcParser.OrOperatorsContext ctx)
FormCalcParser.orOperators().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOrOperators in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitAccessor(@NotNull FormCalcParser.AccessorContext ctx)
FormCalcParser.accessor().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAccessor in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitPrimitiveType(@NotNull FormCalcParser.PrimitiveTypeContext ctx)
FormCalcParser.primitiveType().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPrimitiveType in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitFuncCallExpression(@NotNull FormCalcParser.FuncCallExpressionContext ctx)
FormCalcParser.funcCallExpression().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFuncCallExpression in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitThenStatement(@NotNull FormCalcParser.ThenStatementContext ctx)
FormCalcParser.thenStatement().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitThenStatement in interface FormCalcVisitor<T>
ctx - the parse tree
public T visitLiteral(@NotNull FormCalcParser.LiteralContext ctx)
FormCalcParser.literal().
The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLiteral in interface FormCalcVisitor<T>
ctx - the parse tree
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.