Class PythonParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,PythonParserVisitor<T>
public class PythonParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements PythonParserVisitor<T>
PythonParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors Constructor Description PythonParserBaseVisitor() -
Method Summary
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
PythonParserBaseVisitor
public PythonParserBaseVisitor()
-
-
Method Details
-
visitFile
Visit a parse tree produced byPythonParser.file().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInteractive
Visit a parse tree produced byPythonParser.interactive().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInteractivein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEval
Visit a parse tree produced byPythonParser.eval().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEvalin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunc_type
Visit a parse tree produced byPythonParser.func_type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunc_typein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFstring
Visit a parse tree produced byPythonParser.fstring().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFstringin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType_expressions
Visit a parse tree produced byPythonParser.type_expressions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitType_expressionsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatements
Visit a parse tree produced byPythonParser.statements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byPythonParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement_newline
Visit a parse tree produced byPythonParser.statement_newline().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatement_newlinein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimple_stmts
Visit a parse tree produced byPythonParser.simple_stmts().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimple_stmtsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimple_stmt
Visit a parse tree produced byPythonParser.simple_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimple_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompound_stmt
Visit a parse tree produced byPythonParser.compound_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompound_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byPythonParser.assignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAugassign
Visit a parse tree produced byPythonParser.augassign().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAugassignin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGlobal_stmt
Visit a parse tree produced byPythonParser.global_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGlobal_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonlocal_stmt
Visit a parse tree produced byPythonParser.nonlocal_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonlocal_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_stmt
Visit a parse tree produced byPythonParser.yield_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssert_stmt
Visit a parse tree produced byPythonParser.assert_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssert_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_stmt
Visit a parse tree produced byPythonParser.del_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDel_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_stmt
Visit a parse tree produced byPythonParser.import_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_name
Visit a parse tree produced byPythonParser.import_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_namein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from
Visit a parse tree produced byPythonParser.import_from().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_fromin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from_targets
Visit a parse tree produced byPythonParser.import_from_targets().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_from_targetsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from_as_names
Visit a parse tree produced byPythonParser.import_from_as_names().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_from_as_namesin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImport_from_as_name
Visit a parse tree produced byPythonParser.import_from_as_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImport_from_as_namein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_names
Visit a parse tree produced byPythonParser.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 interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_as_name
Visit a parse tree produced byPythonParser.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 interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotted_name
Visit a parse tree produced byPythonParser.dotted_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotted_namein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIf_stmt
Visit a parse tree produced byPythonParser.if_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIf_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElif_stmt
Visit a parse tree produced byPythonParser.elif_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElif_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElse_block
Visit a parse tree produced byPythonParser.else_block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElse_blockin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhile_stmt
Visit a parse tree produced byPythonParser.while_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhile_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFor_stmt
Visit a parse tree produced byPythonParser.for_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFor_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_stmt
Visit a parse tree produced byPythonParser.with_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWith_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWith_item
Visit a parse tree produced byPythonParser.with_item().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWith_itemin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTry_stmt
Visit a parse tree produced byPythonParser.try_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTry_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExcept_block
Visit a parse tree produced byPythonParser.except_block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExcept_blockin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinally_block
Visit a parse tree produced byPythonParser.finally_block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinally_blockin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatch_stmt
Visit a parse tree produced byPythonParser.match_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatch_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubject_expr
Visit a parse tree produced byPythonParser.subject_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubject_exprin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCase_block
Visit a parse tree produced byPythonParser.case_block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCase_blockin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGuard
Visit a parse tree produced byPythonParser.guard().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGuardin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPatterns
Visit a parse tree produced byPythonParser.patterns().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPattern
Visit a parse tree produced byPythonParser.pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAs_pattern
Visit a parse tree produced byPythonParser.as_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAs_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOr_pattern
Visit a parse tree produced byPythonParser.or_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOr_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClosed_pattern
Visit a parse tree produced byPythonParser.closed_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClosed_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral_pattern
Visit a parse tree produced byPythonParser.literal_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteral_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral_expr
Visit a parse tree produced byPythonParser.literal_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteral_exprin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplex_number
Visit a parse tree produced byPythonParser.complex_number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComplex_numberin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSigned_number
Visit a parse tree produced byPythonParser.signed_number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSigned_numberin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSigned_real_number
Visit a parse tree produced byPythonParser.signed_real_number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSigned_real_numberin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReal_number
Visit a parse tree produced byPythonParser.real_number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReal_numberin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImaginary_number
Visit a parse tree produced byPythonParser.imaginary_number().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImaginary_numberin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCapture_pattern
Visit a parse tree produced byPythonParser.capture_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCapture_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPattern_capture_target
Visit a parse tree produced byPythonParser.pattern_capture_target().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPattern_capture_targetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcard_pattern
Visit a parse tree produced byPythonParser.wildcard_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildcard_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue_pattern
Visit a parse tree produced byPythonParser.value_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValue_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttr
Visit a parse tree produced byPythonParser.attr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttrin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitName_or_attr
Visit a parse tree produced byPythonParser.name_or_attr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitName_or_attrin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup_pattern
Visit a parse tree produced byPythonParser.group_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroup_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSequence_pattern
Visit a parse tree produced byPythonParser.sequence_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSequence_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpen_sequence_pattern
Visit a parse tree produced byPythonParser.open_sequence_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOpen_sequence_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMaybe_sequence_pattern
Visit a parse tree produced byPythonParser.maybe_sequence_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMaybe_sequence_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMaybe_star_pattern
Visit a parse tree produced byPythonParser.maybe_star_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMaybe_star_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_pattern
Visit a parse tree produced byPythonParser.star_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapping_pattern
Visit a parse tree produced byPythonParser.mapping_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMapping_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitItems_pattern
Visit a parse tree produced byPythonParser.items_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitItems_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKey_value_pattern
Visit a parse tree produced byPythonParser.key_value_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKey_value_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDouble_star_pattern
Visit a parse tree produced byPythonParser.double_star_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDouble_star_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClass_pattern
Visit a parse tree produced byPythonParser.class_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClass_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPositional_patterns
Visit a parse tree produced byPythonParser.positional_patterns().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPositional_patternsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyword_patterns
Visit a parse tree produced byPythonParser.keyword_patterns().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyword_patternsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyword_pattern
Visit a parse tree produced byPythonParser.keyword_pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyword_patternin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturn_stmt
Visit a parse tree produced byPythonParser.return_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturn_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRaise_stmt
Visit a parse tree produced byPythonParser.raise_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRaise_stmtin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction_def
Visit a parse tree produced byPythonParser.function_def().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction_defin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction_def_raw
Visit a parse tree produced byPythonParser.function_def_raw().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction_def_rawin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunc_type_comment
Visit a parse tree produced byPythonParser.func_type_comment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunc_type_commentin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParams
Visit a parse tree produced byPythonParser.params().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParamsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameters
Visit a parse tree produced byPythonParser.parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParametersin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlash_no_default
Visit a parse tree produced byPythonParser.slash_no_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlash_no_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlash_with_default
Visit a parse tree produced byPythonParser.slash_with_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlash_with_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_etc
Visit a parse tree produced byPythonParser.star_etc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_etcin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwds
Visit a parse tree produced byPythonParser.kwds().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwdsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParam_no_default
Visit a parse tree produced byPythonParser.param_no_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParam_no_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParam_with_default
Visit a parse tree produced byPythonParser.param_with_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParam_with_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParam_maybe_default
Visit a parse tree produced byPythonParser.param_maybe_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParam_maybe_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParam
Visit a parse tree produced byPythonParser.param().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParamin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byPythonParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefault_assignment
Visit a parse tree produced byPythonParser.default_assignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefault_assignmentin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecorators
Visit a parse tree produced byPythonParser.decorators().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClass_def
Visit a parse tree produced byPythonParser.class_def().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClass_defin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClass_def_raw
Visit a parse tree produced byPythonParser.class_def_raw().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClass_def_rawin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byPythonParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_expressions
Visit a parse tree produced byPythonParser.star_expressions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_expressionsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_expression
Visit a parse tree produced byPythonParser.star_expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_expressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_named_expressions
Visit a parse tree produced byPythonParser.star_named_expressions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_named_expressionsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_named_expression
Visit a parse tree produced byPythonParser.star_named_expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_named_expressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment_expression
Visit a parse tree produced byPythonParser.assignment_expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignment_expressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamed_expression
Visit a parse tree produced byPythonParser.named_expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamed_expressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotated_rhs
Visit a parse tree produced byPythonParser.annotated_rhs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotated_rhsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressions
Visit a parse tree produced byPythonParser.expressions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byPythonParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdef
Visit a parse tree produced byPythonParser.lambdef().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdefin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_params
Visit a parse tree produced byPythonParser.lambda_params().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_paramsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_parameters
Visit a parse tree produced byPythonParser.lambda_parameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_parametersin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_slash_no_default
Visit a parse tree produced byPythonParser.lambda_slash_no_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_slash_no_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_slash_with_default
Visit a parse tree produced byPythonParser.lambda_slash_with_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_slash_with_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_star_etc
Visit a parse tree produced byPythonParser.lambda_star_etc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_star_etcin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_kwds
Visit a parse tree produced byPythonParser.lambda_kwds().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_kwdsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_param_no_default
Visit a parse tree produced byPythonParser.lambda_param_no_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_param_no_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_param_with_default
Visit a parse tree produced byPythonParser.lambda_param_with_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_param_with_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_param_maybe_default
Visit a parse tree produced byPythonParser.lambda_param_maybe_default().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_param_maybe_defaultin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambda_param
Visit a parse tree produced byPythonParser.lambda_param().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambda_paramin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDisjunction
Visit a parse tree produced byPythonParser.disjunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDisjunctionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConjunction
Visit a parse tree produced byPythonParser.conjunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConjunctionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInversion
Visit a parse tree produced byPythonParser.inversion().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInversionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
Visit a parse tree produced byPythonParser.comparison().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompare_op_bitwise_or_pair
Visit a parse tree produced byPythonParser.compare_op_bitwise_or_pair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompare_op_bitwise_or_pairin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEq_bitwise_or
Visit a parse tree produced byPythonParser.eq_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEq_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNoteq_bitwise_or
Visit a parse tree produced byPythonParser.noteq_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNoteq_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLte_bitwise_or
Visit a parse tree produced byPythonParser.lte_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLte_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLt_bitwise_or
Visit a parse tree produced byPythonParser.lt_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLt_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGte_bitwise_or
Visit a parse tree produced byPythonParser.gte_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGte_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGt_bitwise_or
Visit a parse tree produced byPythonParser.gt_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGt_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotin_bitwise_or
Visit a parse tree produced byPythonParser.notin_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotin_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIn_bitwise_or
Visit a parse tree produced byPythonParser.in_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIn_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIsnot_bitwise_or
Visit a parse tree produced byPythonParser.isnot_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIsnot_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIs_bitwise_or
Visit a parse tree produced byPythonParser.is_bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIs_bitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitwise_or
Visit a parse tree produced byPythonParser.bitwise_or().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwise_orin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitwise_xor
Visit a parse tree produced byPythonParser.bitwise_xor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwise_xorin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitwise_and
Visit a parse tree produced byPythonParser.bitwise_and().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwise_andin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShift_expr
Visit a parse tree produced byPythonParser.shift_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShift_exprin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSum
Visit a parse tree produced byPythonParser.sum().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSumin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
Visit a parse tree produced byPythonParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor
Visit a parse tree produced byPythonParser.factor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFactorin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPower
Visit a parse tree produced byPythonParser.power().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowerin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwait_primary
Visit a parse tree produced byPythonParser.await_primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAwait_primaryin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byPythonParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlices
Visit a parse tree produced byPythonParser.slices().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlicesin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlice
Visit a parse tree produced byPythonParser.slice().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlicein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
Visit a parse tree produced byPythonParser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStrings
Visit a parse tree produced byPythonParser.strings().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
Visit a parse tree produced byPythonParser.list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListcomp
Visit a parse tree produced byPythonParser.listcomp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListcompin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuple
Visit a parse tree produced byPythonParser.tuple().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTuplein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced byPythonParser.group().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenexp
Visit a parse tree produced byPythonParser.genexp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGenexpin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSet
Visit a parse tree produced byPythonParser.set().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetcomp
Visit a parse tree produced byPythonParser.setcomp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetcompin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDict
Visit a parse tree produced byPythonParser.dict().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDictcomp
Visit a parse tree produced byPythonParser.dictcomp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDictcompin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDouble_starred_kvpairs
Visit a parse tree produced byPythonParser.double_starred_kvpairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDouble_starred_kvpairsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDouble_starred_kvpair
Visit a parse tree produced byPythonParser.double_starred_kvpair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDouble_starred_kvpairin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKvpair
Visit a parse tree produced byPythonParser.kvpair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKvpairin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFor_if_clauses
Visit a parse tree produced byPythonParser.for_if_clauses().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFor_if_clausesin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFor_if_clause
Visit a parse tree produced byPythonParser.for_if_clause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFor_if_clausein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYield_expr
Visit a parse tree produced byPythonParser.yield_expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYield_exprin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byPythonParser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgs
Visit a parse tree produced byPythonParser.args().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArg
Visit a parse tree produced byPythonParser.arg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwargs
Visit a parse tree produced byPythonParser.kwargs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwargsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStarred_expression
Visit a parse tree produced byPythonParser.starred_expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStarred_expressionin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwarg_or_starred
Visit a parse tree produced byPythonParser.kwarg_or_starred().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwarg_or_starredin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKwarg_or_double_starred
Visit a parse tree produced byPythonParser.kwarg_or_double_starred().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKwarg_or_double_starredin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_targets
Visit a parse tree produced byPythonParser.star_targets().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_targetsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_targets_list_seq
Visit a parse tree produced byPythonParser.star_targets_list_seq().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_targets_list_seqin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_targets_tuple_seq
Visit a parse tree produced byPythonParser.star_targets_tuple_seq().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_targets_tuple_seqin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_target
Visit a parse tree produced byPythonParser.star_target().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_targetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTarget_with_star_atom
Visit a parse tree produced byPythonParser.target_with_star_atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTarget_with_star_atomin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStar_atom
Visit a parse tree produced byPythonParser.star_atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStar_atomin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingle_target
Visit a parse tree produced byPythonParser.single_target().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingle_targetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingle_subscript_attribute_target
public T visitSingle_subscript_attribute_target(PythonParser.Single_subscript_attribute_targetContext ctx)Visit a parse tree produced byPythonParser.single_subscript_attribute_target().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingle_subscript_attribute_targetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_targets
Visit a parse tree produced byPythonParser.del_targets().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDel_targetsin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_target
Visit a parse tree produced byPythonParser.del_target().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDel_targetin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDel_t_atom
Visit a parse tree produced byPythonParser.del_t_atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDel_t_atomin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitT_primary
Visit a parse tree produced byPythonParser.t_primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitT_primaryin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatch_skw
Visit a parse tree produced byPythonParser.match_skw().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatch_skwin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCase_skw
Visit a parse tree produced byPythonParser.case_skw().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCase_skwin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnderscore_skw
Visit a parse tree produced byPythonParser.underscore_skw().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnderscore_skwin interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitName_except_underscore
Visit a parse tree produced byPythonParser.name_except_underscore().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitName_except_underscorein interfacePythonParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-