Documentation ¶
Index ¶
- Constants
- Variables
- type ArglistContext
- func (s *ArglistContext) AllArgument() []IArgumentContext
- func (s *ArglistContext) AllCOMMA() []antlr.TerminalNode
- func (s *ArglistContext) Argument(i int) IArgumentContext
- func (s *ArglistContext) COMMA(i int) antlr.TerminalNode
- func (s *ArglistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArglistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArglistContext) GetParser() antlr.Parser
- func (s *ArglistContext) GetRuleContext() antlr.RuleContext
- func (*ArglistContext) IsArglistContext()
- func (s *ArglistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgsContext
- func (s *ArgsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgsContext) GetParser() antlr.Parser
- func (s *ArgsContext) GetRuleContext() antlr.RuleContext
- func (*ArgsContext) IsArgsContext()
- func (s *ArgsContext) Named_parameter() INamed_parameterContext
- func (s *ArgsContext) STAR() antlr.TerminalNode
- func (s *ArgsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentContext
- func (s *ArgumentContext) ASSIGN() antlr.TerminalNode
- func (s *ArgumentContext) AllTest() []ITestContext
- func (s *ArgumentContext) Comp_for() IComp_forContext
- func (s *ArgumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgumentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgumentContext) GetParser() antlr.Parser
- func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
- func (*ArgumentContext) IsArgumentContext()
- func (s *ArgumentContext) POWER() antlr.TerminalNode
- func (s *ArgumentContext) STAR() antlr.TerminalNode
- func (s *ArgumentContext) Test(i int) ITestContext
- func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentsContext
- func (s *ArgumentsContext) Arglist() IArglistContext
- func (s *ArgumentsContext) CLOSE_BRACKET() antlr.TerminalNode
- func (s *ArgumentsContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *ArgumentsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgumentsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgumentsContext) GetParser() antlr.Parser
- func (s *ArgumentsContext) GetRuleContext() antlr.RuleContext
- func (*ArgumentsContext) IsArgumentsContext()
- func (s *ArgumentsContext) OPEN_BRACKET() antlr.TerminalNode
- func (s *ArgumentsContext) OPEN_PAREN() antlr.TerminalNode
- func (s *ArgumentsContext) Subscriptlist() ISubscriptlistContext
- func (s *ArgumentsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Assert_stmtContext
- func (s *Assert_stmtContext) ASSERT() antlr.TerminalNode
- func (s *Assert_stmtContext) AllTest() []ITestContext
- func (s *Assert_stmtContext) COMMA() antlr.TerminalNode
- func (s *Assert_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assert_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assert_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Assert_stmtContext) Test(i int) ITestContext
- type Assign_partContext
- func (s *Assign_partContext) ADD_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) AND_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) ASSIGN(i int) antlr.TerminalNode
- func (s *Assign_partContext) AT_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) AllASSIGN() []antlr.TerminalNode
- func (s *Assign_partContext) AllTestlist_star_expr() []ITestlist_star_exprContext
- func (s *Assign_partContext) COLON() antlr.TerminalNode
- func (s *Assign_partContext) DIV_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assign_partContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assign_partContext) GetOp() antlr.Token
- func (s *Assign_partContext) GetParser() antlr.Parser
- func (s *Assign_partContext) GetRuleContext() antlr.RuleContext
- func (s *Assign_partContext) IDIV_ASSIGN() antlr.TerminalNode
- func (*Assign_partContext) IsAssign_partContext()
- func (s *Assign_partContext) LEFT_SHIFT_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) MOD_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) MULT_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) OR_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) POWER_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) RIGHT_SHIFT_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) SUB_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) SetOp(v antlr.Token)
- func (s *Assign_partContext) Test() ITestContext
- func (s *Assign_partContext) Testlist() ITestlistContext
- func (s *Assign_partContext) Testlist_star_expr(i int) ITestlist_star_exprContext
- func (s *Assign_partContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Assign_partContext) XOR_ASSIGN() antlr.TerminalNode
- func (s *Assign_partContext) Yield_expr() IYield_exprContext
- type AtomContext
- func (s *AtomContext) AllREVERSE_QUOTE() []antlr.TerminalNode
- func (s *AtomContext) AllSTRING() []antlr.TerminalNode
- func (s *AtomContext) CLOSE_BRACE() antlr.TerminalNode
- func (s *AtomContext) CLOSE_BRACKET() antlr.TerminalNode
- func (s *AtomContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *AtomContext) COMMA() antlr.TerminalNode
- func (s *AtomContext) Dictorsetmaker() IDictorsetmakerContext
- func (s *AtomContext) ELLIPSIS() antlr.TerminalNode
- func (s *AtomContext) EXEC() antlr.TerminalNode
- func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) GetParser() antlr.Parser
- func (s *AtomContext) GetRuleContext() antlr.RuleContext
- func (*AtomContext) IsAtomContext()
- func (s *AtomContext) MINUS() antlr.TerminalNode
- func (s *AtomContext) NONE() antlr.TerminalNode
- func (s *AtomContext) Name() INameContext
- func (s *AtomContext) Number() INumberContext
- func (s *AtomContext) OPEN_BRACE() antlr.TerminalNode
- func (s *AtomContext) OPEN_BRACKET() antlr.TerminalNode
- func (s *AtomContext) OPEN_PAREN() antlr.TerminalNode
- func (s *AtomContext) PRINT() antlr.TerminalNode
- func (s *AtomContext) REVERSE_QUOTE(i int) antlr.TerminalNode
- func (s *AtomContext) STRING(i int) antlr.TerminalNode
- func (s *AtomContext) Testlist() ITestlistContext
- func (s *AtomContext) Testlist_comp() ITestlist_compContext
- func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AtomContext) Yield_expr() IYield_exprContext
- type BasePythonParserListener
- func (s *BasePythonParserListener) EnterArglist(ctx *ArglistContext)
- func (s *BasePythonParserListener) EnterArgs(ctx *ArgsContext)
- func (s *BasePythonParserListener) EnterArgument(ctx *ArgumentContext)
- func (s *BasePythonParserListener) EnterArguments(ctx *ArgumentsContext)
- func (s *BasePythonParserListener) EnterAssert_stmt(ctx *Assert_stmtContext)
- func (s *BasePythonParserListener) EnterAssign_part(ctx *Assign_partContext)
- func (s *BasePythonParserListener) EnterAtom(ctx *AtomContext)
- func (s *BasePythonParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
- func (s *BasePythonParserListener) EnterClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
- func (s *BasePythonParserListener) EnterClassdef(ctx *ClassdefContext)
- func (s *BasePythonParserListener) EnterComp_for(ctx *Comp_forContext)
- func (s *BasePythonParserListener) EnterComp_iter(ctx *Comp_iterContext)
- func (s *BasePythonParserListener) EnterComparison(ctx *ComparisonContext)
- func (s *BasePythonParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
- func (s *BasePythonParserListener) EnterDecorator(ctx *DecoratorContext)
- func (s *BasePythonParserListener) EnterDef_parameter(ctx *Def_parameterContext)
- func (s *BasePythonParserListener) EnterDef_parameters(ctx *Def_parametersContext)
- func (s *BasePythonParserListener) EnterDel_stmt(ctx *Del_stmtContext)
- func (s *BasePythonParserListener) EnterDictorsetmaker(ctx *DictorsetmakerContext)
- func (s *BasePythonParserListener) EnterDotted_as_name(ctx *Dotted_as_nameContext)
- func (s *BasePythonParserListener) EnterDotted_as_names(ctx *Dotted_as_namesContext)
- func (s *BasePythonParserListener) EnterDotted_name(ctx *Dotted_nameContext)
- func (s *BasePythonParserListener) EnterElif_clause(ctx *Elif_clauseContext)
- func (s *BasePythonParserListener) EnterElse_clause(ctx *Else_clauseContext)
- func (s *BasePythonParserListener) EnterEval_input(ctx *Eval_inputContext)
- func (s *BasePythonParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePythonParserListener) EnterExcept_clause(ctx *Except_clauseContext)
- func (s *BasePythonParserListener) EnterExec_stmt(ctx *Exec_stmtContext)
- func (s *BasePythonParserListener) EnterExpr(ctx *ExprContext)
- func (s *BasePythonParserListener) EnterExpr_stmt(ctx *Expr_stmtContext)
- func (s *BasePythonParserListener) EnterExprlist(ctx *ExprlistContext)
- func (s *BasePythonParserListener) EnterFile_input(ctx *File_inputContext)
- func (s *BasePythonParserListener) EnterFinally_clause(ctx *Finally_clauseContext)
- func (s *BasePythonParserListener) EnterFor_stmt(ctx *For_stmtContext)
- func (s *BasePythonParserListener) EnterFrom_stmt(ctx *From_stmtContext)
- func (s *BasePythonParserListener) EnterFrom_stmt_as_names(ctx *From_stmt_as_namesContext)
- func (s *BasePythonParserListener) EnterFrom_stmt_source(ctx *From_stmt_sourceContext)
- func (s *BasePythonParserListener) EnterFuncdef(ctx *FuncdefContext)
- func (s *BasePythonParserListener) EnterGlobal_stmt(ctx *Global_stmtContext)
- func (s *BasePythonParserListener) EnterIf_stmt(ctx *If_stmtContext)
- func (s *BasePythonParserListener) EnterImport_as_name(ctx *Import_as_nameContext)
- func (s *BasePythonParserListener) EnterImport_as_names(ctx *Import_as_namesContext)
- func (s *BasePythonParserListener) EnterImport_stmt(ctx *Import_stmtContext)
- func (s *BasePythonParserListener) EnterInteger(ctx *IntegerContext)
- func (s *BasePythonParserListener) EnterKwargs(ctx *KwargsContext)
- func (s *BasePythonParserListener) EnterLogical_test(ctx *Logical_testContext)
- func (s *BasePythonParserListener) EnterName(ctx *NameContext)
- func (s *BasePythonParserListener) EnterNamed_parameter(ctx *Named_parameterContext)
- func (s *BasePythonParserListener) EnterNonlocal_stmt(ctx *Nonlocal_stmtContext)
- func (s *BasePythonParserListener) EnterNumber(ctx *NumberContext)
- func (s *BasePythonParserListener) EnterPass_stmt(ctx *Pass_stmtContext)
- func (s *BasePythonParserListener) EnterPrint_stmt(ctx *Print_stmtContext)
- func (s *BasePythonParserListener) EnterRaise_stmt(ctx *Raise_stmtContext)
- func (s *BasePythonParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
- func (s *BasePythonParserListener) EnterRoot(ctx *RootContext)
- func (s *BasePythonParserListener) EnterSimple_stmt(ctx *Simple_stmtContext)
- func (s *BasePythonParserListener) EnterSingle_input(ctx *Single_inputContext)
- func (s *BasePythonParserListener) EnterSliceop(ctx *SliceopContext)
- func (s *BasePythonParserListener) EnterStar_expr(ctx *Star_exprContext)
- func (s *BasePythonParserListener) EnterStmt(ctx *StmtContext)
- func (s *BasePythonParserListener) EnterSubscript(ctx *SubscriptContext)
- func (s *BasePythonParserListener) EnterSubscriptlist(ctx *SubscriptlistContext)
- func (s *BasePythonParserListener) EnterSuite(ctx *SuiteContext)
- func (s *BasePythonParserListener) EnterTest(ctx *TestContext)
- func (s *BasePythonParserListener) EnterTestlist(ctx *TestlistContext)
- func (s *BasePythonParserListener) EnterTestlist_comp(ctx *Testlist_compContext)
- func (s *BasePythonParserListener) EnterTestlist_star_expr(ctx *Testlist_star_exprContext)
- func (s *BasePythonParserListener) EnterTrailer(ctx *TrailerContext)
- func (s *BasePythonParserListener) EnterTry_stmt(ctx *Try_stmtContext)
- func (s *BasePythonParserListener) EnterTypedargslist(ctx *TypedargslistContext)
- func (s *BasePythonParserListener) EnterVarargs(ctx *VarargsContext)
- func (s *BasePythonParserListener) EnterVarargslist(ctx *VarargslistContext)
- func (s *BasePythonParserListener) EnterVardef_parameter(ctx *Vardef_parameterContext)
- func (s *BasePythonParserListener) EnterVardef_parameters(ctx *Vardef_parametersContext)
- func (s *BasePythonParserListener) EnterVarkwargs(ctx *VarkwargsContext)
- func (s *BasePythonParserListener) EnterWhile_stmt(ctx *While_stmtContext)
- func (s *BasePythonParserListener) EnterWith_item(ctx *With_itemContext)
- func (s *BasePythonParserListener) EnterWith_stmt(ctx *With_stmtContext)
- func (s *BasePythonParserListener) EnterYield_arg(ctx *Yield_argContext)
- func (s *BasePythonParserListener) EnterYield_expr(ctx *Yield_exprContext)
- func (s *BasePythonParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
- func (s *BasePythonParserListener) ExitArglist(ctx *ArglistContext)
- func (s *BasePythonParserListener) ExitArgs(ctx *ArgsContext)
- func (s *BasePythonParserListener) ExitArgument(ctx *ArgumentContext)
- func (s *BasePythonParserListener) ExitArguments(ctx *ArgumentsContext)
- func (s *BasePythonParserListener) ExitAssert_stmt(ctx *Assert_stmtContext)
- func (s *BasePythonParserListener) ExitAssign_part(ctx *Assign_partContext)
- func (s *BasePythonParserListener) ExitAtom(ctx *AtomContext)
- func (s *BasePythonParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
- func (s *BasePythonParserListener) ExitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
- func (s *BasePythonParserListener) ExitClassdef(ctx *ClassdefContext)
- func (s *BasePythonParserListener) ExitComp_for(ctx *Comp_forContext)
- func (s *BasePythonParserListener) ExitComp_iter(ctx *Comp_iterContext)
- func (s *BasePythonParserListener) ExitComparison(ctx *ComparisonContext)
- func (s *BasePythonParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
- func (s *BasePythonParserListener) ExitDecorator(ctx *DecoratorContext)
- func (s *BasePythonParserListener) ExitDef_parameter(ctx *Def_parameterContext)
- func (s *BasePythonParserListener) ExitDef_parameters(ctx *Def_parametersContext)
- func (s *BasePythonParserListener) ExitDel_stmt(ctx *Del_stmtContext)
- func (s *BasePythonParserListener) ExitDictorsetmaker(ctx *DictorsetmakerContext)
- func (s *BasePythonParserListener) ExitDotted_as_name(ctx *Dotted_as_nameContext)
- func (s *BasePythonParserListener) ExitDotted_as_names(ctx *Dotted_as_namesContext)
- func (s *BasePythonParserListener) ExitDotted_name(ctx *Dotted_nameContext)
- func (s *BasePythonParserListener) ExitElif_clause(ctx *Elif_clauseContext)
- func (s *BasePythonParserListener) ExitElse_clause(ctx *Else_clauseContext)
- func (s *BasePythonParserListener) ExitEval_input(ctx *Eval_inputContext)
- func (s *BasePythonParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePythonParserListener) ExitExcept_clause(ctx *Except_clauseContext)
- func (s *BasePythonParserListener) ExitExec_stmt(ctx *Exec_stmtContext)
- func (s *BasePythonParserListener) ExitExpr(ctx *ExprContext)
- func (s *BasePythonParserListener) ExitExpr_stmt(ctx *Expr_stmtContext)
- func (s *BasePythonParserListener) ExitExprlist(ctx *ExprlistContext)
- func (s *BasePythonParserListener) ExitFile_input(ctx *File_inputContext)
- func (s *BasePythonParserListener) ExitFinally_clause(ctx *Finally_clauseContext)
- func (s *BasePythonParserListener) ExitFor_stmt(ctx *For_stmtContext)
- func (s *BasePythonParserListener) ExitFrom_stmt(ctx *From_stmtContext)
- func (s *BasePythonParserListener) ExitFrom_stmt_as_names(ctx *From_stmt_as_namesContext)
- func (s *BasePythonParserListener) ExitFrom_stmt_source(ctx *From_stmt_sourceContext)
- func (s *BasePythonParserListener) ExitFuncdef(ctx *FuncdefContext)
- func (s *BasePythonParserListener) ExitGlobal_stmt(ctx *Global_stmtContext)
- func (s *BasePythonParserListener) ExitIf_stmt(ctx *If_stmtContext)
- func (s *BasePythonParserListener) ExitImport_as_name(ctx *Import_as_nameContext)
- func (s *BasePythonParserListener) ExitImport_as_names(ctx *Import_as_namesContext)
- func (s *BasePythonParserListener) ExitImport_stmt(ctx *Import_stmtContext)
- func (s *BasePythonParserListener) ExitInteger(ctx *IntegerContext)
- func (s *BasePythonParserListener) ExitKwargs(ctx *KwargsContext)
- func (s *BasePythonParserListener) ExitLogical_test(ctx *Logical_testContext)
- func (s *BasePythonParserListener) ExitName(ctx *NameContext)
- func (s *BasePythonParserListener) ExitNamed_parameter(ctx *Named_parameterContext)
- func (s *BasePythonParserListener) ExitNonlocal_stmt(ctx *Nonlocal_stmtContext)
- func (s *BasePythonParserListener) ExitNumber(ctx *NumberContext)
- func (s *BasePythonParserListener) ExitPass_stmt(ctx *Pass_stmtContext)
- func (s *BasePythonParserListener) ExitPrint_stmt(ctx *Print_stmtContext)
- func (s *BasePythonParserListener) ExitRaise_stmt(ctx *Raise_stmtContext)
- func (s *BasePythonParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
- func (s *BasePythonParserListener) ExitRoot(ctx *RootContext)
- func (s *BasePythonParserListener) ExitSimple_stmt(ctx *Simple_stmtContext)
- func (s *BasePythonParserListener) ExitSingle_input(ctx *Single_inputContext)
- func (s *BasePythonParserListener) ExitSliceop(ctx *SliceopContext)
- func (s *BasePythonParserListener) ExitStar_expr(ctx *Star_exprContext)
- func (s *BasePythonParserListener) ExitStmt(ctx *StmtContext)
- func (s *BasePythonParserListener) ExitSubscript(ctx *SubscriptContext)
- func (s *BasePythonParserListener) ExitSubscriptlist(ctx *SubscriptlistContext)
- func (s *BasePythonParserListener) ExitSuite(ctx *SuiteContext)
- func (s *BasePythonParserListener) ExitTest(ctx *TestContext)
- func (s *BasePythonParserListener) ExitTestlist(ctx *TestlistContext)
- func (s *BasePythonParserListener) ExitTestlist_comp(ctx *Testlist_compContext)
- func (s *BasePythonParserListener) ExitTestlist_star_expr(ctx *Testlist_star_exprContext)
- func (s *BasePythonParserListener) ExitTrailer(ctx *TrailerContext)
- func (s *BasePythonParserListener) ExitTry_stmt(ctx *Try_stmtContext)
- func (s *BasePythonParserListener) ExitTypedargslist(ctx *TypedargslistContext)
- func (s *BasePythonParserListener) ExitVarargs(ctx *VarargsContext)
- func (s *BasePythonParserListener) ExitVarargslist(ctx *VarargslistContext)
- func (s *BasePythonParserListener) ExitVardef_parameter(ctx *Vardef_parameterContext)
- func (s *BasePythonParserListener) ExitVardef_parameters(ctx *Vardef_parametersContext)
- func (s *BasePythonParserListener) ExitVarkwargs(ctx *VarkwargsContext)
- func (s *BasePythonParserListener) ExitWhile_stmt(ctx *While_stmtContext)
- func (s *BasePythonParserListener) ExitWith_item(ctx *With_itemContext)
- func (s *BasePythonParserListener) ExitWith_stmt(ctx *With_stmtContext)
- func (s *BasePythonParserListener) ExitYield_arg(ctx *Yield_argContext)
- func (s *BasePythonParserListener) ExitYield_expr(ctx *Yield_exprContext)
- func (s *BasePythonParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
- func (s *BasePythonParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasePythonParserListener) VisitTerminal(node antlr.TerminalNode)
- type Break_stmtContext
- type Class_or_func_def_stmtContext
- func (s *Class_or_func_def_stmtContext) AllDecorator() []IDecoratorContext
- func (s *Class_or_func_def_stmtContext) Classdef() IClassdefContext
- func (s *Class_or_func_def_stmtContext) Decorator(i int) IDecoratorContext
- func (s *Class_or_func_def_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Class_or_func_def_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Class_or_func_def_stmtContext) Funcdef() IFuncdefContext
- func (s *Class_or_func_def_stmtContext) GetRuleContext() antlr.RuleContext
- type ClassdefContext
- func (s *ClassdefContext) Arglist() IArglistContext
- func (s *ClassdefContext) CLASS() antlr.TerminalNode
- func (s *ClassdefContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *ClassdefContext) COLON() antlr.TerminalNode
- func (s *ClassdefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassdefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassdefContext) GetParser() antlr.Parser
- func (s *ClassdefContext) GetRuleContext() antlr.RuleContext
- func (*ClassdefContext) IsClassdefContext()
- func (s *ClassdefContext) Name() INameContext
- func (s *ClassdefContext) OPEN_PAREN() antlr.TerminalNode
- func (s *ClassdefContext) Suite() ISuiteContext
- func (s *ClassdefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Comp_forContext
- func (s *Comp_forContext) Comp_iter() IComp_iterContext
- func (s *Comp_forContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Comp_forContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Comp_forContext) Exprlist() IExprlistContext
- func (s *Comp_forContext) FOR() antlr.TerminalNode
- func (s *Comp_forContext) GetParser() antlr.Parser
- func (s *Comp_forContext) GetRuleContext() antlr.RuleContext
- func (s *Comp_forContext) IN() antlr.TerminalNode
- func (*Comp_forContext) IsComp_forContext()
- func (s *Comp_forContext) Logical_test() ILogical_testContext
- func (s *Comp_forContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Comp_iterContext
- func (s *Comp_iterContext) Comp_for() IComp_forContext
- func (s *Comp_iterContext) Comp_iter() IComp_iterContext
- func (s *Comp_iterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Comp_iterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Comp_iterContext) GetParser() antlr.Parser
- func (s *Comp_iterContext) GetRuleContext() antlr.RuleContext
- func (s *Comp_iterContext) IF() antlr.TerminalNode
- func (*Comp_iterContext) IsComp_iterContext()
- func (s *Comp_iterContext) Test() ITestContext
- func (s *Comp_iterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ComparisonContext
- func (s *ComparisonContext) AllComparison() []IComparisonContext
- func (s *ComparisonContext) Comparison(i int) IComparisonContext
- func (s *ComparisonContext) EQUALS() antlr.TerminalNode
- func (s *ComparisonContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ComparisonContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ComparisonContext) Expr() IExprContext
- func (s *ComparisonContext) GREATER_THAN() antlr.TerminalNode
- func (s *ComparisonContext) GT_EQ() antlr.TerminalNode
- func (s *ComparisonContext) GetOptional() antlr.Token
- func (s *ComparisonContext) GetParser() antlr.Parser
- func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
- func (s *ComparisonContext) IN() antlr.TerminalNode
- func (s *ComparisonContext) IS() antlr.TerminalNode
- func (*ComparisonContext) IsComparisonContext()
- func (s *ComparisonContext) LESS_THAN() antlr.TerminalNode
- func (s *ComparisonContext) LT_EQ() antlr.TerminalNode
- func (s *ComparisonContext) NOT() antlr.TerminalNode
- func (s *ComparisonContext) NOT_EQ_1() antlr.TerminalNode
- func (s *ComparisonContext) NOT_EQ_2() antlr.TerminalNode
- func (s *ComparisonContext) SetOptional(v antlr.Token)
- func (s *ComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Compound_stmtContext
- func (s *Compound_stmtContext) CopyFrom(ctx *Compound_stmtContext)
- func (s *Compound_stmtContext) GetParser() antlr.Parser
- func (s *Compound_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Compound_stmtContext) IsCompound_stmtContext()
- func (s *Compound_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Continue_stmtContext
- type DecoratorContext
- func (s *DecoratorContext) AT() antlr.TerminalNode
- func (s *DecoratorContext) Arglist() IArglistContext
- func (s *DecoratorContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *DecoratorContext) Dotted_name() IDotted_nameContext
- func (s *DecoratorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DecoratorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DecoratorContext) GetParser() antlr.Parser
- func (s *DecoratorContext) GetRuleContext() antlr.RuleContext
- func (*DecoratorContext) IsDecoratorContext()
- func (s *DecoratorContext) LINE_BREAK() antlr.TerminalNode
- func (s *DecoratorContext) OPEN_PAREN() antlr.TerminalNode
- func (s *DecoratorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Def_parameterContext
- func (s *Def_parameterContext) ASSIGN() antlr.TerminalNode
- func (s *Def_parameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Def_parameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Def_parameterContext) GetParser() antlr.Parser
- func (s *Def_parameterContext) GetRuleContext() antlr.RuleContext
- func (*Def_parameterContext) IsDef_parameterContext()
- func (s *Def_parameterContext) Named_parameter() INamed_parameterContext
- func (s *Def_parameterContext) STAR() antlr.TerminalNode
- func (s *Def_parameterContext) Test() ITestContext
- func (s *Def_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Def_parametersContext
- func (s *Def_parametersContext) AllCOMMA() []antlr.TerminalNode
- func (s *Def_parametersContext) AllDef_parameter() []IDef_parameterContext
- func (s *Def_parametersContext) COMMA(i int) antlr.TerminalNode
- func (s *Def_parametersContext) Def_parameter(i int) IDef_parameterContext
- func (s *Def_parametersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Def_parametersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Def_parametersContext) GetParser() antlr.Parser
- func (s *Def_parametersContext) GetRuleContext() antlr.RuleContext
- func (*Def_parametersContext) IsDef_parametersContext()
- func (s *Def_parametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Del_stmtContext
- func (s *Del_stmtContext) DEL() antlr.TerminalNode
- func (s *Del_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Del_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Del_stmtContext) Exprlist() IExprlistContext
- func (s *Del_stmtContext) GetRuleContext() antlr.RuleContext
- type DictorsetmakerContext
- func (s *DictorsetmakerContext) AllCOLON() []antlr.TerminalNode
- func (s *DictorsetmakerContext) AllCOMMA() []antlr.TerminalNode
- func (s *DictorsetmakerContext) AllExpr() []IExprContext
- func (s *DictorsetmakerContext) AllPOWER() []antlr.TerminalNode
- func (s *DictorsetmakerContext) AllTest() []ITestContext
- func (s *DictorsetmakerContext) COLON(i int) antlr.TerminalNode
- func (s *DictorsetmakerContext) COMMA(i int) antlr.TerminalNode
- func (s *DictorsetmakerContext) Comp_for() IComp_forContext
- func (s *DictorsetmakerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DictorsetmakerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DictorsetmakerContext) Expr(i int) IExprContext
- func (s *DictorsetmakerContext) GetParser() antlr.Parser
- func (s *DictorsetmakerContext) GetRuleContext() antlr.RuleContext
- func (*DictorsetmakerContext) IsDictorsetmakerContext()
- func (s *DictorsetmakerContext) POWER(i int) antlr.TerminalNode
- func (s *DictorsetmakerContext) Test(i int) ITestContext
- func (s *DictorsetmakerContext) Testlist_comp() ITestlist_compContext
- func (s *DictorsetmakerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Dotted_as_nameContext
- func (s *Dotted_as_nameContext) AS() antlr.TerminalNode
- func (s *Dotted_as_nameContext) Dotted_name() IDotted_nameContext
- func (s *Dotted_as_nameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Dotted_as_nameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Dotted_as_nameContext) GetParser() antlr.Parser
- func (s *Dotted_as_nameContext) GetRuleContext() antlr.RuleContext
- func (*Dotted_as_nameContext) IsDotted_as_nameContext()
- func (s *Dotted_as_nameContext) Name() INameContext
- func (s *Dotted_as_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Dotted_as_namesContext
- func (s *Dotted_as_namesContext) AllCOMMA() []antlr.TerminalNode
- func (s *Dotted_as_namesContext) AllDotted_as_name() []IDotted_as_nameContext
- func (s *Dotted_as_namesContext) COMMA(i int) antlr.TerminalNode
- func (s *Dotted_as_namesContext) Dotted_as_name(i int) IDotted_as_nameContext
- func (s *Dotted_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Dotted_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Dotted_as_namesContext) GetParser() antlr.Parser
- func (s *Dotted_as_namesContext) GetRuleContext() antlr.RuleContext
- func (*Dotted_as_namesContext) IsDotted_as_namesContext()
- func (s *Dotted_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Dotted_nameContext
- func (s *Dotted_nameContext) DOT() antlr.TerminalNode
- func (s *Dotted_nameContext) Dotted_name() IDotted_nameContext
- func (s *Dotted_nameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Dotted_nameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Dotted_nameContext) GetParser() antlr.Parser
- func (s *Dotted_nameContext) GetRuleContext() antlr.RuleContext
- func (*Dotted_nameContext) IsDotted_nameContext()
- func (s *Dotted_nameContext) Name() INameContext
- func (s *Dotted_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Elif_clauseContext
- func (s *Elif_clauseContext) COLON() antlr.TerminalNode
- func (s *Elif_clauseContext) ELIF() antlr.TerminalNode
- func (s *Elif_clauseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Elif_clauseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Elif_clauseContext) GetParser() antlr.Parser
- func (s *Elif_clauseContext) GetRuleContext() antlr.RuleContext
- func (*Elif_clauseContext) IsElif_clauseContext()
- func (s *Elif_clauseContext) Suite() ISuiteContext
- func (s *Elif_clauseContext) Test() ITestContext
- func (s *Elif_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Else_clauseContext
- func (s *Else_clauseContext) COLON() antlr.TerminalNode
- func (s *Else_clauseContext) ELSE() antlr.TerminalNode
- func (s *Else_clauseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Else_clauseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Else_clauseContext) GetParser() antlr.Parser
- func (s *Else_clauseContext) GetRuleContext() antlr.RuleContext
- func (*Else_clauseContext) IsElse_clauseContext()
- func (s *Else_clauseContext) Suite() ISuiteContext
- func (s *Else_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Eval_inputContext
- func (s *Eval_inputContext) AllLINE_BREAK() []antlr.TerminalNode
- func (s *Eval_inputContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Eval_inputContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Eval_inputContext) GetParser() antlr.Parser
- func (s *Eval_inputContext) GetRuleContext() antlr.RuleContext
- func (*Eval_inputContext) IsEval_inputContext()
- func (s *Eval_inputContext) LINE_BREAK(i int) antlr.TerminalNode
- func (s *Eval_inputContext) Testlist() ITestlistContext
- func (s *Eval_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Except_clauseContext
- func (s *Except_clauseContext) AS() antlr.TerminalNode
- func (s *Except_clauseContext) COLON() antlr.TerminalNode
- func (s *Except_clauseContext) COMMA() antlr.TerminalNode
- func (s *Except_clauseContext) EXCEPT() antlr.TerminalNode
- func (s *Except_clauseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Except_clauseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Except_clauseContext) GetParser() antlr.Parser
- func (s *Except_clauseContext) GetRuleContext() antlr.RuleContext
- func (*Except_clauseContext) IsExcept_clauseContext()
- func (s *Except_clauseContext) Name() INameContext
- func (s *Except_clauseContext) Suite() ISuiteContext
- func (s *Except_clauseContext) Test() ITestContext
- func (s *Except_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Exec_stmtContext
- func (s *Exec_stmtContext) AllTest() []ITestContext
- func (s *Exec_stmtContext) COMMA() antlr.TerminalNode
- func (s *Exec_stmtContext) EXEC() antlr.TerminalNode
- func (s *Exec_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Exec_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Exec_stmtContext) Expr() IExprContext
- func (s *Exec_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Exec_stmtContext) IN() antlr.TerminalNode
- func (s *Exec_stmtContext) Test(i int) ITestContext
- type ExprContext
- func (s *ExprContext) ADD() antlr.TerminalNode
- func (s *ExprContext) AND_OP() antlr.TerminalNode
- func (s *ExprContext) AT() antlr.TerminalNode
- func (s *ExprContext) AWAIT() antlr.TerminalNode
- func (s *ExprContext) AllExpr() []IExprContext
- func (s *ExprContext) AllTrailer() []ITrailerContext
- func (s *ExprContext) Atom() IAtomContext
- func (s *ExprContext) DIV() antlr.TerminalNode
- func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) Expr(i int) IExprContext
- func (s *ExprContext) GetOp() antlr.Token
- func (s *ExprContext) GetParser() antlr.Parser
- func (s *ExprContext) GetRuleContext() antlr.RuleContext
- func (s *ExprContext) IDIV() antlr.TerminalNode
- func (*ExprContext) IsExprContext()
- func (s *ExprContext) LEFT_SHIFT() antlr.TerminalNode
- func (s *ExprContext) MINUS() antlr.TerminalNode
- func (s *ExprContext) MOD() antlr.TerminalNode
- func (s *ExprContext) NOT_OP() antlr.TerminalNode
- func (s *ExprContext) OR_OP() antlr.TerminalNode
- func (s *ExprContext) POWER() antlr.TerminalNode
- func (s *ExprContext) RIGHT_SHIFT() antlr.TerminalNode
- func (s *ExprContext) STAR() antlr.TerminalNode
- func (s *ExprContext) SetOp(v antlr.Token)
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ExprContext) Trailer(i int) ITrailerContext
- func (s *ExprContext) XOR() antlr.TerminalNode
- type Expr_stmtContext
- func (s *Expr_stmtContext) Assign_part() IAssign_partContext
- func (s *Expr_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Expr_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Expr_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Expr_stmtContext) Testlist_star_expr() ITestlist_star_exprContext
- type ExprlistContext
- func (s *ExprlistContext) AllCOMMA() []antlr.TerminalNode
- func (s *ExprlistContext) AllExpr() []IExprContext
- func (s *ExprlistContext) COMMA(i int) antlr.TerminalNode
- func (s *ExprlistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprlistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprlistContext) Expr(i int) IExprContext
- func (s *ExprlistContext) GetParser() antlr.Parser
- func (s *ExprlistContext) GetRuleContext() antlr.RuleContext
- func (*ExprlistContext) IsExprlistContext()
- func (s *ExprlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type File_inputContext
- func (s *File_inputContext) AllLINE_BREAK() []antlr.TerminalNode
- func (s *File_inputContext) AllStmt() []IStmtContext
- func (s *File_inputContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *File_inputContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *File_inputContext) GetParser() antlr.Parser
- func (s *File_inputContext) GetRuleContext() antlr.RuleContext
- func (*File_inputContext) IsFile_inputContext()
- func (s *File_inputContext) LINE_BREAK(i int) antlr.TerminalNode
- func (s *File_inputContext) Stmt(i int) IStmtContext
- func (s *File_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Finally_clauseContext
- func (s *Finally_clauseContext) COLON() antlr.TerminalNode
- func (s *Finally_clauseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Finally_clauseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Finally_clauseContext) FINALLY() antlr.TerminalNode
- func (s *Finally_clauseContext) GetParser() antlr.Parser
- func (s *Finally_clauseContext) GetRuleContext() antlr.RuleContext
- func (*Finally_clauseContext) IsFinally_clauseContext()
- func (s *Finally_clauseContext) Suite() ISuiteContext
- func (s *Finally_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type For_stmtContext
- func (s *For_stmtContext) ASYNC() antlr.TerminalNode
- func (s *For_stmtContext) COLON() antlr.TerminalNode
- func (s *For_stmtContext) Else_clause() IElse_clauseContext
- func (s *For_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *For_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *For_stmtContext) Exprlist() IExprlistContext
- func (s *For_stmtContext) FOR() antlr.TerminalNode
- func (s *For_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *For_stmtContext) IN() antlr.TerminalNode
- func (s *For_stmtContext) Suite() ISuiteContext
- func (s *For_stmtContext) Testlist() ITestlistContext
- type From_stmtContext
- func (s *From_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *From_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *From_stmtContext) FROM() antlr.TerminalNode
- func (s *From_stmtContext) From_stmt_as_names() IFrom_stmt_as_namesContext
- func (s *From_stmtContext) From_stmt_source() IFrom_stmt_sourceContext
- func (s *From_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *From_stmtContext) IMPORT() antlr.TerminalNode
- type From_stmt_as_namesContext
- func (s *From_stmt_as_namesContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *From_stmt_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *From_stmt_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *From_stmt_as_namesContext) GetParser() antlr.Parser
- func (s *From_stmt_as_namesContext) GetRuleContext() antlr.RuleContext
- func (s *From_stmt_as_namesContext) Import_as_names() IImport_as_namesContext
- func (*From_stmt_as_namesContext) IsFrom_stmt_as_namesContext()
- func (s *From_stmt_as_namesContext) OPEN_PAREN() antlr.TerminalNode
- func (s *From_stmt_as_namesContext) STAR() antlr.TerminalNode
- func (s *From_stmt_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type From_stmt_sourceContext
- func (s *From_stmt_sourceContext) AllDOT() []antlr.TerminalNode
- func (s *From_stmt_sourceContext) AllELLIPSIS() []antlr.TerminalNode
- func (s *From_stmt_sourceContext) DOT(i int) antlr.TerminalNode
- func (s *From_stmt_sourceContext) Dotted_name() IDotted_nameContext
- func (s *From_stmt_sourceContext) ELLIPSIS(i int) antlr.TerminalNode
- func (s *From_stmt_sourceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *From_stmt_sourceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *From_stmt_sourceContext) GetParser() antlr.Parser
- func (s *From_stmt_sourceContext) GetRuleContext() antlr.RuleContext
- func (*From_stmt_sourceContext) IsFrom_stmt_sourceContext()
- func (s *From_stmt_sourceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FuncdefContext
- func (s *FuncdefContext) ARROW() antlr.TerminalNode
- func (s *FuncdefContext) ASYNC() antlr.TerminalNode
- func (s *FuncdefContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *FuncdefContext) COLON() antlr.TerminalNode
- func (s *FuncdefContext) DEF() antlr.TerminalNode
- func (s *FuncdefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FuncdefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FuncdefContext) GetParser() antlr.Parser
- func (s *FuncdefContext) GetRuleContext() antlr.RuleContext
- func (*FuncdefContext) IsFuncdefContext()
- func (s *FuncdefContext) Name() INameContext
- func (s *FuncdefContext) OPEN_PAREN() antlr.TerminalNode
- func (s *FuncdefContext) Suite() ISuiteContext
- func (s *FuncdefContext) Test() ITestContext
- func (s *FuncdefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FuncdefContext) Typedargslist() ITypedargslistContext
- type Global_stmtContext
- func (s *Global_stmtContext) AllCOMMA() []antlr.TerminalNode
- func (s *Global_stmtContext) AllName() []INameContext
- func (s *Global_stmtContext) COMMA(i int) antlr.TerminalNode
- func (s *Global_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Global_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Global_stmtContext) GLOBAL() antlr.TerminalNode
- func (s *Global_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Global_stmtContext) Name(i int) INameContext
- type IArglistContext
- type IArgsContext
- type IArgumentContext
- type IArgumentsContext
- type IAssign_partContext
- type IAtomContext
- type IClassdefContext
- type IComp_forContext
- type IComp_iterContext
- type IComparisonContext
- type ICompound_stmtContext
- type IDecoratorContext
- type IDef_parameterContext
- type IDef_parametersContext
- type IDictorsetmakerContext
- type IDotted_as_nameContext
- type IDotted_as_namesContext
- type IDotted_nameContext
- type IElif_clauseContext
- type IElse_clauseContext
- type IEval_inputContext
- type IExcept_clauseContext
- type IExprContext
- type IExprlistContext
- type IFile_inputContext
- type IFinally_clauseContext
- type IFrom_stmt_as_namesContext
- type IFrom_stmt_sourceContext
- type IFuncdefContext
- type IImport_as_nameContext
- type IImport_as_namesContext
- type IIntegerContext
- type IKwargsContext
- type ILogical_testContext
- type INameContext
- type INamed_parameterContext
- type INumberContext
- type IRootContext
- type ISimple_stmtContext
- type ISingle_inputContext
- type ISliceopContext
- type ISmall_stmtContext
- type IStar_exprContext
- type IStmtContext
- type ISubscriptContext
- type ISubscriptlistContext
- type ISuiteContext
- type ITestContext
- type ITestlistContext
- type ITestlist_compContext
- type ITestlist_star_exprContext
- type ITrailerContext
- type ITypedargslistContext
- type IVarargsContext
- type IVarargslistContext
- type IVardef_parameterContext
- type IVardef_parametersContext
- type IVarkwargsContext
- type IWith_itemContext
- type IYield_argContext
- type IYield_exprContext
- type If_stmtContext
- func (s *If_stmtContext) AllElif_clause() []IElif_clauseContext
- func (s *If_stmtContext) COLON() antlr.TerminalNode
- func (s *If_stmtContext) Elif_clause(i int) IElif_clauseContext
- func (s *If_stmtContext) Else_clause() IElse_clauseContext
- func (s *If_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_stmtContext) GetCond() ITestContext
- func (s *If_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *If_stmtContext) IF() antlr.TerminalNode
- func (s *If_stmtContext) SetCond(v ITestContext)
- func (s *If_stmtContext) Suite() ISuiteContext
- func (s *If_stmtContext) Test() ITestContext
- type Import_as_nameContext
- func (s *Import_as_nameContext) AS() antlr.TerminalNode
- func (s *Import_as_nameContext) AllName() []INameContext
- func (s *Import_as_nameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Import_as_nameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Import_as_nameContext) GetParser() antlr.Parser
- func (s *Import_as_nameContext) GetRuleContext() antlr.RuleContext
- func (*Import_as_nameContext) IsImport_as_nameContext()
- func (s *Import_as_nameContext) Name(i int) INameContext
- func (s *Import_as_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Import_as_namesContext
- func (s *Import_as_namesContext) AllCOMMA() []antlr.TerminalNode
- func (s *Import_as_namesContext) AllImport_as_name() []IImport_as_nameContext
- func (s *Import_as_namesContext) COMMA(i int) antlr.TerminalNode
- func (s *Import_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Import_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Import_as_namesContext) GetParser() antlr.Parser
- func (s *Import_as_namesContext) GetRuleContext() antlr.RuleContext
- func (s *Import_as_namesContext) Import_as_name(i int) IImport_as_nameContext
- func (*Import_as_namesContext) IsImport_as_namesContext()
- func (s *Import_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Import_stmtContext
- func (s *Import_stmtContext) Dotted_as_names() IDotted_as_namesContext
- func (s *Import_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Import_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Import_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Import_stmtContext) IMPORT() antlr.TerminalNode
- type IntegerContext
- func (s *IntegerContext) BIN_INTEGER() antlr.TerminalNode
- func (s *IntegerContext) DECIMAL_INTEGER() antlr.TerminalNode
- func (s *IntegerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IntegerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IntegerContext) GetParser() antlr.Parser
- func (s *IntegerContext) GetRuleContext() antlr.RuleContext
- func (s *IntegerContext) HEX_INTEGER() antlr.TerminalNode
- func (*IntegerContext) IsIntegerContext()
- func (s *IntegerContext) OCT_INTEGER() antlr.TerminalNode
- func (s *IntegerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type KwargsContext
- func (s *KwargsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *KwargsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *KwargsContext) GetParser() antlr.Parser
- func (s *KwargsContext) GetRuleContext() antlr.RuleContext
- func (*KwargsContext) IsKwargsContext()
- func (s *KwargsContext) Named_parameter() INamed_parameterContext
- func (s *KwargsContext) POWER() antlr.TerminalNode
- func (s *KwargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Logical_testContext
- func (s *Logical_testContext) AND() antlr.TerminalNode
- func (s *Logical_testContext) AllLogical_test() []ILogical_testContext
- func (s *Logical_testContext) Comparison() IComparisonContext
- func (s *Logical_testContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Logical_testContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Logical_testContext) GetOp() antlr.Token
- func (s *Logical_testContext) GetParser() antlr.Parser
- func (s *Logical_testContext) GetRuleContext() antlr.RuleContext
- func (*Logical_testContext) IsLogical_testContext()
- func (s *Logical_testContext) Logical_test(i int) ILogical_testContext
- func (s *Logical_testContext) NOT() antlr.TerminalNode
- func (s *Logical_testContext) OR() antlr.TerminalNode
- func (s *Logical_testContext) SetOp(v antlr.Token)
- func (s *Logical_testContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NameContext
- func (s *NameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NameContext) FALSE() antlr.TerminalNode
- func (s *NameContext) GetParser() antlr.Parser
- func (s *NameContext) GetRuleContext() antlr.RuleContext
- func (*NameContext) IsNameContext()
- func (s *NameContext) NAME() antlr.TerminalNode
- func (s *NameContext) TRUE() antlr.TerminalNode
- func (s *NameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Named_parameterContext
- func (s *Named_parameterContext) COLON() antlr.TerminalNode
- func (s *Named_parameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Named_parameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Named_parameterContext) GetParser() antlr.Parser
- func (s *Named_parameterContext) GetRuleContext() antlr.RuleContext
- func (*Named_parameterContext) IsNamed_parameterContext()
- func (s *Named_parameterContext) Name() INameContext
- func (s *Named_parameterContext) Test() ITestContext
- func (s *Named_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Nonlocal_stmtContext
- func (s *Nonlocal_stmtContext) AllCOMMA() []antlr.TerminalNode
- func (s *Nonlocal_stmtContext) AllName() []INameContext
- func (s *Nonlocal_stmtContext) COMMA(i int) antlr.TerminalNode
- func (s *Nonlocal_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Nonlocal_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Nonlocal_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Nonlocal_stmtContext) NONLOCAL() antlr.TerminalNode
- func (s *Nonlocal_stmtContext) Name(i int) INameContext
- type NumberContext
- func (s *NumberContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NumberContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NumberContext) FLOAT_NUMBER() antlr.TerminalNode
- func (s *NumberContext) GetParser() antlr.Parser
- func (s *NumberContext) GetRuleContext() antlr.RuleContext
- func (s *NumberContext) IMAG_NUMBER() antlr.TerminalNode
- func (s *NumberContext) Integer() IIntegerContext
- func (*NumberContext) IsNumberContext()
- func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Pass_stmtContext
- type Print_stmtContext
- func (s *Print_stmtContext) AllCOMMA() []antlr.TerminalNode
- func (s *Print_stmtContext) AllTest() []ITestContext
- func (s *Print_stmtContext) COMMA(i int) antlr.TerminalNode
- func (s *Print_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Print_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Print_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Print_stmtContext) PRINT() antlr.TerminalNode
- func (s *Print_stmtContext) RIGHT_SHIFT() antlr.TerminalNode
- func (s *Print_stmtContext) Test(i int) ITestContext
- type PythonBaseLexer
- func (l *PythonBaseLexer) DecIndentLevel()
- func (l *PythonBaseLexer) Emit() antlr.Token
- func (l *PythonBaseLexer) EmitDefaultToken(tokenType int)
- func (l *PythonBaseLexer) EmitToken(token antlr.Token)
- func (l *PythonBaseLexer) EmitTokenByType(tokenType int, channel int, text string)
- func (l *PythonBaseLexer) HandleNewLine()
- func (l *PythonBaseLexer) HandleSpaces()
- func (l *PythonBaseLexer) IncIndentLevel()
- func (l *PythonBaseLexer) IncTokenInd(index int) int
- func (l *PythonBaseLexer) IsNotNewLineOrComment(next string) bool
- func (l *PythonBaseLexer) NextToken() antlr.Token
- func (l *PythonBaseLexer) ProcessNewLine(indent int)
- type PythonBaseParser
- type PythonLexer
- func (l *PythonLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
- func (l *PythonLexer) CLOSE_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) CLOSE_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) CLOSE_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) NEWLINE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) OPEN_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) OPEN_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) OPEN_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *PythonLexer) WS_Action(localctx antlr.RuleContext, actionIndex int)
- type PythonParser
- func (p *PythonParser) Arglist() (localctx IArglistContext)
- func (p *PythonParser) Args() (localctx IArgsContext)
- func (p *PythonParser) Argument() (localctx IArgumentContext)
- func (p *PythonParser) Arguments() (localctx IArgumentsContext)
- func (p *PythonParser) Assign_part() (localctx IAssign_partContext)
- func (p *PythonParser) Assign_part_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Atom() (localctx IAtomContext)
- func (p *PythonParser) Classdef() (localctx IClassdefContext)
- func (p *PythonParser) Comp_for() (localctx IComp_forContext)
- func (p *PythonParser) Comp_iter() (localctx IComp_iterContext)
- func (p *PythonParser) Comparison() (localctx IComparisonContext)
- func (p *PythonParser) Comparison_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Compound_stmt() (localctx ICompound_stmtContext)
- func (p *PythonParser) Decorator() (localctx IDecoratorContext)
- func (p *PythonParser) Def_parameter() (localctx IDef_parameterContext)
- func (p *PythonParser) Def_parameters() (localctx IDef_parametersContext)
- func (p *PythonParser) Dictorsetmaker() (localctx IDictorsetmakerContext)
- func (p *PythonParser) Dotted_as_name() (localctx IDotted_as_nameContext)
- func (p *PythonParser) Dotted_as_names() (localctx IDotted_as_namesContext)
- func (p *PythonParser) Dotted_name() (localctx IDotted_nameContext)
- func (p *PythonParser) Dotted_name_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Elif_clause() (localctx IElif_clauseContext)
- func (p *PythonParser) Else_clause() (localctx IElse_clauseContext)
- func (p *PythonParser) Eval_input() (localctx IEval_inputContext)
- func (p *PythonParser) Except_clause() (localctx IExcept_clauseContext)
- func (p *PythonParser) Except_clause_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Expr() (localctx IExprContext)
- func (p *PythonParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Exprlist() (localctx IExprlistContext)
- func (p *PythonParser) File_input() (localctx IFile_inputContext)
- func (p *PythonParser) Finally_clause() (localctx IFinally_clauseContext)
- func (p *PythonParser) From_stmt_as_names() (localctx IFrom_stmt_as_namesContext)
- func (p *PythonParser) From_stmt_source() (localctx IFrom_stmt_sourceContext)
- func (p *PythonParser) Funcdef() (localctx IFuncdefContext)
- func (p *PythonParser) Import_as_name() (localctx IImport_as_nameContext)
- func (p *PythonParser) Import_as_names() (localctx IImport_as_namesContext)
- func (p *PythonParser) Integer() (localctx IIntegerContext)
- func (p *PythonParser) Kwargs() (localctx IKwargsContext)
- func (p *PythonParser) Logical_test() (localctx ILogical_testContext)
- func (p *PythonParser) Logical_test_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Name() (localctx INameContext)
- func (p *PythonParser) Named_parameter() (localctx INamed_parameterContext)
- func (p *PythonParser) Number() (localctx INumberContext)
- func (p *PythonParser) Root() (localctx IRootContext)
- func (p *PythonParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *PythonParser) Simple_stmt() (localctx ISimple_stmtContext)
- func (p *PythonParser) Single_input() (localctx ISingle_inputContext)
- func (p *PythonParser) Sliceop() (localctx ISliceopContext)
- func (p *PythonParser) Small_stmt() (localctx ISmall_stmtContext)
- func (p *PythonParser) Small_stmt_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PythonParser) Star_expr() (localctx IStar_exprContext)
- func (p *PythonParser) Stmt() (localctx IStmtContext)
- func (p *PythonParser) Subscript() (localctx ISubscriptContext)
- func (p *PythonParser) Subscriptlist() (localctx ISubscriptlistContext)
- func (p *PythonParser) Suite() (localctx ISuiteContext)
- func (p *PythonParser) Test() (localctx ITestContext)
- func (p *PythonParser) Testlist() (localctx ITestlistContext)
- func (p *PythonParser) Testlist_comp() (localctx ITestlist_compContext)
- func (p *PythonParser) Testlist_star_expr() (localctx ITestlist_star_exprContext)
- func (p *PythonParser) Trailer() (localctx ITrailerContext)
- func (p *PythonParser) Typedargslist() (localctx ITypedargslistContext)
- func (p *PythonParser) Varargs() (localctx IVarargsContext)
- func (p *PythonParser) Varargslist() (localctx IVarargslistContext)
- func (p *PythonParser) Vardef_parameter() (localctx IVardef_parameterContext)
- func (p *PythonParser) Vardef_parameters() (localctx IVardef_parametersContext)
- func (p *PythonParser) Varkwargs() (localctx IVarkwargsContext)
- func (p *PythonParser) With_item() (localctx IWith_itemContext)
- func (p *PythonParser) Yield_arg() (localctx IYield_argContext)
- func (p *PythonParser) Yield_expr() (localctx IYield_exprContext)
- type PythonParserListener
- type Raise_stmtContext
- func (s *Raise_stmtContext) AllCOMMA() []antlr.TerminalNode
- func (s *Raise_stmtContext) AllTest() []ITestContext
- func (s *Raise_stmtContext) COMMA(i int) antlr.TerminalNode
- func (s *Raise_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Raise_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Raise_stmtContext) FROM() antlr.TerminalNode
- func (s *Raise_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Raise_stmtContext) RAISE() antlr.TerminalNode
- func (s *Raise_stmtContext) Test(i int) ITestContext
- type Return_stmtContext
- func (s *Return_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Return_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Return_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Return_stmtContext) RETURN() antlr.TerminalNode
- func (s *Return_stmtContext) Testlist() ITestlistContext
- type RootContext
- func (s *RootContext) EOF() antlr.TerminalNode
- func (s *RootContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RootContext) Eval_input() IEval_inputContext
- func (s *RootContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RootContext) File_input() IFile_inputContext
- func (s *RootContext) GetParser() antlr.Parser
- func (s *RootContext) GetRuleContext() antlr.RuleContext
- func (*RootContext) IsRootContext()
- func (s *RootContext) Single_input() ISingle_inputContext
- func (s *RootContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Simple_stmtContext
- func (s *Simple_stmtContext) AllSEMI_COLON() []antlr.TerminalNode
- func (s *Simple_stmtContext) AllSmall_stmt() []ISmall_stmtContext
- func (s *Simple_stmtContext) EOF() antlr.TerminalNode
- func (s *Simple_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Simple_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Simple_stmtContext) GetParser() antlr.Parser
- func (s *Simple_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Simple_stmtContext) IsSimple_stmtContext()
- func (s *Simple_stmtContext) LINE_BREAK() antlr.TerminalNode
- func (s *Simple_stmtContext) SEMI_COLON(i int) antlr.TerminalNode
- func (s *Simple_stmtContext) Small_stmt(i int) ISmall_stmtContext
- func (s *Simple_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Single_inputContext
- func (s *Single_inputContext) Compound_stmt() ICompound_stmtContext
- func (s *Single_inputContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Single_inputContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Single_inputContext) GetParser() antlr.Parser
- func (s *Single_inputContext) GetRuleContext() antlr.RuleContext
- func (*Single_inputContext) IsSingle_inputContext()
- func (s *Single_inputContext) LINE_BREAK() antlr.TerminalNode
- func (s *Single_inputContext) Simple_stmt() ISimple_stmtContext
- func (s *Single_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SliceopContext
- func (s *SliceopContext) COLON() antlr.TerminalNode
- func (s *SliceopContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SliceopContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SliceopContext) GetParser() antlr.Parser
- func (s *SliceopContext) GetRuleContext() antlr.RuleContext
- func (*SliceopContext) IsSliceopContext()
- func (s *SliceopContext) Test() ITestContext
- func (s *SliceopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Small_stmtContext
- func (s *Small_stmtContext) CopyFrom(ctx *Small_stmtContext)
- func (s *Small_stmtContext) GetParser() antlr.Parser
- func (s *Small_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Small_stmtContext) IsSmall_stmtContext()
- func (s *Small_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Star_exprContext
- func (s *Star_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Star_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Star_exprContext) Expr() IExprContext
- func (s *Star_exprContext) GetParser() antlr.Parser
- func (s *Star_exprContext) GetRuleContext() antlr.RuleContext
- func (*Star_exprContext) IsStar_exprContext()
- func (s *Star_exprContext) STAR() antlr.TerminalNode
- func (s *Star_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtContext
- func (s *StmtContext) Compound_stmt() ICompound_stmtContext
- func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) GetParser() antlr.Parser
- func (s *StmtContext) GetRuleContext() antlr.RuleContext
- func (*StmtContext) IsStmtContext()
- func (s *StmtContext) Simple_stmt() ISimple_stmtContext
- func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubscriptContext
- func (s *SubscriptContext) AllTest() []ITestContext
- func (s *SubscriptContext) COLON() antlr.TerminalNode
- func (s *SubscriptContext) ELLIPSIS() antlr.TerminalNode
- func (s *SubscriptContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubscriptContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubscriptContext) GetParser() antlr.Parser
- func (s *SubscriptContext) GetRuleContext() antlr.RuleContext
- func (*SubscriptContext) IsSubscriptContext()
- func (s *SubscriptContext) Sliceop() ISliceopContext
- func (s *SubscriptContext) Test(i int) ITestContext
- func (s *SubscriptContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubscriptlistContext
- func (s *SubscriptlistContext) AllCOMMA() []antlr.TerminalNode
- func (s *SubscriptlistContext) AllSubscript() []ISubscriptContext
- func (s *SubscriptlistContext) COMMA(i int) antlr.TerminalNode
- func (s *SubscriptlistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubscriptlistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubscriptlistContext) GetParser() antlr.Parser
- func (s *SubscriptlistContext) GetRuleContext() antlr.RuleContext
- func (*SubscriptlistContext) IsSubscriptlistContext()
- func (s *SubscriptlistContext) Subscript(i int) ISubscriptContext
- func (s *SubscriptlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SuiteContext
- func (s *SuiteContext) AllStmt() []IStmtContext
- func (s *SuiteContext) DEDENT() antlr.TerminalNode
- func (s *SuiteContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SuiteContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SuiteContext) GetParser() antlr.Parser
- func (s *SuiteContext) GetRuleContext() antlr.RuleContext
- func (s *SuiteContext) INDENT() antlr.TerminalNode
- func (*SuiteContext) IsSuiteContext()
- func (s *SuiteContext) LINE_BREAK() antlr.TerminalNode
- func (s *SuiteContext) Simple_stmt() ISimple_stmtContext
- func (s *SuiteContext) Stmt(i int) IStmtContext
- func (s *SuiteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TestContext
- func (s *TestContext) AllLogical_test() []ILogical_testContext
- func (s *TestContext) COLON() antlr.TerminalNode
- func (s *TestContext) ELSE() antlr.TerminalNode
- func (s *TestContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TestContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TestContext) GetParser() antlr.Parser
- func (s *TestContext) GetRuleContext() antlr.RuleContext
- func (s *TestContext) IF() antlr.TerminalNode
- func (*TestContext) IsTestContext()
- func (s *TestContext) LAMBDA() antlr.TerminalNode
- func (s *TestContext) Logical_test(i int) ILogical_testContext
- func (s *TestContext) Test() ITestContext
- func (s *TestContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TestContext) Varargslist() IVarargslistContext
- type TestlistContext
- func (s *TestlistContext) AllCOMMA() []antlr.TerminalNode
- func (s *TestlistContext) AllTest() []ITestContext
- func (s *TestlistContext) COMMA(i int) antlr.TerminalNode
- func (s *TestlistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TestlistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TestlistContext) GetParser() antlr.Parser
- func (s *TestlistContext) GetRuleContext() antlr.RuleContext
- func (*TestlistContext) IsTestlistContext()
- func (s *TestlistContext) Test(i int) ITestContext
- func (s *TestlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Testlist_compContext
- func (s *Testlist_compContext) AllCOMMA() []antlr.TerminalNode
- func (s *Testlist_compContext) AllStar_expr() []IStar_exprContext
- func (s *Testlist_compContext) AllTest() []ITestContext
- func (s *Testlist_compContext) COMMA(i int) antlr.TerminalNode
- func (s *Testlist_compContext) Comp_for() IComp_forContext
- func (s *Testlist_compContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Testlist_compContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Testlist_compContext) GetParser() antlr.Parser
- func (s *Testlist_compContext) GetRuleContext() antlr.RuleContext
- func (*Testlist_compContext) IsTestlist_compContext()
- func (s *Testlist_compContext) Star_expr(i int) IStar_exprContext
- func (s *Testlist_compContext) Test(i int) ITestContext
- func (s *Testlist_compContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Testlist_star_exprContext
- func (s *Testlist_star_exprContext) AllCOMMA() []antlr.TerminalNode
- func (s *Testlist_star_exprContext) AllStar_expr() []IStar_exprContext
- func (s *Testlist_star_exprContext) AllTest() []ITestContext
- func (s *Testlist_star_exprContext) COMMA(i int) antlr.TerminalNode
- func (s *Testlist_star_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Testlist_star_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Testlist_star_exprContext) GetParser() antlr.Parser
- func (s *Testlist_star_exprContext) GetRuleContext() antlr.RuleContext
- func (*Testlist_star_exprContext) IsTestlist_star_exprContext()
- func (s *Testlist_star_exprContext) Star_expr(i int) IStar_exprContext
- func (s *Testlist_star_exprContext) Test(i int) ITestContext
- func (s *Testlist_star_exprContext) Testlist() ITestlistContext
- func (s *Testlist_star_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TrailerContext
- func (s *TrailerContext) Arguments() IArgumentsContext
- func (s *TrailerContext) DOT() antlr.TerminalNode
- func (s *TrailerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TrailerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TrailerContext) GetParser() antlr.Parser
- func (s *TrailerContext) GetRuleContext() antlr.RuleContext
- func (*TrailerContext) IsTrailerContext()
- func (s *TrailerContext) Name() INameContext
- func (s *TrailerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Try_stmtContext
- func (s *Try_stmtContext) AllExcept_clause() []IExcept_clauseContext
- func (s *Try_stmtContext) COLON() antlr.TerminalNode
- func (s *Try_stmtContext) Else_clause() IElse_clauseContext
- func (s *Try_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Try_stmtContext) Except_clause(i int) IExcept_clauseContext
- func (s *Try_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Try_stmtContext) Finally_clause() IFinally_clauseContext
- func (s *Try_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Try_stmtContext) Suite() ISuiteContext
- func (s *Try_stmtContext) TRY() antlr.TerminalNode
- type TypedargslistContext
- func (s *TypedargslistContext) AllCOMMA() []antlr.TerminalNode
- func (s *TypedargslistContext) AllDef_parameters() []IDef_parametersContext
- func (s *TypedargslistContext) Args() IArgsContext
- func (s *TypedargslistContext) COMMA(i int) antlr.TerminalNode
- func (s *TypedargslistContext) Def_parameters(i int) IDef_parametersContext
- func (s *TypedargslistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypedargslistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypedargslistContext) GetParser() antlr.Parser
- func (s *TypedargslistContext) GetRuleContext() antlr.RuleContext
- func (*TypedargslistContext) IsTypedargslistContext()
- func (s *TypedargslistContext) Kwargs() IKwargsContext
- func (s *TypedargslistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VarargsContext
- func (s *VarargsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VarargsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VarargsContext) GetParser() antlr.Parser
- func (s *VarargsContext) GetRuleContext() antlr.RuleContext
- func (*VarargsContext) IsVarargsContext()
- func (s *VarargsContext) Name() INameContext
- func (s *VarargsContext) STAR() antlr.TerminalNode
- func (s *VarargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VarargslistContext
- func (s *VarargslistContext) AllCOMMA() []antlr.TerminalNode
- func (s *VarargslistContext) AllVardef_parameters() []IVardef_parametersContext
- func (s *VarargslistContext) COMMA(i int) antlr.TerminalNode
- func (s *VarargslistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VarargslistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VarargslistContext) GetParser() antlr.Parser
- func (s *VarargslistContext) GetRuleContext() antlr.RuleContext
- func (*VarargslistContext) IsVarargslistContext()
- func (s *VarargslistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VarargslistContext) Varargs() IVarargsContext
- func (s *VarargslistContext) Vardef_parameters(i int) IVardef_parametersContext
- func (s *VarargslistContext) Varkwargs() IVarkwargsContext
- type Vardef_parameterContext
- func (s *Vardef_parameterContext) ASSIGN() antlr.TerminalNode
- func (s *Vardef_parameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Vardef_parameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Vardef_parameterContext) GetParser() antlr.Parser
- func (s *Vardef_parameterContext) GetRuleContext() antlr.RuleContext
- func (*Vardef_parameterContext) IsVardef_parameterContext()
- func (s *Vardef_parameterContext) Name() INameContext
- func (s *Vardef_parameterContext) STAR() antlr.TerminalNode
- func (s *Vardef_parameterContext) Test() ITestContext
- func (s *Vardef_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Vardef_parametersContext
- func (s *Vardef_parametersContext) AllCOMMA() []antlr.TerminalNode
- func (s *Vardef_parametersContext) AllVardef_parameter() []IVardef_parameterContext
- func (s *Vardef_parametersContext) COMMA(i int) antlr.TerminalNode
- func (s *Vardef_parametersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Vardef_parametersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Vardef_parametersContext) GetParser() antlr.Parser
- func (s *Vardef_parametersContext) GetRuleContext() antlr.RuleContext
- func (*Vardef_parametersContext) IsVardef_parametersContext()
- func (s *Vardef_parametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Vardef_parametersContext) Vardef_parameter(i int) IVardef_parameterContext
- type VarkwargsContext
- func (s *VarkwargsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VarkwargsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VarkwargsContext) GetParser() antlr.Parser
- func (s *VarkwargsContext) GetRuleContext() antlr.RuleContext
- func (*VarkwargsContext) IsVarkwargsContext()
- func (s *VarkwargsContext) Name() INameContext
- func (s *VarkwargsContext) POWER() antlr.TerminalNode
- func (s *VarkwargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type While_stmtContext
- func (s *While_stmtContext) COLON() antlr.TerminalNode
- func (s *While_stmtContext) Else_clause() IElse_clauseContext
- func (s *While_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *While_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *While_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *While_stmtContext) Suite() ISuiteContext
- func (s *While_stmtContext) Test() ITestContext
- func (s *While_stmtContext) WHILE() antlr.TerminalNode
- type With_itemContext
- func (s *With_itemContext) AS() antlr.TerminalNode
- func (s *With_itemContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *With_itemContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *With_itemContext) Expr() IExprContext
- func (s *With_itemContext) GetParser() antlr.Parser
- func (s *With_itemContext) GetRuleContext() antlr.RuleContext
- func (*With_itemContext) IsWith_itemContext()
- func (s *With_itemContext) Test() ITestContext
- func (s *With_itemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type With_stmtContext
- func (s *With_stmtContext) ASYNC() antlr.TerminalNode
- func (s *With_stmtContext) AllCOMMA() []antlr.TerminalNode
- func (s *With_stmtContext) AllWith_item() []IWith_itemContext
- func (s *With_stmtContext) COLON() antlr.TerminalNode
- func (s *With_stmtContext) COMMA(i int) antlr.TerminalNode
- func (s *With_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *With_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *With_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *With_stmtContext) Suite() ISuiteContext
- func (s *With_stmtContext) WITH() antlr.TerminalNode
- func (s *With_stmtContext) With_item(i int) IWith_itemContext
- type Yield_argContext
- func (s *Yield_argContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Yield_argContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Yield_argContext) FROM() antlr.TerminalNode
- func (s *Yield_argContext) GetParser() antlr.Parser
- func (s *Yield_argContext) GetRuleContext() antlr.RuleContext
- func (*Yield_argContext) IsYield_argContext()
- func (s *Yield_argContext) Test() ITestContext
- func (s *Yield_argContext) Testlist() ITestlistContext
- func (s *Yield_argContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Yield_exprContext
- func (s *Yield_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Yield_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Yield_exprContext) GetParser() antlr.Parser
- func (s *Yield_exprContext) GetRuleContext() antlr.RuleContext
- func (*Yield_exprContext) IsYield_exprContext()
- func (s *Yield_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Yield_exprContext) YIELD() antlr.TerminalNode
- func (s *Yield_exprContext) Yield_arg() IYield_argContext
- type Yield_stmtContext
Constants ¶
const ( PythonLexerINDENT = 1 PythonLexerDEDENT = 2 PythonLexerLINE_BREAK = 3 PythonLexerDEF = 4 PythonLexerRETURN = 5 PythonLexerRAISE = 6 PythonLexerFROM = 7 PythonLexerIMPORT = 8 PythonLexerNONLOCAL = 9 PythonLexerAS = 10 PythonLexerGLOBAL = 11 PythonLexerASSERT = 12 PythonLexerIF = 13 PythonLexerELIF = 14 PythonLexerELSE = 15 PythonLexerWHILE = 16 PythonLexerFOR = 17 PythonLexerIN = 18 PythonLexerTRY = 19 PythonLexerNONE = 20 PythonLexerFINALLY = 21 PythonLexerWITH = 22 PythonLexerEXCEPT = 23 PythonLexerLAMBDA = 24 PythonLexerOR = 25 PythonLexerAND = 26 PythonLexerNOT = 27 PythonLexerIS = 28 PythonLexerCLASS = 29 PythonLexerYIELD = 30 PythonLexerDEL = 31 PythonLexerPASS = 32 PythonLexerCONTINUE = 33 PythonLexerBREAK = 34 PythonLexerASYNC = 35 PythonLexerAWAIT = 36 PythonLexerPRINT = 37 PythonLexerEXEC = 38 PythonLexerTRUE = 39 PythonLexerFALSE = 40 PythonLexerDOT = 41 PythonLexerELLIPSIS = 42 PythonLexerREVERSE_QUOTE = 43 PythonLexerSTAR = 44 PythonLexerCOMMA = 45 PythonLexerCOLON = 46 PythonLexerSEMI_COLON = 47 PythonLexerPOWER = 48 PythonLexerASSIGN = 49 PythonLexerOR_OP = 50 PythonLexerXOR = 51 PythonLexerAND_OP = 52 PythonLexerLEFT_SHIFT = 53 PythonLexerRIGHT_SHIFT = 54 PythonLexerADD = 55 PythonLexerMINUS = 56 PythonLexerDIV = 57 PythonLexerMOD = 58 PythonLexerIDIV = 59 PythonLexerNOT_OP = 60 PythonLexerLESS_THAN = 61 PythonLexerGREATER_THAN = 62 PythonLexerEQUALS = 63 PythonLexerGT_EQ = 64 PythonLexerLT_EQ = 65 PythonLexerNOT_EQ_1 = 66 PythonLexerNOT_EQ_2 = 67 PythonLexerAT = 68 PythonLexerARROW = 69 PythonLexerADD_ASSIGN = 70 PythonLexerSUB_ASSIGN = 71 PythonLexerMULT_ASSIGN = 72 PythonLexerAT_ASSIGN = 73 PythonLexerDIV_ASSIGN = 74 PythonLexerMOD_ASSIGN = 75 PythonLexerAND_ASSIGN = 76 PythonLexerOR_ASSIGN = 77 PythonLexerXOR_ASSIGN = 78 PythonLexerLEFT_SHIFT_ASSIGN = 79 PythonLexerRIGHT_SHIFT_ASSIGN = 80 PythonLexerPOWER_ASSIGN = 81 PythonLexerIDIV_ASSIGN = 82 PythonLexerSTRING = 83 PythonLexerDECIMAL_INTEGER = 84 PythonLexerOCT_INTEGER = 85 PythonLexerHEX_INTEGER = 86 PythonLexerBIN_INTEGER = 87 PythonLexerIMAG_NUMBER = 88 PythonLexerFLOAT_NUMBER = 89 PythonLexerOPEN_PAREN = 90 PythonLexerCLOSE_PAREN = 91 PythonLexerOPEN_BRACE = 92 PythonLexerCLOSE_BRACE = 93 PythonLexerOPEN_BRACKET = 94 PythonLexerCLOSE_BRACKET = 95 PythonLexerNAME = 96 PythonLexerLINE_JOIN = 97 PythonLexerNEWLINE = 98 PythonLexerWS = 99 PythonLexerCOMMENT = 100 )
PythonLexer tokens.
const ( PythonParserEOF = antlr.TokenEOF PythonParserINDENT = 1 PythonParserDEDENT = 2 PythonParserLINE_BREAK = 3 PythonParserDEF = 4 PythonParserRETURN = 5 PythonParserRAISE = 6 PythonParserFROM = 7 PythonParserIMPORT = 8 PythonParserNONLOCAL = 9 PythonParserAS = 10 PythonParserGLOBAL = 11 PythonParserASSERT = 12 PythonParserIF = 13 PythonParserELIF = 14 PythonParserELSE = 15 PythonParserWHILE = 16 PythonParserFOR = 17 PythonParserIN = 18 PythonParserTRY = 19 PythonParserNONE = 20 PythonParserFINALLY = 21 PythonParserWITH = 22 PythonParserEXCEPT = 23 PythonParserLAMBDA = 24 PythonParserOR = 25 PythonParserAND = 26 PythonParserNOT = 27 PythonParserIS = 28 PythonParserCLASS = 29 PythonParserYIELD = 30 PythonParserDEL = 31 PythonParserPASS = 32 PythonParserCONTINUE = 33 PythonParserBREAK = 34 PythonParserASYNC = 35 PythonParserAWAIT = 36 PythonParserPRINT = 37 PythonParserEXEC = 38 PythonParserTRUE = 39 PythonParserFALSE = 40 PythonParserDOT = 41 PythonParserELLIPSIS = 42 PythonParserREVERSE_QUOTE = 43 PythonParserSTAR = 44 PythonParserCOMMA = 45 PythonParserCOLON = 46 PythonParserSEMI_COLON = 47 PythonParserPOWER = 48 PythonParserASSIGN = 49 PythonParserOR_OP = 50 PythonParserXOR = 51 PythonParserAND_OP = 52 PythonParserLEFT_SHIFT = 53 PythonParserRIGHT_SHIFT = 54 PythonParserADD = 55 PythonParserMINUS = 56 PythonParserDIV = 57 PythonParserMOD = 58 PythonParserIDIV = 59 PythonParserNOT_OP = 60 PythonParserLESS_THAN = 61 PythonParserGREATER_THAN = 62 PythonParserEQUALS = 63 PythonParserGT_EQ = 64 PythonParserLT_EQ = 65 PythonParserNOT_EQ_1 = 66 PythonParserNOT_EQ_2 = 67 PythonParserAT = 68 PythonParserARROW = 69 PythonParserADD_ASSIGN = 70 PythonParserSUB_ASSIGN = 71 PythonParserMULT_ASSIGN = 72 PythonParserAT_ASSIGN = 73 PythonParserDIV_ASSIGN = 74 PythonParserMOD_ASSIGN = 75 PythonParserAND_ASSIGN = 76 PythonParserOR_ASSIGN = 77 PythonParserXOR_ASSIGN = 78 PythonParserLEFT_SHIFT_ASSIGN = 79 PythonParserRIGHT_SHIFT_ASSIGN = 80 PythonParserPOWER_ASSIGN = 81 PythonParserIDIV_ASSIGN = 82 PythonParserSTRING = 83 PythonParserDECIMAL_INTEGER = 84 PythonParserOCT_INTEGER = 85 PythonParserHEX_INTEGER = 86 PythonParserBIN_INTEGER = 87 PythonParserIMAG_NUMBER = 88 PythonParserFLOAT_NUMBER = 89 PythonParserOPEN_PAREN = 90 PythonParserCLOSE_PAREN = 91 PythonParserOPEN_BRACE = 92 PythonParserCLOSE_BRACE = 93 PythonParserOPEN_BRACKET = 94 PythonParserCLOSE_BRACKET = 95 PythonParserNAME = 96 PythonParserLINE_JOIN = 97 PythonParserNEWLINE = 98 PythonParserWS = 99 PythonParserCOMMENT = 100 )
PythonParser tokens.
const ( PythonParserRULE_root = 0 PythonParserRULE_single_input = 1 PythonParserRULE_file_input = 2 PythonParserRULE_eval_input = 3 PythonParserRULE_stmt = 4 PythonParserRULE_compound_stmt = 5 PythonParserRULE_suite = 6 PythonParserRULE_decorator = 7 PythonParserRULE_elif_clause = 8 PythonParserRULE_else_clause = 9 PythonParserRULE_finally_clause = 10 PythonParserRULE_with_item = 11 PythonParserRULE_except_clause = 12 PythonParserRULE_classdef = 13 PythonParserRULE_funcdef = 14 PythonParserRULE_typedargslist = 15 PythonParserRULE_args = 16 PythonParserRULE_kwargs = 17 PythonParserRULE_def_parameters = 18 PythonParserRULE_def_parameter = 19 PythonParserRULE_named_parameter = 20 PythonParserRULE_simple_stmt = 21 PythonParserRULE_small_stmt = 22 PythonParserRULE_from_stmt_source = 23 PythonParserRULE_from_stmt_as_names = 24 PythonParserRULE_testlist_star_expr = 25 PythonParserRULE_star_expr = 26 PythonParserRULE_assign_part = 27 PythonParserRULE_exprlist = 28 PythonParserRULE_import_as_names = 29 PythonParserRULE_import_as_name = 30 PythonParserRULE_dotted_as_names = 31 PythonParserRULE_dotted_as_name = 32 PythonParserRULE_test = 33 PythonParserRULE_varargslist = 34 PythonParserRULE_vardef_parameters = 35 PythonParserRULE_vardef_parameter = 36 PythonParserRULE_varargs = 37 PythonParserRULE_varkwargs = 38 PythonParserRULE_logical_test = 39 PythonParserRULE_comparison = 40 PythonParserRULE_expr = 41 PythonParserRULE_atom = 42 PythonParserRULE_dictorsetmaker = 43 PythonParserRULE_testlist_comp = 44 PythonParserRULE_testlist = 45 PythonParserRULE_dotted_name = 46 PythonParserRULE_name = 47 PythonParserRULE_number = 48 PythonParserRULE_integer = 49 PythonParserRULE_yield_expr = 50 PythonParserRULE_yield_arg = 51 PythonParserRULE_trailer = 52 PythonParserRULE_arguments = 53 PythonParserRULE_arglist = 54 PythonParserRULE_argument = 55 PythonParserRULE_subscriptlist = 56 PythonParserRULE_subscript = 57 PythonParserRULE_sliceop = 58 PythonParserRULE_comp_for = 59 PythonParserRULE_comp_iter = 60 )
PythonParser rules.
Variables ¶
var ( Autodetect = 0 Python2 = 2 Python3 = 3 )
var TabSize = 8
Functions ¶
This section is empty.
Types ¶
type ArglistContext ¶
type ArglistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArglistContext ¶
func NewArglistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArglistContext
func NewEmptyArglistContext ¶
func NewEmptyArglistContext() *ArglistContext
func (*ArglistContext) AllArgument ¶
func (s *ArglistContext) AllArgument() []IArgumentContext
func (*ArglistContext) AllCOMMA ¶
func (s *ArglistContext) AllCOMMA() []antlr.TerminalNode
func (*ArglistContext) Argument ¶
func (s *ArglistContext) Argument(i int) IArgumentContext
func (*ArglistContext) COMMA ¶
func (s *ArglistContext) COMMA(i int) antlr.TerminalNode
func (*ArglistContext) EnterRule ¶
func (s *ArglistContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArglistContext) ExitRule ¶
func (s *ArglistContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArglistContext) GetParser ¶
func (s *ArglistContext) GetParser() antlr.Parser
func (*ArglistContext) GetRuleContext ¶
func (s *ArglistContext) GetRuleContext() antlr.RuleContext
func (*ArglistContext) IsArglistContext ¶
func (*ArglistContext) IsArglistContext()
func (*ArglistContext) ToStringTree ¶
func (s *ArglistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgsContext ¶
type ArgsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgsContext ¶
func NewArgsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgsContext
func NewEmptyArgsContext ¶
func NewEmptyArgsContext() *ArgsContext
func (*ArgsContext) EnterRule ¶
func (s *ArgsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgsContext) ExitRule ¶
func (s *ArgsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgsContext) GetParser ¶
func (s *ArgsContext) GetParser() antlr.Parser
func (*ArgsContext) GetRuleContext ¶
func (s *ArgsContext) GetRuleContext() antlr.RuleContext
func (*ArgsContext) IsArgsContext ¶
func (*ArgsContext) IsArgsContext()
func (*ArgsContext) Named_parameter ¶
func (s *ArgsContext) Named_parameter() INamed_parameterContext
func (*ArgsContext) STAR ¶
func (s *ArgsContext) STAR() antlr.TerminalNode
func (*ArgsContext) ToStringTree ¶
func (s *ArgsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentContext ¶
type ArgumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentContext ¶
func NewArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentContext
func NewEmptyArgumentContext ¶
func NewEmptyArgumentContext() *ArgumentContext
func (*ArgumentContext) ASSIGN ¶
func (s *ArgumentContext) ASSIGN() antlr.TerminalNode
func (*ArgumentContext) AllTest ¶
func (s *ArgumentContext) AllTest() []ITestContext
func (*ArgumentContext) Comp_for ¶
func (s *ArgumentContext) Comp_for() IComp_forContext
func (*ArgumentContext) EnterRule ¶
func (s *ArgumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgumentContext) ExitRule ¶
func (s *ArgumentContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgumentContext) GetParser ¶
func (s *ArgumentContext) GetParser() antlr.Parser
func (*ArgumentContext) GetRuleContext ¶
func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
func (*ArgumentContext) IsArgumentContext ¶
func (*ArgumentContext) IsArgumentContext()
func (*ArgumentContext) POWER ¶
func (s *ArgumentContext) POWER() antlr.TerminalNode
func (*ArgumentContext) STAR ¶
func (s *ArgumentContext) STAR() antlr.TerminalNode
func (*ArgumentContext) Test ¶
func (s *ArgumentContext) Test(i int) ITestContext
func (*ArgumentContext) ToStringTree ¶
func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentsContext ¶
type ArgumentsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentsContext ¶
func NewArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentsContext
func NewEmptyArgumentsContext ¶
func NewEmptyArgumentsContext() *ArgumentsContext
func (*ArgumentsContext) Arglist ¶
func (s *ArgumentsContext) Arglist() IArglistContext
func (*ArgumentsContext) CLOSE_BRACKET ¶
func (s *ArgumentsContext) CLOSE_BRACKET() antlr.TerminalNode
func (*ArgumentsContext) CLOSE_PAREN ¶
func (s *ArgumentsContext) CLOSE_PAREN() antlr.TerminalNode
func (*ArgumentsContext) EnterRule ¶
func (s *ArgumentsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgumentsContext) ExitRule ¶
func (s *ArgumentsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgumentsContext) GetParser ¶
func (s *ArgumentsContext) GetParser() antlr.Parser
func (*ArgumentsContext) GetRuleContext ¶
func (s *ArgumentsContext) GetRuleContext() antlr.RuleContext
func (*ArgumentsContext) IsArgumentsContext ¶
func (*ArgumentsContext) IsArgumentsContext()
func (*ArgumentsContext) OPEN_BRACKET ¶
func (s *ArgumentsContext) OPEN_BRACKET() antlr.TerminalNode
func (*ArgumentsContext) OPEN_PAREN ¶
func (s *ArgumentsContext) OPEN_PAREN() antlr.TerminalNode
func (*ArgumentsContext) Subscriptlist ¶
func (s *ArgumentsContext) Subscriptlist() ISubscriptlistContext
func (*ArgumentsContext) ToStringTree ¶
func (s *ArgumentsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Assert_stmtContext ¶
type Assert_stmtContext struct {
*Small_stmtContext
}
func NewAssert_stmtContext ¶
func NewAssert_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Assert_stmtContext
func (*Assert_stmtContext) ASSERT ¶
func (s *Assert_stmtContext) ASSERT() antlr.TerminalNode
func (*Assert_stmtContext) AllTest ¶
func (s *Assert_stmtContext) AllTest() []ITestContext
func (*Assert_stmtContext) COMMA ¶
func (s *Assert_stmtContext) COMMA() antlr.TerminalNode
func (*Assert_stmtContext) EnterRule ¶
func (s *Assert_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assert_stmtContext) ExitRule ¶
func (s *Assert_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assert_stmtContext) GetRuleContext ¶
func (s *Assert_stmtContext) GetRuleContext() antlr.RuleContext
func (*Assert_stmtContext) Test ¶
func (s *Assert_stmtContext) Test(i int) ITestContext
type Assign_partContext ¶
type Assign_partContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssign_partContext ¶
func NewAssign_partContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assign_partContext
func NewEmptyAssign_partContext ¶
func NewEmptyAssign_partContext() *Assign_partContext
func (*Assign_partContext) ADD_ASSIGN ¶
func (s *Assign_partContext) ADD_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) AND_ASSIGN ¶
func (s *Assign_partContext) AND_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) ASSIGN ¶
func (s *Assign_partContext) ASSIGN(i int) antlr.TerminalNode
func (*Assign_partContext) AT_ASSIGN ¶
func (s *Assign_partContext) AT_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) AllASSIGN ¶
func (s *Assign_partContext) AllASSIGN() []antlr.TerminalNode
func (*Assign_partContext) AllTestlist_star_expr ¶
func (s *Assign_partContext) AllTestlist_star_expr() []ITestlist_star_exprContext
func (*Assign_partContext) COLON ¶
func (s *Assign_partContext) COLON() antlr.TerminalNode
func (*Assign_partContext) DIV_ASSIGN ¶
func (s *Assign_partContext) DIV_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) EnterRule ¶
func (s *Assign_partContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assign_partContext) ExitRule ¶
func (s *Assign_partContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assign_partContext) GetOp ¶
func (s *Assign_partContext) GetOp() antlr.Token
func (*Assign_partContext) GetParser ¶
func (s *Assign_partContext) GetParser() antlr.Parser
func (*Assign_partContext) GetRuleContext ¶
func (s *Assign_partContext) GetRuleContext() antlr.RuleContext
func (*Assign_partContext) IDIV_ASSIGN ¶
func (s *Assign_partContext) IDIV_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) IsAssign_partContext ¶
func (*Assign_partContext) IsAssign_partContext()
func (*Assign_partContext) LEFT_SHIFT_ASSIGN ¶
func (s *Assign_partContext) LEFT_SHIFT_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) MOD_ASSIGN ¶
func (s *Assign_partContext) MOD_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) MULT_ASSIGN ¶
func (s *Assign_partContext) MULT_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) OR_ASSIGN ¶
func (s *Assign_partContext) OR_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) POWER_ASSIGN ¶
func (s *Assign_partContext) POWER_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) RIGHT_SHIFT_ASSIGN ¶
func (s *Assign_partContext) RIGHT_SHIFT_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) SUB_ASSIGN ¶
func (s *Assign_partContext) SUB_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) SetOp ¶
func (s *Assign_partContext) SetOp(v antlr.Token)
func (*Assign_partContext) Test ¶
func (s *Assign_partContext) Test() ITestContext
func (*Assign_partContext) Testlist ¶
func (s *Assign_partContext) Testlist() ITestlistContext
func (*Assign_partContext) Testlist_star_expr ¶
func (s *Assign_partContext) Testlist_star_expr(i int) ITestlist_star_exprContext
func (*Assign_partContext) ToStringTree ¶
func (s *Assign_partContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Assign_partContext) XOR_ASSIGN ¶
func (s *Assign_partContext) XOR_ASSIGN() antlr.TerminalNode
func (*Assign_partContext) Yield_expr ¶
func (s *Assign_partContext) Yield_expr() IYield_exprContext
type AtomContext ¶
type AtomContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomContext ¶
func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext
func NewEmptyAtomContext ¶
func NewEmptyAtomContext() *AtomContext
func (*AtomContext) AllREVERSE_QUOTE ¶
func (s *AtomContext) AllREVERSE_QUOTE() []antlr.TerminalNode
func (*AtomContext) AllSTRING ¶
func (s *AtomContext) AllSTRING() []antlr.TerminalNode
func (*AtomContext) CLOSE_BRACE ¶
func (s *AtomContext) CLOSE_BRACE() antlr.TerminalNode
func (*AtomContext) CLOSE_BRACKET ¶
func (s *AtomContext) CLOSE_BRACKET() antlr.TerminalNode
func (*AtomContext) CLOSE_PAREN ¶
func (s *AtomContext) CLOSE_PAREN() antlr.TerminalNode
func (*AtomContext) COMMA ¶
func (s *AtomContext) COMMA() antlr.TerminalNode
func (*AtomContext) Dictorsetmaker ¶
func (s *AtomContext) Dictorsetmaker() IDictorsetmakerContext
func (*AtomContext) ELLIPSIS ¶
func (s *AtomContext) ELLIPSIS() antlr.TerminalNode
func (*AtomContext) EXEC ¶
func (s *AtomContext) EXEC() antlr.TerminalNode
func (*AtomContext) EnterRule ¶
func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomContext) ExitRule ¶
func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomContext) GetParser ¶
func (s *AtomContext) GetParser() antlr.Parser
func (*AtomContext) GetRuleContext ¶
func (s *AtomContext) GetRuleContext() antlr.RuleContext
func (*AtomContext) IsAtomContext ¶
func (*AtomContext) IsAtomContext()
func (*AtomContext) MINUS ¶
func (s *AtomContext) MINUS() antlr.TerminalNode
func (*AtomContext) NONE ¶
func (s *AtomContext) NONE() antlr.TerminalNode
func (*AtomContext) Name ¶
func (s *AtomContext) Name() INameContext
func (*AtomContext) Number ¶
func (s *AtomContext) Number() INumberContext
func (*AtomContext) OPEN_BRACE ¶
func (s *AtomContext) OPEN_BRACE() antlr.TerminalNode
func (*AtomContext) OPEN_BRACKET ¶
func (s *AtomContext) OPEN_BRACKET() antlr.TerminalNode
func (*AtomContext) OPEN_PAREN ¶
func (s *AtomContext) OPEN_PAREN() antlr.TerminalNode
func (*AtomContext) PRINT ¶
func (s *AtomContext) PRINT() antlr.TerminalNode
func (*AtomContext) REVERSE_QUOTE ¶
func (s *AtomContext) REVERSE_QUOTE(i int) antlr.TerminalNode
func (*AtomContext) STRING ¶
func (s *AtomContext) STRING(i int) antlr.TerminalNode
func (*AtomContext) Testlist ¶
func (s *AtomContext) Testlist() ITestlistContext
func (*AtomContext) Testlist_comp ¶
func (s *AtomContext) Testlist_comp() ITestlist_compContext
func (*AtomContext) ToStringTree ¶
func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AtomContext) Yield_expr ¶
func (s *AtomContext) Yield_expr() IYield_exprContext
type BasePythonParserListener ¶
type BasePythonParserListener struct{}
BasePythonParserListener is a complete listener for a parse tree produced by PythonParser.
func (*BasePythonParserListener) EnterArglist ¶
func (s *BasePythonParserListener) EnterArglist(ctx *ArglistContext)
EnterArglist is called when production arglist is entered.
func (*BasePythonParserListener) EnterArgs ¶
func (s *BasePythonParserListener) EnterArgs(ctx *ArgsContext)
EnterArgs is called when production args is entered.
func (*BasePythonParserListener) EnterArgument ¶
func (s *BasePythonParserListener) EnterArgument(ctx *ArgumentContext)
EnterArgument is called when production argument is entered.
func (*BasePythonParserListener) EnterArguments ¶
func (s *BasePythonParserListener) EnterArguments(ctx *ArgumentsContext)
EnterArguments is called when production arguments is entered.
func (*BasePythonParserListener) EnterAssert_stmt ¶
func (s *BasePythonParserListener) EnterAssert_stmt(ctx *Assert_stmtContext)
EnterAssert_stmt is called when production assert_stmt is entered.
func (*BasePythonParserListener) EnterAssign_part ¶
func (s *BasePythonParserListener) EnterAssign_part(ctx *Assign_partContext)
EnterAssign_part is called when production assign_part is entered.
func (*BasePythonParserListener) EnterAtom ¶
func (s *BasePythonParserListener) EnterAtom(ctx *AtomContext)
EnterAtom is called when production atom is entered.
func (*BasePythonParserListener) EnterBreak_stmt ¶
func (s *BasePythonParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
EnterBreak_stmt is called when production break_stmt is entered.
func (*BasePythonParserListener) EnterClass_or_func_def_stmt ¶
func (s *BasePythonParserListener) EnterClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
EnterClass_or_func_def_stmt is called when production class_or_func_def_stmt is entered.
func (*BasePythonParserListener) EnterClassdef ¶
func (s *BasePythonParserListener) EnterClassdef(ctx *ClassdefContext)
EnterClassdef is called when production classdef is entered.
func (*BasePythonParserListener) EnterComp_for ¶
func (s *BasePythonParserListener) EnterComp_for(ctx *Comp_forContext)
EnterComp_for is called when production comp_for is entered.
func (*BasePythonParserListener) EnterComp_iter ¶
func (s *BasePythonParserListener) EnterComp_iter(ctx *Comp_iterContext)
EnterComp_iter is called when production comp_iter is entered.
func (*BasePythonParserListener) EnterComparison ¶
func (s *BasePythonParserListener) EnterComparison(ctx *ComparisonContext)
EnterComparison is called when production comparison is entered.
func (*BasePythonParserListener) EnterContinue_stmt ¶
func (s *BasePythonParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
EnterContinue_stmt is called when production continue_stmt is entered.
func (*BasePythonParserListener) EnterDecorator ¶
func (s *BasePythonParserListener) EnterDecorator(ctx *DecoratorContext)
EnterDecorator is called when production decorator is entered.
func (*BasePythonParserListener) EnterDef_parameter ¶
func (s *BasePythonParserListener) EnterDef_parameter(ctx *Def_parameterContext)
EnterDef_parameter is called when production def_parameter is entered.
func (*BasePythonParserListener) EnterDef_parameters ¶
func (s *BasePythonParserListener) EnterDef_parameters(ctx *Def_parametersContext)
EnterDef_parameters is called when production def_parameters is entered.
func (*BasePythonParserListener) EnterDel_stmt ¶
func (s *BasePythonParserListener) EnterDel_stmt(ctx *Del_stmtContext)
EnterDel_stmt is called when production del_stmt is entered.
func (*BasePythonParserListener) EnterDictorsetmaker ¶
func (s *BasePythonParserListener) EnterDictorsetmaker(ctx *DictorsetmakerContext)
EnterDictorsetmaker is called when production dictorsetmaker is entered.
func (*BasePythonParserListener) EnterDotted_as_name ¶
func (s *BasePythonParserListener) EnterDotted_as_name(ctx *Dotted_as_nameContext)
EnterDotted_as_name is called when production dotted_as_name is entered.
func (*BasePythonParserListener) EnterDotted_as_names ¶
func (s *BasePythonParserListener) EnterDotted_as_names(ctx *Dotted_as_namesContext)
EnterDotted_as_names is called when production dotted_as_names is entered.
func (*BasePythonParserListener) EnterDotted_name ¶
func (s *BasePythonParserListener) EnterDotted_name(ctx *Dotted_nameContext)
EnterDotted_name is called when production dotted_name is entered.
func (*BasePythonParserListener) EnterElif_clause ¶
func (s *BasePythonParserListener) EnterElif_clause(ctx *Elif_clauseContext)
EnterElif_clause is called when production elif_clause is entered.
func (*BasePythonParserListener) EnterElse_clause ¶
func (s *BasePythonParserListener) EnterElse_clause(ctx *Else_clauseContext)
EnterElse_clause is called when production else_clause is entered.
func (*BasePythonParserListener) EnterEval_input ¶
func (s *BasePythonParserListener) EnterEval_input(ctx *Eval_inputContext)
EnterEval_input is called when production eval_input is entered.
func (*BasePythonParserListener) EnterEveryRule ¶
func (s *BasePythonParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasePythonParserListener) EnterExcept_clause ¶
func (s *BasePythonParserListener) EnterExcept_clause(ctx *Except_clauseContext)
EnterExcept_clause is called when production except_clause is entered.
func (*BasePythonParserListener) EnterExec_stmt ¶
func (s *BasePythonParserListener) EnterExec_stmt(ctx *Exec_stmtContext)
EnterExec_stmt is called when production exec_stmt is entered.
func (*BasePythonParserListener) EnterExpr ¶
func (s *BasePythonParserListener) EnterExpr(ctx *ExprContext)
EnterExpr is called when production expr is entered.
func (*BasePythonParserListener) EnterExpr_stmt ¶
func (s *BasePythonParserListener) EnterExpr_stmt(ctx *Expr_stmtContext)
EnterExpr_stmt is called when production expr_stmt is entered.
func (*BasePythonParserListener) EnterExprlist ¶
func (s *BasePythonParserListener) EnterExprlist(ctx *ExprlistContext)
EnterExprlist is called when production exprlist is entered.
func (*BasePythonParserListener) EnterFile_input ¶
func (s *BasePythonParserListener) EnterFile_input(ctx *File_inputContext)
EnterFile_input is called when production file_input is entered.
func (*BasePythonParserListener) EnterFinally_clause ¶
func (s *BasePythonParserListener) EnterFinally_clause(ctx *Finally_clauseContext)
EnterFinally_clause is called when production finally_clause is entered.
func (*BasePythonParserListener) EnterFor_stmt ¶
func (s *BasePythonParserListener) EnterFor_stmt(ctx *For_stmtContext)
EnterFor_stmt is called when production for_stmt is entered.
func (*BasePythonParserListener) EnterFrom_stmt ¶
func (s *BasePythonParserListener) EnterFrom_stmt(ctx *From_stmtContext)
EnterFrom_stmt is called when production from_stmt is entered.
func (*BasePythonParserListener) EnterFrom_stmt_as_names ¶
func (s *BasePythonParserListener) EnterFrom_stmt_as_names(ctx *From_stmt_as_namesContext)
EnterFrom_stmt_as_names is called when production from_stmt_as_names is entered.
func (*BasePythonParserListener) EnterFrom_stmt_source ¶
func (s *BasePythonParserListener) EnterFrom_stmt_source(ctx *From_stmt_sourceContext)
EnterFrom_stmt_source is called when production from_stmt_source is entered.
func (*BasePythonParserListener) EnterFuncdef ¶
func (s *BasePythonParserListener) EnterFuncdef(ctx *FuncdefContext)
EnterFuncdef is called when production funcdef is entered.
func (*BasePythonParserListener) EnterGlobal_stmt ¶
func (s *BasePythonParserListener) EnterGlobal_stmt(ctx *Global_stmtContext)
EnterGlobal_stmt is called when production global_stmt is entered.
func (*BasePythonParserListener) EnterIf_stmt ¶
func (s *BasePythonParserListener) EnterIf_stmt(ctx *If_stmtContext)
EnterIf_stmt is called when production if_stmt is entered.
func (*BasePythonParserListener) EnterImport_as_name ¶
func (s *BasePythonParserListener) EnterImport_as_name(ctx *Import_as_nameContext)
EnterImport_as_name is called when production import_as_name is entered.
func (*BasePythonParserListener) EnterImport_as_names ¶
func (s *BasePythonParserListener) EnterImport_as_names(ctx *Import_as_namesContext)
EnterImport_as_names is called when production import_as_names is entered.
func (*BasePythonParserListener) EnterImport_stmt ¶
func (s *BasePythonParserListener) EnterImport_stmt(ctx *Import_stmtContext)
EnterImport_stmt is called when production import_stmt is entered.
func (*BasePythonParserListener) EnterInteger ¶
func (s *BasePythonParserListener) EnterInteger(ctx *IntegerContext)
EnterInteger is called when production integer is entered.
func (*BasePythonParserListener) EnterKwargs ¶
func (s *BasePythonParserListener) EnterKwargs(ctx *KwargsContext)
EnterKwargs is called when production kwargs is entered.
func (*BasePythonParserListener) EnterLogical_test ¶
func (s *BasePythonParserListener) EnterLogical_test(ctx *Logical_testContext)
EnterLogical_test is called when production logical_test is entered.
func (*BasePythonParserListener) EnterName ¶
func (s *BasePythonParserListener) EnterName(ctx *NameContext)
EnterName is called when production name is entered.
func (*BasePythonParserListener) EnterNamed_parameter ¶
func (s *BasePythonParserListener) EnterNamed_parameter(ctx *Named_parameterContext)
EnterNamed_parameter is called when production named_parameter is entered.
func (*BasePythonParserListener) EnterNonlocal_stmt ¶
func (s *BasePythonParserListener) EnterNonlocal_stmt(ctx *Nonlocal_stmtContext)
EnterNonlocal_stmt is called when production nonlocal_stmt is entered.
func (*BasePythonParserListener) EnterNumber ¶
func (s *BasePythonParserListener) EnterNumber(ctx *NumberContext)
EnterNumber is called when production number is entered.
func (*BasePythonParserListener) EnterPass_stmt ¶
func (s *BasePythonParserListener) EnterPass_stmt(ctx *Pass_stmtContext)
EnterPass_stmt is called when production pass_stmt is entered.
func (*BasePythonParserListener) EnterPrint_stmt ¶
func (s *BasePythonParserListener) EnterPrint_stmt(ctx *Print_stmtContext)
EnterPrint_stmt is called when production print_stmt is entered.
func (*BasePythonParserListener) EnterRaise_stmt ¶
func (s *BasePythonParserListener) EnterRaise_stmt(ctx *Raise_stmtContext)
EnterRaise_stmt is called when production raise_stmt is entered.
func (*BasePythonParserListener) EnterReturn_stmt ¶
func (s *BasePythonParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
EnterReturn_stmt is called when production return_stmt is entered.
func (*BasePythonParserListener) EnterRoot ¶
func (s *BasePythonParserListener) EnterRoot(ctx *RootContext)
EnterRoot is called when production root is entered.
func (*BasePythonParserListener) EnterSimple_stmt ¶
func (s *BasePythonParserListener) EnterSimple_stmt(ctx *Simple_stmtContext)
EnterSimple_stmt is called when production simple_stmt is entered.
func (*BasePythonParserListener) EnterSingle_input ¶
func (s *BasePythonParserListener) EnterSingle_input(ctx *Single_inputContext)
EnterSingle_input is called when production single_input is entered.
func (*BasePythonParserListener) EnterSliceop ¶
func (s *BasePythonParserListener) EnterSliceop(ctx *SliceopContext)
EnterSliceop is called when production sliceop is entered.
func (*BasePythonParserListener) EnterStar_expr ¶
func (s *BasePythonParserListener) EnterStar_expr(ctx *Star_exprContext)
EnterStar_expr is called when production star_expr is entered.
func (*BasePythonParserListener) EnterStmt ¶
func (s *BasePythonParserListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BasePythonParserListener) EnterSubscript ¶
func (s *BasePythonParserListener) EnterSubscript(ctx *SubscriptContext)
EnterSubscript is called when production subscript is entered.
func (*BasePythonParserListener) EnterSubscriptlist ¶
func (s *BasePythonParserListener) EnterSubscriptlist(ctx *SubscriptlistContext)
EnterSubscriptlist is called when production subscriptlist is entered.
func (*BasePythonParserListener) EnterSuite ¶
func (s *BasePythonParserListener) EnterSuite(ctx *SuiteContext)
EnterSuite is called when production suite is entered.
func (*BasePythonParserListener) EnterTest ¶
func (s *BasePythonParserListener) EnterTest(ctx *TestContext)
EnterTest is called when production test is entered.
func (*BasePythonParserListener) EnterTestlist ¶
func (s *BasePythonParserListener) EnterTestlist(ctx *TestlistContext)
EnterTestlist is called when production testlist is entered.
func (*BasePythonParserListener) EnterTestlist_comp ¶
func (s *BasePythonParserListener) EnterTestlist_comp(ctx *Testlist_compContext)
EnterTestlist_comp is called when production testlist_comp is entered.
func (*BasePythonParserListener) EnterTestlist_star_expr ¶
func (s *BasePythonParserListener) EnterTestlist_star_expr(ctx *Testlist_star_exprContext)
EnterTestlist_star_expr is called when production testlist_star_expr is entered.
func (*BasePythonParserListener) EnterTrailer ¶
func (s *BasePythonParserListener) EnterTrailer(ctx *TrailerContext)
EnterTrailer is called when production trailer is entered.
func (*BasePythonParserListener) EnterTry_stmt ¶
func (s *BasePythonParserListener) EnterTry_stmt(ctx *Try_stmtContext)
EnterTry_stmt is called when production try_stmt is entered.
func (*BasePythonParserListener) EnterTypedargslist ¶
func (s *BasePythonParserListener) EnterTypedargslist(ctx *TypedargslistContext)
EnterTypedargslist is called when production typedargslist is entered.
func (*BasePythonParserListener) EnterVarargs ¶
func (s *BasePythonParserListener) EnterVarargs(ctx *VarargsContext)
EnterVarargs is called when production varargs is entered.
func (*BasePythonParserListener) EnterVarargslist ¶
func (s *BasePythonParserListener) EnterVarargslist(ctx *VarargslistContext)
EnterVarargslist is called when production varargslist is entered.
func (*BasePythonParserListener) EnterVardef_parameter ¶
func (s *BasePythonParserListener) EnterVardef_parameter(ctx *Vardef_parameterContext)
EnterVardef_parameter is called when production vardef_parameter is entered.
func (*BasePythonParserListener) EnterVardef_parameters ¶
func (s *BasePythonParserListener) EnterVardef_parameters(ctx *Vardef_parametersContext)
EnterVardef_parameters is called when production vardef_parameters is entered.
func (*BasePythonParserListener) EnterVarkwargs ¶
func (s *BasePythonParserListener) EnterVarkwargs(ctx *VarkwargsContext)
EnterVarkwargs is called when production varkwargs is entered.
func (*BasePythonParserListener) EnterWhile_stmt ¶
func (s *BasePythonParserListener) EnterWhile_stmt(ctx *While_stmtContext)
EnterWhile_stmt is called when production while_stmt is entered.
func (*BasePythonParserListener) EnterWith_item ¶
func (s *BasePythonParserListener) EnterWith_item(ctx *With_itemContext)
EnterWith_item is called when production with_item is entered.
func (*BasePythonParserListener) EnterWith_stmt ¶
func (s *BasePythonParserListener) EnterWith_stmt(ctx *With_stmtContext)
EnterWith_stmt is called when production with_stmt is entered.
func (*BasePythonParserListener) EnterYield_arg ¶
func (s *BasePythonParserListener) EnterYield_arg(ctx *Yield_argContext)
EnterYield_arg is called when production yield_arg is entered.
func (*BasePythonParserListener) EnterYield_expr ¶
func (s *BasePythonParserListener) EnterYield_expr(ctx *Yield_exprContext)
EnterYield_expr is called when production yield_expr is entered.
func (*BasePythonParserListener) EnterYield_stmt ¶
func (s *BasePythonParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
EnterYield_stmt is called when production yield_stmt is entered.
func (*BasePythonParserListener) ExitArglist ¶
func (s *BasePythonParserListener) ExitArglist(ctx *ArglistContext)
ExitArglist is called when production arglist is exited.
func (*BasePythonParserListener) ExitArgs ¶
func (s *BasePythonParserListener) ExitArgs(ctx *ArgsContext)
ExitArgs is called when production args is exited.
func (*BasePythonParserListener) ExitArgument ¶
func (s *BasePythonParserListener) ExitArgument(ctx *ArgumentContext)
ExitArgument is called when production argument is exited.
func (*BasePythonParserListener) ExitArguments ¶
func (s *BasePythonParserListener) ExitArguments(ctx *ArgumentsContext)
ExitArguments is called when production arguments is exited.
func (*BasePythonParserListener) ExitAssert_stmt ¶
func (s *BasePythonParserListener) ExitAssert_stmt(ctx *Assert_stmtContext)
ExitAssert_stmt is called when production assert_stmt is exited.
func (*BasePythonParserListener) ExitAssign_part ¶
func (s *BasePythonParserListener) ExitAssign_part(ctx *Assign_partContext)
ExitAssign_part is called when production assign_part is exited.
func (*BasePythonParserListener) ExitAtom ¶
func (s *BasePythonParserListener) ExitAtom(ctx *AtomContext)
ExitAtom is called when production atom is exited.
func (*BasePythonParserListener) ExitBreak_stmt ¶
func (s *BasePythonParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
ExitBreak_stmt is called when production break_stmt is exited.
func (*BasePythonParserListener) ExitClass_or_func_def_stmt ¶
func (s *BasePythonParserListener) ExitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
ExitClass_or_func_def_stmt is called when production class_or_func_def_stmt is exited.
func (*BasePythonParserListener) ExitClassdef ¶
func (s *BasePythonParserListener) ExitClassdef(ctx *ClassdefContext)
ExitClassdef is called when production classdef is exited.
func (*BasePythonParserListener) ExitComp_for ¶
func (s *BasePythonParserListener) ExitComp_for(ctx *Comp_forContext)
ExitComp_for is called when production comp_for is exited.
func (*BasePythonParserListener) ExitComp_iter ¶
func (s *BasePythonParserListener) ExitComp_iter(ctx *Comp_iterContext)
ExitComp_iter is called when production comp_iter is exited.
func (*BasePythonParserListener) ExitComparison ¶
func (s *BasePythonParserListener) ExitComparison(ctx *ComparisonContext)
ExitComparison is called when production comparison is exited.
func (*BasePythonParserListener) ExitContinue_stmt ¶
func (s *BasePythonParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
ExitContinue_stmt is called when production continue_stmt is exited.
func (*BasePythonParserListener) ExitDecorator ¶
func (s *BasePythonParserListener) ExitDecorator(ctx *DecoratorContext)
ExitDecorator is called when production decorator is exited.
func (*BasePythonParserListener) ExitDef_parameter ¶
func (s *BasePythonParserListener) ExitDef_parameter(ctx *Def_parameterContext)
ExitDef_parameter is called when production def_parameter is exited.
func (*BasePythonParserListener) ExitDef_parameters ¶
func (s *BasePythonParserListener) ExitDef_parameters(ctx *Def_parametersContext)
ExitDef_parameters is called when production def_parameters is exited.
func (*BasePythonParserListener) ExitDel_stmt ¶
func (s *BasePythonParserListener) ExitDel_stmt(ctx *Del_stmtContext)
ExitDel_stmt is called when production del_stmt is exited.
func (*BasePythonParserListener) ExitDictorsetmaker ¶
func (s *BasePythonParserListener) ExitDictorsetmaker(ctx *DictorsetmakerContext)
ExitDictorsetmaker is called when production dictorsetmaker is exited.
func (*BasePythonParserListener) ExitDotted_as_name ¶
func (s *BasePythonParserListener) ExitDotted_as_name(ctx *Dotted_as_nameContext)
ExitDotted_as_name is called when production dotted_as_name is exited.
func (*BasePythonParserListener) ExitDotted_as_names ¶
func (s *BasePythonParserListener) ExitDotted_as_names(ctx *Dotted_as_namesContext)
ExitDotted_as_names is called when production dotted_as_names is exited.
func (*BasePythonParserListener) ExitDotted_name ¶
func (s *BasePythonParserListener) ExitDotted_name(ctx *Dotted_nameContext)
ExitDotted_name is called when production dotted_name is exited.
func (*BasePythonParserListener) ExitElif_clause ¶
func (s *BasePythonParserListener) ExitElif_clause(ctx *Elif_clauseContext)
ExitElif_clause is called when production elif_clause is exited.
func (*BasePythonParserListener) ExitElse_clause ¶
func (s *BasePythonParserListener) ExitElse_clause(ctx *Else_clauseContext)
ExitElse_clause is called when production else_clause is exited.
func (*BasePythonParserListener) ExitEval_input ¶
func (s *BasePythonParserListener) ExitEval_input(ctx *Eval_inputContext)
ExitEval_input is called when production eval_input is exited.
func (*BasePythonParserListener) ExitEveryRule ¶
func (s *BasePythonParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasePythonParserListener) ExitExcept_clause ¶
func (s *BasePythonParserListener) ExitExcept_clause(ctx *Except_clauseContext)
ExitExcept_clause is called when production except_clause is exited.
func (*BasePythonParserListener) ExitExec_stmt ¶
func (s *BasePythonParserListener) ExitExec_stmt(ctx *Exec_stmtContext)
ExitExec_stmt is called when production exec_stmt is exited.
func (*BasePythonParserListener) ExitExpr ¶
func (s *BasePythonParserListener) ExitExpr(ctx *ExprContext)
ExitExpr is called when production expr is exited.
func (*BasePythonParserListener) ExitExpr_stmt ¶
func (s *BasePythonParserListener) ExitExpr_stmt(ctx *Expr_stmtContext)
ExitExpr_stmt is called when production expr_stmt is exited.
func (*BasePythonParserListener) ExitExprlist ¶
func (s *BasePythonParserListener) ExitExprlist(ctx *ExprlistContext)
ExitExprlist is called when production exprlist is exited.
func (*BasePythonParserListener) ExitFile_input ¶
func (s *BasePythonParserListener) ExitFile_input(ctx *File_inputContext)
ExitFile_input is called when production file_input is exited.
func (*BasePythonParserListener) ExitFinally_clause ¶
func (s *BasePythonParserListener) ExitFinally_clause(ctx *Finally_clauseContext)
ExitFinally_clause is called when production finally_clause is exited.
func (*BasePythonParserListener) ExitFor_stmt ¶
func (s *BasePythonParserListener) ExitFor_stmt(ctx *For_stmtContext)
ExitFor_stmt is called when production for_stmt is exited.
func (*BasePythonParserListener) ExitFrom_stmt ¶
func (s *BasePythonParserListener) ExitFrom_stmt(ctx *From_stmtContext)
ExitFrom_stmt is called when production from_stmt is exited.
func (*BasePythonParserListener) ExitFrom_stmt_as_names ¶
func (s *BasePythonParserListener) ExitFrom_stmt_as_names(ctx *From_stmt_as_namesContext)
ExitFrom_stmt_as_names is called when production from_stmt_as_names is exited.
func (*BasePythonParserListener) ExitFrom_stmt_source ¶
func (s *BasePythonParserListener) ExitFrom_stmt_source(ctx *From_stmt_sourceContext)
ExitFrom_stmt_source is called when production from_stmt_source is exited.
func (*BasePythonParserListener) ExitFuncdef ¶
func (s *BasePythonParserListener) ExitFuncdef(ctx *FuncdefContext)
ExitFuncdef is called when production funcdef is exited.
func (*BasePythonParserListener) ExitGlobal_stmt ¶
func (s *BasePythonParserListener) ExitGlobal_stmt(ctx *Global_stmtContext)
ExitGlobal_stmt is called when production global_stmt is exited.
func (*BasePythonParserListener) ExitIf_stmt ¶
func (s *BasePythonParserListener) ExitIf_stmt(ctx *If_stmtContext)
ExitIf_stmt is called when production if_stmt is exited.
func (*BasePythonParserListener) ExitImport_as_name ¶
func (s *BasePythonParserListener) ExitImport_as_name(ctx *Import_as_nameContext)
ExitImport_as_name is called when production import_as_name is exited.
func (*BasePythonParserListener) ExitImport_as_names ¶
func (s *BasePythonParserListener) ExitImport_as_names(ctx *Import_as_namesContext)
ExitImport_as_names is called when production import_as_names is exited.
func (*BasePythonParserListener) ExitImport_stmt ¶
func (s *BasePythonParserListener) ExitImport_stmt(ctx *Import_stmtContext)
ExitImport_stmt is called when production import_stmt is exited.
func (*BasePythonParserListener) ExitInteger ¶
func (s *BasePythonParserListener) ExitInteger(ctx *IntegerContext)
ExitInteger is called when production integer is exited.
func (*BasePythonParserListener) ExitKwargs ¶
func (s *BasePythonParserListener) ExitKwargs(ctx *KwargsContext)
ExitKwargs is called when production kwargs is exited.
func (*BasePythonParserListener) ExitLogical_test ¶
func (s *BasePythonParserListener) ExitLogical_test(ctx *Logical_testContext)
ExitLogical_test is called when production logical_test is exited.
func (*BasePythonParserListener) ExitName ¶
func (s *BasePythonParserListener) ExitName(ctx *NameContext)
ExitName is called when production name is exited.
func (*BasePythonParserListener) ExitNamed_parameter ¶
func (s *BasePythonParserListener) ExitNamed_parameter(ctx *Named_parameterContext)
ExitNamed_parameter is called when production named_parameter is exited.
func (*BasePythonParserListener) ExitNonlocal_stmt ¶
func (s *BasePythonParserListener) ExitNonlocal_stmt(ctx *Nonlocal_stmtContext)
ExitNonlocal_stmt is called when production nonlocal_stmt is exited.
func (*BasePythonParserListener) ExitNumber ¶
func (s *BasePythonParserListener) ExitNumber(ctx *NumberContext)
ExitNumber is called when production number is exited.
func (*BasePythonParserListener) ExitPass_stmt ¶
func (s *BasePythonParserListener) ExitPass_stmt(ctx *Pass_stmtContext)
ExitPass_stmt is called when production pass_stmt is exited.
func (*BasePythonParserListener) ExitPrint_stmt ¶
func (s *BasePythonParserListener) ExitPrint_stmt(ctx *Print_stmtContext)
ExitPrint_stmt is called when production print_stmt is exited.
func (*BasePythonParserListener) ExitRaise_stmt ¶
func (s *BasePythonParserListener) ExitRaise_stmt(ctx *Raise_stmtContext)
ExitRaise_stmt is called when production raise_stmt is exited.
func (*BasePythonParserListener) ExitReturn_stmt ¶
func (s *BasePythonParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
ExitReturn_stmt is called when production return_stmt is exited.
func (*BasePythonParserListener) ExitRoot ¶
func (s *BasePythonParserListener) ExitRoot(ctx *RootContext)
ExitRoot is called when production root is exited.
func (*BasePythonParserListener) ExitSimple_stmt ¶
func (s *BasePythonParserListener) ExitSimple_stmt(ctx *Simple_stmtContext)
ExitSimple_stmt is called when production simple_stmt is exited.
func (*BasePythonParserListener) ExitSingle_input ¶
func (s *BasePythonParserListener) ExitSingle_input(ctx *Single_inputContext)
ExitSingle_input is called when production single_input is exited.
func (*BasePythonParserListener) ExitSliceop ¶
func (s *BasePythonParserListener) ExitSliceop(ctx *SliceopContext)
ExitSliceop is called when production sliceop is exited.
func (*BasePythonParserListener) ExitStar_expr ¶
func (s *BasePythonParserListener) ExitStar_expr(ctx *Star_exprContext)
ExitStar_expr is called when production star_expr is exited.
func (*BasePythonParserListener) ExitStmt ¶
func (s *BasePythonParserListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BasePythonParserListener) ExitSubscript ¶
func (s *BasePythonParserListener) ExitSubscript(ctx *SubscriptContext)
ExitSubscript is called when production subscript is exited.
func (*BasePythonParserListener) ExitSubscriptlist ¶
func (s *BasePythonParserListener) ExitSubscriptlist(ctx *SubscriptlistContext)
ExitSubscriptlist is called when production subscriptlist is exited.
func (*BasePythonParserListener) ExitSuite ¶
func (s *BasePythonParserListener) ExitSuite(ctx *SuiteContext)
ExitSuite is called when production suite is exited.
func (*BasePythonParserListener) ExitTest ¶
func (s *BasePythonParserListener) ExitTest(ctx *TestContext)
ExitTest is called when production test is exited.
func (*BasePythonParserListener) ExitTestlist ¶
func (s *BasePythonParserListener) ExitTestlist(ctx *TestlistContext)
ExitTestlist is called when production testlist is exited.
func (*BasePythonParserListener) ExitTestlist_comp ¶
func (s *BasePythonParserListener) ExitTestlist_comp(ctx *Testlist_compContext)
ExitTestlist_comp is called when production testlist_comp is exited.
func (*BasePythonParserListener) ExitTestlist_star_expr ¶
func (s *BasePythonParserListener) ExitTestlist_star_expr(ctx *Testlist_star_exprContext)
ExitTestlist_star_expr is called when production testlist_star_expr is exited.
func (*BasePythonParserListener) ExitTrailer ¶
func (s *BasePythonParserListener) ExitTrailer(ctx *TrailerContext)
ExitTrailer is called when production trailer is exited.
func (*BasePythonParserListener) ExitTry_stmt ¶
func (s *BasePythonParserListener) ExitTry_stmt(ctx *Try_stmtContext)
ExitTry_stmt is called when production try_stmt is exited.
func (*BasePythonParserListener) ExitTypedargslist ¶
func (s *BasePythonParserListener) ExitTypedargslist(ctx *TypedargslistContext)
ExitTypedargslist is called when production typedargslist is exited.
func (*BasePythonParserListener) ExitVarargs ¶
func (s *BasePythonParserListener) ExitVarargs(ctx *VarargsContext)
ExitVarargs is called when production varargs is exited.
func (*BasePythonParserListener) ExitVarargslist ¶
func (s *BasePythonParserListener) ExitVarargslist(ctx *VarargslistContext)
ExitVarargslist is called when production varargslist is exited.
func (*BasePythonParserListener) ExitVardef_parameter ¶
func (s *BasePythonParserListener) ExitVardef_parameter(ctx *Vardef_parameterContext)
ExitVardef_parameter is called when production vardef_parameter is exited.
func (*BasePythonParserListener) ExitVardef_parameters ¶
func (s *BasePythonParserListener) ExitVardef_parameters(ctx *Vardef_parametersContext)
ExitVardef_parameters is called when production vardef_parameters is exited.
func (*BasePythonParserListener) ExitVarkwargs ¶
func (s *BasePythonParserListener) ExitVarkwargs(ctx *VarkwargsContext)
ExitVarkwargs is called when production varkwargs is exited.
func (*BasePythonParserListener) ExitWhile_stmt ¶
func (s *BasePythonParserListener) ExitWhile_stmt(ctx *While_stmtContext)
ExitWhile_stmt is called when production while_stmt is exited.
func (*BasePythonParserListener) ExitWith_item ¶
func (s *BasePythonParserListener) ExitWith_item(ctx *With_itemContext)
ExitWith_item is called when production with_item is exited.
func (*BasePythonParserListener) ExitWith_stmt ¶
func (s *BasePythonParserListener) ExitWith_stmt(ctx *With_stmtContext)
ExitWith_stmt is called when production with_stmt is exited.
func (*BasePythonParserListener) ExitYield_arg ¶
func (s *BasePythonParserListener) ExitYield_arg(ctx *Yield_argContext)
ExitYield_arg is called when production yield_arg is exited.
func (*BasePythonParserListener) ExitYield_expr ¶
func (s *BasePythonParserListener) ExitYield_expr(ctx *Yield_exprContext)
ExitYield_expr is called when production yield_expr is exited.
func (*BasePythonParserListener) ExitYield_stmt ¶
func (s *BasePythonParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
ExitYield_stmt is called when production yield_stmt is exited.
func (*BasePythonParserListener) VisitErrorNode ¶
func (s *BasePythonParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasePythonParserListener) VisitTerminal ¶
func (s *BasePythonParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Break_stmtContext ¶
type Break_stmtContext struct {
*Small_stmtContext
}
func NewBreak_stmtContext ¶
func NewBreak_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Break_stmtContext
func (*Break_stmtContext) BREAK ¶
func (s *Break_stmtContext) BREAK() antlr.TerminalNode
func (*Break_stmtContext) EnterRule ¶
func (s *Break_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Break_stmtContext) ExitRule ¶
func (s *Break_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Break_stmtContext) GetRuleContext ¶
func (s *Break_stmtContext) GetRuleContext() antlr.RuleContext
type Class_or_func_def_stmtContext ¶
type Class_or_func_def_stmtContext struct {
*Compound_stmtContext
}
func NewClass_or_func_def_stmtContext ¶
func NewClass_or_func_def_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Class_or_func_def_stmtContext
func (*Class_or_func_def_stmtContext) AllDecorator ¶
func (s *Class_or_func_def_stmtContext) AllDecorator() []IDecoratorContext
func (*Class_or_func_def_stmtContext) Classdef ¶
func (s *Class_or_func_def_stmtContext) Classdef() IClassdefContext
func (*Class_or_func_def_stmtContext) Decorator ¶
func (s *Class_or_func_def_stmtContext) Decorator(i int) IDecoratorContext
func (*Class_or_func_def_stmtContext) EnterRule ¶
func (s *Class_or_func_def_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Class_or_func_def_stmtContext) ExitRule ¶
func (s *Class_or_func_def_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Class_or_func_def_stmtContext) Funcdef ¶
func (s *Class_or_func_def_stmtContext) Funcdef() IFuncdefContext
func (*Class_or_func_def_stmtContext) GetRuleContext ¶
func (s *Class_or_func_def_stmtContext) GetRuleContext() antlr.RuleContext
type ClassdefContext ¶
type ClassdefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClassdefContext ¶
func NewClassdefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassdefContext
func NewEmptyClassdefContext ¶
func NewEmptyClassdefContext() *ClassdefContext
func (*ClassdefContext) Arglist ¶
func (s *ClassdefContext) Arglist() IArglistContext
func (*ClassdefContext) CLASS ¶
func (s *ClassdefContext) CLASS() antlr.TerminalNode
func (*ClassdefContext) CLOSE_PAREN ¶
func (s *ClassdefContext) CLOSE_PAREN() antlr.TerminalNode
func (*ClassdefContext) COLON ¶
func (s *ClassdefContext) COLON() antlr.TerminalNode
func (*ClassdefContext) EnterRule ¶
func (s *ClassdefContext) EnterRule(listener antlr.ParseTreeListener)
func (*ClassdefContext) ExitRule ¶
func (s *ClassdefContext) ExitRule(listener antlr.ParseTreeListener)
func (*ClassdefContext) GetParser ¶
func (s *ClassdefContext) GetParser() antlr.Parser
func (*ClassdefContext) GetRuleContext ¶
func (s *ClassdefContext) GetRuleContext() antlr.RuleContext
func (*ClassdefContext) IsClassdefContext ¶
func (*ClassdefContext) IsClassdefContext()
func (*ClassdefContext) Name ¶
func (s *ClassdefContext) Name() INameContext
func (*ClassdefContext) OPEN_PAREN ¶
func (s *ClassdefContext) OPEN_PAREN() antlr.TerminalNode
func (*ClassdefContext) Suite ¶
func (s *ClassdefContext) Suite() ISuiteContext
func (*ClassdefContext) ToStringTree ¶
func (s *ClassdefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Comp_forContext ¶
type Comp_forContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComp_forContext ¶
func NewComp_forContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Comp_forContext
func NewEmptyComp_forContext ¶
func NewEmptyComp_forContext() *Comp_forContext
func (*Comp_forContext) Comp_iter ¶
func (s *Comp_forContext) Comp_iter() IComp_iterContext
func (*Comp_forContext) EnterRule ¶
func (s *Comp_forContext) EnterRule(listener antlr.ParseTreeListener)
func (*Comp_forContext) ExitRule ¶
func (s *Comp_forContext) ExitRule(listener antlr.ParseTreeListener)
func (*Comp_forContext) Exprlist ¶
func (s *Comp_forContext) Exprlist() IExprlistContext
func (*Comp_forContext) FOR ¶
func (s *Comp_forContext) FOR() antlr.TerminalNode
func (*Comp_forContext) GetParser ¶
func (s *Comp_forContext) GetParser() antlr.Parser
func (*Comp_forContext) GetRuleContext ¶
func (s *Comp_forContext) GetRuleContext() antlr.RuleContext
func (*Comp_forContext) IN ¶
func (s *Comp_forContext) IN() antlr.TerminalNode
func (*Comp_forContext) IsComp_forContext ¶
func (*Comp_forContext) IsComp_forContext()
func (*Comp_forContext) Logical_test ¶
func (s *Comp_forContext) Logical_test() ILogical_testContext
func (*Comp_forContext) ToStringTree ¶
func (s *Comp_forContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Comp_iterContext ¶
type Comp_iterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComp_iterContext ¶
func NewComp_iterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Comp_iterContext
func NewEmptyComp_iterContext ¶
func NewEmptyComp_iterContext() *Comp_iterContext
func (*Comp_iterContext) Comp_for ¶
func (s *Comp_iterContext) Comp_for() IComp_forContext
func (*Comp_iterContext) Comp_iter ¶
func (s *Comp_iterContext) Comp_iter() IComp_iterContext
func (*Comp_iterContext) EnterRule ¶
func (s *Comp_iterContext) EnterRule(listener antlr.ParseTreeListener)
func (*Comp_iterContext) ExitRule ¶
func (s *Comp_iterContext) ExitRule(listener antlr.ParseTreeListener)
func (*Comp_iterContext) GetParser ¶
func (s *Comp_iterContext) GetParser() antlr.Parser
func (*Comp_iterContext) GetRuleContext ¶
func (s *Comp_iterContext) GetRuleContext() antlr.RuleContext
func (*Comp_iterContext) IF ¶
func (s *Comp_iterContext) IF() antlr.TerminalNode
func (*Comp_iterContext) IsComp_iterContext ¶
func (*Comp_iterContext) IsComp_iterContext()
func (*Comp_iterContext) Test ¶
func (s *Comp_iterContext) Test() ITestContext
func (*Comp_iterContext) ToStringTree ¶
func (s *Comp_iterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ComparisonContext ¶
type ComparisonContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComparisonContext ¶
func NewComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparisonContext
func NewEmptyComparisonContext ¶
func NewEmptyComparisonContext() *ComparisonContext
func (*ComparisonContext) AllComparison ¶
func (s *ComparisonContext) AllComparison() []IComparisonContext
func (*ComparisonContext) Comparison ¶
func (s *ComparisonContext) Comparison(i int) IComparisonContext
func (*ComparisonContext) EQUALS ¶
func (s *ComparisonContext) EQUALS() antlr.TerminalNode
func (*ComparisonContext) EnterRule ¶
func (s *ComparisonContext) EnterRule(listener antlr.ParseTreeListener)
func (*ComparisonContext) ExitRule ¶
func (s *ComparisonContext) ExitRule(listener antlr.ParseTreeListener)
func (*ComparisonContext) Expr ¶
func (s *ComparisonContext) Expr() IExprContext
func (*ComparisonContext) GREATER_THAN ¶
func (s *ComparisonContext) GREATER_THAN() antlr.TerminalNode
func (*ComparisonContext) GT_EQ ¶
func (s *ComparisonContext) GT_EQ() antlr.TerminalNode
func (*ComparisonContext) GetOptional ¶
func (s *ComparisonContext) GetOptional() antlr.Token
func (*ComparisonContext) GetParser ¶
func (s *ComparisonContext) GetParser() antlr.Parser
func (*ComparisonContext) GetRuleContext ¶
func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
func (*ComparisonContext) IN ¶
func (s *ComparisonContext) IN() antlr.TerminalNode
func (*ComparisonContext) IS ¶
func (s *ComparisonContext) IS() antlr.TerminalNode
func (*ComparisonContext) IsComparisonContext ¶
func (*ComparisonContext) IsComparisonContext()
func (*ComparisonContext) LESS_THAN ¶
func (s *ComparisonContext) LESS_THAN() antlr.TerminalNode
func (*ComparisonContext) LT_EQ ¶
func (s *ComparisonContext) LT_EQ() antlr.TerminalNode
func (*ComparisonContext) NOT ¶
func (s *ComparisonContext) NOT() antlr.TerminalNode
func (*ComparisonContext) NOT_EQ_1 ¶
func (s *ComparisonContext) NOT_EQ_1() antlr.TerminalNode
func (*ComparisonContext) NOT_EQ_2 ¶
func (s *ComparisonContext) NOT_EQ_2() antlr.TerminalNode
func (*ComparisonContext) SetOptional ¶
func (s *ComparisonContext) SetOptional(v antlr.Token)
func (*ComparisonContext) ToStringTree ¶
func (s *ComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Compound_stmtContext ¶
type Compound_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCompound_stmtContext ¶
func NewCompound_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Compound_stmtContext
func NewEmptyCompound_stmtContext ¶
func NewEmptyCompound_stmtContext() *Compound_stmtContext
func (*Compound_stmtContext) CopyFrom ¶
func (s *Compound_stmtContext) CopyFrom(ctx *Compound_stmtContext)
func (*Compound_stmtContext) GetParser ¶
func (s *Compound_stmtContext) GetParser() antlr.Parser
func (*Compound_stmtContext) GetRuleContext ¶
func (s *Compound_stmtContext) GetRuleContext() antlr.RuleContext
func (*Compound_stmtContext) IsCompound_stmtContext ¶
func (*Compound_stmtContext) IsCompound_stmtContext()
func (*Compound_stmtContext) ToStringTree ¶
func (s *Compound_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Continue_stmtContext ¶
type Continue_stmtContext struct {
*Small_stmtContext
}
func NewContinue_stmtContext ¶
func NewContinue_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Continue_stmtContext
func (*Continue_stmtContext) CONTINUE ¶
func (s *Continue_stmtContext) CONTINUE() antlr.TerminalNode
func (*Continue_stmtContext) EnterRule ¶
func (s *Continue_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Continue_stmtContext) ExitRule ¶
func (s *Continue_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Continue_stmtContext) GetRuleContext ¶
func (s *Continue_stmtContext) GetRuleContext() antlr.RuleContext
type DecoratorContext ¶
type DecoratorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDecoratorContext ¶
func NewDecoratorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DecoratorContext
func NewEmptyDecoratorContext ¶
func NewEmptyDecoratorContext() *DecoratorContext
func (*DecoratorContext) AT ¶
func (s *DecoratorContext) AT() antlr.TerminalNode
func (*DecoratorContext) Arglist ¶
func (s *DecoratorContext) Arglist() IArglistContext
func (*DecoratorContext) CLOSE_PAREN ¶
func (s *DecoratorContext) CLOSE_PAREN() antlr.TerminalNode
func (*DecoratorContext) Dotted_name ¶
func (s *DecoratorContext) Dotted_name() IDotted_nameContext
func (*DecoratorContext) EnterRule ¶
func (s *DecoratorContext) EnterRule(listener antlr.ParseTreeListener)
func (*DecoratorContext) ExitRule ¶
func (s *DecoratorContext) ExitRule(listener antlr.ParseTreeListener)
func (*DecoratorContext) GetParser ¶
func (s *DecoratorContext) GetParser() antlr.Parser
func (*DecoratorContext) GetRuleContext ¶
func (s *DecoratorContext) GetRuleContext() antlr.RuleContext
func (*DecoratorContext) IsDecoratorContext ¶
func (*DecoratorContext) IsDecoratorContext()
func (*DecoratorContext) LINE_BREAK ¶
func (s *DecoratorContext) LINE_BREAK() antlr.TerminalNode
func (*DecoratorContext) OPEN_PAREN ¶
func (s *DecoratorContext) OPEN_PAREN() antlr.TerminalNode
func (*DecoratorContext) ToStringTree ¶
func (s *DecoratorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Def_parameterContext ¶
type Def_parameterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDef_parameterContext ¶
func NewDef_parameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Def_parameterContext
func NewEmptyDef_parameterContext ¶
func NewEmptyDef_parameterContext() *Def_parameterContext
func (*Def_parameterContext) ASSIGN ¶
func (s *Def_parameterContext) ASSIGN() antlr.TerminalNode
func (*Def_parameterContext) EnterRule ¶
func (s *Def_parameterContext) EnterRule(listener antlr.ParseTreeListener)
func (*Def_parameterContext) ExitRule ¶
func (s *Def_parameterContext) ExitRule(listener antlr.ParseTreeListener)
func (*Def_parameterContext) GetParser ¶
func (s *Def_parameterContext) GetParser() antlr.Parser
func (*Def_parameterContext) GetRuleContext ¶
func (s *Def_parameterContext) GetRuleContext() antlr.RuleContext
func (*Def_parameterContext) IsDef_parameterContext ¶
func (*Def_parameterContext) IsDef_parameterContext()
func (*Def_parameterContext) Named_parameter ¶
func (s *Def_parameterContext) Named_parameter() INamed_parameterContext
func (*Def_parameterContext) STAR ¶
func (s *Def_parameterContext) STAR() antlr.TerminalNode
func (*Def_parameterContext) Test ¶
func (s *Def_parameterContext) Test() ITestContext
func (*Def_parameterContext) ToStringTree ¶
func (s *Def_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Def_parametersContext ¶
type Def_parametersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDef_parametersContext ¶
func NewDef_parametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Def_parametersContext
func NewEmptyDef_parametersContext ¶
func NewEmptyDef_parametersContext() *Def_parametersContext
func (*Def_parametersContext) AllCOMMA ¶
func (s *Def_parametersContext) AllCOMMA() []antlr.TerminalNode
func (*Def_parametersContext) AllDef_parameter ¶
func (s *Def_parametersContext) AllDef_parameter() []IDef_parameterContext
func (*Def_parametersContext) COMMA ¶
func (s *Def_parametersContext) COMMA(i int) antlr.TerminalNode
func (*Def_parametersContext) Def_parameter ¶
func (s *Def_parametersContext) Def_parameter(i int) IDef_parameterContext
func (*Def_parametersContext) EnterRule ¶
func (s *Def_parametersContext) EnterRule(listener antlr.ParseTreeListener)
func (*Def_parametersContext) ExitRule ¶
func (s *Def_parametersContext) ExitRule(listener antlr.ParseTreeListener)
func (*Def_parametersContext) GetParser ¶
func (s *Def_parametersContext) GetParser() antlr.Parser
func (*Def_parametersContext) GetRuleContext ¶
func (s *Def_parametersContext) GetRuleContext() antlr.RuleContext
func (*Def_parametersContext) IsDef_parametersContext ¶
func (*Def_parametersContext) IsDef_parametersContext()
func (*Def_parametersContext) ToStringTree ¶
func (s *Def_parametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Del_stmtContext ¶
type Del_stmtContext struct {
*Small_stmtContext
}
func NewDel_stmtContext ¶
func NewDel_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Del_stmtContext
func (*Del_stmtContext) DEL ¶
func (s *Del_stmtContext) DEL() antlr.TerminalNode
func (*Del_stmtContext) EnterRule ¶
func (s *Del_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Del_stmtContext) ExitRule ¶
func (s *Del_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Del_stmtContext) Exprlist ¶
func (s *Del_stmtContext) Exprlist() IExprlistContext
func (*Del_stmtContext) GetRuleContext ¶
func (s *Del_stmtContext) GetRuleContext() antlr.RuleContext
type DictorsetmakerContext ¶
type DictorsetmakerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDictorsetmakerContext ¶
func NewDictorsetmakerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DictorsetmakerContext
func NewEmptyDictorsetmakerContext ¶
func NewEmptyDictorsetmakerContext() *DictorsetmakerContext
func (*DictorsetmakerContext) AllCOLON ¶
func (s *DictorsetmakerContext) AllCOLON() []antlr.TerminalNode
func (*DictorsetmakerContext) AllCOMMA ¶
func (s *DictorsetmakerContext) AllCOMMA() []antlr.TerminalNode
func (*DictorsetmakerContext) AllExpr ¶
func (s *DictorsetmakerContext) AllExpr() []IExprContext
func (*DictorsetmakerContext) AllPOWER ¶
func (s *DictorsetmakerContext) AllPOWER() []antlr.TerminalNode
func (*DictorsetmakerContext) AllTest ¶
func (s *DictorsetmakerContext) AllTest() []ITestContext
func (*DictorsetmakerContext) COLON ¶
func (s *DictorsetmakerContext) COLON(i int) antlr.TerminalNode
func (*DictorsetmakerContext) COMMA ¶
func (s *DictorsetmakerContext) COMMA(i int) antlr.TerminalNode
func (*DictorsetmakerContext) Comp_for ¶
func (s *DictorsetmakerContext) Comp_for() IComp_forContext
func (*DictorsetmakerContext) EnterRule ¶
func (s *DictorsetmakerContext) EnterRule(listener antlr.ParseTreeListener)
func (*DictorsetmakerContext) ExitRule ¶
func (s *DictorsetmakerContext) ExitRule(listener antlr.ParseTreeListener)
func (*DictorsetmakerContext) Expr ¶
func (s *DictorsetmakerContext) Expr(i int) IExprContext
func (*DictorsetmakerContext) GetParser ¶
func (s *DictorsetmakerContext) GetParser() antlr.Parser
func (*DictorsetmakerContext) GetRuleContext ¶
func (s *DictorsetmakerContext) GetRuleContext() antlr.RuleContext
func (*DictorsetmakerContext) IsDictorsetmakerContext ¶
func (*DictorsetmakerContext) IsDictorsetmakerContext()
func (*DictorsetmakerContext) POWER ¶
func (s *DictorsetmakerContext) POWER(i int) antlr.TerminalNode
func (*DictorsetmakerContext) Test ¶
func (s *DictorsetmakerContext) Test(i int) ITestContext
func (*DictorsetmakerContext) Testlist_comp ¶
func (s *DictorsetmakerContext) Testlist_comp() ITestlist_compContext
func (*DictorsetmakerContext) ToStringTree ¶
func (s *DictorsetmakerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Dotted_as_nameContext ¶
type Dotted_as_nameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDotted_as_nameContext ¶
func NewDotted_as_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Dotted_as_nameContext
func NewEmptyDotted_as_nameContext ¶
func NewEmptyDotted_as_nameContext() *Dotted_as_nameContext
func (*Dotted_as_nameContext) AS ¶
func (s *Dotted_as_nameContext) AS() antlr.TerminalNode
func (*Dotted_as_nameContext) Dotted_name ¶
func (s *Dotted_as_nameContext) Dotted_name() IDotted_nameContext
func (*Dotted_as_nameContext) EnterRule ¶
func (s *Dotted_as_nameContext) EnterRule(listener antlr.ParseTreeListener)
func (*Dotted_as_nameContext) ExitRule ¶
func (s *Dotted_as_nameContext) ExitRule(listener antlr.ParseTreeListener)
func (*Dotted_as_nameContext) GetParser ¶
func (s *Dotted_as_nameContext) GetParser() antlr.Parser
func (*Dotted_as_nameContext) GetRuleContext ¶
func (s *Dotted_as_nameContext) GetRuleContext() antlr.RuleContext
func (*Dotted_as_nameContext) IsDotted_as_nameContext ¶
func (*Dotted_as_nameContext) IsDotted_as_nameContext()
func (*Dotted_as_nameContext) Name ¶
func (s *Dotted_as_nameContext) Name() INameContext
func (*Dotted_as_nameContext) ToStringTree ¶
func (s *Dotted_as_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Dotted_as_namesContext ¶
type Dotted_as_namesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDotted_as_namesContext ¶
func NewDotted_as_namesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Dotted_as_namesContext
func NewEmptyDotted_as_namesContext ¶
func NewEmptyDotted_as_namesContext() *Dotted_as_namesContext
func (*Dotted_as_namesContext) AllCOMMA ¶
func (s *Dotted_as_namesContext) AllCOMMA() []antlr.TerminalNode
func (*Dotted_as_namesContext) AllDotted_as_name ¶
func (s *Dotted_as_namesContext) AllDotted_as_name() []IDotted_as_nameContext
func (*Dotted_as_namesContext) COMMA ¶
func (s *Dotted_as_namesContext) COMMA(i int) antlr.TerminalNode
func (*Dotted_as_namesContext) Dotted_as_name ¶
func (s *Dotted_as_namesContext) Dotted_as_name(i int) IDotted_as_nameContext
func (*Dotted_as_namesContext) EnterRule ¶
func (s *Dotted_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
func (*Dotted_as_namesContext) ExitRule ¶
func (s *Dotted_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
func (*Dotted_as_namesContext) GetParser ¶
func (s *Dotted_as_namesContext) GetParser() antlr.Parser
func (*Dotted_as_namesContext) GetRuleContext ¶
func (s *Dotted_as_namesContext) GetRuleContext() antlr.RuleContext
func (*Dotted_as_namesContext) IsDotted_as_namesContext ¶
func (*Dotted_as_namesContext) IsDotted_as_namesContext()
func (*Dotted_as_namesContext) ToStringTree ¶
func (s *Dotted_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Dotted_nameContext ¶
type Dotted_nameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDotted_nameContext ¶
func NewDotted_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Dotted_nameContext
func NewEmptyDotted_nameContext ¶
func NewEmptyDotted_nameContext() *Dotted_nameContext
func (*Dotted_nameContext) DOT ¶
func (s *Dotted_nameContext) DOT() antlr.TerminalNode
func (*Dotted_nameContext) Dotted_name ¶
func (s *Dotted_nameContext) Dotted_name() IDotted_nameContext
func (*Dotted_nameContext) EnterRule ¶
func (s *Dotted_nameContext) EnterRule(listener antlr.ParseTreeListener)
func (*Dotted_nameContext) ExitRule ¶
func (s *Dotted_nameContext) ExitRule(listener antlr.ParseTreeListener)
func (*Dotted_nameContext) GetParser ¶
func (s *Dotted_nameContext) GetParser() antlr.Parser
func (*Dotted_nameContext) GetRuleContext ¶
func (s *Dotted_nameContext) GetRuleContext() antlr.RuleContext
func (*Dotted_nameContext) IsDotted_nameContext ¶
func (*Dotted_nameContext) IsDotted_nameContext()
func (*Dotted_nameContext) Name ¶
func (s *Dotted_nameContext) Name() INameContext
func (*Dotted_nameContext) ToStringTree ¶
func (s *Dotted_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Elif_clauseContext ¶
type Elif_clauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElif_clauseContext ¶
func NewElif_clauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Elif_clauseContext
func NewEmptyElif_clauseContext ¶
func NewEmptyElif_clauseContext() *Elif_clauseContext
func (*Elif_clauseContext) COLON ¶
func (s *Elif_clauseContext) COLON() antlr.TerminalNode
func (*Elif_clauseContext) ELIF ¶
func (s *Elif_clauseContext) ELIF() antlr.TerminalNode
func (*Elif_clauseContext) EnterRule ¶
func (s *Elif_clauseContext) EnterRule(listener antlr.ParseTreeListener)
func (*Elif_clauseContext) ExitRule ¶
func (s *Elif_clauseContext) ExitRule(listener antlr.ParseTreeListener)
func (*Elif_clauseContext) GetParser ¶
func (s *Elif_clauseContext) GetParser() antlr.Parser
func (*Elif_clauseContext) GetRuleContext ¶
func (s *Elif_clauseContext) GetRuleContext() antlr.RuleContext
func (*Elif_clauseContext) IsElif_clauseContext ¶
func (*Elif_clauseContext) IsElif_clauseContext()
func (*Elif_clauseContext) Suite ¶
func (s *Elif_clauseContext) Suite() ISuiteContext
func (*Elif_clauseContext) Test ¶
func (s *Elif_clauseContext) Test() ITestContext
func (*Elif_clauseContext) ToStringTree ¶
func (s *Elif_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Else_clauseContext ¶
type Else_clauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElse_clauseContext ¶
func NewElse_clauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Else_clauseContext
func NewEmptyElse_clauseContext ¶
func NewEmptyElse_clauseContext() *Else_clauseContext
func (*Else_clauseContext) COLON ¶
func (s *Else_clauseContext) COLON() antlr.TerminalNode
func (*Else_clauseContext) ELSE ¶
func (s *Else_clauseContext) ELSE() antlr.TerminalNode
func (*Else_clauseContext) EnterRule ¶
func (s *Else_clauseContext) EnterRule(listener antlr.ParseTreeListener)
func (*Else_clauseContext) ExitRule ¶
func (s *Else_clauseContext) ExitRule(listener antlr.ParseTreeListener)
func (*Else_clauseContext) GetParser ¶
func (s *Else_clauseContext) GetParser() antlr.Parser
func (*Else_clauseContext) GetRuleContext ¶
func (s *Else_clauseContext) GetRuleContext() antlr.RuleContext
func (*Else_clauseContext) IsElse_clauseContext ¶
func (*Else_clauseContext) IsElse_clauseContext()
func (*Else_clauseContext) Suite ¶
func (s *Else_clauseContext) Suite() ISuiteContext
func (*Else_clauseContext) ToStringTree ¶
func (s *Else_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Eval_inputContext ¶
type Eval_inputContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEval_inputContext ¶
func NewEmptyEval_inputContext() *Eval_inputContext
func NewEval_inputContext ¶
func NewEval_inputContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Eval_inputContext
func (*Eval_inputContext) AllLINE_BREAK ¶
func (s *Eval_inputContext) AllLINE_BREAK() []antlr.TerminalNode
func (*Eval_inputContext) EnterRule ¶
func (s *Eval_inputContext) EnterRule(listener antlr.ParseTreeListener)
func (*Eval_inputContext) ExitRule ¶
func (s *Eval_inputContext) ExitRule(listener antlr.ParseTreeListener)
func (*Eval_inputContext) GetParser ¶
func (s *Eval_inputContext) GetParser() antlr.Parser
func (*Eval_inputContext) GetRuleContext ¶
func (s *Eval_inputContext) GetRuleContext() antlr.RuleContext
func (*Eval_inputContext) IsEval_inputContext ¶
func (*Eval_inputContext) IsEval_inputContext()
func (*Eval_inputContext) LINE_BREAK ¶
func (s *Eval_inputContext) LINE_BREAK(i int) antlr.TerminalNode
func (*Eval_inputContext) Testlist ¶
func (s *Eval_inputContext) Testlist() ITestlistContext
func (*Eval_inputContext) ToStringTree ¶
func (s *Eval_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Except_clauseContext ¶
type Except_clauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExcept_clauseContext ¶
func NewEmptyExcept_clauseContext() *Except_clauseContext
func NewExcept_clauseContext ¶
func NewExcept_clauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Except_clauseContext
func (*Except_clauseContext) AS ¶
func (s *Except_clauseContext) AS() antlr.TerminalNode
func (*Except_clauseContext) COLON ¶
func (s *Except_clauseContext) COLON() antlr.TerminalNode
func (*Except_clauseContext) COMMA ¶
func (s *Except_clauseContext) COMMA() antlr.TerminalNode
func (*Except_clauseContext) EXCEPT ¶
func (s *Except_clauseContext) EXCEPT() antlr.TerminalNode
func (*Except_clauseContext) EnterRule ¶
func (s *Except_clauseContext) EnterRule(listener antlr.ParseTreeListener)
func (*Except_clauseContext) ExitRule ¶
func (s *Except_clauseContext) ExitRule(listener antlr.ParseTreeListener)
func (*Except_clauseContext) GetParser ¶
func (s *Except_clauseContext) GetParser() antlr.Parser
func (*Except_clauseContext) GetRuleContext ¶
func (s *Except_clauseContext) GetRuleContext() antlr.RuleContext
func (*Except_clauseContext) IsExcept_clauseContext ¶
func (*Except_clauseContext) IsExcept_clauseContext()
func (*Except_clauseContext) Name ¶
func (s *Except_clauseContext) Name() INameContext
func (*Except_clauseContext) Suite ¶
func (s *Except_clauseContext) Suite() ISuiteContext
func (*Except_clauseContext) Test ¶
func (s *Except_clauseContext) Test() ITestContext
func (*Except_clauseContext) ToStringTree ¶
func (s *Except_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Exec_stmtContext ¶
type Exec_stmtContext struct {
*Small_stmtContext
}
func NewExec_stmtContext ¶
func NewExec_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Exec_stmtContext
func (*Exec_stmtContext) AllTest ¶
func (s *Exec_stmtContext) AllTest() []ITestContext
func (*Exec_stmtContext) COMMA ¶
func (s *Exec_stmtContext) COMMA() antlr.TerminalNode
func (*Exec_stmtContext) EXEC ¶
func (s *Exec_stmtContext) EXEC() antlr.TerminalNode
func (*Exec_stmtContext) EnterRule ¶
func (s *Exec_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Exec_stmtContext) ExitRule ¶
func (s *Exec_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Exec_stmtContext) Expr ¶
func (s *Exec_stmtContext) Expr() IExprContext
func (*Exec_stmtContext) GetRuleContext ¶
func (s *Exec_stmtContext) GetRuleContext() antlr.RuleContext
func (*Exec_stmtContext) IN ¶
func (s *Exec_stmtContext) IN() antlr.TerminalNode
func (*Exec_stmtContext) Test ¶
func (s *Exec_stmtContext) Test(i int) ITestContext
type ExprContext ¶
type ExprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExprContext ¶
func NewEmptyExprContext() *ExprContext
func NewExprContext ¶
func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext
func (*ExprContext) ADD ¶
func (s *ExprContext) ADD() antlr.TerminalNode
func (*ExprContext) AND_OP ¶
func (s *ExprContext) AND_OP() antlr.TerminalNode
func (*ExprContext) AT ¶
func (s *ExprContext) AT() antlr.TerminalNode
func (*ExprContext) AWAIT ¶
func (s *ExprContext) AWAIT() antlr.TerminalNode
func (*ExprContext) AllExpr ¶
func (s *ExprContext) AllExpr() []IExprContext
func (*ExprContext) AllTrailer ¶
func (s *ExprContext) AllTrailer() []ITrailerContext
func (*ExprContext) Atom ¶
func (s *ExprContext) Atom() IAtomContext
func (*ExprContext) DIV ¶
func (s *ExprContext) DIV() antlr.TerminalNode
func (*ExprContext) EnterRule ¶
func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprContext) ExitRule ¶
func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprContext) Expr ¶
func (s *ExprContext) Expr(i int) IExprContext
func (*ExprContext) GetOp ¶
func (s *ExprContext) GetOp() antlr.Token
func (*ExprContext) GetParser ¶
func (s *ExprContext) GetParser() antlr.Parser
func (*ExprContext) GetRuleContext ¶
func (s *ExprContext) GetRuleContext() antlr.RuleContext
func (*ExprContext) IDIV ¶
func (s *ExprContext) IDIV() antlr.TerminalNode
func (*ExprContext) IsExprContext ¶
func (*ExprContext) IsExprContext()
func (*ExprContext) LEFT_SHIFT ¶
func (s *ExprContext) LEFT_SHIFT() antlr.TerminalNode
func (*ExprContext) MINUS ¶
func (s *ExprContext) MINUS() antlr.TerminalNode
func (*ExprContext) MOD ¶
func (s *ExprContext) MOD() antlr.TerminalNode
func (*ExprContext) NOT_OP ¶
func (s *ExprContext) NOT_OP() antlr.TerminalNode
func (*ExprContext) OR_OP ¶
func (s *ExprContext) OR_OP() antlr.TerminalNode
func (*ExprContext) POWER ¶
func (s *ExprContext) POWER() antlr.TerminalNode
func (*ExprContext) RIGHT_SHIFT ¶
func (s *ExprContext) RIGHT_SHIFT() antlr.TerminalNode
func (*ExprContext) STAR ¶
func (s *ExprContext) STAR() antlr.TerminalNode
func (*ExprContext) SetOp ¶
func (s *ExprContext) SetOp(v antlr.Token)
func (*ExprContext) ToStringTree ¶
func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ExprContext) Trailer ¶
func (s *ExprContext) Trailer(i int) ITrailerContext
func (*ExprContext) XOR ¶
func (s *ExprContext) XOR() antlr.TerminalNode
type Expr_stmtContext ¶
type Expr_stmtContext struct {
*Small_stmtContext
}
func NewExpr_stmtContext ¶
func NewExpr_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Expr_stmtContext
func (*Expr_stmtContext) Assign_part ¶
func (s *Expr_stmtContext) Assign_part() IAssign_partContext
func (*Expr_stmtContext) EnterRule ¶
func (s *Expr_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Expr_stmtContext) ExitRule ¶
func (s *Expr_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Expr_stmtContext) GetRuleContext ¶
func (s *Expr_stmtContext) GetRuleContext() antlr.RuleContext
func (*Expr_stmtContext) Testlist_star_expr ¶
func (s *Expr_stmtContext) Testlist_star_expr() ITestlist_star_exprContext
type ExprlistContext ¶
type ExprlistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExprlistContext ¶
func NewEmptyExprlistContext() *ExprlistContext
func NewExprlistContext ¶
func NewExprlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprlistContext
func (*ExprlistContext) AllCOMMA ¶
func (s *ExprlistContext) AllCOMMA() []antlr.TerminalNode
func (*ExprlistContext) AllExpr ¶
func (s *ExprlistContext) AllExpr() []IExprContext
func (*ExprlistContext) COMMA ¶
func (s *ExprlistContext) COMMA(i int) antlr.TerminalNode
func (*ExprlistContext) EnterRule ¶
func (s *ExprlistContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprlistContext) ExitRule ¶
func (s *ExprlistContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprlistContext) Expr ¶
func (s *ExprlistContext) Expr(i int) IExprContext
func (*ExprlistContext) GetParser ¶
func (s *ExprlistContext) GetParser() antlr.Parser
func (*ExprlistContext) GetRuleContext ¶
func (s *ExprlistContext) GetRuleContext() antlr.RuleContext
func (*ExprlistContext) IsExprlistContext ¶
func (*ExprlistContext) IsExprlistContext()
func (*ExprlistContext) ToStringTree ¶
func (s *ExprlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type File_inputContext ¶
type File_inputContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFile_inputContext ¶
func NewEmptyFile_inputContext() *File_inputContext
func NewFile_inputContext ¶
func NewFile_inputContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *File_inputContext
func (*File_inputContext) AllLINE_BREAK ¶
func (s *File_inputContext) AllLINE_BREAK() []antlr.TerminalNode
func (*File_inputContext) AllStmt ¶
func (s *File_inputContext) AllStmt() []IStmtContext
func (*File_inputContext) EnterRule ¶
func (s *File_inputContext) EnterRule(listener antlr.ParseTreeListener)
func (*File_inputContext) ExitRule ¶
func (s *File_inputContext) ExitRule(listener antlr.ParseTreeListener)
func (*File_inputContext) GetParser ¶
func (s *File_inputContext) GetParser() antlr.Parser
func (*File_inputContext) GetRuleContext ¶
func (s *File_inputContext) GetRuleContext() antlr.RuleContext
func (*File_inputContext) IsFile_inputContext ¶
func (*File_inputContext) IsFile_inputContext()
func (*File_inputContext) LINE_BREAK ¶
func (s *File_inputContext) LINE_BREAK(i int) antlr.TerminalNode
func (*File_inputContext) Stmt ¶
func (s *File_inputContext) Stmt(i int) IStmtContext
func (*File_inputContext) ToStringTree ¶
func (s *File_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Finally_clauseContext ¶
type Finally_clauseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFinally_clauseContext ¶
func NewEmptyFinally_clauseContext() *Finally_clauseContext
func NewFinally_clauseContext ¶
func NewFinally_clauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Finally_clauseContext
func (*Finally_clauseContext) COLON ¶
func (s *Finally_clauseContext) COLON() antlr.TerminalNode
func (*Finally_clauseContext) EnterRule ¶
func (s *Finally_clauseContext) EnterRule(listener antlr.ParseTreeListener)
func (*Finally_clauseContext) ExitRule ¶
func (s *Finally_clauseContext) ExitRule(listener antlr.ParseTreeListener)
func (*Finally_clauseContext) FINALLY ¶
func (s *Finally_clauseContext) FINALLY() antlr.TerminalNode
func (*Finally_clauseContext) GetParser ¶
func (s *Finally_clauseContext) GetParser() antlr.Parser
func (*Finally_clauseContext) GetRuleContext ¶
func (s *Finally_clauseContext) GetRuleContext() antlr.RuleContext
func (*Finally_clauseContext) IsFinally_clauseContext ¶
func (*Finally_clauseContext) IsFinally_clauseContext()
func (*Finally_clauseContext) Suite ¶
func (s *Finally_clauseContext) Suite() ISuiteContext
func (*Finally_clauseContext) ToStringTree ¶
func (s *Finally_clauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type For_stmtContext ¶
type For_stmtContext struct {
*Compound_stmtContext
}
func NewFor_stmtContext ¶
func NewFor_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *For_stmtContext
func (*For_stmtContext) ASYNC ¶
func (s *For_stmtContext) ASYNC() antlr.TerminalNode
func (*For_stmtContext) COLON ¶
func (s *For_stmtContext) COLON() antlr.TerminalNode
func (*For_stmtContext) Else_clause ¶
func (s *For_stmtContext) Else_clause() IElse_clauseContext
func (*For_stmtContext) EnterRule ¶
func (s *For_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*For_stmtContext) ExitRule ¶
func (s *For_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*For_stmtContext) Exprlist ¶
func (s *For_stmtContext) Exprlist() IExprlistContext
func (*For_stmtContext) FOR ¶
func (s *For_stmtContext) FOR() antlr.TerminalNode
func (*For_stmtContext) GetRuleContext ¶
func (s *For_stmtContext) GetRuleContext() antlr.RuleContext
func (*For_stmtContext) IN ¶
func (s *For_stmtContext) IN() antlr.TerminalNode
func (*For_stmtContext) Suite ¶
func (s *For_stmtContext) Suite() ISuiteContext
func (*For_stmtContext) Testlist ¶
func (s *For_stmtContext) Testlist() ITestlistContext
type From_stmtContext ¶
type From_stmtContext struct {
*Small_stmtContext
}
func NewFrom_stmtContext ¶
func NewFrom_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *From_stmtContext
func (*From_stmtContext) EnterRule ¶
func (s *From_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*From_stmtContext) ExitRule ¶
func (s *From_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*From_stmtContext) FROM ¶
func (s *From_stmtContext) FROM() antlr.TerminalNode
func (*From_stmtContext) From_stmt_as_names ¶
func (s *From_stmtContext) From_stmt_as_names() IFrom_stmt_as_namesContext
func (*From_stmtContext) From_stmt_source ¶
func (s *From_stmtContext) From_stmt_source() IFrom_stmt_sourceContext
func (*From_stmtContext) GetRuleContext ¶
func (s *From_stmtContext) GetRuleContext() antlr.RuleContext
func (*From_stmtContext) IMPORT ¶
func (s *From_stmtContext) IMPORT() antlr.TerminalNode
type From_stmt_as_namesContext ¶
type From_stmt_as_namesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFrom_stmt_as_namesContext ¶
func NewEmptyFrom_stmt_as_namesContext() *From_stmt_as_namesContext
func NewFrom_stmt_as_namesContext ¶
func NewFrom_stmt_as_namesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *From_stmt_as_namesContext
func (*From_stmt_as_namesContext) CLOSE_PAREN ¶
func (s *From_stmt_as_namesContext) CLOSE_PAREN() antlr.TerminalNode
func (*From_stmt_as_namesContext) EnterRule ¶
func (s *From_stmt_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
func (*From_stmt_as_namesContext) ExitRule ¶
func (s *From_stmt_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
func (*From_stmt_as_namesContext) GetParser ¶
func (s *From_stmt_as_namesContext) GetParser() antlr.Parser
func (*From_stmt_as_namesContext) GetRuleContext ¶
func (s *From_stmt_as_namesContext) GetRuleContext() antlr.RuleContext
func (*From_stmt_as_namesContext) Import_as_names ¶
func (s *From_stmt_as_namesContext) Import_as_names() IImport_as_namesContext
func (*From_stmt_as_namesContext) IsFrom_stmt_as_namesContext ¶
func (*From_stmt_as_namesContext) IsFrom_stmt_as_namesContext()
func (*From_stmt_as_namesContext) OPEN_PAREN ¶
func (s *From_stmt_as_namesContext) OPEN_PAREN() antlr.TerminalNode
func (*From_stmt_as_namesContext) STAR ¶
func (s *From_stmt_as_namesContext) STAR() antlr.TerminalNode
func (*From_stmt_as_namesContext) ToStringTree ¶
func (s *From_stmt_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type From_stmt_sourceContext ¶
type From_stmt_sourceContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFrom_stmt_sourceContext ¶
func NewEmptyFrom_stmt_sourceContext() *From_stmt_sourceContext
func NewFrom_stmt_sourceContext ¶
func NewFrom_stmt_sourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *From_stmt_sourceContext
func (*From_stmt_sourceContext) AllDOT ¶
func (s *From_stmt_sourceContext) AllDOT() []antlr.TerminalNode
func (*From_stmt_sourceContext) AllELLIPSIS ¶
func (s *From_stmt_sourceContext) AllELLIPSIS() []antlr.TerminalNode
func (*From_stmt_sourceContext) DOT ¶
func (s *From_stmt_sourceContext) DOT(i int) antlr.TerminalNode
func (*From_stmt_sourceContext) Dotted_name ¶
func (s *From_stmt_sourceContext) Dotted_name() IDotted_nameContext
func (*From_stmt_sourceContext) ELLIPSIS ¶
func (s *From_stmt_sourceContext) ELLIPSIS(i int) antlr.TerminalNode
func (*From_stmt_sourceContext) EnterRule ¶
func (s *From_stmt_sourceContext) EnterRule(listener antlr.ParseTreeListener)
func (*From_stmt_sourceContext) ExitRule ¶
func (s *From_stmt_sourceContext) ExitRule(listener antlr.ParseTreeListener)
func (*From_stmt_sourceContext) GetParser ¶
func (s *From_stmt_sourceContext) GetParser() antlr.Parser
func (*From_stmt_sourceContext) GetRuleContext ¶
func (s *From_stmt_sourceContext) GetRuleContext() antlr.RuleContext
func (*From_stmt_sourceContext) IsFrom_stmt_sourceContext ¶
func (*From_stmt_sourceContext) IsFrom_stmt_sourceContext()
func (*From_stmt_sourceContext) ToStringTree ¶
func (s *From_stmt_sourceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FuncdefContext ¶
type FuncdefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFuncdefContext ¶
func NewEmptyFuncdefContext() *FuncdefContext
func NewFuncdefContext ¶
func NewFuncdefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncdefContext
func (*FuncdefContext) ARROW ¶
func (s *FuncdefContext) ARROW() antlr.TerminalNode
func (*FuncdefContext) ASYNC ¶
func (s *FuncdefContext) ASYNC() antlr.TerminalNode
func (*FuncdefContext) CLOSE_PAREN ¶
func (s *FuncdefContext) CLOSE_PAREN() antlr.TerminalNode
func (*FuncdefContext) COLON ¶
func (s *FuncdefContext) COLON() antlr.TerminalNode
func (*FuncdefContext) DEF ¶
func (s *FuncdefContext) DEF() antlr.TerminalNode
func (*FuncdefContext) EnterRule ¶
func (s *FuncdefContext) EnterRule(listener antlr.ParseTreeListener)
func (*FuncdefContext) ExitRule ¶
func (s *FuncdefContext) ExitRule(listener antlr.ParseTreeListener)
func (*FuncdefContext) GetParser ¶
func (s *FuncdefContext) GetParser() antlr.Parser
func (*FuncdefContext) GetRuleContext ¶
func (s *FuncdefContext) GetRuleContext() antlr.RuleContext
func (*FuncdefContext) IsFuncdefContext ¶
func (*FuncdefContext) IsFuncdefContext()
func (*FuncdefContext) Name ¶
func (s *FuncdefContext) Name() INameContext
func (*FuncdefContext) OPEN_PAREN ¶
func (s *FuncdefContext) OPEN_PAREN() antlr.TerminalNode
func (*FuncdefContext) Suite ¶
func (s *FuncdefContext) Suite() ISuiteContext
func (*FuncdefContext) Test ¶
func (s *FuncdefContext) Test() ITestContext
func (*FuncdefContext) ToStringTree ¶
func (s *FuncdefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FuncdefContext) Typedargslist ¶
func (s *FuncdefContext) Typedargslist() ITypedargslistContext
type Global_stmtContext ¶
type Global_stmtContext struct {
*Small_stmtContext
}
func NewGlobal_stmtContext ¶
func NewGlobal_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Global_stmtContext
func (*Global_stmtContext) AllCOMMA ¶
func (s *Global_stmtContext) AllCOMMA() []antlr.TerminalNode
func (*Global_stmtContext) AllName ¶
func (s *Global_stmtContext) AllName() []INameContext
func (*Global_stmtContext) COMMA ¶
func (s *Global_stmtContext) COMMA(i int) antlr.TerminalNode
func (*Global_stmtContext) EnterRule ¶
func (s *Global_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Global_stmtContext) ExitRule ¶
func (s *Global_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Global_stmtContext) GLOBAL ¶
func (s *Global_stmtContext) GLOBAL() antlr.TerminalNode
func (*Global_stmtContext) GetRuleContext ¶
func (s *Global_stmtContext) GetRuleContext() antlr.RuleContext
func (*Global_stmtContext) Name ¶
func (s *Global_stmtContext) Name(i int) INameContext
type IArglistContext ¶
type IArglistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArglistContext differentiates from other interfaces. IsArglistContext() }
IArglistContext is an interface to support dynamic dispatch.
type IArgsContext ¶
type IArgsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgsContext differentiates from other interfaces. IsArgsContext() }
IArgsContext is an interface to support dynamic dispatch.
type IArgumentContext ¶
type IArgumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgumentContext differentiates from other interfaces. IsArgumentContext() }
IArgumentContext is an interface to support dynamic dispatch.
type IArgumentsContext ¶
type IArgumentsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgumentsContext differentiates from other interfaces. IsArgumentsContext() }
IArgumentsContext is an interface to support dynamic dispatch.
type IAssign_partContext ¶
type IAssign_partContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOp returns the op token. GetOp() antlr.Token // SetOp sets the op token. SetOp(antlr.Token) // IsAssign_partContext differentiates from other interfaces. IsAssign_partContext() }
IAssign_partContext is an interface to support dynamic dispatch.
type IAtomContext ¶
type IAtomContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAtomContext differentiates from other interfaces. IsAtomContext() }
IAtomContext is an interface to support dynamic dispatch.
type IClassdefContext ¶
type IClassdefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsClassdefContext differentiates from other interfaces. IsClassdefContext() }
IClassdefContext is an interface to support dynamic dispatch.
type IComp_forContext ¶
type IComp_forContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComp_forContext differentiates from other interfaces. IsComp_forContext() }
IComp_forContext is an interface to support dynamic dispatch.
type IComp_iterContext ¶
type IComp_iterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComp_iterContext differentiates from other interfaces. IsComp_iterContext() }
IComp_iterContext is an interface to support dynamic dispatch.
type IComparisonContext ¶
type IComparisonContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOptional returns the optional token. GetOptional() antlr.Token // SetOptional sets the optional token. SetOptional(antlr.Token) // IsComparisonContext differentiates from other interfaces. IsComparisonContext() }
IComparisonContext is an interface to support dynamic dispatch.
type ICompound_stmtContext ¶
type ICompound_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCompound_stmtContext differentiates from other interfaces. IsCompound_stmtContext() }
ICompound_stmtContext is an interface to support dynamic dispatch.
type IDecoratorContext ¶
type IDecoratorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDecoratorContext differentiates from other interfaces. IsDecoratorContext() }
IDecoratorContext is an interface to support dynamic dispatch.
type IDef_parameterContext ¶
type IDef_parameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDef_parameterContext differentiates from other interfaces. IsDef_parameterContext() }
IDef_parameterContext is an interface to support dynamic dispatch.
type IDef_parametersContext ¶
type IDef_parametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDef_parametersContext differentiates from other interfaces. IsDef_parametersContext() }
IDef_parametersContext is an interface to support dynamic dispatch.
type IDictorsetmakerContext ¶
type IDictorsetmakerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDictorsetmakerContext differentiates from other interfaces. IsDictorsetmakerContext() }
IDictorsetmakerContext is an interface to support dynamic dispatch.
type IDotted_as_nameContext ¶
type IDotted_as_nameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDotted_as_nameContext differentiates from other interfaces. IsDotted_as_nameContext() }
IDotted_as_nameContext is an interface to support dynamic dispatch.
type IDotted_as_namesContext ¶
type IDotted_as_namesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDotted_as_namesContext differentiates from other interfaces. IsDotted_as_namesContext() }
IDotted_as_namesContext is an interface to support dynamic dispatch.
type IDotted_nameContext ¶
type IDotted_nameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDotted_nameContext differentiates from other interfaces. IsDotted_nameContext() }
IDotted_nameContext is an interface to support dynamic dispatch.
type IElif_clauseContext ¶
type IElif_clauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsElif_clauseContext differentiates from other interfaces. IsElif_clauseContext() }
IElif_clauseContext is an interface to support dynamic dispatch.
type IElse_clauseContext ¶
type IElse_clauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsElse_clauseContext differentiates from other interfaces. IsElse_clauseContext() }
IElse_clauseContext is an interface to support dynamic dispatch.
type IEval_inputContext ¶
type IEval_inputContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEval_inputContext differentiates from other interfaces. IsEval_inputContext() }
IEval_inputContext is an interface to support dynamic dispatch.
type IExcept_clauseContext ¶
type IExcept_clauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExcept_clauseContext differentiates from other interfaces. IsExcept_clauseContext() }
IExcept_clauseContext is an interface to support dynamic dispatch.
type IExprContext ¶
type IExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOp returns the op token. GetOp() antlr.Token // SetOp sets the op token. SetOp(antlr.Token) // IsExprContext differentiates from other interfaces. IsExprContext() }
IExprContext is an interface to support dynamic dispatch.
type IExprlistContext ¶
type IExprlistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExprlistContext differentiates from other interfaces. IsExprlistContext() }
IExprlistContext is an interface to support dynamic dispatch.
type IFile_inputContext ¶
type IFile_inputContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFile_inputContext differentiates from other interfaces. IsFile_inputContext() }
IFile_inputContext is an interface to support dynamic dispatch.
type IFinally_clauseContext ¶
type IFinally_clauseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFinally_clauseContext differentiates from other interfaces. IsFinally_clauseContext() }
IFinally_clauseContext is an interface to support dynamic dispatch.
type IFrom_stmt_as_namesContext ¶
type IFrom_stmt_as_namesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFrom_stmt_as_namesContext differentiates from other interfaces. IsFrom_stmt_as_namesContext() }
IFrom_stmt_as_namesContext is an interface to support dynamic dispatch.
type IFrom_stmt_sourceContext ¶
type IFrom_stmt_sourceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFrom_stmt_sourceContext differentiates from other interfaces. IsFrom_stmt_sourceContext() }
IFrom_stmt_sourceContext is an interface to support dynamic dispatch.
type IFuncdefContext ¶
type IFuncdefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFuncdefContext differentiates from other interfaces. IsFuncdefContext() }
IFuncdefContext is an interface to support dynamic dispatch.
type IImport_as_nameContext ¶
type IImport_as_nameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImport_as_nameContext differentiates from other interfaces. IsImport_as_nameContext() }
IImport_as_nameContext is an interface to support dynamic dispatch.
type IImport_as_namesContext ¶
type IImport_as_namesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImport_as_namesContext differentiates from other interfaces. IsImport_as_namesContext() }
IImport_as_namesContext is an interface to support dynamic dispatch.
type IIntegerContext ¶
type IIntegerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIntegerContext differentiates from other interfaces. IsIntegerContext() }
IIntegerContext is an interface to support dynamic dispatch.
type IKwargsContext ¶
type IKwargsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsKwargsContext differentiates from other interfaces. IsKwargsContext() }
IKwargsContext is an interface to support dynamic dispatch.
type ILogical_testContext ¶
type ILogical_testContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOp returns the op token. GetOp() antlr.Token // SetOp sets the op token. SetOp(antlr.Token) // IsLogical_testContext differentiates from other interfaces. IsLogical_testContext() }
ILogical_testContext is an interface to support dynamic dispatch.
type INameContext ¶
type INameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNameContext differentiates from other interfaces. IsNameContext() }
INameContext is an interface to support dynamic dispatch.
type INamed_parameterContext ¶
type INamed_parameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNamed_parameterContext differentiates from other interfaces. IsNamed_parameterContext() }
INamed_parameterContext is an interface to support dynamic dispatch.
type INumberContext ¶
type INumberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNumberContext differentiates from other interfaces. IsNumberContext() }
INumberContext is an interface to support dynamic dispatch.
type IRootContext ¶
type IRootContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRootContext differentiates from other interfaces. IsRootContext() }
IRootContext is an interface to support dynamic dispatch.
type ISimple_stmtContext ¶
type ISimple_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSimple_stmtContext differentiates from other interfaces. IsSimple_stmtContext() }
ISimple_stmtContext is an interface to support dynamic dispatch.
type ISingle_inputContext ¶
type ISingle_inputContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSingle_inputContext differentiates from other interfaces. IsSingle_inputContext() }
ISingle_inputContext is an interface to support dynamic dispatch.
type ISliceopContext ¶
type ISliceopContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSliceopContext differentiates from other interfaces. IsSliceopContext() }
ISliceopContext is an interface to support dynamic dispatch.
type ISmall_stmtContext ¶
type ISmall_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSmall_stmtContext differentiates from other interfaces. IsSmall_stmtContext() }
ISmall_stmtContext is an interface to support dynamic dispatch.
type IStar_exprContext ¶
type IStar_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStar_exprContext differentiates from other interfaces. IsStar_exprContext() }
IStar_exprContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type ISubscriptContext ¶
type ISubscriptContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSubscriptContext differentiates from other interfaces. IsSubscriptContext() }
ISubscriptContext is an interface to support dynamic dispatch.
type ISubscriptlistContext ¶
type ISubscriptlistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSubscriptlistContext differentiates from other interfaces. IsSubscriptlistContext() }
ISubscriptlistContext is an interface to support dynamic dispatch.
type ISuiteContext ¶
type ISuiteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSuiteContext differentiates from other interfaces. IsSuiteContext() }
ISuiteContext is an interface to support dynamic dispatch.
type ITestContext ¶
type ITestContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTestContext differentiates from other interfaces. IsTestContext() }
ITestContext is an interface to support dynamic dispatch.
type ITestlistContext ¶
type ITestlistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTestlistContext differentiates from other interfaces. IsTestlistContext() }
ITestlistContext is an interface to support dynamic dispatch.
type ITestlist_compContext ¶
type ITestlist_compContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTestlist_compContext differentiates from other interfaces. IsTestlist_compContext() }
ITestlist_compContext is an interface to support dynamic dispatch.
type ITestlist_star_exprContext ¶
type ITestlist_star_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTestlist_star_exprContext differentiates from other interfaces. IsTestlist_star_exprContext() }
ITestlist_star_exprContext is an interface to support dynamic dispatch.
type ITrailerContext ¶
type ITrailerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTrailerContext differentiates from other interfaces. IsTrailerContext() }
ITrailerContext is an interface to support dynamic dispatch.
type ITypedargslistContext ¶
type ITypedargslistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypedargslistContext differentiates from other interfaces. IsTypedargslistContext() }
ITypedargslistContext is an interface to support dynamic dispatch.
type IVarargsContext ¶
type IVarargsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVarargsContext differentiates from other interfaces. IsVarargsContext() }
IVarargsContext is an interface to support dynamic dispatch.
type IVarargslistContext ¶
type IVarargslistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVarargslistContext differentiates from other interfaces. IsVarargslistContext() }
IVarargslistContext is an interface to support dynamic dispatch.
type IVardef_parameterContext ¶
type IVardef_parameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVardef_parameterContext differentiates from other interfaces. IsVardef_parameterContext() }
IVardef_parameterContext is an interface to support dynamic dispatch.
type IVardef_parametersContext ¶
type IVardef_parametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVardef_parametersContext differentiates from other interfaces. IsVardef_parametersContext() }
IVardef_parametersContext is an interface to support dynamic dispatch.
type IVarkwargsContext ¶
type IVarkwargsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVarkwargsContext differentiates from other interfaces. IsVarkwargsContext() }
IVarkwargsContext is an interface to support dynamic dispatch.
type IWith_itemContext ¶
type IWith_itemContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWith_itemContext differentiates from other interfaces. IsWith_itemContext() }
IWith_itemContext is an interface to support dynamic dispatch.
type IYield_argContext ¶
type IYield_argContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsYield_argContext differentiates from other interfaces. IsYield_argContext() }
IYield_argContext is an interface to support dynamic dispatch.
type IYield_exprContext ¶
type IYield_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsYield_exprContext differentiates from other interfaces. IsYield_exprContext() }
IYield_exprContext is an interface to support dynamic dispatch.
type If_stmtContext ¶
type If_stmtContext struct { *Compound_stmtContext // contains filtered or unexported fields }
func NewIf_stmtContext ¶
func NewIf_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *If_stmtContext
func (*If_stmtContext) AllElif_clause ¶
func (s *If_stmtContext) AllElif_clause() []IElif_clauseContext
func (*If_stmtContext) COLON ¶
func (s *If_stmtContext) COLON() antlr.TerminalNode
func (*If_stmtContext) Elif_clause ¶
func (s *If_stmtContext) Elif_clause(i int) IElif_clauseContext
func (*If_stmtContext) Else_clause ¶
func (s *If_stmtContext) Else_clause() IElse_clauseContext
func (*If_stmtContext) EnterRule ¶
func (s *If_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_stmtContext) ExitRule ¶
func (s *If_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_stmtContext) GetCond ¶
func (s *If_stmtContext) GetCond() ITestContext
func (*If_stmtContext) GetRuleContext ¶
func (s *If_stmtContext) GetRuleContext() antlr.RuleContext
func (*If_stmtContext) IF ¶
func (s *If_stmtContext) IF() antlr.TerminalNode
func (*If_stmtContext) SetCond ¶
func (s *If_stmtContext) SetCond(v ITestContext)
func (*If_stmtContext) Suite ¶
func (s *If_stmtContext) Suite() ISuiteContext
func (*If_stmtContext) Test ¶
func (s *If_stmtContext) Test() ITestContext
type Import_as_nameContext ¶
type Import_as_nameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImport_as_nameContext ¶
func NewEmptyImport_as_nameContext() *Import_as_nameContext
func NewImport_as_nameContext ¶
func NewImport_as_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_as_nameContext
func (*Import_as_nameContext) AS ¶
func (s *Import_as_nameContext) AS() antlr.TerminalNode
func (*Import_as_nameContext) AllName ¶
func (s *Import_as_nameContext) AllName() []INameContext
func (*Import_as_nameContext) EnterRule ¶
func (s *Import_as_nameContext) EnterRule(listener antlr.ParseTreeListener)
func (*Import_as_nameContext) ExitRule ¶
func (s *Import_as_nameContext) ExitRule(listener antlr.ParseTreeListener)
func (*Import_as_nameContext) GetParser ¶
func (s *Import_as_nameContext) GetParser() antlr.Parser
func (*Import_as_nameContext) GetRuleContext ¶
func (s *Import_as_nameContext) GetRuleContext() antlr.RuleContext
func (*Import_as_nameContext) IsImport_as_nameContext ¶
func (*Import_as_nameContext) IsImport_as_nameContext()
func (*Import_as_nameContext) Name ¶
func (s *Import_as_nameContext) Name(i int) INameContext
func (*Import_as_nameContext) ToStringTree ¶
func (s *Import_as_nameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Import_as_namesContext ¶
type Import_as_namesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImport_as_namesContext ¶
func NewEmptyImport_as_namesContext() *Import_as_namesContext
func NewImport_as_namesContext ¶
func NewImport_as_namesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_as_namesContext
func (*Import_as_namesContext) AllCOMMA ¶
func (s *Import_as_namesContext) AllCOMMA() []antlr.TerminalNode
func (*Import_as_namesContext) AllImport_as_name ¶
func (s *Import_as_namesContext) AllImport_as_name() []IImport_as_nameContext
func (*Import_as_namesContext) COMMA ¶
func (s *Import_as_namesContext) COMMA(i int) antlr.TerminalNode
func (*Import_as_namesContext) EnterRule ¶
func (s *Import_as_namesContext) EnterRule(listener antlr.ParseTreeListener)
func (*Import_as_namesContext) ExitRule ¶
func (s *Import_as_namesContext) ExitRule(listener antlr.ParseTreeListener)
func (*Import_as_namesContext) GetParser ¶
func (s *Import_as_namesContext) GetParser() antlr.Parser
func (*Import_as_namesContext) GetRuleContext ¶
func (s *Import_as_namesContext) GetRuleContext() antlr.RuleContext
func (*Import_as_namesContext) Import_as_name ¶
func (s *Import_as_namesContext) Import_as_name(i int) IImport_as_nameContext
func (*Import_as_namesContext) IsImport_as_namesContext ¶
func (*Import_as_namesContext) IsImport_as_namesContext()
func (*Import_as_namesContext) ToStringTree ¶
func (s *Import_as_namesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Import_stmtContext ¶
type Import_stmtContext struct {
*Small_stmtContext
}
func NewImport_stmtContext ¶
func NewImport_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Import_stmtContext
func (*Import_stmtContext) Dotted_as_names ¶
func (s *Import_stmtContext) Dotted_as_names() IDotted_as_namesContext
func (*Import_stmtContext) EnterRule ¶
func (s *Import_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Import_stmtContext) ExitRule ¶
func (s *Import_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Import_stmtContext) GetRuleContext ¶
func (s *Import_stmtContext) GetRuleContext() antlr.RuleContext
func (*Import_stmtContext) IMPORT ¶
func (s *Import_stmtContext) IMPORT() antlr.TerminalNode
type IntegerContext ¶
type IntegerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIntegerContext ¶
func NewEmptyIntegerContext() *IntegerContext
func NewIntegerContext ¶
func NewIntegerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerContext
func (*IntegerContext) BIN_INTEGER ¶
func (s *IntegerContext) BIN_INTEGER() antlr.TerminalNode
func (*IntegerContext) DECIMAL_INTEGER ¶
func (s *IntegerContext) DECIMAL_INTEGER() antlr.TerminalNode
func (*IntegerContext) EnterRule ¶
func (s *IntegerContext) EnterRule(listener antlr.ParseTreeListener)
func (*IntegerContext) ExitRule ¶
func (s *IntegerContext) ExitRule(listener antlr.ParseTreeListener)
func (*IntegerContext) GetParser ¶
func (s *IntegerContext) GetParser() antlr.Parser
func (*IntegerContext) GetRuleContext ¶
func (s *IntegerContext) GetRuleContext() antlr.RuleContext
func (*IntegerContext) HEX_INTEGER ¶
func (s *IntegerContext) HEX_INTEGER() antlr.TerminalNode
func (*IntegerContext) IsIntegerContext ¶
func (*IntegerContext) IsIntegerContext()
func (*IntegerContext) OCT_INTEGER ¶
func (s *IntegerContext) OCT_INTEGER() antlr.TerminalNode
func (*IntegerContext) ToStringTree ¶
func (s *IntegerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type KwargsContext ¶
type KwargsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKwargsContext ¶
func NewEmptyKwargsContext() *KwargsContext
func NewKwargsContext ¶
func NewKwargsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KwargsContext
func (*KwargsContext) EnterRule ¶
func (s *KwargsContext) EnterRule(listener antlr.ParseTreeListener)
func (*KwargsContext) ExitRule ¶
func (s *KwargsContext) ExitRule(listener antlr.ParseTreeListener)
func (*KwargsContext) GetParser ¶
func (s *KwargsContext) GetParser() antlr.Parser
func (*KwargsContext) GetRuleContext ¶
func (s *KwargsContext) GetRuleContext() antlr.RuleContext
func (*KwargsContext) IsKwargsContext ¶
func (*KwargsContext) IsKwargsContext()
func (*KwargsContext) Named_parameter ¶
func (s *KwargsContext) Named_parameter() INamed_parameterContext
func (*KwargsContext) POWER ¶
func (s *KwargsContext) POWER() antlr.TerminalNode
func (*KwargsContext) ToStringTree ¶
func (s *KwargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Logical_testContext ¶
type Logical_testContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLogical_testContext ¶
func NewEmptyLogical_testContext() *Logical_testContext
func NewLogical_testContext ¶
func NewLogical_testContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Logical_testContext
func (*Logical_testContext) AND ¶
func (s *Logical_testContext) AND() antlr.TerminalNode
func (*Logical_testContext) AllLogical_test ¶
func (s *Logical_testContext) AllLogical_test() []ILogical_testContext
func (*Logical_testContext) Comparison ¶
func (s *Logical_testContext) Comparison() IComparisonContext
func (*Logical_testContext) EnterRule ¶
func (s *Logical_testContext) EnterRule(listener antlr.ParseTreeListener)
func (*Logical_testContext) ExitRule ¶
func (s *Logical_testContext) ExitRule(listener antlr.ParseTreeListener)
func (*Logical_testContext) GetOp ¶
func (s *Logical_testContext) GetOp() antlr.Token
func (*Logical_testContext) GetParser ¶
func (s *Logical_testContext) GetParser() antlr.Parser
func (*Logical_testContext) GetRuleContext ¶
func (s *Logical_testContext) GetRuleContext() antlr.RuleContext
func (*Logical_testContext) IsLogical_testContext ¶
func (*Logical_testContext) IsLogical_testContext()
func (*Logical_testContext) Logical_test ¶
func (s *Logical_testContext) Logical_test(i int) ILogical_testContext
func (*Logical_testContext) NOT ¶
func (s *Logical_testContext) NOT() antlr.TerminalNode
func (*Logical_testContext) OR ¶
func (s *Logical_testContext) OR() antlr.TerminalNode
func (*Logical_testContext) SetOp ¶
func (s *Logical_testContext) SetOp(v antlr.Token)
func (*Logical_testContext) ToStringTree ¶
func (s *Logical_testContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NameContext ¶
type NameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNameContext ¶
func NewEmptyNameContext() *NameContext
func NewNameContext ¶
func NewNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameContext
func (*NameContext) EnterRule ¶
func (s *NameContext) EnterRule(listener antlr.ParseTreeListener)
func (*NameContext) ExitRule ¶
func (s *NameContext) ExitRule(listener antlr.ParseTreeListener)
func (*NameContext) FALSE ¶
func (s *NameContext) FALSE() antlr.TerminalNode
func (*NameContext) GetParser ¶
func (s *NameContext) GetParser() antlr.Parser
func (*NameContext) GetRuleContext ¶
func (s *NameContext) GetRuleContext() antlr.RuleContext
func (*NameContext) IsNameContext ¶
func (*NameContext) IsNameContext()
func (*NameContext) NAME ¶
func (s *NameContext) NAME() antlr.TerminalNode
func (*NameContext) TRUE ¶
func (s *NameContext) TRUE() antlr.TerminalNode
func (*NameContext) ToStringTree ¶
func (s *NameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Named_parameterContext ¶
type Named_parameterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNamed_parameterContext ¶
func NewEmptyNamed_parameterContext() *Named_parameterContext
func NewNamed_parameterContext ¶
func NewNamed_parameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Named_parameterContext
func (*Named_parameterContext) COLON ¶
func (s *Named_parameterContext) COLON() antlr.TerminalNode
func (*Named_parameterContext) EnterRule ¶
func (s *Named_parameterContext) EnterRule(listener antlr.ParseTreeListener)
func (*Named_parameterContext) ExitRule ¶
func (s *Named_parameterContext) ExitRule(listener antlr.ParseTreeListener)
func (*Named_parameterContext) GetParser ¶
func (s *Named_parameterContext) GetParser() antlr.Parser
func (*Named_parameterContext) GetRuleContext ¶
func (s *Named_parameterContext) GetRuleContext() antlr.RuleContext
func (*Named_parameterContext) IsNamed_parameterContext ¶
func (*Named_parameterContext) IsNamed_parameterContext()
func (*Named_parameterContext) Name ¶
func (s *Named_parameterContext) Name() INameContext
func (*Named_parameterContext) Test ¶
func (s *Named_parameterContext) Test() ITestContext
func (*Named_parameterContext) ToStringTree ¶
func (s *Named_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Nonlocal_stmtContext ¶
type Nonlocal_stmtContext struct {
*Small_stmtContext
}
func NewNonlocal_stmtContext ¶
func NewNonlocal_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Nonlocal_stmtContext
func (*Nonlocal_stmtContext) AllCOMMA ¶
func (s *Nonlocal_stmtContext) AllCOMMA() []antlr.TerminalNode
func (*Nonlocal_stmtContext) AllName ¶
func (s *Nonlocal_stmtContext) AllName() []INameContext
func (*Nonlocal_stmtContext) COMMA ¶
func (s *Nonlocal_stmtContext) COMMA(i int) antlr.TerminalNode
func (*Nonlocal_stmtContext) EnterRule ¶
func (s *Nonlocal_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Nonlocal_stmtContext) ExitRule ¶
func (s *Nonlocal_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Nonlocal_stmtContext) GetRuleContext ¶
func (s *Nonlocal_stmtContext) GetRuleContext() antlr.RuleContext
func (*Nonlocal_stmtContext) NONLOCAL ¶
func (s *Nonlocal_stmtContext) NONLOCAL() antlr.TerminalNode
func (*Nonlocal_stmtContext) Name ¶
func (s *Nonlocal_stmtContext) Name(i int) INameContext
type NumberContext ¶
type NumberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNumberContext ¶
func NewEmptyNumberContext() *NumberContext
func NewNumberContext ¶
func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext
func (*NumberContext) EnterRule ¶
func (s *NumberContext) EnterRule(listener antlr.ParseTreeListener)
func (*NumberContext) ExitRule ¶
func (s *NumberContext) ExitRule(listener antlr.ParseTreeListener)
func (*NumberContext) FLOAT_NUMBER ¶
func (s *NumberContext) FLOAT_NUMBER() antlr.TerminalNode
func (*NumberContext) GetParser ¶
func (s *NumberContext) GetParser() antlr.Parser
func (*NumberContext) GetRuleContext ¶
func (s *NumberContext) GetRuleContext() antlr.RuleContext
func (*NumberContext) IMAG_NUMBER ¶
func (s *NumberContext) IMAG_NUMBER() antlr.TerminalNode
func (*NumberContext) Integer ¶
func (s *NumberContext) Integer() IIntegerContext
func (*NumberContext) IsNumberContext ¶
func (*NumberContext) IsNumberContext()
func (*NumberContext) ToStringTree ¶
func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Pass_stmtContext ¶
type Pass_stmtContext struct {
*Small_stmtContext
}
func NewPass_stmtContext ¶
func NewPass_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Pass_stmtContext
func (*Pass_stmtContext) EnterRule ¶
func (s *Pass_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Pass_stmtContext) ExitRule ¶
func (s *Pass_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Pass_stmtContext) GetRuleContext ¶
func (s *Pass_stmtContext) GetRuleContext() antlr.RuleContext
func (*Pass_stmtContext) PASS ¶
func (s *Pass_stmtContext) PASS() antlr.TerminalNode
type Print_stmtContext ¶
type Print_stmtContext struct {
*Small_stmtContext
}
func NewPrint_stmtContext ¶
func NewPrint_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Print_stmtContext
func (*Print_stmtContext) AllCOMMA ¶
func (s *Print_stmtContext) AllCOMMA() []antlr.TerminalNode
func (*Print_stmtContext) AllTest ¶
func (s *Print_stmtContext) AllTest() []ITestContext
func (*Print_stmtContext) COMMA ¶
func (s *Print_stmtContext) COMMA(i int) antlr.TerminalNode
func (*Print_stmtContext) EnterRule ¶
func (s *Print_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Print_stmtContext) ExitRule ¶
func (s *Print_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Print_stmtContext) GetRuleContext ¶
func (s *Print_stmtContext) GetRuleContext() antlr.RuleContext
func (*Print_stmtContext) PRINT ¶
func (s *Print_stmtContext) PRINT() antlr.TerminalNode
func (*Print_stmtContext) RIGHT_SHIFT ¶
func (s *Print_stmtContext) RIGHT_SHIFT() antlr.TerminalNode
func (*Print_stmtContext) Test ¶
func (s *Print_stmtContext) Test(i int) ITestContext
type PythonBaseLexer ¶
func (*PythonBaseLexer) DecIndentLevel ¶
func (l *PythonBaseLexer) DecIndentLevel()
func (*PythonBaseLexer) Emit ¶
func (l *PythonBaseLexer) Emit() antlr.Token
func (*PythonBaseLexer) EmitDefaultToken ¶
func (l *PythonBaseLexer) EmitDefaultToken(tokenType int)
func (*PythonBaseLexer) EmitToken ¶
func (l *PythonBaseLexer) EmitToken(token antlr.Token)
override not success
func (*PythonBaseLexer) EmitTokenByType ¶
func (l *PythonBaseLexer) EmitTokenByType(tokenType int, channel int, text string)
func (*PythonBaseLexer) HandleNewLine ¶
func (l *PythonBaseLexer) HandleNewLine()
func (*PythonBaseLexer) HandleSpaces ¶
func (l *PythonBaseLexer) HandleSpaces()
func (*PythonBaseLexer) IncIndentLevel ¶
func (l *PythonBaseLexer) IncIndentLevel()
func (*PythonBaseLexer) IncTokenInd ¶
func (l *PythonBaseLexer) IncTokenInd(index int) int
func (*PythonBaseLexer) IsNotNewLineOrComment ¶
func (l *PythonBaseLexer) IsNotNewLineOrComment(next string) bool
func (*PythonBaseLexer) NextToken ¶
func (l *PythonBaseLexer) NextToken() antlr.Token
func (*PythonBaseLexer) ProcessNewLine ¶
func (l *PythonBaseLexer) ProcessNewLine(indent int)
type PythonBaseParser ¶
type PythonBaseParser struct { *antlr.BaseParser Version int }
func (*PythonBaseParser) CheckVersion ¶
func (p *PythonBaseParser) CheckVersion(ver int) bool
func (*PythonBaseParser) SetVersion ¶
func (p *PythonBaseParser) SetVersion(ver int)
type PythonLexer ¶
type PythonLexer struct { PythonBaseLexer // contains filtered or unexported fields }
func NewPythonLexer ¶
func NewPythonLexer(input antlr.CharStream) *PythonLexer
func (*PythonLexer) Action ¶
func (l *PythonLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
func (*PythonLexer) CLOSE_BRACE_Action ¶
func (l *PythonLexer) CLOSE_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) CLOSE_BRACKET_Action ¶
func (l *PythonLexer) CLOSE_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) CLOSE_PAREN_Action ¶
func (l *PythonLexer) CLOSE_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) NEWLINE_Action ¶
func (l *PythonLexer) NEWLINE_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) OPEN_BRACE_Action ¶
func (l *PythonLexer) OPEN_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) OPEN_BRACKET_Action ¶
func (l *PythonLexer) OPEN_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) OPEN_PAREN_Action ¶
func (l *PythonLexer) OPEN_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
func (*PythonLexer) WS_Action ¶
func (l *PythonLexer) WS_Action(localctx antlr.RuleContext, actionIndex int)
type PythonParser ¶
type PythonParser struct {
PythonBaseParser
}
func NewPythonParser ¶
func NewPythonParser(input antlr.TokenStream) *PythonParser
func (*PythonParser) Arglist ¶
func (p *PythonParser) Arglist() (localctx IArglistContext)
func (*PythonParser) Args ¶
func (p *PythonParser) Args() (localctx IArgsContext)
func (*PythonParser) Argument ¶
func (p *PythonParser) Argument() (localctx IArgumentContext)
func (*PythonParser) Arguments ¶
func (p *PythonParser) Arguments() (localctx IArgumentsContext)
func (*PythonParser) Assign_part ¶
func (p *PythonParser) Assign_part() (localctx IAssign_partContext)
func (*PythonParser) Assign_part_Sempred ¶
func (p *PythonParser) Assign_part_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Atom ¶
func (p *PythonParser) Atom() (localctx IAtomContext)
func (*PythonParser) Classdef ¶
func (p *PythonParser) Classdef() (localctx IClassdefContext)
func (*PythonParser) Comp_for ¶
func (p *PythonParser) Comp_for() (localctx IComp_forContext)
func (*PythonParser) Comp_iter ¶
func (p *PythonParser) Comp_iter() (localctx IComp_iterContext)
func (*PythonParser) Comparison ¶
func (p *PythonParser) Comparison() (localctx IComparisonContext)
func (*PythonParser) Comparison_Sempred ¶
func (p *PythonParser) Comparison_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Compound_stmt ¶
func (p *PythonParser) Compound_stmt() (localctx ICompound_stmtContext)
func (*PythonParser) Decorator ¶
func (p *PythonParser) Decorator() (localctx IDecoratorContext)
func (*PythonParser) Def_parameter ¶
func (p *PythonParser) Def_parameter() (localctx IDef_parameterContext)
func (*PythonParser) Def_parameters ¶
func (p *PythonParser) Def_parameters() (localctx IDef_parametersContext)
func (*PythonParser) Dictorsetmaker ¶
func (p *PythonParser) Dictorsetmaker() (localctx IDictorsetmakerContext)
func (*PythonParser) Dotted_as_name ¶
func (p *PythonParser) Dotted_as_name() (localctx IDotted_as_nameContext)
func (*PythonParser) Dotted_as_names ¶
func (p *PythonParser) Dotted_as_names() (localctx IDotted_as_namesContext)
func (*PythonParser) Dotted_name ¶
func (p *PythonParser) Dotted_name() (localctx IDotted_nameContext)
func (*PythonParser) Dotted_name_Sempred ¶
func (p *PythonParser) Dotted_name_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Elif_clause ¶
func (p *PythonParser) Elif_clause() (localctx IElif_clauseContext)
func (*PythonParser) Else_clause ¶
func (p *PythonParser) Else_clause() (localctx IElse_clauseContext)
func (*PythonParser) Eval_input ¶
func (p *PythonParser) Eval_input() (localctx IEval_inputContext)
func (*PythonParser) Except_clause ¶
func (p *PythonParser) Except_clause() (localctx IExcept_clauseContext)
func (*PythonParser) Except_clause_Sempred ¶
func (p *PythonParser) Except_clause_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Expr ¶
func (p *PythonParser) Expr() (localctx IExprContext)
func (*PythonParser) Expr_Sempred ¶
func (p *PythonParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Exprlist ¶
func (p *PythonParser) Exprlist() (localctx IExprlistContext)
func (*PythonParser) File_input ¶
func (p *PythonParser) File_input() (localctx IFile_inputContext)
func (*PythonParser) Finally_clause ¶
func (p *PythonParser) Finally_clause() (localctx IFinally_clauseContext)
func (*PythonParser) From_stmt_as_names ¶
func (p *PythonParser) From_stmt_as_names() (localctx IFrom_stmt_as_namesContext)
func (*PythonParser) From_stmt_source ¶
func (p *PythonParser) From_stmt_source() (localctx IFrom_stmt_sourceContext)
func (*PythonParser) Funcdef ¶
func (p *PythonParser) Funcdef() (localctx IFuncdefContext)
func (*PythonParser) Import_as_name ¶
func (p *PythonParser) Import_as_name() (localctx IImport_as_nameContext)
func (*PythonParser) Import_as_names ¶
func (p *PythonParser) Import_as_names() (localctx IImport_as_namesContext)
func (*PythonParser) Integer ¶
func (p *PythonParser) Integer() (localctx IIntegerContext)
func (*PythonParser) Kwargs ¶
func (p *PythonParser) Kwargs() (localctx IKwargsContext)
func (*PythonParser) Logical_test ¶
func (p *PythonParser) Logical_test() (localctx ILogical_testContext)
func (*PythonParser) Logical_test_Sempred ¶
func (p *PythonParser) Logical_test_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Name ¶
func (p *PythonParser) Name() (localctx INameContext)
func (*PythonParser) Named_parameter ¶
func (p *PythonParser) Named_parameter() (localctx INamed_parameterContext)
func (*PythonParser) Number ¶
func (p *PythonParser) Number() (localctx INumberContext)
func (*PythonParser) Root ¶
func (p *PythonParser) Root() (localctx IRootContext)
func (*PythonParser) Sempred ¶
func (p *PythonParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*PythonParser) Simple_stmt ¶
func (p *PythonParser) Simple_stmt() (localctx ISimple_stmtContext)
func (*PythonParser) Single_input ¶
func (p *PythonParser) Single_input() (localctx ISingle_inputContext)
func (*PythonParser) Sliceop ¶
func (p *PythonParser) Sliceop() (localctx ISliceopContext)
func (*PythonParser) Small_stmt ¶
func (p *PythonParser) Small_stmt() (localctx ISmall_stmtContext)
func (*PythonParser) Small_stmt_Sempred ¶
func (p *PythonParser) Small_stmt_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*PythonParser) Star_expr ¶
func (p *PythonParser) Star_expr() (localctx IStar_exprContext)
func (*PythonParser) Stmt ¶
func (p *PythonParser) Stmt() (localctx IStmtContext)
func (*PythonParser) Subscript ¶
func (p *PythonParser) Subscript() (localctx ISubscriptContext)
func (*PythonParser) Subscriptlist ¶
func (p *PythonParser) Subscriptlist() (localctx ISubscriptlistContext)
func (*PythonParser) Suite ¶
func (p *PythonParser) Suite() (localctx ISuiteContext)
func (*PythonParser) Test ¶
func (p *PythonParser) Test() (localctx ITestContext)
func (*PythonParser) Testlist ¶
func (p *PythonParser) Testlist() (localctx ITestlistContext)
func (*PythonParser) Testlist_comp ¶
func (p *PythonParser) Testlist_comp() (localctx ITestlist_compContext)
func (*PythonParser) Testlist_star_expr ¶
func (p *PythonParser) Testlist_star_expr() (localctx ITestlist_star_exprContext)
func (*PythonParser) Trailer ¶
func (p *PythonParser) Trailer() (localctx ITrailerContext)
func (*PythonParser) Typedargslist ¶
func (p *PythonParser) Typedargslist() (localctx ITypedargslistContext)
func (*PythonParser) Varargs ¶
func (p *PythonParser) Varargs() (localctx IVarargsContext)
func (*PythonParser) Varargslist ¶
func (p *PythonParser) Varargslist() (localctx IVarargslistContext)
func (*PythonParser) Vardef_parameter ¶
func (p *PythonParser) Vardef_parameter() (localctx IVardef_parameterContext)
func (*PythonParser) Vardef_parameters ¶
func (p *PythonParser) Vardef_parameters() (localctx IVardef_parametersContext)
func (*PythonParser) Varkwargs ¶
func (p *PythonParser) Varkwargs() (localctx IVarkwargsContext)
func (*PythonParser) With_item ¶
func (p *PythonParser) With_item() (localctx IWith_itemContext)
func (*PythonParser) Yield_arg ¶
func (p *PythonParser) Yield_arg() (localctx IYield_argContext)
func (*PythonParser) Yield_expr ¶
func (p *PythonParser) Yield_expr() (localctx IYield_exprContext)
type PythonParserListener ¶
type PythonParserListener interface { antlr.ParseTreeListener // EnterRoot is called when entering the root production. EnterRoot(c *RootContext) // EnterSingle_input is called when entering the single_input production. EnterSingle_input(c *Single_inputContext) // EnterFile_input is called when entering the file_input production. EnterFile_input(c *File_inputContext) // EnterEval_input is called when entering the eval_input production. EnterEval_input(c *Eval_inputContext) // EnterStmt is called when entering the stmt production. EnterStmt(c *StmtContext) // EnterIf_stmt is called when entering the if_stmt production. EnterIf_stmt(c *If_stmtContext) // EnterWhile_stmt is called when entering the while_stmt production. EnterWhile_stmt(c *While_stmtContext) // EnterFor_stmt is called when entering the for_stmt production. EnterFor_stmt(c *For_stmtContext) // EnterTry_stmt is called when entering the try_stmt production. EnterTry_stmt(c *Try_stmtContext) // EnterWith_stmt is called when entering the with_stmt production. EnterWith_stmt(c *With_stmtContext) // EnterClass_or_func_def_stmt is called when entering the class_or_func_def_stmt production. EnterClass_or_func_def_stmt(c *Class_or_func_def_stmtContext) // EnterSuite is called when entering the suite production. EnterSuite(c *SuiteContext) // EnterDecorator is called when entering the decorator production. EnterDecorator(c *DecoratorContext) // EnterElif_clause is called when entering the elif_clause production. EnterElif_clause(c *Elif_clauseContext) // EnterElse_clause is called when entering the else_clause production. EnterElse_clause(c *Else_clauseContext) // EnterFinally_clause is called when entering the finally_clause production. EnterFinally_clause(c *Finally_clauseContext) // EnterWith_item is called when entering the with_item production. EnterWith_item(c *With_itemContext) // EnterExcept_clause is called when entering the except_clause production. EnterExcept_clause(c *Except_clauseContext) // EnterClassdef is called when entering the classdef production. EnterClassdef(c *ClassdefContext) // EnterFuncdef is called when entering the funcdef production. EnterFuncdef(c *FuncdefContext) // EnterTypedargslist is called when entering the typedargslist production. EnterTypedargslist(c *TypedargslistContext) // EnterArgs is called when entering the args production. EnterArgs(c *ArgsContext) // EnterKwargs is called when entering the kwargs production. EnterKwargs(c *KwargsContext) // EnterDef_parameters is called when entering the def_parameters production. EnterDef_parameters(c *Def_parametersContext) // EnterDef_parameter is called when entering the def_parameter production. EnterDef_parameter(c *Def_parameterContext) // EnterNamed_parameter is called when entering the named_parameter production. EnterNamed_parameter(c *Named_parameterContext) // EnterSimple_stmt is called when entering the simple_stmt production. EnterSimple_stmt(c *Simple_stmtContext) // EnterExpr_stmt is called when entering the expr_stmt production. EnterExpr_stmt(c *Expr_stmtContext) // EnterPrint_stmt is called when entering the print_stmt production. EnterPrint_stmt(c *Print_stmtContext) // EnterDel_stmt is called when entering the del_stmt production. EnterDel_stmt(c *Del_stmtContext) // EnterPass_stmt is called when entering the pass_stmt production. EnterPass_stmt(c *Pass_stmtContext) // EnterBreak_stmt is called when entering the break_stmt production. EnterBreak_stmt(c *Break_stmtContext) // EnterContinue_stmt is called when entering the continue_stmt production. EnterContinue_stmt(c *Continue_stmtContext) // EnterReturn_stmt is called when entering the return_stmt production. EnterReturn_stmt(c *Return_stmtContext) // EnterRaise_stmt is called when entering the raise_stmt production. EnterRaise_stmt(c *Raise_stmtContext) // EnterYield_stmt is called when entering the yield_stmt production. EnterYield_stmt(c *Yield_stmtContext) // EnterImport_stmt is called when entering the import_stmt production. EnterImport_stmt(c *Import_stmtContext) // EnterFrom_stmt is called when entering the from_stmt production. EnterFrom_stmt(c *From_stmtContext) // EnterGlobal_stmt is called when entering the global_stmt production. EnterGlobal_stmt(c *Global_stmtContext) // EnterExec_stmt is called when entering the exec_stmt production. EnterExec_stmt(c *Exec_stmtContext) // EnterAssert_stmt is called when entering the assert_stmt production. EnterAssert_stmt(c *Assert_stmtContext) // EnterNonlocal_stmt is called when entering the nonlocal_stmt production. EnterNonlocal_stmt(c *Nonlocal_stmtContext) // EnterFrom_stmt_source is called when entering the from_stmt_source production. EnterFrom_stmt_source(c *From_stmt_sourceContext) // EnterFrom_stmt_as_names is called when entering the from_stmt_as_names production. EnterFrom_stmt_as_names(c *From_stmt_as_namesContext) // EnterTestlist_star_expr is called when entering the testlist_star_expr production. EnterTestlist_star_expr(c *Testlist_star_exprContext) // EnterStar_expr is called when entering the star_expr production. EnterStar_expr(c *Star_exprContext) // EnterAssign_part is called when entering the assign_part production. EnterAssign_part(c *Assign_partContext) // EnterExprlist is called when entering the exprlist production. EnterExprlist(c *ExprlistContext) // EnterImport_as_names is called when entering the import_as_names production. EnterImport_as_names(c *Import_as_namesContext) // EnterImport_as_name is called when entering the import_as_name production. EnterImport_as_name(c *Import_as_nameContext) // EnterDotted_as_names is called when entering the dotted_as_names production. EnterDotted_as_names(c *Dotted_as_namesContext) // EnterDotted_as_name is called when entering the dotted_as_name production. EnterDotted_as_name(c *Dotted_as_nameContext) // EnterTest is called when entering the test production. EnterTest(c *TestContext) // EnterVarargslist is called when entering the varargslist production. EnterVarargslist(c *VarargslistContext) // EnterVardef_parameters is called when entering the vardef_parameters production. EnterVardef_parameters(c *Vardef_parametersContext) // EnterVardef_parameter is called when entering the vardef_parameter production. EnterVardef_parameter(c *Vardef_parameterContext) // EnterVarargs is called when entering the varargs production. EnterVarargs(c *VarargsContext) // EnterVarkwargs is called when entering the varkwargs production. EnterVarkwargs(c *VarkwargsContext) // EnterLogical_test is called when entering the logical_test production. EnterLogical_test(c *Logical_testContext) // EnterComparison is called when entering the comparison production. EnterComparison(c *ComparisonContext) // EnterExpr is called when entering the expr production. EnterExpr(c *ExprContext) // EnterAtom is called when entering the atom production. EnterAtom(c *AtomContext) // EnterDictorsetmaker is called when entering the dictorsetmaker production. EnterDictorsetmaker(c *DictorsetmakerContext) // EnterTestlist_comp is called when entering the testlist_comp production. EnterTestlist_comp(c *Testlist_compContext) // EnterTestlist is called when entering the testlist production. EnterTestlist(c *TestlistContext) // EnterDotted_name is called when entering the dotted_name production. EnterDotted_name(c *Dotted_nameContext) // EnterName is called when entering the name production. EnterName(c *NameContext) // EnterNumber is called when entering the number production. EnterNumber(c *NumberContext) // EnterInteger is called when entering the integer production. EnterInteger(c *IntegerContext) // EnterYield_expr is called when entering the yield_expr production. EnterYield_expr(c *Yield_exprContext) // EnterYield_arg is called when entering the yield_arg production. EnterYield_arg(c *Yield_argContext) // EnterTrailer is called when entering the trailer production. EnterTrailer(c *TrailerContext) // EnterArguments is called when entering the arguments production. EnterArguments(c *ArgumentsContext) // EnterArglist is called when entering the arglist production. EnterArglist(c *ArglistContext) // EnterArgument is called when entering the argument production. EnterArgument(c *ArgumentContext) // EnterSubscriptlist is called when entering the subscriptlist production. EnterSubscriptlist(c *SubscriptlistContext) // EnterSubscript is called when entering the subscript production. EnterSubscript(c *SubscriptContext) // EnterSliceop is called when entering the sliceop production. EnterSliceop(c *SliceopContext) // EnterComp_for is called when entering the comp_for production. EnterComp_for(c *Comp_forContext) // EnterComp_iter is called when entering the comp_iter production. EnterComp_iter(c *Comp_iterContext) // ExitRoot is called when exiting the root production. ExitRoot(c *RootContext) // ExitSingle_input is called when exiting the single_input production. ExitSingle_input(c *Single_inputContext) // ExitFile_input is called when exiting the file_input production. ExitFile_input(c *File_inputContext) // ExitEval_input is called when exiting the eval_input production. ExitEval_input(c *Eval_inputContext) // ExitStmt is called when exiting the stmt production. ExitStmt(c *StmtContext) // ExitIf_stmt is called when exiting the if_stmt production. ExitIf_stmt(c *If_stmtContext) // ExitWhile_stmt is called when exiting the while_stmt production. ExitWhile_stmt(c *While_stmtContext) // ExitFor_stmt is called when exiting the for_stmt production. ExitFor_stmt(c *For_stmtContext) // ExitTry_stmt is called when exiting the try_stmt production. ExitTry_stmt(c *Try_stmtContext) // ExitWith_stmt is called when exiting the with_stmt production. ExitWith_stmt(c *With_stmtContext) // ExitClass_or_func_def_stmt is called when exiting the class_or_func_def_stmt production. ExitClass_or_func_def_stmt(c *Class_or_func_def_stmtContext) // ExitSuite is called when exiting the suite production. ExitSuite(c *SuiteContext) // ExitDecorator is called when exiting the decorator production. ExitDecorator(c *DecoratorContext) // ExitElif_clause is called when exiting the elif_clause production. ExitElif_clause(c *Elif_clauseContext) // ExitElse_clause is called when exiting the else_clause production. ExitElse_clause(c *Else_clauseContext) // ExitFinally_clause is called when exiting the finally_clause production. ExitFinally_clause(c *Finally_clauseContext) // ExitWith_item is called when exiting the with_item production. ExitWith_item(c *With_itemContext) // ExitExcept_clause is called when exiting the except_clause production. ExitExcept_clause(c *Except_clauseContext) // ExitClassdef is called when exiting the classdef production. ExitClassdef(c *ClassdefContext) // ExitFuncdef is called when exiting the funcdef production. ExitFuncdef(c *FuncdefContext) // ExitTypedargslist is called when exiting the typedargslist production. ExitTypedargslist(c *TypedargslistContext) // ExitArgs is called when exiting the args production. ExitArgs(c *ArgsContext) // ExitKwargs is called when exiting the kwargs production. ExitKwargs(c *KwargsContext) // ExitDef_parameters is called when exiting the def_parameters production. ExitDef_parameters(c *Def_parametersContext) // ExitDef_parameter is called when exiting the def_parameter production. ExitDef_parameter(c *Def_parameterContext) // ExitNamed_parameter is called when exiting the named_parameter production. ExitNamed_parameter(c *Named_parameterContext) // ExitSimple_stmt is called when exiting the simple_stmt production. ExitSimple_stmt(c *Simple_stmtContext) // ExitExpr_stmt is called when exiting the expr_stmt production. ExitExpr_stmt(c *Expr_stmtContext) // ExitPrint_stmt is called when exiting the print_stmt production. ExitPrint_stmt(c *Print_stmtContext) // ExitDel_stmt is called when exiting the del_stmt production. ExitDel_stmt(c *Del_stmtContext) // ExitPass_stmt is called when exiting the pass_stmt production. ExitPass_stmt(c *Pass_stmtContext) // ExitBreak_stmt is called when exiting the break_stmt production. ExitBreak_stmt(c *Break_stmtContext) // ExitContinue_stmt is called when exiting the continue_stmt production. ExitContinue_stmt(c *Continue_stmtContext) // ExitReturn_stmt is called when exiting the return_stmt production. ExitReturn_stmt(c *Return_stmtContext) // ExitRaise_stmt is called when exiting the raise_stmt production. ExitRaise_stmt(c *Raise_stmtContext) // ExitYield_stmt is called when exiting the yield_stmt production. ExitYield_stmt(c *Yield_stmtContext) // ExitImport_stmt is called when exiting the import_stmt production. ExitImport_stmt(c *Import_stmtContext) // ExitFrom_stmt is called when exiting the from_stmt production. ExitFrom_stmt(c *From_stmtContext) // ExitGlobal_stmt is called when exiting the global_stmt production. ExitGlobal_stmt(c *Global_stmtContext) // ExitExec_stmt is called when exiting the exec_stmt production. ExitExec_stmt(c *Exec_stmtContext) // ExitAssert_stmt is called when exiting the assert_stmt production. ExitAssert_stmt(c *Assert_stmtContext) // ExitNonlocal_stmt is called when exiting the nonlocal_stmt production. ExitNonlocal_stmt(c *Nonlocal_stmtContext) // ExitFrom_stmt_source is called when exiting the from_stmt_source production. ExitFrom_stmt_source(c *From_stmt_sourceContext) // ExitFrom_stmt_as_names is called when exiting the from_stmt_as_names production. ExitFrom_stmt_as_names(c *From_stmt_as_namesContext) // ExitTestlist_star_expr is called when exiting the testlist_star_expr production. ExitTestlist_star_expr(c *Testlist_star_exprContext) // ExitStar_expr is called when exiting the star_expr production. ExitStar_expr(c *Star_exprContext) // ExitAssign_part is called when exiting the assign_part production. ExitAssign_part(c *Assign_partContext) // ExitExprlist is called when exiting the exprlist production. ExitExprlist(c *ExprlistContext) // ExitImport_as_names is called when exiting the import_as_names production. ExitImport_as_names(c *Import_as_namesContext) // ExitImport_as_name is called when exiting the import_as_name production. ExitImport_as_name(c *Import_as_nameContext) // ExitDotted_as_names is called when exiting the dotted_as_names production. ExitDotted_as_names(c *Dotted_as_namesContext) // ExitDotted_as_name is called when exiting the dotted_as_name production. ExitDotted_as_name(c *Dotted_as_nameContext) // ExitTest is called when exiting the test production. ExitTest(c *TestContext) // ExitVarargslist is called when exiting the varargslist production. ExitVarargslist(c *VarargslistContext) // ExitVardef_parameters is called when exiting the vardef_parameters production. ExitVardef_parameters(c *Vardef_parametersContext) // ExitVardef_parameter is called when exiting the vardef_parameter production. ExitVardef_parameter(c *Vardef_parameterContext) // ExitVarargs is called when exiting the varargs production. ExitVarargs(c *VarargsContext) // ExitVarkwargs is called when exiting the varkwargs production. ExitVarkwargs(c *VarkwargsContext) // ExitLogical_test is called when exiting the logical_test production. ExitLogical_test(c *Logical_testContext) // ExitComparison is called when exiting the comparison production. ExitComparison(c *ComparisonContext) // ExitExpr is called when exiting the expr production. ExitExpr(c *ExprContext) // ExitAtom is called when exiting the atom production. ExitAtom(c *AtomContext) // ExitDictorsetmaker is called when exiting the dictorsetmaker production. ExitDictorsetmaker(c *DictorsetmakerContext) // ExitTestlist_comp is called when exiting the testlist_comp production. ExitTestlist_comp(c *Testlist_compContext) // ExitTestlist is called when exiting the testlist production. ExitTestlist(c *TestlistContext) // ExitDotted_name is called when exiting the dotted_name production. ExitDotted_name(c *Dotted_nameContext) // ExitName is called when exiting the name production. ExitName(c *NameContext) // ExitNumber is called when exiting the number production. ExitNumber(c *NumberContext) // ExitInteger is called when exiting the integer production. ExitInteger(c *IntegerContext) // ExitYield_expr is called when exiting the yield_expr production. ExitYield_expr(c *Yield_exprContext) // ExitYield_arg is called when exiting the yield_arg production. ExitYield_arg(c *Yield_argContext) // ExitTrailer is called when exiting the trailer production. ExitTrailer(c *TrailerContext) // ExitArguments is called when exiting the arguments production. ExitArguments(c *ArgumentsContext) // ExitArglist is called when exiting the arglist production. ExitArglist(c *ArglistContext) // ExitArgument is called when exiting the argument production. ExitArgument(c *ArgumentContext) // ExitSubscriptlist is called when exiting the subscriptlist production. ExitSubscriptlist(c *SubscriptlistContext) // ExitSubscript is called when exiting the subscript production. ExitSubscript(c *SubscriptContext) // ExitSliceop is called when exiting the sliceop production. ExitSliceop(c *SliceopContext) // ExitComp_for is called when exiting the comp_for production. ExitComp_for(c *Comp_forContext) // ExitComp_iter is called when exiting the comp_iter production. ExitComp_iter(c *Comp_iterContext) }
PythonParserListener is a complete listener for a parse tree produced by PythonParser.
type Raise_stmtContext ¶
type Raise_stmtContext struct {
*Small_stmtContext
}
func NewRaise_stmtContext ¶
func NewRaise_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Raise_stmtContext
func (*Raise_stmtContext) AllCOMMA ¶
func (s *Raise_stmtContext) AllCOMMA() []antlr.TerminalNode
func (*Raise_stmtContext) AllTest ¶
func (s *Raise_stmtContext) AllTest() []ITestContext
func (*Raise_stmtContext) COMMA ¶
func (s *Raise_stmtContext) COMMA(i int) antlr.TerminalNode
func (*Raise_stmtContext) EnterRule ¶
func (s *Raise_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Raise_stmtContext) ExitRule ¶
func (s *Raise_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Raise_stmtContext) FROM ¶
func (s *Raise_stmtContext) FROM() antlr.TerminalNode
func (*Raise_stmtContext) GetRuleContext ¶
func (s *Raise_stmtContext) GetRuleContext() antlr.RuleContext
func (*Raise_stmtContext) RAISE ¶
func (s *Raise_stmtContext) RAISE() antlr.TerminalNode
func (*Raise_stmtContext) Test ¶
func (s *Raise_stmtContext) Test(i int) ITestContext
type Return_stmtContext ¶
type Return_stmtContext struct {
*Small_stmtContext
}
func NewReturn_stmtContext ¶
func NewReturn_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Return_stmtContext
func (*Return_stmtContext) EnterRule ¶
func (s *Return_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Return_stmtContext) ExitRule ¶
func (s *Return_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Return_stmtContext) GetRuleContext ¶
func (s *Return_stmtContext) GetRuleContext() antlr.RuleContext
func (*Return_stmtContext) RETURN ¶
func (s *Return_stmtContext) RETURN() antlr.TerminalNode
func (*Return_stmtContext) Testlist ¶
func (s *Return_stmtContext) Testlist() ITestlistContext
type RootContext ¶
type RootContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRootContext ¶
func NewEmptyRootContext() *RootContext
func NewRootContext ¶
func NewRootContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootContext
func (*RootContext) EOF ¶
func (s *RootContext) EOF() antlr.TerminalNode
func (*RootContext) EnterRule ¶
func (s *RootContext) EnterRule(listener antlr.ParseTreeListener)
func (*RootContext) Eval_input ¶
func (s *RootContext) Eval_input() IEval_inputContext
func (*RootContext) ExitRule ¶
func (s *RootContext) ExitRule(listener antlr.ParseTreeListener)
func (*RootContext) File_input ¶
func (s *RootContext) File_input() IFile_inputContext
func (*RootContext) GetParser ¶
func (s *RootContext) GetParser() antlr.Parser
func (*RootContext) GetRuleContext ¶
func (s *RootContext) GetRuleContext() antlr.RuleContext
func (*RootContext) IsRootContext ¶
func (*RootContext) IsRootContext()
func (*RootContext) Single_input ¶
func (s *RootContext) Single_input() ISingle_inputContext
func (*RootContext) ToStringTree ¶
func (s *RootContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Simple_stmtContext ¶
type Simple_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimple_stmtContext ¶
func NewEmptySimple_stmtContext() *Simple_stmtContext
func NewSimple_stmtContext ¶
func NewSimple_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Simple_stmtContext
func (*Simple_stmtContext) AllSEMI_COLON ¶
func (s *Simple_stmtContext) AllSEMI_COLON() []antlr.TerminalNode
func (*Simple_stmtContext) AllSmall_stmt ¶
func (s *Simple_stmtContext) AllSmall_stmt() []ISmall_stmtContext
func (*Simple_stmtContext) EOF ¶
func (s *Simple_stmtContext) EOF() antlr.TerminalNode
func (*Simple_stmtContext) EnterRule ¶
func (s *Simple_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Simple_stmtContext) ExitRule ¶
func (s *Simple_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Simple_stmtContext) GetParser ¶
func (s *Simple_stmtContext) GetParser() antlr.Parser
func (*Simple_stmtContext) GetRuleContext ¶
func (s *Simple_stmtContext) GetRuleContext() antlr.RuleContext
func (*Simple_stmtContext) IsSimple_stmtContext ¶
func (*Simple_stmtContext) IsSimple_stmtContext()
func (*Simple_stmtContext) LINE_BREAK ¶
func (s *Simple_stmtContext) LINE_BREAK() antlr.TerminalNode
func (*Simple_stmtContext) SEMI_COLON ¶
func (s *Simple_stmtContext) SEMI_COLON(i int) antlr.TerminalNode
func (*Simple_stmtContext) Small_stmt ¶
func (s *Simple_stmtContext) Small_stmt(i int) ISmall_stmtContext
func (*Simple_stmtContext) ToStringTree ¶
func (s *Simple_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Single_inputContext ¶
type Single_inputContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySingle_inputContext ¶
func NewEmptySingle_inputContext() *Single_inputContext
func NewSingle_inputContext ¶
func NewSingle_inputContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Single_inputContext
func (*Single_inputContext) Compound_stmt ¶
func (s *Single_inputContext) Compound_stmt() ICompound_stmtContext
func (*Single_inputContext) EnterRule ¶
func (s *Single_inputContext) EnterRule(listener antlr.ParseTreeListener)
func (*Single_inputContext) ExitRule ¶
func (s *Single_inputContext) ExitRule(listener antlr.ParseTreeListener)
func (*Single_inputContext) GetParser ¶
func (s *Single_inputContext) GetParser() antlr.Parser
func (*Single_inputContext) GetRuleContext ¶
func (s *Single_inputContext) GetRuleContext() antlr.RuleContext
func (*Single_inputContext) IsSingle_inputContext ¶
func (*Single_inputContext) IsSingle_inputContext()
func (*Single_inputContext) LINE_BREAK ¶
func (s *Single_inputContext) LINE_BREAK() antlr.TerminalNode
func (*Single_inputContext) Simple_stmt ¶
func (s *Single_inputContext) Simple_stmt() ISimple_stmtContext
func (*Single_inputContext) ToStringTree ¶
func (s *Single_inputContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SliceopContext ¶
type SliceopContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySliceopContext ¶
func NewEmptySliceopContext() *SliceopContext
func NewSliceopContext ¶
func NewSliceopContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SliceopContext
func (*SliceopContext) COLON ¶
func (s *SliceopContext) COLON() antlr.TerminalNode
func (*SliceopContext) EnterRule ¶
func (s *SliceopContext) EnterRule(listener antlr.ParseTreeListener)
func (*SliceopContext) ExitRule ¶
func (s *SliceopContext) ExitRule(listener antlr.ParseTreeListener)
func (*SliceopContext) GetParser ¶
func (s *SliceopContext) GetParser() antlr.Parser
func (*SliceopContext) GetRuleContext ¶
func (s *SliceopContext) GetRuleContext() antlr.RuleContext
func (*SliceopContext) IsSliceopContext ¶
func (*SliceopContext) IsSliceopContext()
func (*SliceopContext) Test ¶
func (s *SliceopContext) Test() ITestContext
func (*SliceopContext) ToStringTree ¶
func (s *SliceopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Small_stmtContext ¶
type Small_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySmall_stmtContext ¶
func NewEmptySmall_stmtContext() *Small_stmtContext
func NewSmall_stmtContext ¶
func NewSmall_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Small_stmtContext
func (*Small_stmtContext) CopyFrom ¶
func (s *Small_stmtContext) CopyFrom(ctx *Small_stmtContext)
func (*Small_stmtContext) GetParser ¶
func (s *Small_stmtContext) GetParser() antlr.Parser
func (*Small_stmtContext) GetRuleContext ¶
func (s *Small_stmtContext) GetRuleContext() antlr.RuleContext
func (*Small_stmtContext) IsSmall_stmtContext ¶
func (*Small_stmtContext) IsSmall_stmtContext()
func (*Small_stmtContext) ToStringTree ¶
func (s *Small_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Star_exprContext ¶
type Star_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStar_exprContext ¶
func NewEmptyStar_exprContext() *Star_exprContext
func NewStar_exprContext ¶
func NewStar_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Star_exprContext
func (*Star_exprContext) EnterRule ¶
func (s *Star_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Star_exprContext) ExitRule ¶
func (s *Star_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Star_exprContext) Expr ¶
func (s *Star_exprContext) Expr() IExprContext
func (*Star_exprContext) GetParser ¶
func (s *Star_exprContext) GetParser() antlr.Parser
func (*Star_exprContext) GetRuleContext ¶
func (s *Star_exprContext) GetRuleContext() antlr.RuleContext
func (*Star_exprContext) IsStar_exprContext ¶
func (*Star_exprContext) IsStar_exprContext()
func (*Star_exprContext) STAR ¶
func (s *Star_exprContext) STAR() antlr.TerminalNode
func (*Star_exprContext) ToStringTree ¶
func (s *Star_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtContext ¶
type StmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtContext ¶
func NewEmptyStmtContext() *StmtContext
func NewStmtContext ¶
func NewStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtContext
func (*StmtContext) Compound_stmt ¶
func (s *StmtContext) Compound_stmt() ICompound_stmtContext
func (*StmtContext) EnterRule ¶
func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtContext) ExitRule ¶
func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtContext) GetParser ¶
func (s *StmtContext) GetParser() antlr.Parser
func (*StmtContext) GetRuleContext ¶
func (s *StmtContext) GetRuleContext() antlr.RuleContext
func (*StmtContext) IsStmtContext ¶
func (*StmtContext) IsStmtContext()
func (*StmtContext) Simple_stmt ¶
func (s *StmtContext) Simple_stmt() ISimple_stmtContext
func (*StmtContext) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubscriptContext ¶
type SubscriptContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubscriptContext ¶
func NewEmptySubscriptContext() *SubscriptContext
func NewSubscriptContext ¶
func NewSubscriptContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubscriptContext
func (*SubscriptContext) AllTest ¶
func (s *SubscriptContext) AllTest() []ITestContext
func (*SubscriptContext) COLON ¶
func (s *SubscriptContext) COLON() antlr.TerminalNode
func (*SubscriptContext) ELLIPSIS ¶
func (s *SubscriptContext) ELLIPSIS() antlr.TerminalNode
func (*SubscriptContext) EnterRule ¶
func (s *SubscriptContext) EnterRule(listener antlr.ParseTreeListener)
func (*SubscriptContext) ExitRule ¶
func (s *SubscriptContext) ExitRule(listener antlr.ParseTreeListener)
func (*SubscriptContext) GetParser ¶
func (s *SubscriptContext) GetParser() antlr.Parser
func (*SubscriptContext) GetRuleContext ¶
func (s *SubscriptContext) GetRuleContext() antlr.RuleContext
func (*SubscriptContext) IsSubscriptContext ¶
func (*SubscriptContext) IsSubscriptContext()
func (*SubscriptContext) Sliceop ¶
func (s *SubscriptContext) Sliceop() ISliceopContext
func (*SubscriptContext) Test ¶
func (s *SubscriptContext) Test(i int) ITestContext
func (*SubscriptContext) ToStringTree ¶
func (s *SubscriptContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubscriptlistContext ¶
type SubscriptlistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubscriptlistContext ¶
func NewEmptySubscriptlistContext() *SubscriptlistContext
func NewSubscriptlistContext ¶
func NewSubscriptlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubscriptlistContext
func (*SubscriptlistContext) AllCOMMA ¶
func (s *SubscriptlistContext) AllCOMMA() []antlr.TerminalNode
func (*SubscriptlistContext) AllSubscript ¶
func (s *SubscriptlistContext) AllSubscript() []ISubscriptContext
func (*SubscriptlistContext) COMMA ¶
func (s *SubscriptlistContext) COMMA(i int) antlr.TerminalNode
func (*SubscriptlistContext) EnterRule ¶
func (s *SubscriptlistContext) EnterRule(listener antlr.ParseTreeListener)
func (*SubscriptlistContext) ExitRule ¶
func (s *SubscriptlistContext) ExitRule(listener antlr.ParseTreeListener)
func (*SubscriptlistContext) GetParser ¶
func (s *SubscriptlistContext) GetParser() antlr.Parser
func (*SubscriptlistContext) GetRuleContext ¶
func (s *SubscriptlistContext) GetRuleContext() antlr.RuleContext
func (*SubscriptlistContext) IsSubscriptlistContext ¶
func (*SubscriptlistContext) IsSubscriptlistContext()
func (*SubscriptlistContext) Subscript ¶
func (s *SubscriptlistContext) Subscript(i int) ISubscriptContext
func (*SubscriptlistContext) ToStringTree ¶
func (s *SubscriptlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SuiteContext ¶
type SuiteContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySuiteContext ¶
func NewEmptySuiteContext() *SuiteContext
func NewSuiteContext ¶
func NewSuiteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuiteContext
func (*SuiteContext) AllStmt ¶
func (s *SuiteContext) AllStmt() []IStmtContext
func (*SuiteContext) DEDENT ¶
func (s *SuiteContext) DEDENT() antlr.TerminalNode
func (*SuiteContext) EnterRule ¶
func (s *SuiteContext) EnterRule(listener antlr.ParseTreeListener)
func (*SuiteContext) ExitRule ¶
func (s *SuiteContext) ExitRule(listener antlr.ParseTreeListener)
func (*SuiteContext) GetParser ¶
func (s *SuiteContext) GetParser() antlr.Parser
func (*SuiteContext) GetRuleContext ¶
func (s *SuiteContext) GetRuleContext() antlr.RuleContext
func (*SuiteContext) INDENT ¶
func (s *SuiteContext) INDENT() antlr.TerminalNode
func (*SuiteContext) IsSuiteContext ¶
func (*SuiteContext) IsSuiteContext()
func (*SuiteContext) LINE_BREAK ¶
func (s *SuiteContext) LINE_BREAK() antlr.TerminalNode
func (*SuiteContext) Simple_stmt ¶
func (s *SuiteContext) Simple_stmt() ISimple_stmtContext
func (*SuiteContext) Stmt ¶
func (s *SuiteContext) Stmt(i int) IStmtContext
func (*SuiteContext) ToStringTree ¶
func (s *SuiteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TestContext ¶
type TestContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTestContext ¶
func NewEmptyTestContext() *TestContext
func NewTestContext ¶
func NewTestContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TestContext
func (*TestContext) AllLogical_test ¶
func (s *TestContext) AllLogical_test() []ILogical_testContext
func (*TestContext) COLON ¶
func (s *TestContext) COLON() antlr.TerminalNode
func (*TestContext) ELSE ¶
func (s *TestContext) ELSE() antlr.TerminalNode
func (*TestContext) EnterRule ¶
func (s *TestContext) EnterRule(listener antlr.ParseTreeListener)
func (*TestContext) ExitRule ¶
func (s *TestContext) ExitRule(listener antlr.ParseTreeListener)
func (*TestContext) GetParser ¶
func (s *TestContext) GetParser() antlr.Parser
func (*TestContext) GetRuleContext ¶
func (s *TestContext) GetRuleContext() antlr.RuleContext
func (*TestContext) IF ¶
func (s *TestContext) IF() antlr.TerminalNode
func (*TestContext) IsTestContext ¶
func (*TestContext) IsTestContext()
func (*TestContext) LAMBDA ¶
func (s *TestContext) LAMBDA() antlr.TerminalNode
func (*TestContext) Logical_test ¶
func (s *TestContext) Logical_test(i int) ILogical_testContext
func (*TestContext) Test ¶
func (s *TestContext) Test() ITestContext
func (*TestContext) ToStringTree ¶
func (s *TestContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TestContext) Varargslist ¶
func (s *TestContext) Varargslist() IVarargslistContext
type TestlistContext ¶
type TestlistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTestlistContext ¶
func NewEmptyTestlistContext() *TestlistContext
func NewTestlistContext ¶
func NewTestlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TestlistContext
func (*TestlistContext) AllCOMMA ¶
func (s *TestlistContext) AllCOMMA() []antlr.TerminalNode
func (*TestlistContext) AllTest ¶
func (s *TestlistContext) AllTest() []ITestContext
func (*TestlistContext) COMMA ¶
func (s *TestlistContext) COMMA(i int) antlr.TerminalNode
func (*TestlistContext) EnterRule ¶
func (s *TestlistContext) EnterRule(listener antlr.ParseTreeListener)
func (*TestlistContext) ExitRule ¶
func (s *TestlistContext) ExitRule(listener antlr.ParseTreeListener)
func (*TestlistContext) GetParser ¶
func (s *TestlistContext) GetParser() antlr.Parser
func (*TestlistContext) GetRuleContext ¶
func (s *TestlistContext) GetRuleContext() antlr.RuleContext
func (*TestlistContext) IsTestlistContext ¶
func (*TestlistContext) IsTestlistContext()
func (*TestlistContext) Test ¶
func (s *TestlistContext) Test(i int) ITestContext
func (*TestlistContext) ToStringTree ¶
func (s *TestlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Testlist_compContext ¶
type Testlist_compContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTestlist_compContext ¶
func NewEmptyTestlist_compContext() *Testlist_compContext
func NewTestlist_compContext ¶
func NewTestlist_compContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Testlist_compContext
func (*Testlist_compContext) AllCOMMA ¶
func (s *Testlist_compContext) AllCOMMA() []antlr.TerminalNode
func (*Testlist_compContext) AllStar_expr ¶
func (s *Testlist_compContext) AllStar_expr() []IStar_exprContext
func (*Testlist_compContext) AllTest ¶
func (s *Testlist_compContext) AllTest() []ITestContext
func (*Testlist_compContext) COMMA ¶
func (s *Testlist_compContext) COMMA(i int) antlr.TerminalNode
func (*Testlist_compContext) Comp_for ¶
func (s *Testlist_compContext) Comp_for() IComp_forContext
func (*Testlist_compContext) EnterRule ¶
func (s *Testlist_compContext) EnterRule(listener antlr.ParseTreeListener)
func (*Testlist_compContext) ExitRule ¶
func (s *Testlist_compContext) ExitRule(listener antlr.ParseTreeListener)
func (*Testlist_compContext) GetParser ¶
func (s *Testlist_compContext) GetParser() antlr.Parser
func (*Testlist_compContext) GetRuleContext ¶
func (s *Testlist_compContext) GetRuleContext() antlr.RuleContext
func (*Testlist_compContext) IsTestlist_compContext ¶
func (*Testlist_compContext) IsTestlist_compContext()
func (*Testlist_compContext) Star_expr ¶
func (s *Testlist_compContext) Star_expr(i int) IStar_exprContext
func (*Testlist_compContext) Test ¶
func (s *Testlist_compContext) Test(i int) ITestContext
func (*Testlist_compContext) ToStringTree ¶
func (s *Testlist_compContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Testlist_star_exprContext ¶
type Testlist_star_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTestlist_star_exprContext ¶
func NewEmptyTestlist_star_exprContext() *Testlist_star_exprContext
func NewTestlist_star_exprContext ¶
func NewTestlist_star_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Testlist_star_exprContext
func (*Testlist_star_exprContext) AllCOMMA ¶
func (s *Testlist_star_exprContext) AllCOMMA() []antlr.TerminalNode
func (*Testlist_star_exprContext) AllStar_expr ¶
func (s *Testlist_star_exprContext) AllStar_expr() []IStar_exprContext
func (*Testlist_star_exprContext) AllTest ¶
func (s *Testlist_star_exprContext) AllTest() []ITestContext
func (*Testlist_star_exprContext) COMMA ¶
func (s *Testlist_star_exprContext) COMMA(i int) antlr.TerminalNode
func (*Testlist_star_exprContext) EnterRule ¶
func (s *Testlist_star_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Testlist_star_exprContext) ExitRule ¶
func (s *Testlist_star_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Testlist_star_exprContext) GetParser ¶
func (s *Testlist_star_exprContext) GetParser() antlr.Parser
func (*Testlist_star_exprContext) GetRuleContext ¶
func (s *Testlist_star_exprContext) GetRuleContext() antlr.RuleContext
func (*Testlist_star_exprContext) IsTestlist_star_exprContext ¶
func (*Testlist_star_exprContext) IsTestlist_star_exprContext()
func (*Testlist_star_exprContext) Star_expr ¶
func (s *Testlist_star_exprContext) Star_expr(i int) IStar_exprContext
func (*Testlist_star_exprContext) Test ¶
func (s *Testlist_star_exprContext) Test(i int) ITestContext
func (*Testlist_star_exprContext) Testlist ¶
func (s *Testlist_star_exprContext) Testlist() ITestlistContext
func (*Testlist_star_exprContext) ToStringTree ¶
func (s *Testlist_star_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TrailerContext ¶
type TrailerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTrailerContext ¶
func NewEmptyTrailerContext() *TrailerContext
func NewTrailerContext ¶
func NewTrailerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TrailerContext
func (*TrailerContext) Arguments ¶
func (s *TrailerContext) Arguments() IArgumentsContext
func (*TrailerContext) DOT ¶
func (s *TrailerContext) DOT() antlr.TerminalNode
func (*TrailerContext) EnterRule ¶
func (s *TrailerContext) EnterRule(listener antlr.ParseTreeListener)
func (*TrailerContext) ExitRule ¶
func (s *TrailerContext) ExitRule(listener antlr.ParseTreeListener)
func (*TrailerContext) GetParser ¶
func (s *TrailerContext) GetParser() antlr.Parser
func (*TrailerContext) GetRuleContext ¶
func (s *TrailerContext) GetRuleContext() antlr.RuleContext
func (*TrailerContext) IsTrailerContext ¶
func (*TrailerContext) IsTrailerContext()
func (*TrailerContext) Name ¶
func (s *TrailerContext) Name() INameContext
func (*TrailerContext) ToStringTree ¶
func (s *TrailerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Try_stmtContext ¶
type Try_stmtContext struct {
*Compound_stmtContext
}
func NewTry_stmtContext ¶
func NewTry_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Try_stmtContext
func (*Try_stmtContext) AllExcept_clause ¶
func (s *Try_stmtContext) AllExcept_clause() []IExcept_clauseContext
func (*Try_stmtContext) COLON ¶
func (s *Try_stmtContext) COLON() antlr.TerminalNode
func (*Try_stmtContext) Else_clause ¶
func (s *Try_stmtContext) Else_clause() IElse_clauseContext
func (*Try_stmtContext) EnterRule ¶
func (s *Try_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Try_stmtContext) Except_clause ¶
func (s *Try_stmtContext) Except_clause(i int) IExcept_clauseContext
func (*Try_stmtContext) ExitRule ¶
func (s *Try_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Try_stmtContext) Finally_clause ¶
func (s *Try_stmtContext) Finally_clause() IFinally_clauseContext
func (*Try_stmtContext) GetRuleContext ¶
func (s *Try_stmtContext) GetRuleContext() antlr.RuleContext
func (*Try_stmtContext) Suite ¶
func (s *Try_stmtContext) Suite() ISuiteContext
func (*Try_stmtContext) TRY ¶
func (s *Try_stmtContext) TRY() antlr.TerminalNode
type TypedargslistContext ¶
type TypedargslistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypedargslistContext ¶
func NewEmptyTypedargslistContext() *TypedargslistContext
func NewTypedargslistContext ¶
func NewTypedargslistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypedargslistContext
func (*TypedargslistContext) AllCOMMA ¶
func (s *TypedargslistContext) AllCOMMA() []antlr.TerminalNode
func (*TypedargslistContext) AllDef_parameters ¶
func (s *TypedargslistContext) AllDef_parameters() []IDef_parametersContext
func (*TypedargslistContext) Args ¶
func (s *TypedargslistContext) Args() IArgsContext
func (*TypedargslistContext) COMMA ¶
func (s *TypedargslistContext) COMMA(i int) antlr.TerminalNode
func (*TypedargslistContext) Def_parameters ¶
func (s *TypedargslistContext) Def_parameters(i int) IDef_parametersContext
func (*TypedargslistContext) EnterRule ¶
func (s *TypedargslistContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypedargslistContext) ExitRule ¶
func (s *TypedargslistContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypedargslistContext) GetParser ¶
func (s *TypedargslistContext) GetParser() antlr.Parser
func (*TypedargslistContext) GetRuleContext ¶
func (s *TypedargslistContext) GetRuleContext() antlr.RuleContext
func (*TypedargslistContext) IsTypedargslistContext ¶
func (*TypedargslistContext) IsTypedargslistContext()
func (*TypedargslistContext) Kwargs ¶
func (s *TypedargslistContext) Kwargs() IKwargsContext
func (*TypedargslistContext) ToStringTree ¶
func (s *TypedargslistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VarargsContext ¶
type VarargsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVarargsContext ¶
func NewEmptyVarargsContext() *VarargsContext
func NewVarargsContext ¶
func NewVarargsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarargsContext
func (*VarargsContext) EnterRule ¶
func (s *VarargsContext) EnterRule(listener antlr.ParseTreeListener)
func (*VarargsContext) ExitRule ¶
func (s *VarargsContext) ExitRule(listener antlr.ParseTreeListener)
func (*VarargsContext) GetParser ¶
func (s *VarargsContext) GetParser() antlr.Parser
func (*VarargsContext) GetRuleContext ¶
func (s *VarargsContext) GetRuleContext() antlr.RuleContext
func (*VarargsContext) IsVarargsContext ¶
func (*VarargsContext) IsVarargsContext()
func (*VarargsContext) Name ¶
func (s *VarargsContext) Name() INameContext
func (*VarargsContext) STAR ¶
func (s *VarargsContext) STAR() antlr.TerminalNode
func (*VarargsContext) ToStringTree ¶
func (s *VarargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VarargslistContext ¶
type VarargslistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVarargslistContext ¶
func NewEmptyVarargslistContext() *VarargslistContext
func NewVarargslistContext ¶
func NewVarargslistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarargslistContext
func (*VarargslistContext) AllCOMMA ¶
func (s *VarargslistContext) AllCOMMA() []antlr.TerminalNode
func (*VarargslistContext) AllVardef_parameters ¶
func (s *VarargslistContext) AllVardef_parameters() []IVardef_parametersContext
func (*VarargslistContext) COMMA ¶
func (s *VarargslistContext) COMMA(i int) antlr.TerminalNode
func (*VarargslistContext) EnterRule ¶
func (s *VarargslistContext) EnterRule(listener antlr.ParseTreeListener)
func (*VarargslistContext) ExitRule ¶
func (s *VarargslistContext) ExitRule(listener antlr.ParseTreeListener)
func (*VarargslistContext) GetParser ¶
func (s *VarargslistContext) GetParser() antlr.Parser
func (*VarargslistContext) GetRuleContext ¶
func (s *VarargslistContext) GetRuleContext() antlr.RuleContext
func (*VarargslistContext) IsVarargslistContext ¶
func (*VarargslistContext) IsVarargslistContext()
func (*VarargslistContext) ToStringTree ¶
func (s *VarargslistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VarargslistContext) Varargs ¶
func (s *VarargslistContext) Varargs() IVarargsContext
func (*VarargslistContext) Vardef_parameters ¶
func (s *VarargslistContext) Vardef_parameters(i int) IVardef_parametersContext
func (*VarargslistContext) Varkwargs ¶
func (s *VarargslistContext) Varkwargs() IVarkwargsContext
type Vardef_parameterContext ¶
type Vardef_parameterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVardef_parameterContext ¶
func NewEmptyVardef_parameterContext() *Vardef_parameterContext
func NewVardef_parameterContext ¶
func NewVardef_parameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Vardef_parameterContext
func (*Vardef_parameterContext) ASSIGN ¶
func (s *Vardef_parameterContext) ASSIGN() antlr.TerminalNode
func (*Vardef_parameterContext) EnterRule ¶
func (s *Vardef_parameterContext) EnterRule(listener antlr.ParseTreeListener)
func (*Vardef_parameterContext) ExitRule ¶
func (s *Vardef_parameterContext) ExitRule(listener antlr.ParseTreeListener)
func (*Vardef_parameterContext) GetParser ¶
func (s *Vardef_parameterContext) GetParser() antlr.Parser
func (*Vardef_parameterContext) GetRuleContext ¶
func (s *Vardef_parameterContext) GetRuleContext() antlr.RuleContext
func (*Vardef_parameterContext) IsVardef_parameterContext ¶
func (*Vardef_parameterContext) IsVardef_parameterContext()
func (*Vardef_parameterContext) Name ¶
func (s *Vardef_parameterContext) Name() INameContext
func (*Vardef_parameterContext) STAR ¶
func (s *Vardef_parameterContext) STAR() antlr.TerminalNode
func (*Vardef_parameterContext) Test ¶
func (s *Vardef_parameterContext) Test() ITestContext
func (*Vardef_parameterContext) ToStringTree ¶
func (s *Vardef_parameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Vardef_parametersContext ¶
type Vardef_parametersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVardef_parametersContext ¶
func NewEmptyVardef_parametersContext() *Vardef_parametersContext
func NewVardef_parametersContext ¶
func NewVardef_parametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Vardef_parametersContext
func (*Vardef_parametersContext) AllCOMMA ¶
func (s *Vardef_parametersContext) AllCOMMA() []antlr.TerminalNode
func (*Vardef_parametersContext) AllVardef_parameter ¶
func (s *Vardef_parametersContext) AllVardef_parameter() []IVardef_parameterContext
func (*Vardef_parametersContext) COMMA ¶
func (s *Vardef_parametersContext) COMMA(i int) antlr.TerminalNode
func (*Vardef_parametersContext) EnterRule ¶
func (s *Vardef_parametersContext) EnterRule(listener antlr.ParseTreeListener)
func (*Vardef_parametersContext) ExitRule ¶
func (s *Vardef_parametersContext) ExitRule(listener antlr.ParseTreeListener)
func (*Vardef_parametersContext) GetParser ¶
func (s *Vardef_parametersContext) GetParser() antlr.Parser
func (*Vardef_parametersContext) GetRuleContext ¶
func (s *Vardef_parametersContext) GetRuleContext() antlr.RuleContext
func (*Vardef_parametersContext) IsVardef_parametersContext ¶
func (*Vardef_parametersContext) IsVardef_parametersContext()
func (*Vardef_parametersContext) ToStringTree ¶
func (s *Vardef_parametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Vardef_parametersContext) Vardef_parameter ¶
func (s *Vardef_parametersContext) Vardef_parameter(i int) IVardef_parameterContext
type VarkwargsContext ¶
type VarkwargsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVarkwargsContext ¶
func NewEmptyVarkwargsContext() *VarkwargsContext
func NewVarkwargsContext ¶
func NewVarkwargsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarkwargsContext
func (*VarkwargsContext) EnterRule ¶
func (s *VarkwargsContext) EnterRule(listener antlr.ParseTreeListener)
func (*VarkwargsContext) ExitRule ¶
func (s *VarkwargsContext) ExitRule(listener antlr.ParseTreeListener)
func (*VarkwargsContext) GetParser ¶
func (s *VarkwargsContext) GetParser() antlr.Parser
func (*VarkwargsContext) GetRuleContext ¶
func (s *VarkwargsContext) GetRuleContext() antlr.RuleContext
func (*VarkwargsContext) IsVarkwargsContext ¶
func (*VarkwargsContext) IsVarkwargsContext()
func (*VarkwargsContext) Name ¶
func (s *VarkwargsContext) Name() INameContext
func (*VarkwargsContext) POWER ¶
func (s *VarkwargsContext) POWER() antlr.TerminalNode
func (*VarkwargsContext) ToStringTree ¶
func (s *VarkwargsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type While_stmtContext ¶
type While_stmtContext struct {
*Compound_stmtContext
}
func NewWhile_stmtContext ¶
func NewWhile_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *While_stmtContext
func (*While_stmtContext) COLON ¶
func (s *While_stmtContext) COLON() antlr.TerminalNode
func (*While_stmtContext) Else_clause ¶
func (s *While_stmtContext) Else_clause() IElse_clauseContext
func (*While_stmtContext) EnterRule ¶
func (s *While_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*While_stmtContext) ExitRule ¶
func (s *While_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*While_stmtContext) GetRuleContext ¶
func (s *While_stmtContext) GetRuleContext() antlr.RuleContext
func (*While_stmtContext) Suite ¶
func (s *While_stmtContext) Suite() ISuiteContext
func (*While_stmtContext) Test ¶
func (s *While_stmtContext) Test() ITestContext
func (*While_stmtContext) WHILE ¶
func (s *While_stmtContext) WHILE() antlr.TerminalNode
type With_itemContext ¶
type With_itemContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWith_itemContext ¶
func NewEmptyWith_itemContext() *With_itemContext
func NewWith_itemContext ¶
func NewWith_itemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *With_itemContext
func (*With_itemContext) AS ¶
func (s *With_itemContext) AS() antlr.TerminalNode
func (*With_itemContext) EnterRule ¶
func (s *With_itemContext) EnterRule(listener antlr.ParseTreeListener)
func (*With_itemContext) ExitRule ¶
func (s *With_itemContext) ExitRule(listener antlr.ParseTreeListener)
func (*With_itemContext) Expr ¶
func (s *With_itemContext) Expr() IExprContext
func (*With_itemContext) GetParser ¶
func (s *With_itemContext) GetParser() antlr.Parser
func (*With_itemContext) GetRuleContext ¶
func (s *With_itemContext) GetRuleContext() antlr.RuleContext
func (*With_itemContext) IsWith_itemContext ¶
func (*With_itemContext) IsWith_itemContext()
func (*With_itemContext) Test ¶
func (s *With_itemContext) Test() ITestContext
func (*With_itemContext) ToStringTree ¶
func (s *With_itemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type With_stmtContext ¶
type With_stmtContext struct {
*Compound_stmtContext
}
func NewWith_stmtContext ¶
func NewWith_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *With_stmtContext
func (*With_stmtContext) ASYNC ¶
func (s *With_stmtContext) ASYNC() antlr.TerminalNode
func (*With_stmtContext) AllCOMMA ¶
func (s *With_stmtContext) AllCOMMA() []antlr.TerminalNode
func (*With_stmtContext) AllWith_item ¶
func (s *With_stmtContext) AllWith_item() []IWith_itemContext
func (*With_stmtContext) COLON ¶
func (s *With_stmtContext) COLON() antlr.TerminalNode
func (*With_stmtContext) COMMA ¶
func (s *With_stmtContext) COMMA(i int) antlr.TerminalNode
func (*With_stmtContext) EnterRule ¶
func (s *With_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*With_stmtContext) ExitRule ¶
func (s *With_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*With_stmtContext) GetRuleContext ¶
func (s *With_stmtContext) GetRuleContext() antlr.RuleContext
func (*With_stmtContext) Suite ¶
func (s *With_stmtContext) Suite() ISuiteContext
func (*With_stmtContext) WITH ¶
func (s *With_stmtContext) WITH() antlr.TerminalNode
func (*With_stmtContext) With_item ¶
func (s *With_stmtContext) With_item(i int) IWith_itemContext
type Yield_argContext ¶
type Yield_argContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyYield_argContext ¶
func NewEmptyYield_argContext() *Yield_argContext
func NewYield_argContext ¶
func NewYield_argContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Yield_argContext
func (*Yield_argContext) EnterRule ¶
func (s *Yield_argContext) EnterRule(listener antlr.ParseTreeListener)
func (*Yield_argContext) ExitRule ¶
func (s *Yield_argContext) ExitRule(listener antlr.ParseTreeListener)
func (*Yield_argContext) FROM ¶
func (s *Yield_argContext) FROM() antlr.TerminalNode
func (*Yield_argContext) GetParser ¶
func (s *Yield_argContext) GetParser() antlr.Parser
func (*Yield_argContext) GetRuleContext ¶
func (s *Yield_argContext) GetRuleContext() antlr.RuleContext
func (*Yield_argContext) IsYield_argContext ¶
func (*Yield_argContext) IsYield_argContext()
func (*Yield_argContext) Test ¶
func (s *Yield_argContext) Test() ITestContext
func (*Yield_argContext) Testlist ¶
func (s *Yield_argContext) Testlist() ITestlistContext
func (*Yield_argContext) ToStringTree ¶
func (s *Yield_argContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Yield_exprContext ¶
type Yield_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyYield_exprContext ¶
func NewEmptyYield_exprContext() *Yield_exprContext
func NewYield_exprContext ¶
func NewYield_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Yield_exprContext
func (*Yield_exprContext) EnterRule ¶
func (s *Yield_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Yield_exprContext) ExitRule ¶
func (s *Yield_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Yield_exprContext) GetParser ¶
func (s *Yield_exprContext) GetParser() antlr.Parser
func (*Yield_exprContext) GetRuleContext ¶
func (s *Yield_exprContext) GetRuleContext() antlr.RuleContext
func (*Yield_exprContext) IsYield_exprContext ¶
func (*Yield_exprContext) IsYield_exprContext()
func (*Yield_exprContext) ToStringTree ¶
func (s *Yield_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Yield_exprContext) YIELD ¶
func (s *Yield_exprContext) YIELD() antlr.TerminalNode
func (*Yield_exprContext) Yield_arg ¶
func (s *Yield_exprContext) Yield_arg() IYield_argContext
type Yield_stmtContext ¶
type Yield_stmtContext struct {
*Small_stmtContext
}
func NewYield_stmtContext ¶
func NewYield_stmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Yield_stmtContext
func (*Yield_stmtContext) EnterRule ¶
func (s *Yield_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Yield_stmtContext) ExitRule ¶
func (s *Yield_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Yield_stmtContext) GetRuleContext ¶
func (s *Yield_stmtContext) GetRuleContext() antlr.RuleContext
func (*Yield_stmtContext) Yield_expr ¶
func (s *Yield_stmtContext) Yield_expr() IYield_exprContext