Class GenericUnsupportedCSTVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- io.github.danielnaczo.python3parser.Python3BaseVisitor<T>
-
- io.github.danielnaczo.python3parser.visitors.ast.GenericUnsupportedCSTVisitor<T>
-
- All Implemented Interfaces:
Python3Visitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
AliasVisitor,ComprehensionVisitor,DecoratorVisitor,DefaultParameterVisitor,ExceptHandlerVisitor,ExpressionVisitor,KeywordVisitor,ModuleVisitor,OperatorVisitor,ParametersVisitor,ParameterVisitor,SliceVisitor,StatementVisitor,StringVisitor,WithItemVisitor
public class GenericUnsupportedCSTVisitor<T> extends Python3BaseVisitor<T>
-
-
Constructor Summary
Constructors Constructor Description GenericUnsupportedCSTVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitTestlist
public T visitTestlist(Python3Parser.TestlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlistin interfacePython3Visitor<T>- Overrides:
visitTestlistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssert_stmt
public T visitAssert_stmt(Python3Parser.Assert_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.assert_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssert_stmtin interfacePython3Visitor<T>- Overrides:
visitAssert_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgument
public T visitArgument(Python3Parser.ArgumentContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentin interfacePython3Visitor<T>- Overrides:
visitArgumentin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNot_test
public T visitNot_test(Python3Parser.Not_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.not_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNot_testin interfacePython3Visitor<T>- Overrides:
visitNot_testin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFile_input
public T visitFile_input(Python3Parser.File_inputContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.file_input().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFile_inputin interfacePython3Visitor<T>- Overrides:
visitFile_inputin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitXor_expr
public T visitXor_expr(Python3Parser.Xor_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.xor_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitXor_exprin interfacePython3Visitor<T>- Overrides:
visitXor_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from
public T visitImport_from(Python3Parser.Import_fromContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.import_from().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_fromin interfacePython3Visitor<T>- Overrides:
visitImport_fromin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingle_input
public T visitSingle_input(Python3Parser.Single_inputContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.single_input().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingle_inputin interfacePython3Visitor<T>- Overrides:
visitSingle_inputin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_item
public T visitWith_item(Python3Parser.With_itemContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.with_item().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWith_itemin interfacePython3Visitor<T>- Overrides:
visitWith_itemin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRaise_stmt
public T visitRaise_stmt(Python3Parser.Raise_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.raise_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRaise_stmtin interfacePython3Visitor<T>- Overrides:
visitRaise_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_as_name
public T visitImport_as_name(Python3Parser.Import_as_nameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.import_as_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_as_namein interfacePython3Visitor<T>- Overrides:
visitImport_as_namein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExcept_clause
public T visitExcept_clause(Python3Parser.Except_clauseContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.except_clause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExcept_clausein interfacePython3Visitor<T>- Overrides:
visitExcept_clausein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompound_stmt
public T visitCompound_stmt(Python3Parser.Compound_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.compound_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompound_stmtin interfacePython3Visitor<T>- Overrides:
visitCompound_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_expr
public T visitAnd_expr(Python3Parser.And_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.and_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnd_exprin interfacePython3Visitor<T>- Overrides:
visitAnd_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef_nocond
public T visitLambdef_nocond(Python3Parser.Lambdef_nocondContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.lambdef_nocond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdef_nocondin interfacePython3Visitor<T>- Overrides:
visitLambdef_nocondin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictorsetmaker
public T visitDictorsetmaker(Python3Parser.DictorsetmakerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictorsetmaker().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictorsetmakerin interfacePython3Visitor<T>- Overrides:
visitDictorsetmakerin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturn_stmt
public T visitReturn_stmt(Python3Parser.Return_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.return_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturn_stmtin interfacePython3Visitor<T>- Overrides:
visitReturn_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_name
public T visitDotted_name(Python3Parser.Dotted_nameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dotted_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotted_namein interfacePython3Visitor<T>- Overrides:
visitDotted_namein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFlow_stmt
public T visitFlow_stmt(Python3Parser.Flow_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.flow_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFlow_stmtin interfacePython3Visitor<T>- Overrides:
visitFlow_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhile_stmt
public T visitWhile_stmt(Python3Parser.While_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.while_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhile_stmtin interfacePython3Visitor<T>- Overrides:
visitWhile_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr_test
public T visitOr_test(Python3Parser.Or_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.or_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOr_testin interfacePython3Visitor<T>- Overrides:
visitOr_testin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
public T visitComparison(Python3Parser.ComparisonContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comparison().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonin interfacePython3Visitor<T>- Overrides:
visitComparisonin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest
public T visitTest(Python3Parser.TestContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestin interfacePython3Visitor<T>- Overrides:
visitTestin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscript
public T visitSubscript(Python3Parser.SubscriptContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.subscript().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptin interfacePython3Visitor<T>- Overrides:
visitSubscriptin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_for
public T visitComp_for(Python3Parser.Comp_forContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comp_for().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComp_forin interfacePython3Visitor<T>- Overrides:
visitComp_forin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_arg
public T visitYield_arg(Python3Parser.Yield_argContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.yield_arg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_argin interfacePython3Visitor<T>- Overrides:
visitYield_argin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_expr
public T visitYield_expr(Python3Parser.Yield_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.yield_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_exprin interfacePython3Visitor<T>- Overrides:
visitYield_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_stmt
public T visitImport_stmt(Python3Parser.Import_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.import_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_stmtin interfacePython3Visitor<T>- Overrides:
visitImport_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_expr
public T visitShift_expr(Python3Parser.Shift_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.shift_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShift_exprin interfacePython3Visitor<T>- Overrides:
visitShift_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef
public T visitLambdef(Python3Parser.LambdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.lambdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdefin interfacePython3Visitor<T>- Overrides:
visitLambdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_test
public T visitAnd_test(Python3Parser.And_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.and_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnd_testin interfacePython3Visitor<T>- Overrides:
visitAnd_testin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGlobal_stmt
public T visitGlobal_stmt(Python3Parser.Global_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.global_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGlobal_stmtin interfacePython3Visitor<T>- Overrides:
visitGlobal_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_as_names
public T visitImport_as_names(Python3Parser.Import_as_namesContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.import_as_names().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_as_namesin interfacePython3Visitor<T>- Overrides:
visitImport_as_namesin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTry_stmt
public T visitTry_stmt(Python3Parser.Try_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.try_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTry_stmtin interfacePython3Visitor<T>- Overrides:
visitTry_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_op
public T visitComp_op(Python3Parser.Comp_opContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comp_op().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComp_opin interfacePython3Visitor<T>- Overrides:
visitComp_opin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_expr
public T visitStar_expr(Python3Parser.Star_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.star_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_exprin interfacePython3Visitor<T>- Overrides:
visitStar_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreak_stmt
public T visitBreak_stmt(Python3Parser.Break_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.break_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreak_stmtin interfacePython3Visitor<T>- Overrides:
visitBreak_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameters
public T visitParameters(Python3Parser.ParametersContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParametersin interfacePython3Visitor<T>- Overrides:
visitParametersin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecorator
public T visitDecorator(Python3Parser.DecoratorContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.decorator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorin interfacePython3Visitor<T>- Overrides:
visitDecoratorin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTfpdef
public T visitTfpdef(Python3Parser.TfpdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.tfpdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTfpdefin interfacePython3Visitor<T>- Overrides:
visitTfpdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIf_stmt
public T visitIf_stmt(Python3Parser.If_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.if_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIf_stmtin interfacePython3Visitor<T>- Overrides:
visitIf_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_stmt
public T visitWith_stmt(Python3Parser.With_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.with_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWith_stmtin interfacePython3Visitor<T>- Overrides:
visitWith_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassdef
public T visitClassdef(Python3Parser.ClassdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.classdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassdefin interfacePython3Visitor<T>- Overrides:
visitClassdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprlist
public T visitExprlist(Python3Parser.ExprlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.exprlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprlistin interfacePython3Visitor<T>- Overrides:
visitExprlistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSmall_stmt
public T visitSmall_stmt(Python3Parser.Small_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.small_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSmall_stmtin interfacePython3Visitor<T>- Overrides:
visitSmall_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailer
public T visitTrailer(Python3Parser.TrailerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerin interfacePython3Visitor<T>- Overrides:
visitTrailerin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_names
public T visitDotted_as_names(Python3Parser.Dotted_as_namesContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dotted_as_names().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotted_as_namesin interfacePython3Visitor<T>- Overrides:
visitDotted_as_namesin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArith_expr
public T visitArith_expr(Python3Parser.Arith_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.arith_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArith_exprin interfacePython3Visitor<T>- Overrides:
visitArith_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArglist
public T visitArglist(Python3Parser.ArglistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.arglist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArglistin interfacePython3Visitor<T>- Overrides:
visitArglistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimple_stmt
public T visitSimple_stmt(Python3Parser.Simple_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.simple_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimple_stmtin interfacePython3Visitor<T>- Overrides:
visitSimple_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypedargslist
public T visitTypedargslist(Python3Parser.TypedargslistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.typedargslist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypedargslistin interfacePython3Visitor<T>- Overrides:
visitTypedargslistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
public T visitExpr(Python3Parser.ExprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprin interfacePython3Visitor<T>- Overrides:
visitExprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
public T visitTerm(Python3Parser.TermContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfacePython3Visitor<T>- Overrides:
visitTermin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_name
public T visitDotted_as_name(Python3Parser.Dotted_as_nameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dotted_as_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotted_as_namein interfacePython3Visitor<T>- Overrides:
visitDotted_as_namein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor
public T visitFactor(Python3Parser.FactorContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.factor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFactorin interfacePython3Visitor<T>- Overrides:
visitFactorin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFuncdef
public T visitFuncdef(Python3Parser.FuncdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.funcdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFuncdefin interfacePython3Visitor<T>- Overrides:
visitFuncdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptlist
public T visitSubscriptlist(Python3Parser.SubscriptlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.subscriptlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptlistin interfacePython3Visitor<T>- Overrides:
visitSubscriptlistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest_nocond
public T visitTest_nocond(Python3Parser.Test_nocondContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.test_nocond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTest_nocondin interfacePython3Visitor<T>- Overrides:
visitTest_nocondin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonlocal_stmt
public T visitNonlocal_stmt(Python3Parser.Nonlocal_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.nonlocal_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonlocal_stmtin interfacePython3Visitor<T>- Overrides:
visitNonlocal_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEval_input
public T visitEval_input(Python3Parser.Eval_inputContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.eval_input().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEval_inputin interfacePython3Visitor<T>- Overrides:
visitEval_inputin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVfpdef
public T visitVfpdef(Python3Parser.VfpdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.vfpdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVfpdefin interfacePython3Visitor<T>- Overrides:
visitVfpdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_name
public T visitImport_name(Python3Parser.Import_nameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.import_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_namein interfacePython3Visitor<T>- Overrides:
visitImport_namein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_if
public T visitComp_if(Python3Parser.Comp_ifContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comp_if().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComp_ifin interfacePython3Visitor<T>- Overrides:
visitComp_ifin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAugassign
public T visitAugassign(Python3Parser.AugassignContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.augassign().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAugassignin interfacePython3Visitor<T>- Overrides:
visitAugassignin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPass_stmt
public T visitPass_stmt(Python3Parser.Pass_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.pass_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPass_stmtin interfacePython3Visitor<T>- Overrides:
visitPass_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmt
public T visitExpr_stmt(Python3Parser.Expr_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpr_stmtin interfacePython3Visitor<T>- Overrides:
visitExpr_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_stmt
public T visitYield_stmt(Python3Parser.Yield_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.yield_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_stmtin interfacePython3Visitor<T>- Overrides:
visitYield_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuite
public T visitSuite(Python3Parser.SuiteContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.suite().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuitein interfacePython3Visitor<T>- Overrides:
visitSuitein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinue_stmt
public T visitContinue_stmt(Python3Parser.Continue_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.continue_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinue_stmtin interfacePython3Visitor<T>- Overrides:
visitContinue_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_star_expr
public T visitTestlist_star_expr(Python3Parser.Testlist_star_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_star_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_star_exprin interfacePython3Visitor<T>- Overrides:
visitTestlist_star_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarargslist
public T visitVarargslist(Python3Parser.VarargslistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varargslist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarargslistin interfacePython3Visitor<T>- Overrides:
visitVarargslistin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFor_stmt
public T visitFor_stmt(Python3Parser.For_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.for_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFor_stmtin interfacePython3Visitor<T>- Overrides:
visitFor_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_stmt
public T visitDel_stmt(Python3Parser.Del_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.del_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDel_stmtin interfacePython3Visitor<T>- Overrides:
visitDel_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
public T visitAtom(Python3Parser.AtomContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomin interfacePython3Visitor<T>- Overrides:
visitAtomin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStmt
public T visitStmt(Python3Parser.StmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStmtin interfacePython3Visitor<T>- Overrides:
visitStmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom_expr
public T visitAtom_expr(Python3Parser.Atom_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.atom_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtom_exprin interfacePython3Visitor<T>- Overrides:
visitAtom_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnassign
public T visitAnnassign(Python3Parser.AnnassignContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.annassign().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnassignin interfacePython3Visitor<T>- Overrides:
visitAnnassignin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAsync_stmt
public T visitAsync_stmt(Python3Parser.Async_stmtContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.async_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAsync_stmtin interfacePython3Visitor<T>- Overrides:
visitAsync_stmtin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNormalOrDefaultTfpDef
public T visitNormalOrDefaultTfpDef(Python3Parser.NormalOrDefaultTfpDefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.normalOrDefaultTfpDef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNormalOrDefaultTfpDefin interfacePython3Visitor<T>- Overrides:
visitNormalOrDefaultTfpDefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultTfpdef
public T visitDefaultTfpdef(Python3Parser.DefaultTfpdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.defaultTfpdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultTfpdefin interfacePython3Visitor<T>- Overrides:
visitDefaultTfpdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompleteArgs
public T visitCompleteArgs(Python3Parser.CompleteArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.completeArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompleteArgsin interfacePython3Visitor<T>- Overrides:
visitCompleteArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAfterPositionalArgs
public T visitAfterPositionalArgs(Python3Parser.AfterPositionalArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.afterPositionalArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAfterPositionalArgsin interfacePython3Visitor<T>- Overrides:
visitAfterPositionalArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositionalList
public T visitPositionalList(Python3Parser.PositionalListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.positionalList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositionalListin interfacePython3Visitor<T>- Overrides:
visitPositionalListin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwlistArgs1
public T visitKwlistArgs1(Python3Parser.KwlistArgs1Context ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.kwlistArgs1().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwlistArgs1in interfacePython3Visitor<T>- Overrides:
visitKwlistArgs1in classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJustKeywordsArgs
public T visitJustKeywordsArgs(Python3Parser.JustKeywordsArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.justKeywordsArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJustKeywordsArgsin interfacePython3Visitor<T>- Overrides:
visitJustKeywordsArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwlistArgs2
public T visitKwlistArgs2(Python3Parser.KwlistArgs2Context ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.kwlistArgs2().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwlistArgs2in interfacePython3Visitor<T>- Overrides:
visitKwlistArgs2in classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwOnlyListArgs
public T visitKwOnlyListArgs(Python3Parser.KwOnlyListArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.kwOnlyListArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwOnlyListArgsin interfacePython3Visitor<T>- Overrides:
visitKwOnlyListArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarNormalOrDefaultTfpDef
public T visitVarNormalOrDefaultTfpDef(Python3Parser.VarNormalOrDefaultTfpDefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varNormalOrDefaultTfpDef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarNormalOrDefaultTfpDefin interfacePython3Visitor<T>- Overrides:
visitVarNormalOrDefaultTfpDefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarDefaultVfpdef
public T visitVarDefaultVfpdef(Python3Parser.VarDefaultVfpdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varDefaultVfpdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarDefaultVfpdefin interfacePython3Visitor<T>- Overrides:
visitVarDefaultVfpdefin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarCompleteArgs
public T visitVarCompleteArgs(Python3Parser.VarCompleteArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varCompleteArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarCompleteArgsin interfacePython3Visitor<T>- Overrides:
visitVarCompleteArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarAfterPositionalArgs
public T visitVarAfterPositionalArgs(Python3Parser.VarAfterPositionalArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varAfterPositionalArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarAfterPositionalArgsin interfacePython3Visitor<T>- Overrides:
visitVarAfterPositionalArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarPositionalList
public T visitVarPositionalList(Python3Parser.VarPositionalListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varPositionalList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarPositionalListin interfacePython3Visitor<T>- Overrides:
visitVarPositionalListin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwlistArgs1
public T visitVarKwlistArgs1(Python3Parser.VarKwlistArgs1Context ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varKwlistArgs1().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarKwlistArgs1in interfacePython3Visitor<T>- Overrides:
visitVarKwlistArgs1in classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarJustKeywordsArgs
public T visitVarJustKeywordsArgs(Python3Parser.VarJustKeywordsArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varJustKeywordsArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarJustKeywordsArgsin interfacePython3Visitor<T>- Overrides:
visitVarJustKeywordsArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwlistArgs2
public T visitVarKwlistArgs2(Python3Parser.VarKwlistArgs2Context ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varKwlistArgs2().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarKwlistArgs2in interfacePython3Visitor<T>- Overrides:
visitVarKwlistArgs2in classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwOnlyListArgs
public T visitVarKwOnlyListArgs(Python3Parser.VarKwOnlyListArgsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.varKwOnlyListArgs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarKwOnlyListArgsin interfacePython3Visitor<T>- Overrides:
visitVarKwOnlyListArgsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmtIndividualAssign
public T visitExpr_stmtIndividualAssign(Python3Parser.Expr_stmtIndividualAssignContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr_stmtIndividualAssign().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpr_stmtIndividualAssignin interfacePython3Visitor<T>- Overrides:
visitExpr_stmtIndividualAssignin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmtNormalAssign
public T visitExpr_stmtNormalAssign(Python3Parser.Expr_stmtNormalAssignContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr_stmtNormalAssign().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpr_stmtNormalAssignin interfacePython3Visitor<T>- Overrides:
visitExpr_stmtNormalAssignin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_op
public T visitShift_op(Python3Parser.Shift_opContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.shift_op().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShift_opin interfacePython3Visitor<T>- Overrides:
visitShift_opin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArith_op
public T visitArith_op(Python3Parser.Arith_opContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.arith_op().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArith_opin interfacePython3Visitor<T>- Overrides:
visitArith_opin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm_op
public T visitTerm_op(Python3Parser.Term_opContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.term_op().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTerm_opin interfacePython3Visitor<T>- Overrides:
visitTerm_opin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor_op
public T visitFactor_op(Python3Parser.Factor_opContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.factor_op().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFactor_opin interfacePython3Visitor<T>- Overrides:
visitFactor_opin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPower
public T visitPower(Python3Parser.PowerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.power().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowerin interfacePython3Visitor<T>- Overrides:
visitPowerin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_NormalAssignList
public T visitExpr_NormalAssignList(Python3Parser.Expr_NormalAssignListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr_NormalAssignList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpr_NormalAssignListin interfacePython3Visitor<T>- Overrides:
visitExpr_NormalAssignListin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStar_expr
public T visitTestOrStar_expr(Python3Parser.TestOrStar_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testOrStar_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestOrStar_exprin interfacePython3Visitor<T>- Overrides:
visitTestOrStar_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStarList_expr
public T visitTestOrStarList_expr(Python3Parser.TestOrStarList_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testOrStarList_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestOrStarList_exprin interfacePython3Visitor<T>- Overrides:
visitTestOrStarList_exprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerCall
public T visitTrailerCall(Python3Parser.TrailerCallContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerCallin interfacePython3Visitor<T>- Overrides:
visitTrailerCallin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerSubscript
public T visitTrailerSubscript(Python3Parser.TrailerSubscriptContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerSubscript().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerSubscriptin interfacePython3Visitor<T>- Overrides:
visitTrailerSubscriptin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerName
public T visitTrailerName(Python3Parser.TrailerNameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerNamein interfacePython3Visitor<T>- Overrides:
visitTrailerNamein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuple
public T visitTuple(Python3Parser.TupleContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.tuple().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTuplein interfacePython3Visitor<T>- Overrides:
visitTuplein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compTuple
public T visitTestlist_compTuple(Python3Parser.Testlist_compTupleContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_compTuple().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_compTuplein interfacePython3Visitor<T>- Overrides:
visitTestlist_compTuplein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
public T visitList(Python3Parser.ListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListin interfacePython3Visitor<T>- Overrides:
visitListin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compList
public T visitTestlist_compList(Python3Parser.Testlist_compListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_compList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_compListin interfacePython3Visitor<T>- Overrides:
visitTestlist_compListin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictionaryOrSet
public T visitDictionaryOrSet(Python3Parser.DictionaryOrSetContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictionaryOrSet().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictionaryOrSetin interfacePython3Visitor<T>- Overrides:
visitDictionaryOrSetin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictFirst
public T visitDictFirst(Python3Parser.DictFirstContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictFirst().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictFirstin interfacePython3Visitor<T>- Overrides:
visitDictFirstin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDicts
public T visitDicts(Python3Parser.DictsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dicts().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictsin interfacePython3Visitor<T>- Overrides:
visitDictsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetFirst
public T visitSetFirst(Python3Parser.SetFirstContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.setFirst().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetFirstin interfacePython3Visitor<T>- Overrides:
visitSetFirstin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSets
public T visitSets(Python3Parser.SetsContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.sets().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetsin interfacePython3Visitor<T>- Overrides:
visitSetsin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentNormal
public T visitArgumentNormal(Python3Parser.ArgumentNormalContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentNormal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentNormalin interfacePython3Visitor<T>- Overrides:
visitArgumentNormalin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentKeyword
public T visitArgumentKeyword(Python3Parser.ArgumentKeywordContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentKeyword().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentKeywordin interfacePython3Visitor<T>- Overrides:
visitArgumentKeywordin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentStar
public T visitArgumentStar(Python3Parser.ArgumentStarContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentStar().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentStarin interfacePython3Visitor<T>- Overrides:
visitArgumentStarin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentDoubleStar
public T visitArgumentDoubleStar(Python3Parser.ArgumentDoubleStarContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentDoubleStar().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentDoubleStarin interfacePython3Visitor<T>- Overrides:
visitArgumentDoubleStarin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptIndex
public T visitSubscriptIndex(Python3Parser.SubscriptIndexContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.subscriptIndex().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptIndexin interfacePython3Visitor<T>- Overrides:
visitSubscriptIndexin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptSlice
public T visitSubscriptSlice(Python3Parser.SubscriptSliceContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.subscriptSlice().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptSlicein interfacePython3Visitor<T>- Overrides:
visitSubscriptSlicein classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlicelLower
public T visitSlicelLower(Python3Parser.SlicelLowerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.slicelLower().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlicelLowerin interfacePython3Visitor<T>- Overrides:
visitSlicelLowerin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceUpper
public T visitSliceUpper(Python3Parser.SliceUpperContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.sliceUpper().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSliceUpperin interfacePython3Visitor<T>- Overrides:
visitSliceUpperin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceStep
public T visitSliceStep(Python3Parser.SliceStepContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.sliceStep().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSliceStepin interfacePython3Visitor<T>- Overrides:
visitSliceStepin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprOrStarExpr
public T visitExprOrStarExpr(Python3Parser.ExprOrStarExprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.exprOrStarExpr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprOrStarExprin interfacePython3Visitor<T>- Overrides:
visitExprOrStarExprin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwait
public T visitAwait(Python3Parser.AwaitContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.await().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAwaitin interfacePython3Visitor<T>- Overrides:
visitAwaitin classPython3BaseVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-