Class ExpressionVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- io.github.danielnaczo.python3parser.Python3BaseVisitor<T>
-
- io.github.danielnaczo.python3parser.visitors.ast.GenericUnsupportedCSTVisitor<Expression>
-
- io.github.danielnaczo.python3parser.visitors.ast.ExpressionVisitor
-
- All Implemented Interfaces:
Python3Visitor<Expression>,org.antlr.v4.runtime.tree.ParseTreeVisitor<Expression>
public class ExpressionVisitor extends GenericUnsupportedCSTVisitor<Expression>
-
-
Constructor Summary
Constructors Constructor Description ExpressionVisitor()
-
Method Summary
-
Methods inherited from class io.github.danielnaczo.python3parser.visitors.ast.GenericUnsupportedCSTVisitor
visitAfterPositionalArgs, visitAnnassign, visitArgument, visitArgumentDoubleStar, visitArgumentKeyword, visitArith_op, visitAssert_stmt, visitAsync_stmt, visitAugassign, visitBreak_stmt, visitClassdef, visitComp_for, visitComp_op, visitCompleteArgs, visitCompound_stmt, visitContinue_stmt, visitDecorator, visitDefaultTfpdef, visitDel_stmt, visitDicts, visitDotted_as_name, visitDotted_as_names, visitDotted_name, visitEval_input, visitExcept_clause, visitExpr_stmt, visitExpr_stmtIndividualAssign, visitExpr_stmtNormalAssign, visitFactor_op, visitFile_input, visitFlow_stmt, visitFor_stmt, visitFuncdef, visitGlobal_stmt, visitIf_stmt, visitImport_as_name, visitImport_as_names, visitImport_from, visitImport_name, visitImport_stmt, visitJustKeywordsArgs, visitKwlistArgs1, visitKwlistArgs2, visitKwOnlyListArgs, visitNonlocal_stmt, visitNormalOrDefaultTfpDef, visitParameters, visitPass_stmt, visitPositionalList, visitRaise_stmt, visitReturn_stmt, visitSets, visitShift_op, visitSimple_stmt, visitSingle_input, visitSmall_stmt, visitStmt, visitSubscript, visitSubscriptIndex, visitSubscriptSlice, visitSuite, visitTerm_op, visitTfpdef, visitTry_stmt, visitTypedargslist, visitVarAfterPositionalArgs, visitVarargslist, visitVarCompleteArgs, visitVarDefaultVfpdef, visitVarJustKeywordsArgs, visitVarKwlistArgs1, visitVarKwlistArgs2, visitVarKwOnlyListArgs, visitVarNormalOrDefaultTfpDef, visitVarPositionalList, visitVfpdef, visitWhile_stmt, visitWith_item, visitWith_stmt, visitYield_stmt
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitExpr_NormalAssignList
public Expression visitExpr_NormalAssignList(Python3Parser.Expr_NormalAssignListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr_NormalAssignList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpr_NormalAssignListin interfacePython3Visitor<Expression>- Overrides:
visitExpr_NormalAssignListin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_star_expr
public Expression visitTestlist_star_expr(Python3Parser.Testlist_star_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_star_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_star_exprin interfacePython3Visitor<Expression>- Overrides:
visitTestlist_star_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStar_expr
public Expression visitTestOrStar_expr(Python3Parser.TestOrStar_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testOrStar_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestOrStar_exprin interfacePython3Visitor<Expression>- Overrides:
visitTestOrStar_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestOrStarList_expr
public Expression visitTestOrStarList_expr(Python3Parser.TestOrStarList_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testOrStarList_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestOrStarList_exprin interfacePython3Visitor<Expression>- Overrides:
visitTestOrStarList_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest
public Expression visitTest(Python3Parser.TestContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestin interfacePython3Visitor<Expression>- Overrides:
visitTestin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest_nocond
public Expression visitTest_nocond(Python3Parser.Test_nocondContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.test_nocond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTest_nocondin interfacePython3Visitor<Expression>- Overrides:
visitTest_nocondin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef
public Expression visitLambdef(Python3Parser.LambdefContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.lambdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdefin interfacePython3Visitor<Expression>- Overrides:
visitLambdefin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef_nocond
public Expression visitLambdef_nocond(Python3Parser.Lambdef_nocondContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.lambdef_nocond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdef_nocondin interfacePython3Visitor<Expression>- Overrides:
visitLambdef_nocondin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr_test
public Expression visitOr_test(Python3Parser.Or_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.or_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOr_testin interfacePython3Visitor<Expression>- Overrides:
visitOr_testin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_test
public Expression visitAnd_test(Python3Parser.And_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.and_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnd_testin interfacePython3Visitor<Expression>- Overrides:
visitAnd_testin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNot_test
public Expression visitNot_test(Python3Parser.Not_testContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.not_test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNot_testin interfacePython3Visitor<Expression>- Overrides:
visitNot_testin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
public Expression visitComparison(Python3Parser.ComparisonContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comparison().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonin interfacePython3Visitor<Expression>- Overrides:
visitComparisonin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_expr
public Expression visitStar_expr(Python3Parser.Star_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.star_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_exprin interfacePython3Visitor<Expression>- Overrides:
visitStar_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
public Expression visitExpr(Python3Parser.ExprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprin interfacePython3Visitor<Expression>- Overrides:
visitExprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitXor_expr
public Expression visitXor_expr(Python3Parser.Xor_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.xor_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitXor_exprin interfacePython3Visitor<Expression>- Overrides:
visitXor_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnd_expr
public Expression visitAnd_expr(Python3Parser.And_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.and_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnd_exprin interfacePython3Visitor<Expression>- Overrides:
visitAnd_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_expr
public Expression visitShift_expr(Python3Parser.Shift_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.shift_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShift_exprin interfacePython3Visitor<Expression>- Overrides:
visitShift_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArith_expr
public Expression visitArith_expr(Python3Parser.Arith_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.arith_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArith_exprin interfacePython3Visitor<Expression>- Overrides:
visitArith_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
public Expression visitTerm(Python3Parser.TermContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfacePython3Visitor<Expression>- Overrides:
visitTermin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor
public Expression visitFactor(Python3Parser.FactorContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.factor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFactorin interfacePython3Visitor<Expression>- Overrides:
visitFactorin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPower
public Expression visitPower(Python3Parser.PowerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.power().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowerin interfacePython3Visitor<Expression>- Overrides:
visitPowerin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwait
public Expression visitAwait(Python3Parser.AwaitContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.await().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAwaitin interfacePython3Visitor<Expression>- Overrides:
visitAwaitin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom_expr
public Expression visitAtom_expr(Python3Parser.Atom_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.atom_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtom_exprin interfacePython3Visitor<Expression>- Overrides:
visitAtom_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailer
public Expression visitTrailer(Python3Parser.TrailerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerin interfacePython3Visitor<Expression>- Overrides:
visitTrailerin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerCall
public Expression visitTrailerCall(Python3Parser.TrailerCallContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerCallin interfacePython3Visitor<Expression>- Overrides:
visitTrailerCallin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerSubscript
public Expression visitTrailerSubscript(Python3Parser.TrailerSubscriptContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerSubscript().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerSubscriptin interfacePython3Visitor<Expression>- Overrides:
visitTrailerSubscriptin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrailerName
public Expression visitTrailerName(Python3Parser.TrailerNameContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.trailerName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrailerNamein interfacePython3Visitor<Expression>- Overrides:
visitTrailerNamein classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
public Expression visitAtom(Python3Parser.AtomContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomin interfacePython3Visitor<Expression>- Overrides:
visitAtomin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuple
public Expression visitTuple(Python3Parser.TupleContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.tuple().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTuplein interfacePython3Visitor<Expression>- Overrides:
visitTuplein classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compTuple
public Expression visitTestlist_compTuple(Python3Parser.Testlist_compTupleContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_compTuple().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_compTuplein interfacePython3Visitor<Expression>- Overrides:
visitTestlist_compTuplein classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
public Expression visitList(Python3Parser.ListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListin interfacePython3Visitor<Expression>- Overrides:
visitListin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist_compList
public Expression visitTestlist_compList(Python3Parser.Testlist_compListContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist_compList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlist_compListin interfacePython3Visitor<Expression>- Overrides:
visitTestlist_compListin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictionaryOrSet
public Expression visitDictionaryOrSet(Python3Parser.DictionaryOrSetContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictionaryOrSet().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictionaryOrSetin interfacePython3Visitor<Expression>- Overrides:
visitDictionaryOrSetin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictorsetmaker
public Expression visitDictorsetmaker(Python3Parser.DictorsetmakerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictorsetmaker().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictorsetmakerin interfacePython3Visitor<Expression>- Overrides:
visitDictorsetmakerin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictFirst
public Expression visitDictFirst(Python3Parser.DictFirstContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.dictFirst().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictFirstin interfacePython3Visitor<Expression>- Overrides:
visitDictFirstin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetFirst
public Expression visitSetFirst(Python3Parser.SetFirstContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.setFirst().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetFirstin interfacePython3Visitor<Expression>- Overrides:
visitSetFirstin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprlist
public Expression visitExprlist(Python3Parser.ExprlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.exprlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprlistin interfacePython3Visitor<Expression>- Overrides:
visitExprlistin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprOrStarExpr
public Expression visitExprOrStarExpr(Python3Parser.ExprOrStarExprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.exprOrStarExpr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprOrStarExprin interfacePython3Visitor<Expression>- Overrides:
visitExprOrStarExprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestlist
public Expression visitTestlist(Python3Parser.TestlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.testlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestlistin interfacePython3Visitor<Expression>- Overrides:
visitTestlistin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptlist
public Expression visitSubscriptlist(Python3Parser.SubscriptlistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.subscriptlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptlistin interfacePython3Visitor<Expression>- Overrides:
visitSubscriptlistin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlicelLower
public Expression visitSlicelLower(Python3Parser.SlicelLowerContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.slicelLower().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlicelLowerin interfacePython3Visitor<Expression>- Overrides:
visitSlicelLowerin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceUpper
public Expression visitSliceUpper(Python3Parser.SliceUpperContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.sliceUpper().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSliceUpperin interfacePython3Visitor<Expression>- Overrides:
visitSliceUpperin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSliceStep
public Expression visitSliceStep(Python3Parser.SliceStepContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.sliceStep().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSliceStepin interfacePython3Visitor<Expression>- Overrides:
visitSliceStepin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArglist
public Expression visitArglist(Python3Parser.ArglistContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.arglist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArglistin interfacePython3Visitor<Expression>- Overrides:
visitArglistin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentNormal
public Expression visitArgumentNormal(Python3Parser.ArgumentNormalContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentNormal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentNormalin interfacePython3Visitor<Expression>- Overrides:
visitArgumentNormalin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentStar
public Expression visitArgumentStar(Python3Parser.ArgumentStarContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentStar().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentStarin interfacePython3Visitor<Expression>- Overrides:
visitArgumentStarin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComp_if
public Expression visitComp_if(Python3Parser.Comp_ifContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.comp_if().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComp_ifin interfacePython3Visitor<Expression>- Overrides:
visitComp_ifin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_expr
public Expression visitYield_expr(Python3Parser.Yield_exprContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.yield_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_exprin interfacePython3Visitor<Expression>- Overrides:
visitYield_exprin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_arg
public Expression visitYield_arg(Python3Parser.Yield_argContext ctx)
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.yield_arg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_argin interfacePython3Visitor<Expression>- Overrides:
visitYield_argin classGenericUnsupportedCSTVisitor<Expression>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-