Class KeywordVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
io.github.danielnaczo.python3parser.Python3BaseVisitor<T>
io.github.danielnaczo.python3parser.visitors.ast.GenericUnsupportedCSTVisitor<Keyword>
io.github.danielnaczo.python3parser.visitors.ast.KeywordVisitor
- All Implemented Interfaces:
Python3Visitor<Keyword>,org.antlr.v4.runtime.tree.ParseTreeVisitor<Keyword>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byPython3Parser.argumentDoubleStar().Visit a parse tree produced byPython3Parser.argumentKeyword().Methods inherited from class io.github.danielnaczo.python3parser.visitors.ast.GenericUnsupportedCSTVisitor
visitAfterPositionalArgs, visitAnd_expr, visitAnd_test, visitAnnassign, visitArglist, visitArgument, visitArgumentNormal, visitArgumentStar, visitArith_expr, visitArith_op, visitAssert_stmt, visitAsync_stmt, visitAtom, visitAtom_expr, visitAugassign, visitAwait, visitBreak_stmt, visitClassdef, visitComp_for, visitComp_if, visitComp_op, visitComparison, visitCompleteArgs, visitCompound_stmt, visitContinue_stmt, visitDecorator, visitDefaultTfpdef, visitDel_stmt, visitDictFirst, visitDictionaryOrSet, visitDictorsetmaker, visitDicts, visitDotted_as_name, visitDotted_as_names, visitDotted_name, visitEval_input, visitExcept_clause, visitExpr, visitExpr_NormalAssignList, visitExpr_stmt, visitExpr_stmtIndividualAssign, visitExpr_stmtNormalAssign, visitExprlist, visitExprOrStarExpr, visitFactor, 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, visitLambdef, visitLambdef_nocond, visitList, visitNonlocal_stmt, visitNormalOrDefaultTfpDef, visitNot_test, visitOr_test, visitParameters, visitPass_stmt, visitPositionalList, visitPower, visitRaise_stmt, visitReturn_stmt, visitSetFirst, visitSets, visitShift_expr, visitShift_op, visitSimple_stmt, visitSingle_input, visitSlicelLower, visitSliceStep, visitSliceUpper, visitSmall_stmt, visitStar_expr, visitStmt, visitSubscript, visitSubscriptIndex, visitSubscriptlist, visitSubscriptSlice, visitSuite, visitTerm, visitTerm_op, visitTest, visitTest_nocond, visitTestlist, visitTestlist_compList, visitTestlist_compTuple, visitTestlist_star_expr, visitTestOrStar_expr, visitTestOrStarList_expr, visitTfpdef, visitTrailer, visitTrailerCall, visitTrailerName, visitTrailerSubscript, visitTry_stmt, visitTuple, visitTypedargslist, visitVarAfterPositionalArgs, visitVarargslist, visitVarCompleteArgs, visitVarDefaultVfpdef, visitVarJustKeywordsArgs, visitVarKwlistArgs1, visitVarKwlistArgs2, visitVarKwOnlyListArgs, visitVarNormalOrDefaultTfpDef, visitVarPositionalList, visitVfpdef, visitWhile_stmt, visitWith_item, visitWith_stmt, visitXor_expr, visitYield_arg, visitYield_expr, visitYield_stmtMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
KeywordVisitor
public KeywordVisitor()
-
-
Method Details
-
visitArgumentKeyword
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentKeyword().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentKeywordin interfacePython3Visitor<Keyword>- Overrides:
visitArgumentKeywordin classGenericUnsupportedCSTVisitor<Keyword>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentDoubleStar
Description copied from class:Python3BaseVisitorVisit a parse tree produced byPython3Parser.argumentDoubleStar().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentDoubleStarin interfacePython3Visitor<Keyword>- Overrides:
visitArgumentDoubleStarin classGenericUnsupportedCSTVisitor<Keyword>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-