T - The return type of the visit operation. Use Void for
operations with no return type.public class Python3BaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements Python3Visitor<T>
Python3Visitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
Python3BaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitSingle_input(Python3Parser.Single_inputContext ctx)
Python3Parser.single_input().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSingle_input in interface Python3Visitor<T>ctx - the parse treepublic T visitFile_input(Python3Parser.File_inputContext ctx)
Python3Parser.file_input().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFile_input in interface Python3Visitor<T>ctx - the parse treepublic T visitEval_input(Python3Parser.Eval_inputContext ctx)
Python3Parser.eval_input().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitEval_input in interface Python3Visitor<T>ctx - the parse treepublic T visitDecorator(Python3Parser.DecoratorContext ctx)
Python3Parser.decorator().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDecorator in interface Python3Visitor<T>ctx - the parse treepublic T visitFuncdef(Python3Parser.FuncdefContext ctx)
Python3Parser.funcdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFuncdef in interface Python3Visitor<T>ctx - the parse treepublic T visitParameters(Python3Parser.ParametersContext ctx)
Python3Parser.parameters().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParameters in interface Python3Visitor<T>ctx - the parse treepublic T visitTypedargslist(Python3Parser.TypedargslistContext ctx)
Python3Parser.typedargslist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTypedargslist in interface Python3Visitor<T>ctx - the parse treepublic T visitTfpdef(Python3Parser.TfpdefContext ctx)
Python3Parser.tfpdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTfpdef in interface Python3Visitor<T>ctx - the parse treepublic T visitNormalOrDefaultTfpDef(Python3Parser.NormalOrDefaultTfpDefContext ctx)
Python3Parser.normalOrDefaultTfpDef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNormalOrDefaultTfpDef in interface Python3Visitor<T>ctx - the parse treepublic T visitDefaultTfpdef(Python3Parser.DefaultTfpdefContext ctx)
Python3Parser.defaultTfpdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDefaultTfpdef in interface Python3Visitor<T>ctx - the parse treepublic T visitCompleteArgs(Python3Parser.CompleteArgsContext ctx)
Python3Parser.completeArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCompleteArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitAfterPositionalArgs(Python3Parser.AfterPositionalArgsContext ctx)
Python3Parser.afterPositionalArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAfterPositionalArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitPositionalList(Python3Parser.PositionalListContext ctx)
Python3Parser.positionalList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPositionalList in interface Python3Visitor<T>ctx - the parse treepublic T visitKwlistArgs1(Python3Parser.KwlistArgs1Context ctx)
Python3Parser.kwlistArgs1().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitKwlistArgs1 in interface Python3Visitor<T>ctx - the parse treepublic T visitJustKeywordsArgs(Python3Parser.JustKeywordsArgsContext ctx)
Python3Parser.justKeywordsArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitJustKeywordsArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitKwlistArgs2(Python3Parser.KwlistArgs2Context ctx)
Python3Parser.kwlistArgs2().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitKwlistArgs2 in interface Python3Visitor<T>ctx - the parse treepublic T visitKwOnlyListArgs(Python3Parser.KwOnlyListArgsContext ctx)
Python3Parser.kwOnlyListArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitKwOnlyListArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitVarargslist(Python3Parser.VarargslistContext ctx)
Python3Parser.varargslist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarargslist in interface Python3Visitor<T>ctx - the parse treepublic T visitVfpdef(Python3Parser.VfpdefContext ctx)
Python3Parser.vfpdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVfpdef in interface Python3Visitor<T>ctx - the parse treepublic T visitVarNormalOrDefaultTfpDef(Python3Parser.VarNormalOrDefaultTfpDefContext ctx)
Python3Parser.varNormalOrDefaultTfpDef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarNormalOrDefaultTfpDef in interface Python3Visitor<T>ctx - the parse treepublic T visitVarDefaultVfpdef(Python3Parser.VarDefaultVfpdefContext ctx)
Python3Parser.varDefaultVfpdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarDefaultVfpdef in interface Python3Visitor<T>ctx - the parse treepublic T visitVarCompleteArgs(Python3Parser.VarCompleteArgsContext ctx)
Python3Parser.varCompleteArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarCompleteArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitVarAfterPositionalArgs(Python3Parser.VarAfterPositionalArgsContext ctx)
Python3Parser.varAfterPositionalArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarAfterPositionalArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitVarPositionalList(Python3Parser.VarPositionalListContext ctx)
Python3Parser.varPositionalList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarPositionalList in interface Python3Visitor<T>ctx - the parse treepublic T visitVarKwlistArgs1(Python3Parser.VarKwlistArgs1Context ctx)
Python3Parser.varKwlistArgs1().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarKwlistArgs1 in interface Python3Visitor<T>ctx - the parse treepublic T visitVarJustKeywordsArgs(Python3Parser.VarJustKeywordsArgsContext ctx)
Python3Parser.varJustKeywordsArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarJustKeywordsArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitVarKwlistArgs2(Python3Parser.VarKwlistArgs2Context ctx)
Python3Parser.varKwlistArgs2().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarKwlistArgs2 in interface Python3Visitor<T>ctx - the parse treepublic T visitVarKwOnlyListArgs(Python3Parser.VarKwOnlyListArgsContext ctx)
Python3Parser.varKwOnlyListArgs().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVarKwOnlyListArgs in interface Python3Visitor<T>ctx - the parse treepublic T visitStmt(Python3Parser.StmtContext ctx)
Python3Parser.stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStmt in interface Python3Visitor<T>ctx - the parse treepublic T visitSimple_stmt(Python3Parser.Simple_stmtContext ctx)
Python3Parser.simple_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSimple_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitSmall_stmt(Python3Parser.Small_stmtContext ctx)
Python3Parser.small_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSmall_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitExpr_stmt(Python3Parser.Expr_stmtContext ctx)
Python3Parser.expr_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitExpr_stmtIndividualAssign(Python3Parser.Expr_stmtIndividualAssignContext ctx)
Python3Parser.expr_stmtIndividualAssign().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr_stmtIndividualAssign in interface Python3Visitor<T>ctx - the parse treepublic T visitExpr_stmtNormalAssign(Python3Parser.Expr_stmtNormalAssignContext ctx)
Python3Parser.expr_stmtNormalAssign().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr_stmtNormalAssign in interface Python3Visitor<T>ctx - the parse treepublic T visitExpr_NormalAssignList(Python3Parser.Expr_NormalAssignListContext ctx)
Python3Parser.expr_NormalAssignList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr_NormalAssignList in interface Python3Visitor<T>ctx - the parse treepublic T visitAnnassign(Python3Parser.AnnassignContext ctx)
Python3Parser.annassign().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAnnassign in interface Python3Visitor<T>ctx - the parse treepublic T visitTestlist_star_expr(Python3Parser.Testlist_star_exprContext ctx)
Python3Parser.testlist_star_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestlist_star_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitTestOrStar_expr(Python3Parser.TestOrStar_exprContext ctx)
Python3Parser.testOrStar_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestOrStar_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitTestOrStarList_expr(Python3Parser.TestOrStarList_exprContext ctx)
Python3Parser.testOrStarList_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestOrStarList_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitAugassign(Python3Parser.AugassignContext ctx)
Python3Parser.augassign().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAugassign in interface Python3Visitor<T>ctx - the parse treepublic T visitDel_stmt(Python3Parser.Del_stmtContext ctx)
Python3Parser.del_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDel_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitPass_stmt(Python3Parser.Pass_stmtContext ctx)
Python3Parser.pass_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPass_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitFlow_stmt(Python3Parser.Flow_stmtContext ctx)
Python3Parser.flow_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFlow_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitBreak_stmt(Python3Parser.Break_stmtContext ctx)
Python3Parser.break_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBreak_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitContinue_stmt(Python3Parser.Continue_stmtContext ctx)
Python3Parser.continue_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitContinue_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitReturn_stmt(Python3Parser.Return_stmtContext ctx)
Python3Parser.return_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitReturn_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitYield_stmt(Python3Parser.Yield_stmtContext ctx)
Python3Parser.yield_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitYield_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitRaise_stmt(Python3Parser.Raise_stmtContext ctx)
Python3Parser.raise_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRaise_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitImport_stmt(Python3Parser.Import_stmtContext ctx)
Python3Parser.import_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImport_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitImport_name(Python3Parser.Import_nameContext ctx)
Python3Parser.import_name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImport_name in interface Python3Visitor<T>ctx - the parse treepublic T visitImport_from(Python3Parser.Import_fromContext ctx)
Python3Parser.import_from().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImport_from in interface Python3Visitor<T>ctx - the parse treepublic T visitImport_as_name(Python3Parser.Import_as_nameContext ctx)
Python3Parser.import_as_name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImport_as_name in interface Python3Visitor<T>ctx - the parse treepublic T visitDotted_as_name(Python3Parser.Dotted_as_nameContext ctx)
Python3Parser.dotted_as_name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDotted_as_name in interface Python3Visitor<T>ctx - the parse treepublic T visitImport_as_names(Python3Parser.Import_as_namesContext ctx)
Python3Parser.import_as_names().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImport_as_names in interface Python3Visitor<T>ctx - the parse treepublic T visitDotted_as_names(Python3Parser.Dotted_as_namesContext ctx)
Python3Parser.dotted_as_names().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDotted_as_names in interface Python3Visitor<T>ctx - the parse treepublic T visitDotted_name(Python3Parser.Dotted_nameContext ctx)
Python3Parser.dotted_name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDotted_name in interface Python3Visitor<T>ctx - the parse treepublic T visitGlobal_stmt(Python3Parser.Global_stmtContext ctx)
Python3Parser.global_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGlobal_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitNonlocal_stmt(Python3Parser.Nonlocal_stmtContext ctx)
Python3Parser.nonlocal_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNonlocal_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitAssert_stmt(Python3Parser.Assert_stmtContext ctx)
Python3Parser.assert_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAssert_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitCompound_stmt(Python3Parser.Compound_stmtContext ctx)
Python3Parser.compound_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCompound_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitAsync_stmt(Python3Parser.Async_stmtContext ctx)
Python3Parser.async_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAsync_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitIf_stmt(Python3Parser.If_stmtContext ctx)
Python3Parser.if_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIf_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitWhile_stmt(Python3Parser.While_stmtContext ctx)
Python3Parser.while_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWhile_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitFor_stmt(Python3Parser.For_stmtContext ctx)
Python3Parser.for_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFor_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitTry_stmt(Python3Parser.Try_stmtContext ctx)
Python3Parser.try_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTry_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitWith_stmt(Python3Parser.With_stmtContext ctx)
Python3Parser.with_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWith_stmt in interface Python3Visitor<T>ctx - the parse treepublic T visitWith_item(Python3Parser.With_itemContext ctx)
Python3Parser.with_item().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWith_item in interface Python3Visitor<T>ctx - the parse treepublic T visitExcept_clause(Python3Parser.Except_clauseContext ctx)
Python3Parser.except_clause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExcept_clause in interface Python3Visitor<T>ctx - the parse treepublic T visitSuite(Python3Parser.SuiteContext ctx)
Python3Parser.suite().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSuite in interface Python3Visitor<T>ctx - the parse treepublic T visitTest(Python3Parser.TestContext ctx)
Python3Parser.test().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTest in interface Python3Visitor<T>ctx - the parse treepublic T visitTest_nocond(Python3Parser.Test_nocondContext ctx)
Python3Parser.test_nocond().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTest_nocond in interface Python3Visitor<T>ctx - the parse treepublic T visitLambdef(Python3Parser.LambdefContext ctx)
Python3Parser.lambdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambdef in interface Python3Visitor<T>ctx - the parse treepublic T visitLambdef_nocond(Python3Parser.Lambdef_nocondContext ctx)
Python3Parser.lambdef_nocond().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambdef_nocond in interface Python3Visitor<T>ctx - the parse treepublic T visitOr_test(Python3Parser.Or_testContext ctx)
Python3Parser.or_test().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOr_test in interface Python3Visitor<T>ctx - the parse treepublic T visitAnd_test(Python3Parser.And_testContext ctx)
Python3Parser.and_test().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAnd_test in interface Python3Visitor<T>ctx - the parse treepublic T visitNot_test(Python3Parser.Not_testContext ctx)
Python3Parser.not_test().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNot_test in interface Python3Visitor<T>ctx - the parse treepublic T visitComparison(Python3Parser.ComparisonContext ctx)
Python3Parser.comparison().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComparison in interface Python3Visitor<T>ctx - the parse treepublic T visitComp_op(Python3Parser.Comp_opContext ctx)
Python3Parser.comp_op().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComp_op in interface Python3Visitor<T>ctx - the parse treepublic T visitStar_expr(Python3Parser.Star_exprContext ctx)
Python3Parser.star_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStar_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitExpr(Python3Parser.ExprContext ctx)
Python3Parser.expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr in interface Python3Visitor<T>ctx - the parse treepublic T visitXor_expr(Python3Parser.Xor_exprContext ctx)
Python3Parser.xor_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitXor_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitAnd_expr(Python3Parser.And_exprContext ctx)
Python3Parser.and_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAnd_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitShift_expr(Python3Parser.Shift_exprContext ctx)
Python3Parser.shift_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitShift_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitShift_op(Python3Parser.Shift_opContext ctx)
Python3Parser.shift_op().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitShift_op in interface Python3Visitor<T>ctx - the parse treepublic T visitArith_expr(Python3Parser.Arith_exprContext ctx)
Python3Parser.arith_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArith_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitArith_op(Python3Parser.Arith_opContext ctx)
Python3Parser.arith_op().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArith_op in interface Python3Visitor<T>ctx - the parse treepublic T visitTerm(Python3Parser.TermContext ctx)
Python3Parser.term().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTerm in interface Python3Visitor<T>ctx - the parse treepublic T visitTerm_op(Python3Parser.Term_opContext ctx)
Python3Parser.term_op().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTerm_op in interface Python3Visitor<T>ctx - the parse treepublic T visitFactor(Python3Parser.FactorContext ctx)
Python3Parser.factor().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFactor in interface Python3Visitor<T>ctx - the parse treepublic T visitFactor_op(Python3Parser.Factor_opContext ctx)
Python3Parser.factor_op().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFactor_op in interface Python3Visitor<T>ctx - the parse treepublic T visitPower(Python3Parser.PowerContext ctx)
Python3Parser.power().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPower in interface Python3Visitor<T>ctx - the parse treepublic T visitAwait(Python3Parser.AwaitContext ctx)
Python3Parser.await().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAwait in interface Python3Visitor<T>ctx - the parse treepublic T visitAtom_expr(Python3Parser.Atom_exprContext ctx)
Python3Parser.atom_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAtom_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitAtom(Python3Parser.AtomContext ctx)
Python3Parser.atom().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAtom in interface Python3Visitor<T>ctx - the parse treepublic T visitTrailer(Python3Parser.TrailerContext ctx)
Python3Parser.trailer().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrailer in interface Python3Visitor<T>ctx - the parse treepublic T visitTrailerCall(Python3Parser.TrailerCallContext ctx)
Python3Parser.trailerCall().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrailerCall in interface Python3Visitor<T>ctx - the parse treepublic T visitTrailerSubscript(Python3Parser.TrailerSubscriptContext ctx)
Python3Parser.trailerSubscript().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrailerSubscript in interface Python3Visitor<T>ctx - the parse treepublic T visitTrailerName(Python3Parser.TrailerNameContext ctx)
Python3Parser.trailerName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrailerName in interface Python3Visitor<T>ctx - the parse treepublic T visitTuple(Python3Parser.TupleContext ctx)
Python3Parser.tuple().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTuple in interface Python3Visitor<T>ctx - the parse treepublic T visitTestlist_compTuple(Python3Parser.Testlist_compTupleContext ctx)
Python3Parser.testlist_compTuple().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestlist_compTuple in interface Python3Visitor<T>ctx - the parse treepublic T visitList(Python3Parser.ListContext ctx)
Python3Parser.list().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitList in interface Python3Visitor<T>ctx - the parse treepublic T visitTestlist_compList(Python3Parser.Testlist_compListContext ctx)
Python3Parser.testlist_compList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestlist_compList in interface Python3Visitor<T>ctx - the parse treepublic T visitDictionaryOrSet(Python3Parser.DictionaryOrSetContext ctx)
Python3Parser.dictionaryOrSet().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDictionaryOrSet in interface Python3Visitor<T>ctx - the parse treepublic T visitDictorsetmaker(Python3Parser.DictorsetmakerContext ctx)
Python3Parser.dictorsetmaker().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDictorsetmaker in interface Python3Visitor<T>ctx - the parse treepublic T visitDictFirst(Python3Parser.DictFirstContext ctx)
Python3Parser.dictFirst().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDictFirst in interface Python3Visitor<T>ctx - the parse treepublic T visitDicts(Python3Parser.DictsContext ctx)
Python3Parser.dicts().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDicts in interface Python3Visitor<T>ctx - the parse treepublic T visitSetFirst(Python3Parser.SetFirstContext ctx)
Python3Parser.setFirst().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSetFirst in interface Python3Visitor<T>ctx - the parse treepublic T visitSets(Python3Parser.SetsContext ctx)
Python3Parser.sets().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSets in interface Python3Visitor<T>ctx - the parse treepublic T visitSubscriptlist(Python3Parser.SubscriptlistContext ctx)
Python3Parser.subscriptlist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubscriptlist in interface Python3Visitor<T>ctx - the parse treepublic T visitSubscript(Python3Parser.SubscriptContext ctx)
Python3Parser.subscript().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubscript in interface Python3Visitor<T>ctx - the parse treepublic T visitSubscriptIndex(Python3Parser.SubscriptIndexContext ctx)
Python3Parser.subscriptIndex().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubscriptIndex in interface Python3Visitor<T>ctx - the parse treepublic T visitSubscriptSlice(Python3Parser.SubscriptSliceContext ctx)
Python3Parser.subscriptSlice().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubscriptSlice in interface Python3Visitor<T>ctx - the parse treepublic T visitSlicelLower(Python3Parser.SlicelLowerContext ctx)
Python3Parser.slicelLower().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSlicelLower in interface Python3Visitor<T>ctx - the parse treepublic T visitSliceUpper(Python3Parser.SliceUpperContext ctx)
Python3Parser.sliceUpper().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSliceUpper in interface Python3Visitor<T>ctx - the parse treepublic T visitSliceStep(Python3Parser.SliceStepContext ctx)
Python3Parser.sliceStep().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSliceStep in interface Python3Visitor<T>ctx - the parse treepublic T visitExprlist(Python3Parser.ExprlistContext ctx)
Python3Parser.exprlist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExprlist in interface Python3Visitor<T>ctx - the parse treepublic T visitExprOrStarExpr(Python3Parser.ExprOrStarExprContext ctx)
Python3Parser.exprOrStarExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExprOrStarExpr in interface Python3Visitor<T>ctx - the parse treepublic T visitTestlist(Python3Parser.TestlistContext ctx)
Python3Parser.testlist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTestlist in interface Python3Visitor<T>ctx - the parse treepublic T visitClassdef(Python3Parser.ClassdefContext ctx)
Python3Parser.classdef().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitClassdef in interface Python3Visitor<T>ctx - the parse treepublic T visitArglist(Python3Parser.ArglistContext ctx)
Python3Parser.arglist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArglist in interface Python3Visitor<T>ctx - the parse treepublic T visitArgument(Python3Parser.ArgumentContext ctx)
Python3Parser.argument().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgument in interface Python3Visitor<T>ctx - the parse treepublic T visitArgumentNormal(Python3Parser.ArgumentNormalContext ctx)
Python3Parser.argumentNormal().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgumentNormal in interface Python3Visitor<T>ctx - the parse treepublic T visitArgumentKeyword(Python3Parser.ArgumentKeywordContext ctx)
Python3Parser.argumentKeyword().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgumentKeyword in interface Python3Visitor<T>ctx - the parse treepublic T visitArgumentStar(Python3Parser.ArgumentStarContext ctx)
Python3Parser.argumentStar().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgumentStar in interface Python3Visitor<T>ctx - the parse treepublic T visitArgumentDoubleStar(Python3Parser.ArgumentDoubleStarContext ctx)
Python3Parser.argumentDoubleStar().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgumentDoubleStar in interface Python3Visitor<T>ctx - the parse treepublic T visitComp_for(Python3Parser.Comp_forContext ctx)
Python3Parser.comp_for().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComp_for in interface Python3Visitor<T>ctx - the parse treepublic T visitComp_if(Python3Parser.Comp_ifContext ctx)
Python3Parser.comp_if().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComp_if in interface Python3Visitor<T>ctx - the parse treepublic T visitYield_expr(Python3Parser.Yield_exprContext ctx)
Python3Parser.yield_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitYield_expr in interface Python3Visitor<T>ctx - the parse treepublic T visitYield_arg(Python3Parser.Yield_argContext ctx)
Python3Parser.yield_arg().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitYield_arg in interface Python3Visitor<T>ctx - the parse treeCopyright © 2019–2021. All rights reserved.