Class Python3BaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- io.github.danielnaczo.python3parser.Python3BaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
Python3Visitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
GenericUnsupportedCSTVisitor
public class Python3BaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements Python3Visitor<T>
This class provides an empty implementation ofPython3Visitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description Python3BaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitSingle_input
public T visitSingle_input(Python3Parser.Single_inputContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFile_input
public T visitFile_input(Python3Parser.File_inputContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEval_input
public T visitEval_input(Python3Parser.Eval_inputContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecorator
public T visitDecorator(Python3Parser.DecoratorContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFuncdef
public T visitFuncdef(Python3Parser.FuncdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameters
public T visitParameters(Python3Parser.ParametersContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypedargslist
public T visitTypedargslist(Python3Parser.TypedargslistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTfpdef
public T visitTfpdef(Python3Parser.TfpdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNormalOrDefaultTfpDef
public T visitNormalOrDefaultTfpDef(Python3Parser.NormalOrDefaultTfpDefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultTfpdef
public T visitDefaultTfpdef(Python3Parser.DefaultTfpdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompleteArgs
public T visitCompleteArgs(Python3Parser.CompleteArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAfterPositionalArgs
public T visitAfterPositionalArgs(Python3Parser.AfterPositionalArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositionalList
public T visitPositionalList(Python3Parser.PositionalListContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwlistArgs1
public T visitKwlistArgs1(Python3Parser.KwlistArgs1Context ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJustKeywordsArgs
public T visitJustKeywordsArgs(Python3Parser.JustKeywordsArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwlistArgs2
public T visitKwlistArgs2(Python3Parser.KwlistArgs2Context ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwOnlyListArgs
public T visitKwOnlyListArgs(Python3Parser.KwOnlyListArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarargslist
public T visitVarargslist(Python3Parser.VarargslistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVfpdef
public T visitVfpdef(Python3Parser.VfpdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarNormalOrDefaultTfpDef
public T visitVarNormalOrDefaultTfpDef(Python3Parser.VarNormalOrDefaultTfpDefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarDefaultVfpdef
public T visitVarDefaultVfpdef(Python3Parser.VarDefaultVfpdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarCompleteArgs
public T visitVarCompleteArgs(Python3Parser.VarCompleteArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarAfterPositionalArgs
public T visitVarAfterPositionalArgs(Python3Parser.VarAfterPositionalArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarPositionalList
public T visitVarPositionalList(Python3Parser.VarPositionalListContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwlistArgs1
public T visitVarKwlistArgs1(Python3Parser.VarKwlistArgs1Context ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarJustKeywordsArgs
public T visitVarJustKeywordsArgs(Python3Parser.VarJustKeywordsArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwlistArgs2
public T visitVarKwlistArgs2(Python3Parser.VarKwlistArgs2Context ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarKwOnlyListArgs
public T visitVarKwOnlyListArgs(Python3Parser.VarKwOnlyListArgsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStmt
public T visitStmt(Python3Parser.StmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimple_stmt
public T visitSimple_stmt(Python3Parser.Simple_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSmall_stmt
public T visitSmall_stmt(Python3Parser.Small_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmt
public T visitExpr_stmt(Python3Parser.Expr_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmtIndividualAssign
public T visitExpr_stmtIndividualAssign(Python3Parser.Expr_stmtIndividualAssignContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_stmtNormalAssign
public T visitExpr_stmtNormalAssign(Python3Parser.Expr_stmtNormalAssignContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr_NormalAssignList
public T visitExpr_NormalAssignList(Python3Parser.Expr_NormalAssignListContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnassign
public T visitAnnassign(Python3Parser.AnnassignContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_star_expr
public T visitTestlist_star_expr(Python3Parser.Testlist_star_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStar_expr
public T visitTestOrStar_expr(Python3Parser.TestOrStar_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStarList_expr
public T visitTestOrStarList_expr(Python3Parser.TestOrStarList_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAugassign
public T visitAugassign(Python3Parser.AugassignContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_stmt
public T visitDel_stmt(Python3Parser.Del_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPass_stmt
public T visitPass_stmt(Python3Parser.Pass_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFlow_stmt
public T visitFlow_stmt(Python3Parser.Flow_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreak_stmt
public T visitBreak_stmt(Python3Parser.Break_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinue_stmt
public T visitContinue_stmt(Python3Parser.Continue_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturn_stmt
public T visitReturn_stmt(Python3Parser.Return_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_stmt
public T visitYield_stmt(Python3Parser.Yield_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRaise_stmt
public T visitRaise_stmt(Python3Parser.Raise_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_stmt
public T visitImport_stmt(Python3Parser.Import_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_name
public T visitImport_name(Python3Parser.Import_nameContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from
public T visitImport_from(Python3Parser.Import_fromContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_as_name
public T visitImport_as_name(Python3Parser.Import_as_nameContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_name
public T visitDotted_as_name(Python3Parser.Dotted_as_nameContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_as_names
public T visitImport_as_names(Python3Parser.Import_as_namesContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_names
public T visitDotted_as_names(Python3Parser.Dotted_as_namesContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_name
public T visitDotted_name(Python3Parser.Dotted_nameContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGlobal_stmt
public T visitGlobal_stmt(Python3Parser.Global_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonlocal_stmt
public T visitNonlocal_stmt(Python3Parser.Nonlocal_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssert_stmt
public T visitAssert_stmt(Python3Parser.Assert_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompound_stmt
public T visitCompound_stmt(Python3Parser.Compound_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAsync_stmt
public T visitAsync_stmt(Python3Parser.Async_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIf_stmt
public T visitIf_stmt(Python3Parser.If_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhile_stmt
public T visitWhile_stmt(Python3Parser.While_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFor_stmt
public T visitFor_stmt(Python3Parser.For_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTry_stmt
public T visitTry_stmt(Python3Parser.Try_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_stmt
public T visitWith_stmt(Python3Parser.With_stmtContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_item
public T visitWith_item(Python3Parser.With_itemContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExcept_clause
public T visitExcept_clause(Python3Parser.Except_clauseContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuite
public T visitSuite(Python3Parser.SuiteContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest
public T visitTest(Python3Parser.TestContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest_nocond
public T visitTest_nocond(Python3Parser.Test_nocondContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef
public T visitLambdef(Python3Parser.LambdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef_nocond
public T visitLambdef_nocond(Python3Parser.Lambdef_nocondContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr_test
public T visitOr_test(Python3Parser.Or_testContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_test
public T visitAnd_test(Python3Parser.And_testContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNot_test
public T visitNot_test(Python3Parser.Not_testContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
public T visitComparison(Python3Parser.ComparisonContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_op
public T visitComp_op(Python3Parser.Comp_opContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_expr
public T visitStar_expr(Python3Parser.Star_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
public T visitExpr(Python3Parser.ExprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitXor_expr
public T visitXor_expr(Python3Parser.Xor_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_expr
public T visitAnd_expr(Python3Parser.And_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_expr
public T visitShift_expr(Python3Parser.Shift_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_op
public T visitShift_op(Python3Parser.Shift_opContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArith_expr
public T visitArith_expr(Python3Parser.Arith_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArith_op
public T visitArith_op(Python3Parser.Arith_opContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
public T visitTerm(Python3Parser.TermContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm_op
public T visitTerm_op(Python3Parser.Term_opContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor
public T visitFactor(Python3Parser.FactorContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor_op
public T visitFactor_op(Python3Parser.Factor_opContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPower
public T visitPower(Python3Parser.PowerContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwait
public T visitAwait(Python3Parser.AwaitContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom_expr
public T visitAtom_expr(Python3Parser.Atom_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
public T visitAtom(Python3Parser.AtomContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailer
public T visitTrailer(Python3Parser.TrailerContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerCall
public T visitTrailerCall(Python3Parser.TrailerCallContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerSubscript
public T visitTrailerSubscript(Python3Parser.TrailerSubscriptContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerName
public T visitTrailerName(Python3Parser.TrailerNameContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuple
public T visitTuple(Python3Parser.TupleContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compTuple
public T visitTestlist_compTuple(Python3Parser.Testlist_compTupleContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
public T visitList(Python3Parser.ListContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compList
public T visitTestlist_compList(Python3Parser.Testlist_compListContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictionaryOrSet
public T visitDictionaryOrSet(Python3Parser.DictionaryOrSetContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictorsetmaker
public T visitDictorsetmaker(Python3Parser.DictorsetmakerContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictFirst
public T visitDictFirst(Python3Parser.DictFirstContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDicts
public T visitDicts(Python3Parser.DictsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetFirst
public T visitSetFirst(Python3Parser.SetFirstContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSets
public T visitSets(Python3Parser.SetsContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptlist
public T visitSubscriptlist(Python3Parser.SubscriptlistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscript
public T visitSubscript(Python3Parser.SubscriptContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptIndex
public T visitSubscriptIndex(Python3Parser.SubscriptIndexContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptSlice
public T visitSubscriptSlice(Python3Parser.SubscriptSliceContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlicelLower
public T visitSlicelLower(Python3Parser.SlicelLowerContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceUpper
public T visitSliceUpper(Python3Parser.SliceUpperContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceStep
public T visitSliceStep(Python3Parser.SliceStepContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprlist
public T visitExprlist(Python3Parser.ExprlistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprOrStarExpr
public T visitExprOrStarExpr(Python3Parser.ExprOrStarExprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist
public T visitTestlist(Python3Parser.TestlistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassdef
public T visitClassdef(Python3Parser.ClassdefContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArglist
public T visitArglist(Python3Parser.ArglistContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgument
public T visitArgument(Python3Parser.ArgumentContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentNormal
public T visitArgumentNormal(Python3Parser.ArgumentNormalContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentKeyword
public T visitArgumentKeyword(Python3Parser.ArgumentKeywordContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentStar
public T visitArgumentStar(Python3Parser.ArgumentStarContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentDoubleStar
public T visitArgumentDoubleStar(Python3Parser.ArgumentDoubleStarContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_for
public T visitComp_for(Python3Parser.Comp_forContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_if
public T visitComp_if(Python3Parser.Comp_ifContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_expr
public T visitYield_expr(Python3Parser.Yield_exprContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_arg
public T visitYield_arg(Python3Parser.Yield_argContext ctx)
Visit 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>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-