Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyArglistContext(p *ArglistContext)
- func InitEmptyArgsContext(p *ArgsContext)
- func InitEmptyArgumentContext(p *ArgumentContext)
- func InitEmptyArgumentsContext(p *ArgumentsContext)
- func InitEmptyAssign_partContext(p *Assign_partContext)
- func InitEmptyAtomContext(p *AtomContext)
- func InitEmptyClassdefContext(p *ClassdefContext)
- func InitEmptyComp_forContext(p *Comp_forContext)
- func InitEmptyComp_iterContext(p *Comp_iterContext)
- func InitEmptyComparisonContext(p *ComparisonContext)
- func InitEmptyCompound_stmtContext(p *Compound_stmtContext)
- func InitEmptyDecoratorContext(p *DecoratorContext)
- func InitEmptyDef_parameterContext(p *Def_parameterContext)
- func InitEmptyDef_parametersContext(p *Def_parametersContext)
- func InitEmptyDictorsetmakerContext(p *DictorsetmakerContext)
- func InitEmptyDotted_as_nameContext(p *Dotted_as_nameContext)
- func InitEmptyDotted_as_namesContext(p *Dotted_as_namesContext)
- func InitEmptyDotted_nameContext(p *Dotted_nameContext)
- func InitEmptyElif_clauseContext(p *Elif_clauseContext)
- func InitEmptyElse_clauseContext(p *Else_clauseContext)
- func InitEmptyEval_inputContext(p *Eval_inputContext)
- func InitEmptyExcept_clauseContext(p *Except_clauseContext)
- func InitEmptyExprContext(p *ExprContext)
- func InitEmptyExprlistContext(p *ExprlistContext)
- func InitEmptyFile_inputContext(p *File_inputContext)
- func InitEmptyFinally_clauseContext(p *Finally_clauseContext)
- func InitEmptyFuncdefContext(p *FuncdefContext)
- func InitEmptyImport_as_nameContext(p *Import_as_nameContext)
- func InitEmptyImport_as_namesContext(p *Import_as_namesContext)
- func InitEmptyIntegerContext(p *IntegerContext)
- func InitEmptyKwargsContext(p *KwargsContext)
- func InitEmptyLogical_testContext(p *Logical_testContext)
- func InitEmptyNameContext(p *NameContext)
- func InitEmptyNamed_parameterContext(p *Named_parameterContext)
- func InitEmptyNumberContext(p *NumberContext)
- func InitEmptyRootContext(p *RootContext)
- func InitEmptySimple_stmtContext(p *Simple_stmtContext)
- func InitEmptySingle_inputContext(p *Single_inputContext)
- func InitEmptySliceopContext(p *SliceopContext)
- func InitEmptySmall_stmtContext(p *Small_stmtContext)
- func InitEmptyStar_exprContext(p *Star_exprContext)
- func InitEmptyStmtContext(p *StmtContext)
- func InitEmptySubscriptContext(p *SubscriptContext)
- func InitEmptySubscriptlistContext(p *SubscriptlistContext)
- func InitEmptySuiteContext(p *SuiteContext)
- func InitEmptyTestContext(p *TestContext)
- func InitEmptyTestlistContext(p *TestlistContext)
- func InitEmptyTestlist_compContext(p *Testlist_compContext)
- func InitEmptyTestlist_star_exprContext(p *Testlist_star_exprContext)
- func InitEmptyTrailerContext(p *TrailerContext)
- func InitEmptyTypedargslistContext(p *TypedargslistContext)
- func InitEmptyVarargsContext(p *VarargsContext)
- func InitEmptyVarargslistContext(p *VarargslistContext)
- func InitEmptyVardef_parameterContext(p *Vardef_parameterContext)
- func InitEmptyVardef_parametersContext(p *Vardef_parametersContext)
- func InitEmptyVarkwargsContext(p *VarkwargsContext)
- func InitEmptyWith_itemContext(p *With_itemContext)
- func InitEmptyYield_argContext(p *Yield_argContext)
- func InitEmptyYield_exprContext(p *Yield_exprContext)
- func Python3LexerInit()
- func Python3ParserInit()
- type ArglistContext
- func (s *ArglistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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 BasePython3ParserListener
- func (s *BasePython3ParserListener) EnterArglist(ctx *ArglistContext)
- func (s *BasePython3ParserListener) EnterArgs(ctx *ArgsContext)
- func (s *BasePython3ParserListener) EnterArgument(ctx *ArgumentContext)
- func (s *BasePython3ParserListener) EnterArguments(ctx *ArgumentsContext)
- func (s *BasePython3ParserListener) EnterAssert_stmt(ctx *Assert_stmtContext)
- func (s *BasePython3ParserListener) EnterAssign_part(ctx *Assign_partContext)
- func (s *BasePython3ParserListener) EnterAtom(ctx *AtomContext)
- func (s *BasePython3ParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
- func (s *BasePython3ParserListener) EnterClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
- func (s *BasePython3ParserListener) EnterClassdef(ctx *ClassdefContext)
- func (s *BasePython3ParserListener) EnterComp_for(ctx *Comp_forContext)
- func (s *BasePython3ParserListener) EnterComp_iter(ctx *Comp_iterContext)
- func (s *BasePython3ParserListener) EnterComparison(ctx *ComparisonContext)
- func (s *BasePython3ParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
- func (s *BasePython3ParserListener) EnterDecorator(ctx *DecoratorContext)
- func (s *BasePython3ParserListener) EnterDef_parameter(ctx *Def_parameterContext)
- func (s *BasePython3ParserListener) EnterDef_parameters(ctx *Def_parametersContext)
- func (s *BasePython3ParserListener) EnterDel_stmt(ctx *Del_stmtContext)
- func (s *BasePython3ParserListener) EnterDictorsetmaker(ctx *DictorsetmakerContext)
- func (s *BasePython3ParserListener) EnterDotted_as_name(ctx *Dotted_as_nameContext)
- func (s *BasePython3ParserListener) EnterDotted_as_names(ctx *Dotted_as_namesContext)
- func (s *BasePython3ParserListener) EnterDotted_name(ctx *Dotted_nameContext)
- func (s *BasePython3ParserListener) EnterElif_clause(ctx *Elif_clauseContext)
- func (s *BasePython3ParserListener) EnterElse_clause(ctx *Else_clauseContext)
- func (s *BasePython3ParserListener) EnterEval_input(ctx *Eval_inputContext)
- func (s *BasePython3ParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePython3ParserListener) EnterExcept_clause(ctx *Except_clauseContext)
- func (s *BasePython3ParserListener) EnterExec_stmt(ctx *Exec_stmtContext)
- func (s *BasePython3ParserListener) EnterExpr(ctx *ExprContext)
- func (s *BasePython3ParserListener) EnterExpr_stmt(ctx *Expr_stmtContext)
- func (s *BasePython3ParserListener) EnterExprlist(ctx *ExprlistContext)
- func (s *BasePython3ParserListener) EnterFile_input(ctx *File_inputContext)
- func (s *BasePython3ParserListener) EnterFinally_clause(ctx *Finally_clauseContext)
- func (s *BasePython3ParserListener) EnterFor_stmt(ctx *For_stmtContext)
- func (s *BasePython3ParserListener) EnterFrom_stmt(ctx *From_stmtContext)
- func (s *BasePython3ParserListener) EnterFuncdef(ctx *FuncdefContext)
- func (s *BasePython3ParserListener) EnterGlobal_stmt(ctx *Global_stmtContext)
- func (s *BasePython3ParserListener) EnterIf_stmt(ctx *If_stmtContext)
- func (s *BasePython3ParserListener) EnterImport_as_name(ctx *Import_as_nameContext)
- func (s *BasePython3ParserListener) EnterImport_as_names(ctx *Import_as_namesContext)
- func (s *BasePython3ParserListener) EnterImport_stmt(ctx *Import_stmtContext)
- func (s *BasePython3ParserListener) EnterInteger(ctx *IntegerContext)
- func (s *BasePython3ParserListener) EnterKwargs(ctx *KwargsContext)
- func (s *BasePython3ParserListener) EnterLogical_test(ctx *Logical_testContext)
- func (s *BasePython3ParserListener) EnterName(ctx *NameContext)
- func (s *BasePython3ParserListener) EnterNamed_parameter(ctx *Named_parameterContext)
- func (s *BasePython3ParserListener) EnterNonlocal_stmt(ctx *Nonlocal_stmtContext)
- func (s *BasePython3ParserListener) EnterNumber(ctx *NumberContext)
- func (s *BasePython3ParserListener) EnterPass_stmt(ctx *Pass_stmtContext)
- func (s *BasePython3ParserListener) EnterPrint_stmt(ctx *Print_stmtContext)
- func (s *BasePython3ParserListener) EnterRaise_stmt(ctx *Raise_stmtContext)
- func (s *BasePython3ParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
- func (s *BasePython3ParserListener) EnterRoot(ctx *RootContext)
- func (s *BasePython3ParserListener) EnterSimple_stmt(ctx *Simple_stmtContext)
- func (s *BasePython3ParserListener) EnterSingle_input(ctx *Single_inputContext)
- func (s *BasePython3ParserListener) EnterSliceop(ctx *SliceopContext)
- func (s *BasePython3ParserListener) EnterStar_expr(ctx *Star_exprContext)
- func (s *BasePython3ParserListener) EnterStmt(ctx *StmtContext)
- func (s *BasePython3ParserListener) EnterSubscript(ctx *SubscriptContext)
- func (s *BasePython3ParserListener) EnterSubscriptlist(ctx *SubscriptlistContext)
- func (s *BasePython3ParserListener) EnterSuite(ctx *SuiteContext)
- func (s *BasePython3ParserListener) EnterTest(ctx *TestContext)
- func (s *BasePython3ParserListener) EnterTestlist(ctx *TestlistContext)
- func (s *BasePython3ParserListener) EnterTestlist_comp(ctx *Testlist_compContext)
- func (s *BasePython3ParserListener) EnterTestlist_star_expr(ctx *Testlist_star_exprContext)
- func (s *BasePython3ParserListener) EnterTrailer(ctx *TrailerContext)
- func (s *BasePython3ParserListener) EnterTry_stmt(ctx *Try_stmtContext)
- func (s *BasePython3ParserListener) EnterTypedargslist(ctx *TypedargslistContext)
- func (s *BasePython3ParserListener) EnterVarargs(ctx *VarargsContext)
- func (s *BasePython3ParserListener) EnterVarargslist(ctx *VarargslistContext)
- func (s *BasePython3ParserListener) EnterVardef_parameter(ctx *Vardef_parameterContext)
- func (s *BasePython3ParserListener) EnterVardef_parameters(ctx *Vardef_parametersContext)
- func (s *BasePython3ParserListener) EnterVarkwargs(ctx *VarkwargsContext)
- func (s *BasePython3ParserListener) EnterWhile_stmt(ctx *While_stmtContext)
- func (s *BasePython3ParserListener) EnterWith_item(ctx *With_itemContext)
- func (s *BasePython3ParserListener) EnterWith_stmt(ctx *With_stmtContext)
- func (s *BasePython3ParserListener) EnterYield_arg(ctx *Yield_argContext)
- func (s *BasePython3ParserListener) EnterYield_expr(ctx *Yield_exprContext)
- func (s *BasePython3ParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
- func (s *BasePython3ParserListener) ExitArglist(ctx *ArglistContext)
- func (s *BasePython3ParserListener) ExitArgs(ctx *ArgsContext)
- func (s *BasePython3ParserListener) ExitArgument(ctx *ArgumentContext)
- func (s *BasePython3ParserListener) ExitArguments(ctx *ArgumentsContext)
- func (s *BasePython3ParserListener) ExitAssert_stmt(ctx *Assert_stmtContext)
- func (s *BasePython3ParserListener) ExitAssign_part(ctx *Assign_partContext)
- func (s *BasePython3ParserListener) ExitAtom(ctx *AtomContext)
- func (s *BasePython3ParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
- func (s *BasePython3ParserListener) ExitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext)
- func (s *BasePython3ParserListener) ExitClassdef(ctx *ClassdefContext)
- func (s *BasePython3ParserListener) ExitComp_for(ctx *Comp_forContext)
- func (s *BasePython3ParserListener) ExitComp_iter(ctx *Comp_iterContext)
- func (s *BasePython3ParserListener) ExitComparison(ctx *ComparisonContext)
- func (s *BasePython3ParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
- func (s *BasePython3ParserListener) ExitDecorator(ctx *DecoratorContext)
- func (s *BasePython3ParserListener) ExitDef_parameter(ctx *Def_parameterContext)
- func (s *BasePython3ParserListener) ExitDef_parameters(ctx *Def_parametersContext)
- func (s *BasePython3ParserListener) ExitDel_stmt(ctx *Del_stmtContext)
- func (s *BasePython3ParserListener) ExitDictorsetmaker(ctx *DictorsetmakerContext)
- func (s *BasePython3ParserListener) ExitDotted_as_name(ctx *Dotted_as_nameContext)
- func (s *BasePython3ParserListener) ExitDotted_as_names(ctx *Dotted_as_namesContext)
- func (s *BasePython3ParserListener) ExitDotted_name(ctx *Dotted_nameContext)
- func (s *BasePython3ParserListener) ExitElif_clause(ctx *Elif_clauseContext)
- func (s *BasePython3ParserListener) ExitElse_clause(ctx *Else_clauseContext)
- func (s *BasePython3ParserListener) ExitEval_input(ctx *Eval_inputContext)
- func (s *BasePython3ParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePython3ParserListener) ExitExcept_clause(ctx *Except_clauseContext)
- func (s *BasePython3ParserListener) ExitExec_stmt(ctx *Exec_stmtContext)
- func (s *BasePython3ParserListener) ExitExpr(ctx *ExprContext)
- func (s *BasePython3ParserListener) ExitExpr_stmt(ctx *Expr_stmtContext)
- func (s *BasePython3ParserListener) ExitExprlist(ctx *ExprlistContext)
- func (s *BasePython3ParserListener) ExitFile_input(ctx *File_inputContext)
- func (s *BasePython3ParserListener) ExitFinally_clause(ctx *Finally_clauseContext)
- func (s *BasePython3ParserListener) ExitFor_stmt(ctx *For_stmtContext)
- func (s *BasePython3ParserListener) ExitFrom_stmt(ctx *From_stmtContext)
- func (s *BasePython3ParserListener) ExitFuncdef(ctx *FuncdefContext)
- func (s *BasePython3ParserListener) ExitGlobal_stmt(ctx *Global_stmtContext)
- func (s *BasePython3ParserListener) ExitIf_stmt(ctx *If_stmtContext)
- func (s *BasePython3ParserListener) ExitImport_as_name(ctx *Import_as_nameContext)
- func (s *BasePython3ParserListener) ExitImport_as_names(ctx *Import_as_namesContext)
- func (s *BasePython3ParserListener) ExitImport_stmt(ctx *Import_stmtContext)
- func (s *BasePython3ParserListener) ExitInteger(ctx *IntegerContext)
- func (s *BasePython3ParserListener) ExitKwargs(ctx *KwargsContext)
- func (s *BasePython3ParserListener) ExitLogical_test(ctx *Logical_testContext)
- func (s *BasePython3ParserListener) ExitName(ctx *NameContext)
- func (s *BasePython3ParserListener) ExitNamed_parameter(ctx *Named_parameterContext)
- func (s *BasePython3ParserListener) ExitNonlocal_stmt(ctx *Nonlocal_stmtContext)
- func (s *BasePython3ParserListener) ExitNumber(ctx *NumberContext)
- func (s *BasePython3ParserListener) ExitPass_stmt(ctx *Pass_stmtContext)
- func (s *BasePython3ParserListener) ExitPrint_stmt(ctx *Print_stmtContext)
- func (s *BasePython3ParserListener) ExitRaise_stmt(ctx *Raise_stmtContext)
- func (s *BasePython3ParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
- func (s *BasePython3ParserListener) ExitRoot(ctx *RootContext)
- func (s *BasePython3ParserListener) ExitSimple_stmt(ctx *Simple_stmtContext)
- func (s *BasePython3ParserListener) ExitSingle_input(ctx *Single_inputContext)
- func (s *BasePython3ParserListener) ExitSliceop(ctx *SliceopContext)
- func (s *BasePython3ParserListener) ExitStar_expr(ctx *Star_exprContext)
- func (s *BasePython3ParserListener) ExitStmt(ctx *StmtContext)
- func (s *BasePython3ParserListener) ExitSubscript(ctx *SubscriptContext)
- func (s *BasePython3ParserListener) ExitSubscriptlist(ctx *SubscriptlistContext)
- func (s *BasePython3ParserListener) ExitSuite(ctx *SuiteContext)
- func (s *BasePython3ParserListener) ExitTest(ctx *TestContext)
- func (s *BasePython3ParserListener) ExitTestlist(ctx *TestlistContext)
- func (s *BasePython3ParserListener) ExitTestlist_comp(ctx *Testlist_compContext)
- func (s *BasePython3ParserListener) ExitTestlist_star_expr(ctx *Testlist_star_exprContext)
- func (s *BasePython3ParserListener) ExitTrailer(ctx *TrailerContext)
- func (s *BasePython3ParserListener) ExitTry_stmt(ctx *Try_stmtContext)
- func (s *BasePython3ParserListener) ExitTypedargslist(ctx *TypedargslistContext)
- func (s *BasePython3ParserListener) ExitVarargs(ctx *VarargsContext)
- func (s *BasePython3ParserListener) ExitVarargslist(ctx *VarargslistContext)
- func (s *BasePython3ParserListener) ExitVardef_parameter(ctx *Vardef_parameterContext)
- func (s *BasePython3ParserListener) ExitVardef_parameters(ctx *Vardef_parametersContext)
- func (s *BasePython3ParserListener) ExitVarkwargs(ctx *VarkwargsContext)
- func (s *BasePython3ParserListener) ExitWhile_stmt(ctx *While_stmtContext)
- func (s *BasePython3ParserListener) ExitWith_item(ctx *With_itemContext)
- func (s *BasePython3ParserListener) ExitWith_stmt(ctx *With_stmtContext)
- func (s *BasePython3ParserListener) ExitYield_arg(ctx *Yield_argContext)
- func (s *BasePython3ParserListener) ExitYield_expr(ctx *Yield_exprContext)
- func (s *BasePython3ParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
- func (s *BasePython3ParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasePython3ParserListener) VisitTerminal(node antlr.TerminalNode)
- type BasePython3ParserVisitor
- func (v *BasePython3ParserVisitor) VisitArglist(ctx *ArglistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitArgs(ctx *ArgsContext) interface{}
- func (v *BasePython3ParserVisitor) VisitArgument(ctx *ArgumentContext) interface{}
- func (v *BasePython3ParserVisitor) VisitArguments(ctx *ArgumentsContext) interface{}
- func (v *BasePython3ParserVisitor) VisitAssert_stmt(ctx *Assert_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitAssign_part(ctx *Assign_partContext) interface{}
- func (v *BasePython3ParserVisitor) VisitAtom(ctx *AtomContext) interface{}
- func (v *BasePython3ParserVisitor) VisitBreak_stmt(ctx *Break_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitClassdef(ctx *ClassdefContext) interface{}
- func (v *BasePython3ParserVisitor) VisitComp_for(ctx *Comp_forContext) interface{}
- func (v *BasePython3ParserVisitor) VisitComp_iter(ctx *Comp_iterContext) interface{}
- func (v *BasePython3ParserVisitor) VisitComparison(ctx *ComparisonContext) interface{}
- func (v *BasePython3ParserVisitor) VisitContinue_stmt(ctx *Continue_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDecorator(ctx *DecoratorContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDef_parameter(ctx *Def_parameterContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDef_parameters(ctx *Def_parametersContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDel_stmt(ctx *Del_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDictorsetmaker(ctx *DictorsetmakerContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDotted_as_name(ctx *Dotted_as_nameContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDotted_as_names(ctx *Dotted_as_namesContext) interface{}
- func (v *BasePython3ParserVisitor) VisitDotted_name(ctx *Dotted_nameContext) interface{}
- func (v *BasePython3ParserVisitor) VisitElif_clause(ctx *Elif_clauseContext) interface{}
- func (v *BasePython3ParserVisitor) VisitElse_clause(ctx *Else_clauseContext) interface{}
- func (v *BasePython3ParserVisitor) VisitEval_input(ctx *Eval_inputContext) interface{}
- func (v *BasePython3ParserVisitor) VisitExcept_clause(ctx *Except_clauseContext) interface{}
- func (v *BasePython3ParserVisitor) VisitExec_stmt(ctx *Exec_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitExpr(ctx *ExprContext) interface{}
- func (v *BasePython3ParserVisitor) VisitExpr_stmt(ctx *Expr_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitExprlist(ctx *ExprlistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitFile_input(ctx *File_inputContext) interface{}
- func (v *BasePython3ParserVisitor) VisitFinally_clause(ctx *Finally_clauseContext) interface{}
- func (v *BasePython3ParserVisitor) VisitFor_stmt(ctx *For_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitFrom_stmt(ctx *From_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitFuncdef(ctx *FuncdefContext) interface{}
- func (v *BasePython3ParserVisitor) VisitGlobal_stmt(ctx *Global_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitIf_stmt(ctx *If_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitImport_as_name(ctx *Import_as_nameContext) interface{}
- func (v *BasePython3ParserVisitor) VisitImport_as_names(ctx *Import_as_namesContext) interface{}
- func (v *BasePython3ParserVisitor) VisitImport_stmt(ctx *Import_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitInteger(ctx *IntegerContext) interface{}
- func (v *BasePython3ParserVisitor) VisitKwargs(ctx *KwargsContext) interface{}
- func (v *BasePython3ParserVisitor) VisitLogical_test(ctx *Logical_testContext) interface{}
- func (v *BasePython3ParserVisitor) VisitName(ctx *NameContext) interface{}
- func (v *BasePython3ParserVisitor) VisitNamed_parameter(ctx *Named_parameterContext) interface{}
- func (v *BasePython3ParserVisitor) VisitNonlocal_stmt(ctx *Nonlocal_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitNumber(ctx *NumberContext) interface{}
- func (v *BasePython3ParserVisitor) VisitPass_stmt(ctx *Pass_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitPrint_stmt(ctx *Print_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitRaise_stmt(ctx *Raise_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitReturn_stmt(ctx *Return_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitRoot(ctx *RootContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSimple_stmt(ctx *Simple_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSingle_input(ctx *Single_inputContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSliceop(ctx *SliceopContext) interface{}
- func (v *BasePython3ParserVisitor) VisitStar_expr(ctx *Star_exprContext) interface{}
- func (v *BasePython3ParserVisitor) VisitStmt(ctx *StmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSubscript(ctx *SubscriptContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSubscriptlist(ctx *SubscriptlistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitSuite(ctx *SuiteContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTest(ctx *TestContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTestlist(ctx *TestlistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTestlist_comp(ctx *Testlist_compContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTestlist_star_expr(ctx *Testlist_star_exprContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTrailer(ctx *TrailerContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTry_stmt(ctx *Try_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitTypedargslist(ctx *TypedargslistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitVarargs(ctx *VarargsContext) interface{}
- func (v *BasePython3ParserVisitor) VisitVarargslist(ctx *VarargslistContext) interface{}
- func (v *BasePython3ParserVisitor) VisitVardef_parameter(ctx *Vardef_parameterContext) interface{}
- func (v *BasePython3ParserVisitor) VisitVardef_parameters(ctx *Vardef_parametersContext) interface{}
- func (v *BasePython3ParserVisitor) VisitVarkwargs(ctx *VarkwargsContext) interface{}
- func (v *BasePython3ParserVisitor) VisitWhile_stmt(ctx *While_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitWith_item(ctx *With_itemContext) interface{}
- func (v *BasePython3ParserVisitor) VisitWith_stmt(ctx *With_stmtContext) interface{}
- func (v *BasePython3ParserVisitor) VisitYield_arg(ctx *Yield_argContext) interface{}
- func (v *BasePython3ParserVisitor) VisitYield_expr(ctx *Yield_exprContext) interface{}
- func (v *BasePython3ParserVisitor) VisitYield_stmt(ctx *Yield_stmtContext) interface{}
- type Break_stmtContext
- func (s *Break_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Break_stmtContext) BREAK() antlr.TerminalNode
- func (s *Break_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Break_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Break_stmtContext) GetRuleContext() antlr.RuleContext
- type Class_or_func_def_stmtContext
- func (s *Class_or_func_def_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) CopyAll(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
- func (s *Continue_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Continue_stmtContext) CONTINUE() antlr.TerminalNode
- func (s *Continue_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Continue_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Continue_stmtContext) GetRuleContext() antlr.RuleContext
- type DecoratorContext
- func (s *DecoratorContext) AT() antlr.TerminalNode
- func (s *DecoratorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *From_stmtContext) AllDOT() []antlr.TerminalNode
- func (s *From_stmtContext) AllELLIPSIS() []antlr.TerminalNode
- func (s *From_stmtContext) CLOSE_PAREN() antlr.TerminalNode
- func (s *From_stmtContext) DOT(i int) antlr.TerminalNode
- func (s *From_stmtContext) Dotted_name() IDotted_nameContext
- func (s *From_stmtContext) ELLIPSIS(i int) antlr.TerminalNode
- 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) GetRuleContext() antlr.RuleContext
- func (s *From_stmtContext) IMPORT() antlr.TerminalNode
- func (s *From_stmtContext) Import_as_names() IImport_as_namesContext
- func (s *From_stmtContext) OPEN_PAREN() antlr.TerminalNode
- func (s *From_stmtContext) STAR() antlr.TerminalNode
- type FuncdefContext
- func (s *FuncdefContext) ARROW() antlr.TerminalNode
- func (s *FuncdefContext) ASYNC() antlr.TerminalNode
- func (s *FuncdefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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
- func (s *Pass_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Pass_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Pass_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Pass_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Pass_stmtContext) PASS() antlr.TerminalNode
- type Print_stmtContext
- func (s *Print_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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 Python3Lexer
- func (l *Python3Lexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
- func (l *Python3Lexer) CLOSE_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) CLOSE_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) CLOSE_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) NEWLINE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) OPEN_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) OPEN_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) OPEN_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
- func (l *Python3Lexer) WS_Action(localctx antlr.RuleContext, actionIndex int)
- type Python3LexerBase
- func (l *Python3LexerBase) DecIndentLevel()
- func (l *Python3LexerBase) EmitToken(token antlr.Token)
- func (l *Python3LexerBase) HandleNewLine()
- func (l *Python3LexerBase) HandleSpaces()
- func (l *Python3LexerBase) IncIndentLevel()
- func (l *Python3LexerBase) IsNotNewLineOrComment(next int) bool
- func (l *Python3LexerBase) NextToken() antlr.Token
- func (l *Python3LexerBase) ProcessNewLine(indent int)
- type Python3Parser
- func (p *Python3Parser) Arglist() (localctx IArglistContext)
- func (p *Python3Parser) Args() (localctx IArgsContext)
- func (p *Python3Parser) Argument() (localctx IArgumentContext)
- func (p *Python3Parser) Arguments() (localctx IArgumentsContext)
- func (p *Python3Parser) Assign_part() (localctx IAssign_partContext)
- func (p *Python3Parser) Assign_part_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Atom() (localctx IAtomContext)
- func (p *Python3Parser) Classdef() (localctx IClassdefContext)
- func (p *Python3Parser) Comp_for() (localctx IComp_forContext)
- func (p *Python3Parser) Comp_iter() (localctx IComp_iterContext)
- func (p *Python3Parser) Comparison() (localctx IComparisonContext)
- func (p *Python3Parser) Comparison_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Compound_stmt() (localctx ICompound_stmtContext)
- func (p *Python3Parser) Decorator() (localctx IDecoratorContext)
- func (p *Python3Parser) Def_parameter() (localctx IDef_parameterContext)
- func (p *Python3Parser) Def_parameters() (localctx IDef_parametersContext)
- func (p *Python3Parser) Dictorsetmaker() (localctx IDictorsetmakerContext)
- func (p *Python3Parser) Dotted_as_name() (localctx IDotted_as_nameContext)
- func (p *Python3Parser) Dotted_as_names() (localctx IDotted_as_namesContext)
- func (p *Python3Parser) Dotted_name() (localctx IDotted_nameContext)
- func (p *Python3Parser) Dotted_name_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Elif_clause() (localctx IElif_clauseContext)
- func (p *Python3Parser) Else_clause() (localctx IElse_clauseContext)
- func (p *Python3Parser) Eval_input() (localctx IEval_inputContext)
- func (p *Python3Parser) Except_clause() (localctx IExcept_clauseContext)
- func (p *Python3Parser) Except_clause_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Expr() (localctx IExprContext)
- func (p *Python3Parser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Exprlist() (localctx IExprlistContext)
- func (p *Python3Parser) File_input() (localctx IFile_inputContext)
- func (p *Python3Parser) Finally_clause() (localctx IFinally_clauseContext)
- func (p *Python3Parser) Funcdef() (localctx IFuncdefContext)
- func (p *Python3Parser) Import_as_name() (localctx IImport_as_nameContext)
- func (p *Python3Parser) Import_as_names() (localctx IImport_as_namesContext)
- func (p *Python3Parser) Integer() (localctx IIntegerContext)
- func (p *Python3Parser) Kwargs() (localctx IKwargsContext)
- func (p *Python3Parser) Logical_test() (localctx ILogical_testContext)
- func (p *Python3Parser) Logical_test_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Name() (localctx INameContext)
- func (p *Python3Parser) Named_parameter() (localctx INamed_parameterContext)
- func (p *Python3Parser) Number() (localctx INumberContext)
- func (p *Python3Parser) Root() (localctx IRootContext)
- func (p *Python3Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *Python3Parser) Simple_stmt() (localctx ISimple_stmtContext)
- func (p *Python3Parser) Single_input() (localctx ISingle_inputContext)
- func (p *Python3Parser) Sliceop() (localctx ISliceopContext)
- func (p *Python3Parser) Small_stmt() (localctx ISmall_stmtContext)
- func (p *Python3Parser) Small_stmt_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Python3Parser) Star_expr() (localctx IStar_exprContext)
- func (p *Python3Parser) Stmt() (localctx IStmtContext)
- func (p *Python3Parser) Subscript() (localctx ISubscriptContext)
- func (p *Python3Parser) Subscriptlist() (localctx ISubscriptlistContext)
- func (p *Python3Parser) Suite() (localctx ISuiteContext)
- func (p *Python3Parser) Test() (localctx ITestContext)
- func (p *Python3Parser) Testlist() (localctx ITestlistContext)
- func (p *Python3Parser) Testlist_comp() (localctx ITestlist_compContext)
- func (p *Python3Parser) Testlist_star_expr() (localctx ITestlist_star_exprContext)
- func (p *Python3Parser) Trailer() (localctx ITrailerContext)
- func (p *Python3Parser) Typedargslist() (localctx ITypedargslistContext)
- func (p *Python3Parser) Varargs() (localctx IVarargsContext)
- func (p *Python3Parser) Varargslist() (localctx IVarargslistContext)
- func (p *Python3Parser) Vardef_parameter() (localctx IVardef_parameterContext)
- func (p *Python3Parser) Vardef_parameters() (localctx IVardef_parametersContext)
- func (p *Python3Parser) Varkwargs() (localctx IVarkwargsContext)
- func (p *Python3Parser) With_item() (localctx IWith_itemContext)
- func (p *Python3Parser) Yield_arg() (localctx IYield_argContext)
- func (p *Python3Parser) Yield_expr() (localctx IYield_exprContext)
- type Python3ParserBase
- type Python3ParserListener
- type Python3ParserVisitor
- type Raise_stmtContext
- func (s *Raise_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) CopyAll(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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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
- func (s *Yield_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Yield_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Yield_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Yield_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Yield_stmtContext) Yield_expr() IYield_exprContext
Constants ¶
const ( Python3LexerINDENT = 1 Python3LexerDEDENT = 2 Python3LexerLINE_BREAK = 3 Python3LexerDEF = 4 Python3LexerRETURN = 5 Python3LexerRAISE = 6 Python3LexerFROM = 7 Python3LexerIMPORT = 8 Python3LexerNONLOCAL = 9 Python3LexerAS = 10 Python3LexerGLOBAL = 11 Python3LexerASSERT = 12 Python3LexerIF = 13 Python3LexerELIF = 14 Python3LexerELSE = 15 Python3LexerWHILE = 16 Python3LexerFOR = 17 Python3LexerIN = 18 Python3LexerTRY = 19 Python3LexerNONE = 20 Python3LexerFINALLY = 21 Python3LexerWITH = 22 Python3LexerEXCEPT = 23 Python3LexerLAMBDA = 24 Python3LexerOR = 25 Python3LexerAND = 26 Python3LexerNOT = 27 Python3LexerIS = 28 Python3LexerCLASS = 29 Python3LexerYIELD = 30 Python3LexerDEL = 31 Python3LexerPASS = 32 Python3LexerCONTINUE = 33 Python3LexerBREAK = 34 Python3LexerASYNC = 35 Python3LexerAWAIT = 36 Python3LexerPRINT = 37 Python3LexerEXEC = 38 Python3LexerTRUE = 39 Python3LexerFALSE = 40 Python3LexerDOT = 41 Python3LexerELLIPSIS = 42 Python3LexerREVERSE_QUOTE = 43 Python3LexerSTAR = 44 Python3LexerCOMMA = 45 Python3LexerCOLON = 46 Python3LexerSEMI_COLON = 47 Python3LexerPOWER = 48 Python3LexerASSIGN = 49 Python3LexerOR_OP = 50 Python3LexerXOR = 51 Python3LexerAND_OP = 52 Python3LexerLEFT_SHIFT = 53 Python3LexerRIGHT_SHIFT = 54 Python3LexerADD = 55 Python3LexerMINUS = 56 Python3LexerDIV = 57 Python3LexerMOD = 58 Python3LexerIDIV = 59 Python3LexerNOT_OP = 60 Python3LexerLESS_THAN = 61 Python3LexerGREATER_THAN = 62 Python3LexerEQUALS = 63 Python3LexerGT_EQ = 64 Python3LexerLT_EQ = 65 Python3LexerNOT_EQ_1 = 66 Python3LexerNOT_EQ_2 = 67 Python3LexerAT = 68 Python3LexerARROW = 69 Python3LexerADD_ASSIGN = 70 Python3LexerSUB_ASSIGN = 71 Python3LexerMULT_ASSIGN = 72 Python3LexerAT_ASSIGN = 73 Python3LexerDIV_ASSIGN = 74 Python3LexerMOD_ASSIGN = 75 Python3LexerAND_ASSIGN = 76 Python3LexerOR_ASSIGN = 77 Python3LexerXOR_ASSIGN = 78 Python3LexerLEFT_SHIFT_ASSIGN = 79 Python3LexerRIGHT_SHIFT_ASSIGN = 80 Python3LexerPOWER_ASSIGN = 81 Python3LexerIDIV_ASSIGN = 82 Python3LexerSTRING = 83 Python3LexerDECIMAL_INTEGER = 84 Python3LexerOCT_INTEGER = 85 Python3LexerHEX_INTEGER = 86 Python3LexerBIN_INTEGER = 87 Python3LexerIMAG_NUMBER = 88 Python3LexerFLOAT_NUMBER = 89 Python3LexerOPEN_PAREN = 90 Python3LexerCLOSE_PAREN = 91 Python3LexerOPEN_BRACE = 92 Python3LexerCLOSE_BRACE = 93 Python3LexerOPEN_BRACKET = 94 Python3LexerCLOSE_BRACKET = 95 Python3LexerNAME = 96 Python3LexerLINE_JOIN = 97 Python3LexerNEWLINE = 98 Python3LexerWS = 99 Python3LexerCOMMENT = 100 )
Python3Lexer tokens.
const ( Python3ParserEOF = antlr.TokenEOF Python3ParserINDENT = 1 Python3ParserDEDENT = 2 Python3ParserLINE_BREAK = 3 Python3ParserDEF = 4 Python3ParserRETURN = 5 Python3ParserRAISE = 6 Python3ParserFROM = 7 Python3ParserIMPORT = 8 Python3ParserNONLOCAL = 9 Python3ParserAS = 10 Python3ParserGLOBAL = 11 Python3ParserASSERT = 12 Python3ParserIF = 13 Python3ParserELIF = 14 Python3ParserELSE = 15 Python3ParserWHILE = 16 Python3ParserFOR = 17 Python3ParserIN = 18 Python3ParserTRY = 19 Python3ParserNONE = 20 Python3ParserFINALLY = 21 Python3ParserWITH = 22 Python3ParserEXCEPT = 23 Python3ParserLAMBDA = 24 Python3ParserOR = 25 Python3ParserAND = 26 Python3ParserNOT = 27 Python3ParserIS = 28 Python3ParserCLASS = 29 Python3ParserYIELD = 30 Python3ParserDEL = 31 Python3ParserPASS = 32 Python3ParserCONTINUE = 33 Python3ParserBREAK = 34 Python3ParserASYNC = 35 Python3ParserAWAIT = 36 Python3ParserPRINT = 37 Python3ParserEXEC = 38 Python3ParserTRUE = 39 Python3ParserFALSE = 40 Python3ParserDOT = 41 Python3ParserELLIPSIS = 42 Python3ParserREVERSE_QUOTE = 43 Python3ParserSTAR = 44 Python3ParserCOMMA = 45 Python3ParserCOLON = 46 Python3ParserSEMI_COLON = 47 Python3ParserPOWER = 48 Python3ParserASSIGN = 49 Python3ParserOR_OP = 50 Python3ParserXOR = 51 Python3ParserAND_OP = 52 Python3ParserLEFT_SHIFT = 53 Python3ParserRIGHT_SHIFT = 54 Python3ParserADD = 55 Python3ParserMINUS = 56 Python3ParserDIV = 57 Python3ParserMOD = 58 Python3ParserIDIV = 59 Python3ParserNOT_OP = 60 Python3ParserLESS_THAN = 61 Python3ParserGREATER_THAN = 62 Python3ParserEQUALS = 63 Python3ParserGT_EQ = 64 Python3ParserLT_EQ = 65 Python3ParserNOT_EQ_1 = 66 Python3ParserNOT_EQ_2 = 67 Python3ParserAT = 68 Python3ParserARROW = 69 Python3ParserADD_ASSIGN = 70 Python3ParserSUB_ASSIGN = 71 Python3ParserMULT_ASSIGN = 72 Python3ParserAT_ASSIGN = 73 Python3ParserDIV_ASSIGN = 74 Python3ParserMOD_ASSIGN = 75 Python3ParserAND_ASSIGN = 76 Python3ParserOR_ASSIGN = 77 Python3ParserXOR_ASSIGN = 78 Python3ParserLEFT_SHIFT_ASSIGN = 79 Python3ParserRIGHT_SHIFT_ASSIGN = 80 Python3ParserPOWER_ASSIGN = 81 Python3ParserIDIV_ASSIGN = 82 Python3ParserSTRING = 83 Python3ParserDECIMAL_INTEGER = 84 Python3ParserOCT_INTEGER = 85 Python3ParserHEX_INTEGER = 86 Python3ParserBIN_INTEGER = 87 Python3ParserIMAG_NUMBER = 88 Python3ParserFLOAT_NUMBER = 89 Python3ParserOPEN_PAREN = 90 Python3ParserCLOSE_PAREN = 91 Python3ParserOPEN_BRACE = 92 Python3ParserCLOSE_BRACE = 93 Python3ParserOPEN_BRACKET = 94 Python3ParserCLOSE_BRACKET = 95 Python3ParserNAME = 96 Python3ParserLINE_JOIN = 97 Python3ParserNEWLINE = 98 Python3ParserWS = 99 Python3ParserCOMMENT = 100 )
Python3Parser tokens.
const ( Python3ParserRULE_root = 0 Python3ParserRULE_single_input = 1 Python3ParserRULE_file_input = 2 Python3ParserRULE_eval_input = 3 Python3ParserRULE_stmt = 4 Python3ParserRULE_compound_stmt = 5 Python3ParserRULE_suite = 6 Python3ParserRULE_decorator = 7 Python3ParserRULE_elif_clause = 8 Python3ParserRULE_else_clause = 9 Python3ParserRULE_finally_clause = 10 Python3ParserRULE_with_item = 11 Python3ParserRULE_except_clause = 12 Python3ParserRULE_classdef = 13 Python3ParserRULE_funcdef = 14 Python3ParserRULE_typedargslist = 15 Python3ParserRULE_args = 16 Python3ParserRULE_kwargs = 17 Python3ParserRULE_def_parameters = 18 Python3ParserRULE_def_parameter = 19 Python3ParserRULE_named_parameter = 20 Python3ParserRULE_simple_stmt = 21 Python3ParserRULE_small_stmt = 22 Python3ParserRULE_testlist_star_expr = 23 Python3ParserRULE_star_expr = 24 Python3ParserRULE_assign_part = 25 Python3ParserRULE_exprlist = 26 Python3ParserRULE_import_as_names = 27 Python3ParserRULE_import_as_name = 28 Python3ParserRULE_dotted_as_names = 29 Python3ParserRULE_dotted_as_name = 30 Python3ParserRULE_test = 31 Python3ParserRULE_varargslist = 32 Python3ParserRULE_vardef_parameters = 33 Python3ParserRULE_vardef_parameter = 34 Python3ParserRULE_varargs = 35 Python3ParserRULE_varkwargs = 36 Python3ParserRULE_logical_test = 37 Python3ParserRULE_comparison = 38 Python3ParserRULE_expr = 39 Python3ParserRULE_atom = 40 Python3ParserRULE_dictorsetmaker = 41 Python3ParserRULE_testlist_comp = 42 Python3ParserRULE_testlist = 43 Python3ParserRULE_dotted_name = 44 Python3ParserRULE_name = 45 Python3ParserRULE_number = 46 Python3ParserRULE_integer = 47 Python3ParserRULE_yield_expr = 48 Python3ParserRULE_yield_arg = 49 Python3ParserRULE_trailer = 50 Python3ParserRULE_arguments = 51 Python3ParserRULE_arglist = 52 Python3ParserRULE_argument = 53 Python3ParserRULE_subscriptlist = 54 Python3ParserRULE_subscript = 55 Python3ParserRULE_sliceop = 56 Python3ParserRULE_comp_for = 57 Python3ParserRULE_comp_iter = 58 )
Python3Parser rules.
const TabSize = 8
Variables ¶
var Python3LexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var Python3ParserParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyArglistContext ¶
func InitEmptyArglistContext(p *ArglistContext)
func InitEmptyArgsContext ¶
func InitEmptyArgsContext(p *ArgsContext)
func InitEmptyArgumentContext ¶
func InitEmptyArgumentContext(p *ArgumentContext)
func InitEmptyArgumentsContext ¶
func InitEmptyArgumentsContext(p *ArgumentsContext)
func InitEmptyAssign_partContext ¶
func InitEmptyAssign_partContext(p *Assign_partContext)
func InitEmptyAtomContext ¶
func InitEmptyAtomContext(p *AtomContext)
func InitEmptyClassdefContext ¶
func InitEmptyClassdefContext(p *ClassdefContext)
func InitEmptyComp_forContext ¶
func InitEmptyComp_forContext(p *Comp_forContext)
func InitEmptyComp_iterContext ¶
func InitEmptyComp_iterContext(p *Comp_iterContext)
func InitEmptyComparisonContext ¶
func InitEmptyComparisonContext(p *ComparisonContext)
func InitEmptyCompound_stmtContext ¶
func InitEmptyCompound_stmtContext(p *Compound_stmtContext)
func InitEmptyDecoratorContext ¶
func InitEmptyDecoratorContext(p *DecoratorContext)
func InitEmptyDef_parameterContext ¶
func InitEmptyDef_parameterContext(p *Def_parameterContext)
func InitEmptyDef_parametersContext ¶
func InitEmptyDef_parametersContext(p *Def_parametersContext)
func InitEmptyDictorsetmakerContext ¶
func InitEmptyDictorsetmakerContext(p *DictorsetmakerContext)
func InitEmptyDotted_as_nameContext ¶
func InitEmptyDotted_as_nameContext(p *Dotted_as_nameContext)
func InitEmptyDotted_as_namesContext ¶
func InitEmptyDotted_as_namesContext(p *Dotted_as_namesContext)
func InitEmptyDotted_nameContext ¶
func InitEmptyDotted_nameContext(p *Dotted_nameContext)
func InitEmptyElif_clauseContext ¶
func InitEmptyElif_clauseContext(p *Elif_clauseContext)
func InitEmptyElse_clauseContext ¶
func InitEmptyElse_clauseContext(p *Else_clauseContext)
func InitEmptyEval_inputContext ¶
func InitEmptyEval_inputContext(p *Eval_inputContext)
func InitEmptyExcept_clauseContext ¶
func InitEmptyExcept_clauseContext(p *Except_clauseContext)
func InitEmptyExprContext ¶
func InitEmptyExprContext(p *ExprContext)
func InitEmptyExprlistContext ¶
func InitEmptyExprlistContext(p *ExprlistContext)
func InitEmptyFile_inputContext ¶
func InitEmptyFile_inputContext(p *File_inputContext)
func InitEmptyFinally_clauseContext ¶
func InitEmptyFinally_clauseContext(p *Finally_clauseContext)
func InitEmptyFuncdefContext ¶
func InitEmptyFuncdefContext(p *FuncdefContext)
func InitEmptyImport_as_nameContext ¶
func InitEmptyImport_as_nameContext(p *Import_as_nameContext)
func InitEmptyImport_as_namesContext ¶
func InitEmptyImport_as_namesContext(p *Import_as_namesContext)
func InitEmptyIntegerContext ¶
func InitEmptyIntegerContext(p *IntegerContext)
func InitEmptyKwargsContext ¶
func InitEmptyKwargsContext(p *KwargsContext)
func InitEmptyLogical_testContext ¶
func InitEmptyLogical_testContext(p *Logical_testContext)
func InitEmptyNameContext ¶
func InitEmptyNameContext(p *NameContext)
func InitEmptyNamed_parameterContext ¶
func InitEmptyNamed_parameterContext(p *Named_parameterContext)
func InitEmptyNumberContext ¶
func InitEmptyNumberContext(p *NumberContext)
func InitEmptyRootContext ¶
func InitEmptyRootContext(p *RootContext)
func InitEmptySimple_stmtContext ¶
func InitEmptySimple_stmtContext(p *Simple_stmtContext)
func InitEmptySingle_inputContext ¶
func InitEmptySingle_inputContext(p *Single_inputContext)
func InitEmptySliceopContext ¶
func InitEmptySliceopContext(p *SliceopContext)
func InitEmptySmall_stmtContext ¶
func InitEmptySmall_stmtContext(p *Small_stmtContext)
func InitEmptyStar_exprContext ¶
func InitEmptyStar_exprContext(p *Star_exprContext)
func InitEmptyStmtContext ¶
func InitEmptyStmtContext(p *StmtContext)
func InitEmptySubscriptContext ¶
func InitEmptySubscriptContext(p *SubscriptContext)
func InitEmptySubscriptlistContext ¶
func InitEmptySubscriptlistContext(p *SubscriptlistContext)
func InitEmptySuiteContext ¶
func InitEmptySuiteContext(p *SuiteContext)
func InitEmptyTestContext ¶
func InitEmptyTestContext(p *TestContext)
func InitEmptyTestlistContext ¶
func InitEmptyTestlistContext(p *TestlistContext)
func InitEmptyTestlist_compContext ¶
func InitEmptyTestlist_compContext(p *Testlist_compContext)
func InitEmptyTestlist_star_exprContext ¶
func InitEmptyTestlist_star_exprContext(p *Testlist_star_exprContext)
func InitEmptyTrailerContext ¶
func InitEmptyTrailerContext(p *TrailerContext)
func InitEmptyTypedargslistContext ¶
func InitEmptyTypedargslistContext(p *TypedargslistContext)
func InitEmptyVarargsContext ¶
func InitEmptyVarargsContext(p *VarargsContext)
func InitEmptyVarargslistContext ¶
func InitEmptyVarargslistContext(p *VarargslistContext)
func InitEmptyVardef_parameterContext ¶
func InitEmptyVardef_parameterContext(p *Vardef_parameterContext)
func InitEmptyVardef_parametersContext ¶
func InitEmptyVardef_parametersContext(p *Vardef_parametersContext)
func InitEmptyVarkwargsContext ¶
func InitEmptyVarkwargsContext(p *VarkwargsContext)
func InitEmptyWith_itemContext ¶
func InitEmptyWith_itemContext(p *With_itemContext)
func InitEmptyYield_argContext ¶
func InitEmptyYield_argContext(p *Yield_argContext)
func InitEmptyYield_exprContext ¶
func InitEmptyYield_exprContext(p *Yield_exprContext)
func Python3LexerInit ¶
func Python3LexerInit()
Python3LexerInit initializes any static state used to implement Python3Lexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewPython3Lexer(). You can call this function if you wish to initialize the static state ahead of time.
func Python3ParserInit ¶
func Python3ParserInit()
Python3ParserInit initializes any static state used to implement Python3Parser. By default the static state used to implement the parser is lazily initialized during the first call to NewPython3Parser(). You can call this function if you wish to initialize the static state ahead of time.
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) Accept ¶
func (s *ArglistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ArgsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ArgumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ArgumentsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Assert_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Assign_partContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *AtomContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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 BasePython3ParserListener ¶
type BasePython3ParserListener struct{}
BasePython3ParserListener is a complete listener for a parse tree produced by Python3Parser.
func (*BasePython3ParserListener) EnterArglist ¶
func (s *BasePython3ParserListener) EnterArglist(ctx *ArglistContext)
EnterArglist is called when production arglist is entered.
func (*BasePython3ParserListener) EnterArgs ¶
func (s *BasePython3ParserListener) EnterArgs(ctx *ArgsContext)
EnterArgs is called when production args is entered.
func (*BasePython3ParserListener) EnterArgument ¶
func (s *BasePython3ParserListener) EnterArgument(ctx *ArgumentContext)
EnterArgument is called when production argument is entered.
func (*BasePython3ParserListener) EnterArguments ¶
func (s *BasePython3ParserListener) EnterArguments(ctx *ArgumentsContext)
EnterArguments is called when production arguments is entered.
func (*BasePython3ParserListener) EnterAssert_stmt ¶
func (s *BasePython3ParserListener) EnterAssert_stmt(ctx *Assert_stmtContext)
EnterAssert_stmt is called when production assert_stmt is entered.
func (*BasePython3ParserListener) EnterAssign_part ¶
func (s *BasePython3ParserListener) EnterAssign_part(ctx *Assign_partContext)
EnterAssign_part is called when production assign_part is entered.
func (*BasePython3ParserListener) EnterAtom ¶
func (s *BasePython3ParserListener) EnterAtom(ctx *AtomContext)
EnterAtom is called when production atom is entered.
func (*BasePython3ParserListener) EnterBreak_stmt ¶
func (s *BasePython3ParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
EnterBreak_stmt is called when production break_stmt is entered.
func (*BasePython3ParserListener) EnterClass_or_func_def_stmt ¶
func (s *BasePython3ParserListener) 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 (*BasePython3ParserListener) EnterClassdef ¶
func (s *BasePython3ParserListener) EnterClassdef(ctx *ClassdefContext)
EnterClassdef is called when production classdef is entered.
func (*BasePython3ParserListener) EnterComp_for ¶
func (s *BasePython3ParserListener) EnterComp_for(ctx *Comp_forContext)
EnterComp_for is called when production comp_for is entered.
func (*BasePython3ParserListener) EnterComp_iter ¶
func (s *BasePython3ParserListener) EnterComp_iter(ctx *Comp_iterContext)
EnterComp_iter is called when production comp_iter is entered.
func (*BasePython3ParserListener) EnterComparison ¶
func (s *BasePython3ParserListener) EnterComparison(ctx *ComparisonContext)
EnterComparison is called when production comparison is entered.
func (*BasePython3ParserListener) EnterContinue_stmt ¶
func (s *BasePython3ParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
EnterContinue_stmt is called when production continue_stmt is entered.
func (*BasePython3ParserListener) EnterDecorator ¶
func (s *BasePython3ParserListener) EnterDecorator(ctx *DecoratorContext)
EnterDecorator is called when production decorator is entered.
func (*BasePython3ParserListener) EnterDef_parameter ¶
func (s *BasePython3ParserListener) EnterDef_parameter(ctx *Def_parameterContext)
EnterDef_parameter is called when production def_parameter is entered.
func (*BasePython3ParserListener) EnterDef_parameters ¶
func (s *BasePython3ParserListener) EnterDef_parameters(ctx *Def_parametersContext)
EnterDef_parameters is called when production def_parameters is entered.
func (*BasePython3ParserListener) EnterDel_stmt ¶
func (s *BasePython3ParserListener) EnterDel_stmt(ctx *Del_stmtContext)
EnterDel_stmt is called when production del_stmt is entered.
func (*BasePython3ParserListener) EnterDictorsetmaker ¶
func (s *BasePython3ParserListener) EnterDictorsetmaker(ctx *DictorsetmakerContext)
EnterDictorsetmaker is called when production dictorsetmaker is entered.
func (*BasePython3ParserListener) EnterDotted_as_name ¶
func (s *BasePython3ParserListener) EnterDotted_as_name(ctx *Dotted_as_nameContext)
EnterDotted_as_name is called when production dotted_as_name is entered.
func (*BasePython3ParserListener) EnterDotted_as_names ¶
func (s *BasePython3ParserListener) EnterDotted_as_names(ctx *Dotted_as_namesContext)
EnterDotted_as_names is called when production dotted_as_names is entered.
func (*BasePython3ParserListener) EnterDotted_name ¶
func (s *BasePython3ParserListener) EnterDotted_name(ctx *Dotted_nameContext)
EnterDotted_name is called when production dotted_name is entered.
func (*BasePython3ParserListener) EnterElif_clause ¶
func (s *BasePython3ParserListener) EnterElif_clause(ctx *Elif_clauseContext)
EnterElif_clause is called when production elif_clause is entered.
func (*BasePython3ParserListener) EnterElse_clause ¶
func (s *BasePython3ParserListener) EnterElse_clause(ctx *Else_clauseContext)
EnterElse_clause is called when production else_clause is entered.
func (*BasePython3ParserListener) EnterEval_input ¶
func (s *BasePython3ParserListener) EnterEval_input(ctx *Eval_inputContext)
EnterEval_input is called when production eval_input is entered.
func (*BasePython3ParserListener) EnterEveryRule ¶
func (s *BasePython3ParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasePython3ParserListener) EnterExcept_clause ¶
func (s *BasePython3ParserListener) EnterExcept_clause(ctx *Except_clauseContext)
EnterExcept_clause is called when production except_clause is entered.
func (*BasePython3ParserListener) EnterExec_stmt ¶
func (s *BasePython3ParserListener) EnterExec_stmt(ctx *Exec_stmtContext)
EnterExec_stmt is called when production exec_stmt is entered.
func (*BasePython3ParserListener) EnterExpr ¶
func (s *BasePython3ParserListener) EnterExpr(ctx *ExprContext)
EnterExpr is called when production expr is entered.
func (*BasePython3ParserListener) EnterExpr_stmt ¶
func (s *BasePython3ParserListener) EnterExpr_stmt(ctx *Expr_stmtContext)
EnterExpr_stmt is called when production expr_stmt is entered.
func (*BasePython3ParserListener) EnterExprlist ¶
func (s *BasePython3ParserListener) EnterExprlist(ctx *ExprlistContext)
EnterExprlist is called when production exprlist is entered.
func (*BasePython3ParserListener) EnterFile_input ¶
func (s *BasePython3ParserListener) EnterFile_input(ctx *File_inputContext)
EnterFile_input is called when production file_input is entered.
func (*BasePython3ParserListener) EnterFinally_clause ¶
func (s *BasePython3ParserListener) EnterFinally_clause(ctx *Finally_clauseContext)
EnterFinally_clause is called when production finally_clause is entered.
func (*BasePython3ParserListener) EnterFor_stmt ¶
func (s *BasePython3ParserListener) EnterFor_stmt(ctx *For_stmtContext)
EnterFor_stmt is called when production for_stmt is entered.
func (*BasePython3ParserListener) EnterFrom_stmt ¶
func (s *BasePython3ParserListener) EnterFrom_stmt(ctx *From_stmtContext)
EnterFrom_stmt is called when production from_stmt is entered.
func (*BasePython3ParserListener) EnterFuncdef ¶
func (s *BasePython3ParserListener) EnterFuncdef(ctx *FuncdefContext)
EnterFuncdef is called when production funcdef is entered.
func (*BasePython3ParserListener) EnterGlobal_stmt ¶
func (s *BasePython3ParserListener) EnterGlobal_stmt(ctx *Global_stmtContext)
EnterGlobal_stmt is called when production global_stmt is entered.
func (*BasePython3ParserListener) EnterIf_stmt ¶
func (s *BasePython3ParserListener) EnterIf_stmt(ctx *If_stmtContext)
EnterIf_stmt is called when production if_stmt is entered.
func (*BasePython3ParserListener) EnterImport_as_name ¶
func (s *BasePython3ParserListener) EnterImport_as_name(ctx *Import_as_nameContext)
EnterImport_as_name is called when production import_as_name is entered.
func (*BasePython3ParserListener) EnterImport_as_names ¶
func (s *BasePython3ParserListener) EnterImport_as_names(ctx *Import_as_namesContext)
EnterImport_as_names is called when production import_as_names is entered.
func (*BasePython3ParserListener) EnterImport_stmt ¶
func (s *BasePython3ParserListener) EnterImport_stmt(ctx *Import_stmtContext)
EnterImport_stmt is called when production import_stmt is entered.
func (*BasePython3ParserListener) EnterInteger ¶
func (s *BasePython3ParserListener) EnterInteger(ctx *IntegerContext)
EnterInteger is called when production integer is entered.
func (*BasePython3ParserListener) EnterKwargs ¶
func (s *BasePython3ParserListener) EnterKwargs(ctx *KwargsContext)
EnterKwargs is called when production kwargs is entered.
func (*BasePython3ParserListener) EnterLogical_test ¶
func (s *BasePython3ParserListener) EnterLogical_test(ctx *Logical_testContext)
EnterLogical_test is called when production logical_test is entered.
func (*BasePython3ParserListener) EnterName ¶
func (s *BasePython3ParserListener) EnterName(ctx *NameContext)
EnterName is called when production name is entered.
func (*BasePython3ParserListener) EnterNamed_parameter ¶
func (s *BasePython3ParserListener) EnterNamed_parameter(ctx *Named_parameterContext)
EnterNamed_parameter is called when production named_parameter is entered.
func (*BasePython3ParserListener) EnterNonlocal_stmt ¶
func (s *BasePython3ParserListener) EnterNonlocal_stmt(ctx *Nonlocal_stmtContext)
EnterNonlocal_stmt is called when production nonlocal_stmt is entered.
func (*BasePython3ParserListener) EnterNumber ¶
func (s *BasePython3ParserListener) EnterNumber(ctx *NumberContext)
EnterNumber is called when production number is entered.
func (*BasePython3ParserListener) EnterPass_stmt ¶
func (s *BasePython3ParserListener) EnterPass_stmt(ctx *Pass_stmtContext)
EnterPass_stmt is called when production pass_stmt is entered.
func (*BasePython3ParserListener) EnterPrint_stmt ¶
func (s *BasePython3ParserListener) EnterPrint_stmt(ctx *Print_stmtContext)
EnterPrint_stmt is called when production print_stmt is entered.
func (*BasePython3ParserListener) EnterRaise_stmt ¶
func (s *BasePython3ParserListener) EnterRaise_stmt(ctx *Raise_stmtContext)
EnterRaise_stmt is called when production raise_stmt is entered.
func (*BasePython3ParserListener) EnterReturn_stmt ¶
func (s *BasePython3ParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
EnterReturn_stmt is called when production return_stmt is entered.
func (*BasePython3ParserListener) EnterRoot ¶
func (s *BasePython3ParserListener) EnterRoot(ctx *RootContext)
EnterRoot is called when production root is entered.
func (*BasePython3ParserListener) EnterSimple_stmt ¶
func (s *BasePython3ParserListener) EnterSimple_stmt(ctx *Simple_stmtContext)
EnterSimple_stmt is called when production simple_stmt is entered.
func (*BasePython3ParserListener) EnterSingle_input ¶
func (s *BasePython3ParserListener) EnterSingle_input(ctx *Single_inputContext)
EnterSingle_input is called when production single_input is entered.
func (*BasePython3ParserListener) EnterSliceop ¶
func (s *BasePython3ParserListener) EnterSliceop(ctx *SliceopContext)
EnterSliceop is called when production sliceop is entered.
func (*BasePython3ParserListener) EnterStar_expr ¶
func (s *BasePython3ParserListener) EnterStar_expr(ctx *Star_exprContext)
EnterStar_expr is called when production star_expr is entered.
func (*BasePython3ParserListener) EnterStmt ¶
func (s *BasePython3ParserListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BasePython3ParserListener) EnterSubscript ¶
func (s *BasePython3ParserListener) EnterSubscript(ctx *SubscriptContext)
EnterSubscript is called when production subscript is entered.
func (*BasePython3ParserListener) EnterSubscriptlist ¶
func (s *BasePython3ParserListener) EnterSubscriptlist(ctx *SubscriptlistContext)
EnterSubscriptlist is called when production subscriptlist is entered.
func (*BasePython3ParserListener) EnterSuite ¶
func (s *BasePython3ParserListener) EnterSuite(ctx *SuiteContext)
EnterSuite is called when production suite is entered.
func (*BasePython3ParserListener) EnterTest ¶
func (s *BasePython3ParserListener) EnterTest(ctx *TestContext)
EnterTest is called when production test is entered.
func (*BasePython3ParserListener) EnterTestlist ¶
func (s *BasePython3ParserListener) EnterTestlist(ctx *TestlistContext)
EnterTestlist is called when production testlist is entered.
func (*BasePython3ParserListener) EnterTestlist_comp ¶
func (s *BasePython3ParserListener) EnterTestlist_comp(ctx *Testlist_compContext)
EnterTestlist_comp is called when production testlist_comp is entered.
func (*BasePython3ParserListener) EnterTestlist_star_expr ¶
func (s *BasePython3ParserListener) EnterTestlist_star_expr(ctx *Testlist_star_exprContext)
EnterTestlist_star_expr is called when production testlist_star_expr is entered.
func (*BasePython3ParserListener) EnterTrailer ¶
func (s *BasePython3ParserListener) EnterTrailer(ctx *TrailerContext)
EnterTrailer is called when production trailer is entered.
func (*BasePython3ParserListener) EnterTry_stmt ¶
func (s *BasePython3ParserListener) EnterTry_stmt(ctx *Try_stmtContext)
EnterTry_stmt is called when production try_stmt is entered.
func (*BasePython3ParserListener) EnterTypedargslist ¶
func (s *BasePython3ParserListener) EnterTypedargslist(ctx *TypedargslistContext)
EnterTypedargslist is called when production typedargslist is entered.
func (*BasePython3ParserListener) EnterVarargs ¶
func (s *BasePython3ParserListener) EnterVarargs(ctx *VarargsContext)
EnterVarargs is called when production varargs is entered.
func (*BasePython3ParserListener) EnterVarargslist ¶
func (s *BasePython3ParserListener) EnterVarargslist(ctx *VarargslistContext)
EnterVarargslist is called when production varargslist is entered.
func (*BasePython3ParserListener) EnterVardef_parameter ¶
func (s *BasePython3ParserListener) EnterVardef_parameter(ctx *Vardef_parameterContext)
EnterVardef_parameter is called when production vardef_parameter is entered.
func (*BasePython3ParserListener) EnterVardef_parameters ¶
func (s *BasePython3ParserListener) EnterVardef_parameters(ctx *Vardef_parametersContext)
EnterVardef_parameters is called when production vardef_parameters is entered.
func (*BasePython3ParserListener) EnterVarkwargs ¶
func (s *BasePython3ParserListener) EnterVarkwargs(ctx *VarkwargsContext)
EnterVarkwargs is called when production varkwargs is entered.
func (*BasePython3ParserListener) EnterWhile_stmt ¶
func (s *BasePython3ParserListener) EnterWhile_stmt(ctx *While_stmtContext)
EnterWhile_stmt is called when production while_stmt is entered.
func (*BasePython3ParserListener) EnterWith_item ¶
func (s *BasePython3ParserListener) EnterWith_item(ctx *With_itemContext)
EnterWith_item is called when production with_item is entered.
func (*BasePython3ParserListener) EnterWith_stmt ¶
func (s *BasePython3ParserListener) EnterWith_stmt(ctx *With_stmtContext)
EnterWith_stmt is called when production with_stmt is entered.
func (*BasePython3ParserListener) EnterYield_arg ¶
func (s *BasePython3ParserListener) EnterYield_arg(ctx *Yield_argContext)
EnterYield_arg is called when production yield_arg is entered.
func (*BasePython3ParserListener) EnterYield_expr ¶
func (s *BasePython3ParserListener) EnterYield_expr(ctx *Yield_exprContext)
EnterYield_expr is called when production yield_expr is entered.
func (*BasePython3ParserListener) EnterYield_stmt ¶
func (s *BasePython3ParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
EnterYield_stmt is called when production yield_stmt is entered.
func (*BasePython3ParserListener) ExitArglist ¶
func (s *BasePython3ParserListener) ExitArglist(ctx *ArglistContext)
ExitArglist is called when production arglist is exited.
func (*BasePython3ParserListener) ExitArgs ¶
func (s *BasePython3ParserListener) ExitArgs(ctx *ArgsContext)
ExitArgs is called when production args is exited.
func (*BasePython3ParserListener) ExitArgument ¶
func (s *BasePython3ParserListener) ExitArgument(ctx *ArgumentContext)
ExitArgument is called when production argument is exited.
func (*BasePython3ParserListener) ExitArguments ¶
func (s *BasePython3ParserListener) ExitArguments(ctx *ArgumentsContext)
ExitArguments is called when production arguments is exited.
func (*BasePython3ParserListener) ExitAssert_stmt ¶
func (s *BasePython3ParserListener) ExitAssert_stmt(ctx *Assert_stmtContext)
ExitAssert_stmt is called when production assert_stmt is exited.
func (*BasePython3ParserListener) ExitAssign_part ¶
func (s *BasePython3ParserListener) ExitAssign_part(ctx *Assign_partContext)
ExitAssign_part is called when production assign_part is exited.
func (*BasePython3ParserListener) ExitAtom ¶
func (s *BasePython3ParserListener) ExitAtom(ctx *AtomContext)
ExitAtom is called when production atom is exited.
func (*BasePython3ParserListener) ExitBreak_stmt ¶
func (s *BasePython3ParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
ExitBreak_stmt is called when production break_stmt is exited.
func (*BasePython3ParserListener) ExitClass_or_func_def_stmt ¶
func (s *BasePython3ParserListener) 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 (*BasePython3ParserListener) ExitClassdef ¶
func (s *BasePython3ParserListener) ExitClassdef(ctx *ClassdefContext)
ExitClassdef is called when production classdef is exited.
func (*BasePython3ParserListener) ExitComp_for ¶
func (s *BasePython3ParserListener) ExitComp_for(ctx *Comp_forContext)
ExitComp_for is called when production comp_for is exited.
func (*BasePython3ParserListener) ExitComp_iter ¶
func (s *BasePython3ParserListener) ExitComp_iter(ctx *Comp_iterContext)
ExitComp_iter is called when production comp_iter is exited.
func (*BasePython3ParserListener) ExitComparison ¶
func (s *BasePython3ParserListener) ExitComparison(ctx *ComparisonContext)
ExitComparison is called when production comparison is exited.
func (*BasePython3ParserListener) ExitContinue_stmt ¶
func (s *BasePython3ParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
ExitContinue_stmt is called when production continue_stmt is exited.
func (*BasePython3ParserListener) ExitDecorator ¶
func (s *BasePython3ParserListener) ExitDecorator(ctx *DecoratorContext)
ExitDecorator is called when production decorator is exited.
func (*BasePython3ParserListener) ExitDef_parameter ¶
func (s *BasePython3ParserListener) ExitDef_parameter(ctx *Def_parameterContext)
ExitDef_parameter is called when production def_parameter is exited.
func (*BasePython3ParserListener) ExitDef_parameters ¶
func (s *BasePython3ParserListener) ExitDef_parameters(ctx *Def_parametersContext)
ExitDef_parameters is called when production def_parameters is exited.
func (*BasePython3ParserListener) ExitDel_stmt ¶
func (s *BasePython3ParserListener) ExitDel_stmt(ctx *Del_stmtContext)
ExitDel_stmt is called when production del_stmt is exited.
func (*BasePython3ParserListener) ExitDictorsetmaker ¶
func (s *BasePython3ParserListener) ExitDictorsetmaker(ctx *DictorsetmakerContext)
ExitDictorsetmaker is called when production dictorsetmaker is exited.
func (*BasePython3ParserListener) ExitDotted_as_name ¶
func (s *BasePython3ParserListener) ExitDotted_as_name(ctx *Dotted_as_nameContext)
ExitDotted_as_name is called when production dotted_as_name is exited.
func (*BasePython3ParserListener) ExitDotted_as_names ¶
func (s *BasePython3ParserListener) ExitDotted_as_names(ctx *Dotted_as_namesContext)
ExitDotted_as_names is called when production dotted_as_names is exited.
func (*BasePython3ParserListener) ExitDotted_name ¶
func (s *BasePython3ParserListener) ExitDotted_name(ctx *Dotted_nameContext)
ExitDotted_name is called when production dotted_name is exited.
func (*BasePython3ParserListener) ExitElif_clause ¶
func (s *BasePython3ParserListener) ExitElif_clause(ctx *Elif_clauseContext)
ExitElif_clause is called when production elif_clause is exited.
func (*BasePython3ParserListener) ExitElse_clause ¶
func (s *BasePython3ParserListener) ExitElse_clause(ctx *Else_clauseContext)
ExitElse_clause is called when production else_clause is exited.
func (*BasePython3ParserListener) ExitEval_input ¶
func (s *BasePython3ParserListener) ExitEval_input(ctx *Eval_inputContext)
ExitEval_input is called when production eval_input is exited.
func (*BasePython3ParserListener) ExitEveryRule ¶
func (s *BasePython3ParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasePython3ParserListener) ExitExcept_clause ¶
func (s *BasePython3ParserListener) ExitExcept_clause(ctx *Except_clauseContext)
ExitExcept_clause is called when production except_clause is exited.
func (*BasePython3ParserListener) ExitExec_stmt ¶
func (s *BasePython3ParserListener) ExitExec_stmt(ctx *Exec_stmtContext)
ExitExec_stmt is called when production exec_stmt is exited.
func (*BasePython3ParserListener) ExitExpr ¶
func (s *BasePython3ParserListener) ExitExpr(ctx *ExprContext)
ExitExpr is called when production expr is exited.
func (*BasePython3ParserListener) ExitExpr_stmt ¶
func (s *BasePython3ParserListener) ExitExpr_stmt(ctx *Expr_stmtContext)
ExitExpr_stmt is called when production expr_stmt is exited.
func (*BasePython3ParserListener) ExitExprlist ¶
func (s *BasePython3ParserListener) ExitExprlist(ctx *ExprlistContext)
ExitExprlist is called when production exprlist is exited.
func (*BasePython3ParserListener) ExitFile_input ¶
func (s *BasePython3ParserListener) ExitFile_input(ctx *File_inputContext)
ExitFile_input is called when production file_input is exited.
func (*BasePython3ParserListener) ExitFinally_clause ¶
func (s *BasePython3ParserListener) ExitFinally_clause(ctx *Finally_clauseContext)
ExitFinally_clause is called when production finally_clause is exited.
func (*BasePython3ParserListener) ExitFor_stmt ¶
func (s *BasePython3ParserListener) ExitFor_stmt(ctx *For_stmtContext)
ExitFor_stmt is called when production for_stmt is exited.
func (*BasePython3ParserListener) ExitFrom_stmt ¶
func (s *BasePython3ParserListener) ExitFrom_stmt(ctx *From_stmtContext)
ExitFrom_stmt is called when production from_stmt is exited.
func (*BasePython3ParserListener) ExitFuncdef ¶
func (s *BasePython3ParserListener) ExitFuncdef(ctx *FuncdefContext)
ExitFuncdef is called when production funcdef is exited.
func (*BasePython3ParserListener) ExitGlobal_stmt ¶
func (s *BasePython3ParserListener) ExitGlobal_stmt(ctx *Global_stmtContext)
ExitGlobal_stmt is called when production global_stmt is exited.
func (*BasePython3ParserListener) ExitIf_stmt ¶
func (s *BasePython3ParserListener) ExitIf_stmt(ctx *If_stmtContext)
ExitIf_stmt is called when production if_stmt is exited.
func (*BasePython3ParserListener) ExitImport_as_name ¶
func (s *BasePython3ParserListener) ExitImport_as_name(ctx *Import_as_nameContext)
ExitImport_as_name is called when production import_as_name is exited.
func (*BasePython3ParserListener) ExitImport_as_names ¶
func (s *BasePython3ParserListener) ExitImport_as_names(ctx *Import_as_namesContext)
ExitImport_as_names is called when production import_as_names is exited.
func (*BasePython3ParserListener) ExitImport_stmt ¶
func (s *BasePython3ParserListener) ExitImport_stmt(ctx *Import_stmtContext)
ExitImport_stmt is called when production import_stmt is exited.
func (*BasePython3ParserListener) ExitInteger ¶
func (s *BasePython3ParserListener) ExitInteger(ctx *IntegerContext)
ExitInteger is called when production integer is exited.
func (*BasePython3ParserListener) ExitKwargs ¶
func (s *BasePython3ParserListener) ExitKwargs(ctx *KwargsContext)
ExitKwargs is called when production kwargs is exited.
func (*BasePython3ParserListener) ExitLogical_test ¶
func (s *BasePython3ParserListener) ExitLogical_test(ctx *Logical_testContext)
ExitLogical_test is called when production logical_test is exited.
func (*BasePython3ParserListener) ExitName ¶
func (s *BasePython3ParserListener) ExitName(ctx *NameContext)
ExitName is called when production name is exited.
func (*BasePython3ParserListener) ExitNamed_parameter ¶
func (s *BasePython3ParserListener) ExitNamed_parameter(ctx *Named_parameterContext)
ExitNamed_parameter is called when production named_parameter is exited.
func (*BasePython3ParserListener) ExitNonlocal_stmt ¶
func (s *BasePython3ParserListener) ExitNonlocal_stmt(ctx *Nonlocal_stmtContext)
ExitNonlocal_stmt is called when production nonlocal_stmt is exited.
func (*BasePython3ParserListener) ExitNumber ¶
func (s *BasePython3ParserListener) ExitNumber(ctx *NumberContext)
ExitNumber is called when production number is exited.
func (*BasePython3ParserListener) ExitPass_stmt ¶
func (s *BasePython3ParserListener) ExitPass_stmt(ctx *Pass_stmtContext)
ExitPass_stmt is called when production pass_stmt is exited.
func (*BasePython3ParserListener) ExitPrint_stmt ¶
func (s *BasePython3ParserListener) ExitPrint_stmt(ctx *Print_stmtContext)
ExitPrint_stmt is called when production print_stmt is exited.
func (*BasePython3ParserListener) ExitRaise_stmt ¶
func (s *BasePython3ParserListener) ExitRaise_stmt(ctx *Raise_stmtContext)
ExitRaise_stmt is called when production raise_stmt is exited.
func (*BasePython3ParserListener) ExitReturn_stmt ¶
func (s *BasePython3ParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
ExitReturn_stmt is called when production return_stmt is exited.
func (*BasePython3ParserListener) ExitRoot ¶
func (s *BasePython3ParserListener) ExitRoot(ctx *RootContext)
ExitRoot is called when production root is exited.
func (*BasePython3ParserListener) ExitSimple_stmt ¶
func (s *BasePython3ParserListener) ExitSimple_stmt(ctx *Simple_stmtContext)
ExitSimple_stmt is called when production simple_stmt is exited.
func (*BasePython3ParserListener) ExitSingle_input ¶
func (s *BasePython3ParserListener) ExitSingle_input(ctx *Single_inputContext)
ExitSingle_input is called when production single_input is exited.
func (*BasePython3ParserListener) ExitSliceop ¶
func (s *BasePython3ParserListener) ExitSliceop(ctx *SliceopContext)
ExitSliceop is called when production sliceop is exited.
func (*BasePython3ParserListener) ExitStar_expr ¶
func (s *BasePython3ParserListener) ExitStar_expr(ctx *Star_exprContext)
ExitStar_expr is called when production star_expr is exited.
func (*BasePython3ParserListener) ExitStmt ¶
func (s *BasePython3ParserListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BasePython3ParserListener) ExitSubscript ¶
func (s *BasePython3ParserListener) ExitSubscript(ctx *SubscriptContext)
ExitSubscript is called when production subscript is exited.
func (*BasePython3ParserListener) ExitSubscriptlist ¶
func (s *BasePython3ParserListener) ExitSubscriptlist(ctx *SubscriptlistContext)
ExitSubscriptlist is called when production subscriptlist is exited.
func (*BasePython3ParserListener) ExitSuite ¶
func (s *BasePython3ParserListener) ExitSuite(ctx *SuiteContext)
ExitSuite is called when production suite is exited.
func (*BasePython3ParserListener) ExitTest ¶
func (s *BasePython3ParserListener) ExitTest(ctx *TestContext)
ExitTest is called when production test is exited.
func (*BasePython3ParserListener) ExitTestlist ¶
func (s *BasePython3ParserListener) ExitTestlist(ctx *TestlistContext)
ExitTestlist is called when production testlist is exited.
func (*BasePython3ParserListener) ExitTestlist_comp ¶
func (s *BasePython3ParserListener) ExitTestlist_comp(ctx *Testlist_compContext)
ExitTestlist_comp is called when production testlist_comp is exited.
func (*BasePython3ParserListener) ExitTestlist_star_expr ¶
func (s *BasePython3ParserListener) ExitTestlist_star_expr(ctx *Testlist_star_exprContext)
ExitTestlist_star_expr is called when production testlist_star_expr is exited.
func (*BasePython3ParserListener) ExitTrailer ¶
func (s *BasePython3ParserListener) ExitTrailer(ctx *TrailerContext)
ExitTrailer is called when production trailer is exited.
func (*BasePython3ParserListener) ExitTry_stmt ¶
func (s *BasePython3ParserListener) ExitTry_stmt(ctx *Try_stmtContext)
ExitTry_stmt is called when production try_stmt is exited.
func (*BasePython3ParserListener) ExitTypedargslist ¶
func (s *BasePython3ParserListener) ExitTypedargslist(ctx *TypedargslistContext)
ExitTypedargslist is called when production typedargslist is exited.
func (*BasePython3ParserListener) ExitVarargs ¶
func (s *BasePython3ParserListener) ExitVarargs(ctx *VarargsContext)
ExitVarargs is called when production varargs is exited.
func (*BasePython3ParserListener) ExitVarargslist ¶
func (s *BasePython3ParserListener) ExitVarargslist(ctx *VarargslistContext)
ExitVarargslist is called when production varargslist is exited.
func (*BasePython3ParserListener) ExitVardef_parameter ¶
func (s *BasePython3ParserListener) ExitVardef_parameter(ctx *Vardef_parameterContext)
ExitVardef_parameter is called when production vardef_parameter is exited.
func (*BasePython3ParserListener) ExitVardef_parameters ¶
func (s *BasePython3ParserListener) ExitVardef_parameters(ctx *Vardef_parametersContext)
ExitVardef_parameters is called when production vardef_parameters is exited.
func (*BasePython3ParserListener) ExitVarkwargs ¶
func (s *BasePython3ParserListener) ExitVarkwargs(ctx *VarkwargsContext)
ExitVarkwargs is called when production varkwargs is exited.
func (*BasePython3ParserListener) ExitWhile_stmt ¶
func (s *BasePython3ParserListener) ExitWhile_stmt(ctx *While_stmtContext)
ExitWhile_stmt is called when production while_stmt is exited.
func (*BasePython3ParserListener) ExitWith_item ¶
func (s *BasePython3ParserListener) ExitWith_item(ctx *With_itemContext)
ExitWith_item is called when production with_item is exited.
func (*BasePython3ParserListener) ExitWith_stmt ¶
func (s *BasePython3ParserListener) ExitWith_stmt(ctx *With_stmtContext)
ExitWith_stmt is called when production with_stmt is exited.
func (*BasePython3ParserListener) ExitYield_arg ¶
func (s *BasePython3ParserListener) ExitYield_arg(ctx *Yield_argContext)
ExitYield_arg is called when production yield_arg is exited.
func (*BasePython3ParserListener) ExitYield_expr ¶
func (s *BasePython3ParserListener) ExitYield_expr(ctx *Yield_exprContext)
ExitYield_expr is called when production yield_expr is exited.
func (*BasePython3ParserListener) ExitYield_stmt ¶
func (s *BasePython3ParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
ExitYield_stmt is called when production yield_stmt is exited.
func (*BasePython3ParserListener) VisitErrorNode ¶
func (s *BasePython3ParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasePython3ParserListener) VisitTerminal ¶
func (s *BasePython3ParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BasePython3ParserVisitor ¶
type BasePython3ParserVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BasePython3ParserVisitor) VisitArglist ¶
func (v *BasePython3ParserVisitor) VisitArglist(ctx *ArglistContext) interface{}
func (*BasePython3ParserVisitor) VisitArgs ¶
func (v *BasePython3ParserVisitor) VisitArgs(ctx *ArgsContext) interface{}
func (*BasePython3ParserVisitor) VisitArgument ¶
func (v *BasePython3ParserVisitor) VisitArgument(ctx *ArgumentContext) interface{}
func (*BasePython3ParserVisitor) VisitArguments ¶
func (v *BasePython3ParserVisitor) VisitArguments(ctx *ArgumentsContext) interface{}
func (*BasePython3ParserVisitor) VisitAssert_stmt ¶
func (v *BasePython3ParserVisitor) VisitAssert_stmt(ctx *Assert_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitAssign_part ¶
func (v *BasePython3ParserVisitor) VisitAssign_part(ctx *Assign_partContext) interface{}
func (*BasePython3ParserVisitor) VisitAtom ¶
func (v *BasePython3ParserVisitor) VisitAtom(ctx *AtomContext) interface{}
func (*BasePython3ParserVisitor) VisitBreak_stmt ¶
func (v *BasePython3ParserVisitor) VisitBreak_stmt(ctx *Break_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitClass_or_func_def_stmt ¶
func (v *BasePython3ParserVisitor) VisitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitClassdef ¶
func (v *BasePython3ParserVisitor) VisitClassdef(ctx *ClassdefContext) interface{}
func (*BasePython3ParserVisitor) VisitComp_for ¶
func (v *BasePython3ParserVisitor) VisitComp_for(ctx *Comp_forContext) interface{}
func (*BasePython3ParserVisitor) VisitComp_iter ¶
func (v *BasePython3ParserVisitor) VisitComp_iter(ctx *Comp_iterContext) interface{}
func (*BasePython3ParserVisitor) VisitComparison ¶
func (v *BasePython3ParserVisitor) VisitComparison(ctx *ComparisonContext) interface{}
func (*BasePython3ParserVisitor) VisitContinue_stmt ¶
func (v *BasePython3ParserVisitor) VisitContinue_stmt(ctx *Continue_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitDecorator ¶
func (v *BasePython3ParserVisitor) VisitDecorator(ctx *DecoratorContext) interface{}
func (*BasePython3ParserVisitor) VisitDef_parameter ¶
func (v *BasePython3ParserVisitor) VisitDef_parameter(ctx *Def_parameterContext) interface{}
func (*BasePython3ParserVisitor) VisitDef_parameters ¶
func (v *BasePython3ParserVisitor) VisitDef_parameters(ctx *Def_parametersContext) interface{}
func (*BasePython3ParserVisitor) VisitDel_stmt ¶
func (v *BasePython3ParserVisitor) VisitDel_stmt(ctx *Del_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitDictorsetmaker ¶
func (v *BasePython3ParserVisitor) VisitDictorsetmaker(ctx *DictorsetmakerContext) interface{}
func (*BasePython3ParserVisitor) VisitDotted_as_name ¶
func (v *BasePython3ParserVisitor) VisitDotted_as_name(ctx *Dotted_as_nameContext) interface{}
func (*BasePython3ParserVisitor) VisitDotted_as_names ¶
func (v *BasePython3ParserVisitor) VisitDotted_as_names(ctx *Dotted_as_namesContext) interface{}
func (*BasePython3ParserVisitor) VisitDotted_name ¶
func (v *BasePython3ParserVisitor) VisitDotted_name(ctx *Dotted_nameContext) interface{}
func (*BasePython3ParserVisitor) VisitElif_clause ¶
func (v *BasePython3ParserVisitor) VisitElif_clause(ctx *Elif_clauseContext) interface{}
func (*BasePython3ParserVisitor) VisitElse_clause ¶
func (v *BasePython3ParserVisitor) VisitElse_clause(ctx *Else_clauseContext) interface{}
func (*BasePython3ParserVisitor) VisitEval_input ¶
func (v *BasePython3ParserVisitor) VisitEval_input(ctx *Eval_inputContext) interface{}
func (*BasePython3ParserVisitor) VisitExcept_clause ¶
func (v *BasePython3ParserVisitor) VisitExcept_clause(ctx *Except_clauseContext) interface{}
func (*BasePython3ParserVisitor) VisitExec_stmt ¶
func (v *BasePython3ParserVisitor) VisitExec_stmt(ctx *Exec_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitExpr ¶
func (v *BasePython3ParserVisitor) VisitExpr(ctx *ExprContext) interface{}
func (*BasePython3ParserVisitor) VisitExpr_stmt ¶
func (v *BasePython3ParserVisitor) VisitExpr_stmt(ctx *Expr_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitExprlist ¶
func (v *BasePython3ParserVisitor) VisitExprlist(ctx *ExprlistContext) interface{}
func (*BasePython3ParserVisitor) VisitFile_input ¶
func (v *BasePython3ParserVisitor) VisitFile_input(ctx *File_inputContext) interface{}
func (*BasePython3ParserVisitor) VisitFinally_clause ¶
func (v *BasePython3ParserVisitor) VisitFinally_clause(ctx *Finally_clauseContext) interface{}
func (*BasePython3ParserVisitor) VisitFor_stmt ¶
func (v *BasePython3ParserVisitor) VisitFor_stmt(ctx *For_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitFrom_stmt ¶
func (v *BasePython3ParserVisitor) VisitFrom_stmt(ctx *From_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitFuncdef ¶
func (v *BasePython3ParserVisitor) VisitFuncdef(ctx *FuncdefContext) interface{}
func (*BasePython3ParserVisitor) VisitGlobal_stmt ¶
func (v *BasePython3ParserVisitor) VisitGlobal_stmt(ctx *Global_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitIf_stmt ¶
func (v *BasePython3ParserVisitor) VisitIf_stmt(ctx *If_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitImport_as_name ¶
func (v *BasePython3ParserVisitor) VisitImport_as_name(ctx *Import_as_nameContext) interface{}
func (*BasePython3ParserVisitor) VisitImport_as_names ¶
func (v *BasePython3ParserVisitor) VisitImport_as_names(ctx *Import_as_namesContext) interface{}
func (*BasePython3ParserVisitor) VisitImport_stmt ¶
func (v *BasePython3ParserVisitor) VisitImport_stmt(ctx *Import_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitInteger ¶
func (v *BasePython3ParserVisitor) VisitInteger(ctx *IntegerContext) interface{}
func (*BasePython3ParserVisitor) VisitKwargs ¶
func (v *BasePython3ParserVisitor) VisitKwargs(ctx *KwargsContext) interface{}
func (*BasePython3ParserVisitor) VisitLogical_test ¶
func (v *BasePython3ParserVisitor) VisitLogical_test(ctx *Logical_testContext) interface{}
func (*BasePython3ParserVisitor) VisitName ¶
func (v *BasePython3ParserVisitor) VisitName(ctx *NameContext) interface{}
func (*BasePython3ParserVisitor) VisitNamed_parameter ¶
func (v *BasePython3ParserVisitor) VisitNamed_parameter(ctx *Named_parameterContext) interface{}
func (*BasePython3ParserVisitor) VisitNonlocal_stmt ¶
func (v *BasePython3ParserVisitor) VisitNonlocal_stmt(ctx *Nonlocal_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitNumber ¶
func (v *BasePython3ParserVisitor) VisitNumber(ctx *NumberContext) interface{}
func (*BasePython3ParserVisitor) VisitPass_stmt ¶
func (v *BasePython3ParserVisitor) VisitPass_stmt(ctx *Pass_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitPrint_stmt ¶
func (v *BasePython3ParserVisitor) VisitPrint_stmt(ctx *Print_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitRaise_stmt ¶
func (v *BasePython3ParserVisitor) VisitRaise_stmt(ctx *Raise_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitReturn_stmt ¶
func (v *BasePython3ParserVisitor) VisitReturn_stmt(ctx *Return_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitRoot ¶
func (v *BasePython3ParserVisitor) VisitRoot(ctx *RootContext) interface{}
func (*BasePython3ParserVisitor) VisitSimple_stmt ¶
func (v *BasePython3ParserVisitor) VisitSimple_stmt(ctx *Simple_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitSingle_input ¶
func (v *BasePython3ParserVisitor) VisitSingle_input(ctx *Single_inputContext) interface{}
func (*BasePython3ParserVisitor) VisitSliceop ¶
func (v *BasePython3ParserVisitor) VisitSliceop(ctx *SliceopContext) interface{}
func (*BasePython3ParserVisitor) VisitStar_expr ¶
func (v *BasePython3ParserVisitor) VisitStar_expr(ctx *Star_exprContext) interface{}
func (*BasePython3ParserVisitor) VisitStmt ¶
func (v *BasePython3ParserVisitor) VisitStmt(ctx *StmtContext) interface{}
func (*BasePython3ParserVisitor) VisitSubscript ¶
func (v *BasePython3ParserVisitor) VisitSubscript(ctx *SubscriptContext) interface{}
func (*BasePython3ParserVisitor) VisitSubscriptlist ¶
func (v *BasePython3ParserVisitor) VisitSubscriptlist(ctx *SubscriptlistContext) interface{}
func (*BasePython3ParserVisitor) VisitSuite ¶
func (v *BasePython3ParserVisitor) VisitSuite(ctx *SuiteContext) interface{}
func (*BasePython3ParserVisitor) VisitTest ¶
func (v *BasePython3ParserVisitor) VisitTest(ctx *TestContext) interface{}
func (*BasePython3ParserVisitor) VisitTestlist ¶
func (v *BasePython3ParserVisitor) VisitTestlist(ctx *TestlistContext) interface{}
func (*BasePython3ParserVisitor) VisitTestlist_comp ¶
func (v *BasePython3ParserVisitor) VisitTestlist_comp(ctx *Testlist_compContext) interface{}
func (*BasePython3ParserVisitor) VisitTestlist_star_expr ¶
func (v *BasePython3ParserVisitor) VisitTestlist_star_expr(ctx *Testlist_star_exprContext) interface{}
func (*BasePython3ParserVisitor) VisitTrailer ¶
func (v *BasePython3ParserVisitor) VisitTrailer(ctx *TrailerContext) interface{}
func (*BasePython3ParserVisitor) VisitTry_stmt ¶
func (v *BasePython3ParserVisitor) VisitTry_stmt(ctx *Try_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitTypedargslist ¶
func (v *BasePython3ParserVisitor) VisitTypedargslist(ctx *TypedargslistContext) interface{}
func (*BasePython3ParserVisitor) VisitVarargs ¶
func (v *BasePython3ParserVisitor) VisitVarargs(ctx *VarargsContext) interface{}
func (*BasePython3ParserVisitor) VisitVarargslist ¶
func (v *BasePython3ParserVisitor) VisitVarargslist(ctx *VarargslistContext) interface{}
func (*BasePython3ParserVisitor) VisitVardef_parameter ¶
func (v *BasePython3ParserVisitor) VisitVardef_parameter(ctx *Vardef_parameterContext) interface{}
func (*BasePython3ParserVisitor) VisitVardef_parameters ¶
func (v *BasePython3ParserVisitor) VisitVardef_parameters(ctx *Vardef_parametersContext) interface{}
func (*BasePython3ParserVisitor) VisitVarkwargs ¶
func (v *BasePython3ParserVisitor) VisitVarkwargs(ctx *VarkwargsContext) interface{}
func (*BasePython3ParserVisitor) VisitWhile_stmt ¶
func (v *BasePython3ParserVisitor) VisitWhile_stmt(ctx *While_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitWith_item ¶
func (v *BasePython3ParserVisitor) VisitWith_item(ctx *With_itemContext) interface{}
func (*BasePython3ParserVisitor) VisitWith_stmt ¶
func (v *BasePython3ParserVisitor) VisitWith_stmt(ctx *With_stmtContext) interface{}
func (*BasePython3ParserVisitor) VisitYield_arg ¶
func (v *BasePython3ParserVisitor) VisitYield_arg(ctx *Yield_argContext) interface{}
func (*BasePython3ParserVisitor) VisitYield_expr ¶
func (v *BasePython3ParserVisitor) VisitYield_expr(ctx *Yield_exprContext) interface{}
func (*BasePython3ParserVisitor) VisitYield_stmt ¶
func (v *BasePython3ParserVisitor) VisitYield_stmt(ctx *Yield_stmtContext) interface{}
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) Accept ¶
func (s *Break_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Class_or_func_def_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ClassdefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Comp_forContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Comp_iterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ComparisonContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) CopyAll ¶
func (s *Compound_stmtContext) CopyAll(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) Accept ¶
func (s *Continue_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *DecoratorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Def_parameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Def_parametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Del_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *DictorsetmakerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Dotted_as_nameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Dotted_as_namesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Dotted_nameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Elif_clauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Else_clauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Eval_inputContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Except_clauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Exec_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Expr_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *ExprlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *File_inputContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Finally_clauseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *For_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *From_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*From_stmtContext) AllDOT ¶
func (s *From_stmtContext) AllDOT() []antlr.TerminalNode
func (*From_stmtContext) AllELLIPSIS ¶
func (s *From_stmtContext) AllELLIPSIS() []antlr.TerminalNode
func (*From_stmtContext) CLOSE_PAREN ¶
func (s *From_stmtContext) CLOSE_PAREN() antlr.TerminalNode
func (*From_stmtContext) DOT ¶
func (s *From_stmtContext) DOT(i int) antlr.TerminalNode
func (*From_stmtContext) Dotted_name ¶
func (s *From_stmtContext) Dotted_name() IDotted_nameContext
func (*From_stmtContext) ELLIPSIS ¶
func (s *From_stmtContext) ELLIPSIS(i int) antlr.TerminalNode
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) GetRuleContext ¶
func (s *From_stmtContext) GetRuleContext() antlr.RuleContext
func (*From_stmtContext) IMPORT ¶
func (s *From_stmtContext) IMPORT() antlr.TerminalNode
func (*From_stmtContext) Import_as_names ¶
func (s *From_stmtContext) Import_as_names() IImport_as_namesContext
func (*From_stmtContext) OPEN_PAREN ¶
func (s *From_stmtContext) OPEN_PAREN() antlr.TerminalNode
func (*From_stmtContext) STAR ¶
func (s *From_stmtContext) STAR() antlr.TerminalNode
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) Accept ¶
func (s *FuncdefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Global_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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 // Getter signatures AllArgument() []IArgumentContext Argument(i int) IArgumentContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures STAR() antlr.TerminalNode Named_parameter() INamed_parameterContext // 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 // Getter signatures AllTest() []ITestContext Test(i int) ITestContext Comp_for() IComp_forContext ASSIGN() antlr.TerminalNode POWER() antlr.TerminalNode STAR() antlr.TerminalNode // 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 // Getter signatures OPEN_PAREN() antlr.TerminalNode CLOSE_PAREN() antlr.TerminalNode Arglist() IArglistContext OPEN_BRACKET() antlr.TerminalNode Subscriptlist() ISubscriptlistContext CLOSE_BRACKET() antlr.TerminalNode // 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) // Getter signatures AllASSIGN() []antlr.TerminalNode ASSIGN(i int) antlr.TerminalNode AllTestlist_star_expr() []ITestlist_star_exprContext Testlist_star_expr(i int) ITestlist_star_exprContext Yield_expr() IYield_exprContext COLON() antlr.TerminalNode Test() ITestContext Testlist() ITestlistContext ADD_ASSIGN() antlr.TerminalNode SUB_ASSIGN() antlr.TerminalNode MULT_ASSIGN() antlr.TerminalNode AT_ASSIGN() antlr.TerminalNode DIV_ASSIGN() antlr.TerminalNode MOD_ASSIGN() antlr.TerminalNode AND_ASSIGN() antlr.TerminalNode OR_ASSIGN() antlr.TerminalNode XOR_ASSIGN() antlr.TerminalNode LEFT_SHIFT_ASSIGN() antlr.TerminalNode RIGHT_SHIFT_ASSIGN() antlr.TerminalNode POWER_ASSIGN() antlr.TerminalNode IDIV_ASSIGN() antlr.TerminalNode // 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 // Getter signatures OPEN_PAREN() antlr.TerminalNode CLOSE_PAREN() antlr.TerminalNode Yield_expr() IYield_exprContext Testlist_comp() ITestlist_compContext OPEN_BRACKET() antlr.TerminalNode CLOSE_BRACKET() antlr.TerminalNode OPEN_BRACE() antlr.TerminalNode CLOSE_BRACE() antlr.TerminalNode Dictorsetmaker() IDictorsetmakerContext AllREVERSE_QUOTE() []antlr.TerminalNode REVERSE_QUOTE(i int) antlr.TerminalNode Testlist() ITestlistContext COMMA() antlr.TerminalNode ELLIPSIS() antlr.TerminalNode Name() INameContext PRINT() antlr.TerminalNode EXEC() antlr.TerminalNode Number() INumberContext MINUS() antlr.TerminalNode NONE() antlr.TerminalNode AllSTRING() []antlr.TerminalNode STRING(i int) antlr.TerminalNode // 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 // Getter signatures CLASS() antlr.TerminalNode Name() INameContext COLON() antlr.TerminalNode Suite() ISuiteContext OPEN_PAREN() antlr.TerminalNode CLOSE_PAREN() antlr.TerminalNode Arglist() IArglistContext // 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 // Getter signatures FOR() antlr.TerminalNode Exprlist() IExprlistContext IN() antlr.TerminalNode Logical_test() ILogical_testContext Comp_iter() IComp_iterContext // 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 // Getter signatures Comp_for() IComp_forContext IF() antlr.TerminalNode Test() ITestContext Comp_iter() IComp_iterContext // 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) // Getter signatures Expr() IExprContext AllComparison() []IComparisonContext Comparison(i int) IComparisonContext LESS_THAN() antlr.TerminalNode GREATER_THAN() antlr.TerminalNode EQUALS() antlr.TerminalNode GT_EQ() antlr.TerminalNode LT_EQ() antlr.TerminalNode NOT_EQ_1() antlr.TerminalNode NOT_EQ_2() antlr.TerminalNode IN() antlr.TerminalNode IS() antlr.TerminalNode NOT() antlr.TerminalNode // 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 // Getter signatures AT() antlr.TerminalNode Dotted_name() IDotted_nameContext LINE_BREAK() antlr.TerminalNode OPEN_PAREN() antlr.TerminalNode CLOSE_PAREN() antlr.TerminalNode Arglist() IArglistContext // 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 // Getter signatures Named_parameter() INamed_parameterContext ASSIGN() antlr.TerminalNode Test() ITestContext STAR() antlr.TerminalNode // 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 // Getter signatures AllDef_parameter() []IDef_parameterContext Def_parameter(i int) IDef_parameterContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures AllTest() []ITestContext Test(i int) ITestContext AllCOLON() []antlr.TerminalNode COLON(i int) antlr.TerminalNode AllPOWER() []antlr.TerminalNode POWER(i int) antlr.TerminalNode AllExpr() []IExprContext Expr(i int) IExprContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode Comp_for() IComp_forContext Testlist_comp() ITestlist_compContext // 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 // Getter signatures Dotted_name() IDotted_nameContext AS() antlr.TerminalNode Name() INameContext // 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 // Getter signatures AllDotted_as_name() []IDotted_as_nameContext Dotted_as_name(i int) IDotted_as_nameContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures Name() INameContext Dotted_name() IDotted_nameContext DOT() antlr.TerminalNode // 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 // Getter signatures ELIF() antlr.TerminalNode Test() ITestContext COLON() antlr.TerminalNode Suite() ISuiteContext // 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 // Getter signatures ELSE() antlr.TerminalNode COLON() antlr.TerminalNode Suite() ISuiteContext // 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 // Getter signatures Testlist() ITestlistContext AllLINE_BREAK() []antlr.TerminalNode LINE_BREAK(i int) antlr.TerminalNode // 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 // Getter signatures EXCEPT() antlr.TerminalNode COLON() antlr.TerminalNode Suite() ISuiteContext Test() ITestContext COMMA() antlr.TerminalNode Name() INameContext AS() antlr.TerminalNode // 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) // Getter signatures Atom() IAtomContext AWAIT() antlr.TerminalNode AllTrailer() []ITrailerContext Trailer(i int) ITrailerContext AllExpr() []IExprContext Expr(i int) IExprContext ADD() antlr.TerminalNode MINUS() antlr.TerminalNode NOT_OP() antlr.TerminalNode POWER() antlr.TerminalNode STAR() antlr.TerminalNode DIV() antlr.TerminalNode MOD() antlr.TerminalNode IDIV() antlr.TerminalNode AT() antlr.TerminalNode LEFT_SHIFT() antlr.TerminalNode RIGHT_SHIFT() antlr.TerminalNode AND_OP() antlr.TerminalNode XOR() antlr.TerminalNode OR_OP() antlr.TerminalNode // 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 // Getter signatures AllExpr() []IExprContext Expr(i int) IExprContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures AllLINE_BREAK() []antlr.TerminalNode LINE_BREAK(i int) antlr.TerminalNode AllStmt() []IStmtContext Stmt(i int) IStmtContext // 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 // Getter signatures FINALLY() antlr.TerminalNode COLON() antlr.TerminalNode Suite() ISuiteContext // IsFinally_clauseContext differentiates from other interfaces. IsFinally_clauseContext() }
IFinally_clauseContext is an interface to support dynamic dispatch.
type IFuncdefContext ¶
type IFuncdefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DEF() antlr.TerminalNode Name() INameContext OPEN_PAREN() antlr.TerminalNode CLOSE_PAREN() antlr.TerminalNode COLON() antlr.TerminalNode Suite() ISuiteContext ASYNC() antlr.TerminalNode Typedargslist() ITypedargslistContext ARROW() antlr.TerminalNode Test() ITestContext // 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 // Getter signatures AllName() []INameContext Name(i int) INameContext AS() antlr.TerminalNode // 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 // Getter signatures AllImport_as_name() []IImport_as_nameContext Import_as_name(i int) IImport_as_nameContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures DECIMAL_INTEGER() antlr.TerminalNode OCT_INTEGER() antlr.TerminalNode HEX_INTEGER() antlr.TerminalNode BIN_INTEGER() antlr.TerminalNode // 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 // Getter signatures POWER() antlr.TerminalNode Named_parameter() INamed_parameterContext // 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) // Getter signatures Comparison() IComparisonContext NOT() antlr.TerminalNode AllLogical_test() []ILogical_testContext Logical_test(i int) ILogical_testContext AND() antlr.TerminalNode OR() antlr.TerminalNode // 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 // Getter signatures NAME() antlr.TerminalNode TRUE() antlr.TerminalNode FALSE() antlr.TerminalNode // 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 // Getter signatures Name() INameContext COLON() antlr.TerminalNode Test() ITestContext // 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 // Getter signatures Integer() IIntegerContext IMAG_NUMBER() antlr.TerminalNode FLOAT_NUMBER() antlr.TerminalNode // 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 // Getter signatures EOF() antlr.TerminalNode Single_input() ISingle_inputContext File_input() IFile_inputContext Eval_input() IEval_inputContext // 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 // Getter signatures AllSmall_stmt() []ISmall_stmtContext Small_stmt(i int) ISmall_stmtContext LINE_BREAK() antlr.TerminalNode EOF() antlr.TerminalNode AllSEMI_COLON() []antlr.TerminalNode SEMI_COLON(i int) antlr.TerminalNode // 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 // Getter signatures LINE_BREAK() antlr.TerminalNode Simple_stmt() ISimple_stmtContext Compound_stmt() ICompound_stmtContext // 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 // Getter signatures COLON() antlr.TerminalNode Test() ITestContext // 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 // Getter signatures STAR() antlr.TerminalNode Expr() IExprContext // 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 // Getter signatures Simple_stmt() ISimple_stmtContext Compound_stmt() ICompound_stmtContext // 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 // Getter signatures ELLIPSIS() antlr.TerminalNode AllTest() []ITestContext Test(i int) ITestContext COLON() antlr.TerminalNode Sliceop() ISliceopContext // 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 // Getter signatures AllSubscript() []ISubscriptContext Subscript(i int) ISubscriptContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures Simple_stmt() ISimple_stmtContext LINE_BREAK() antlr.TerminalNode INDENT() antlr.TerminalNode DEDENT() antlr.TerminalNode AllStmt() []IStmtContext Stmt(i int) IStmtContext // 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 // Getter signatures AllLogical_test() []ILogical_testContext Logical_test(i int) ILogical_testContext IF() antlr.TerminalNode ELSE() antlr.TerminalNode Test() ITestContext LAMBDA() antlr.TerminalNode COLON() antlr.TerminalNode Varargslist() IVarargslistContext // 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 // Getter signatures AllTest() []ITestContext Test(i int) ITestContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures AllTest() []ITestContext Test(i int) ITestContext AllStar_expr() []IStar_exprContext Star_expr(i int) IStar_exprContext Comp_for() IComp_forContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode AllTest() []ITestContext Test(i int) ITestContext AllStar_expr() []IStar_exprContext Star_expr(i int) IStar_exprContext Testlist() ITestlistContext // 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 // Getter signatures DOT() antlr.TerminalNode Name() INameContext Arguments() IArgumentsContext // 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 // Getter signatures Args() IArgsContext Kwargs() IKwargsContext AllDef_parameters() []IDef_parametersContext Def_parameters(i int) IDef_parametersContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures STAR() antlr.TerminalNode Name() INameContext // 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 // Getter signatures Varargs() IVarargsContext Varkwargs() IVarkwargsContext AllVardef_parameters() []IVardef_parametersContext Vardef_parameters(i int) IVardef_parametersContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures Name() INameContext ASSIGN() antlr.TerminalNode Test() ITestContext STAR() antlr.TerminalNode // 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 // Getter signatures AllVardef_parameter() []IVardef_parameterContext Vardef_parameter(i int) IVardef_parameterContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // 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 // Getter signatures POWER() antlr.TerminalNode Name() INameContext // 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 // Getter signatures Test() ITestContext AS() antlr.TerminalNode Expr() IExprContext // 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 // Getter signatures FROM() antlr.TerminalNode Test() ITestContext Testlist() ITestlistContext // 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 // Getter signatures YIELD() antlr.TerminalNode Yield_arg() IYield_argContext // 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) Accept ¶
func (s *If_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Import_as_nameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Import_as_namesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Import_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *IntegerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *KwargsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Logical_testContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *NameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Named_parameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Nonlocal_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *NumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Pass_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Print_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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 Python3Lexer ¶
type Python3Lexer struct { Python3LexerBase // contains filtered or unexported fields }
func NewPython3Lexer ¶
func NewPython3Lexer(input antlr.CharStream) *Python3Lexer
NewPython3Lexer produces a new lexer instance for the optional input antlr.CharStream.
func (*Python3Lexer) Action ¶
func (l *Python3Lexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)
func (*Python3Lexer) CLOSE_BRACE_Action ¶
func (l *Python3Lexer) CLOSE_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) CLOSE_BRACKET_Action ¶
func (l *Python3Lexer) CLOSE_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) CLOSE_PAREN_Action ¶
func (l *Python3Lexer) CLOSE_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) NEWLINE_Action ¶
func (l *Python3Lexer) NEWLINE_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) OPEN_BRACE_Action ¶
func (l *Python3Lexer) OPEN_BRACE_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) OPEN_BRACKET_Action ¶
func (l *Python3Lexer) OPEN_BRACKET_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) OPEN_PAREN_Action ¶
func (l *Python3Lexer) OPEN_PAREN_Action(localctx antlr.RuleContext, actionIndex int)
func (*Python3Lexer) WS_Action ¶
func (l *Python3Lexer) WS_Action(localctx antlr.RuleContext, actionIndex int)
type Python3LexerBase ¶
type Python3LexerBase struct { *antlr.BaseLexer // contains filtered or unexported fields }
func (*Python3LexerBase) DecIndentLevel ¶
func (l *Python3LexerBase) DecIndentLevel()
func (*Python3LexerBase) EmitToken ¶
func (l *Python3LexerBase) EmitToken(token antlr.Token)
func (*Python3LexerBase) HandleNewLine ¶
func (l *Python3LexerBase) HandleNewLine()
func (*Python3LexerBase) HandleSpaces ¶
func (l *Python3LexerBase) HandleSpaces()
func (*Python3LexerBase) IncIndentLevel ¶
func (l *Python3LexerBase) IncIndentLevel()
func (*Python3LexerBase) IsNotNewLineOrComment ¶
func (l *Python3LexerBase) IsNotNewLineOrComment(next int) bool
func (*Python3LexerBase) NextToken ¶
func (l *Python3LexerBase) NextToken() antlr.Token
func (*Python3LexerBase) ProcessNewLine ¶
func (l *Python3LexerBase) ProcessNewLine(indent int)
type Python3Parser ¶
type Python3Parser struct {
Python3ParserBase
}
func NewPython3Parser ¶
func NewPython3Parser(input antlr.TokenStream) *Python3Parser
NewPython3Parser produces a new parser instance for the optional input antlr.TokenStream.
func (*Python3Parser) Arglist ¶
func (p *Python3Parser) Arglist() (localctx IArglistContext)
func (*Python3Parser) Args ¶
func (p *Python3Parser) Args() (localctx IArgsContext)
func (*Python3Parser) Argument ¶
func (p *Python3Parser) Argument() (localctx IArgumentContext)
func (*Python3Parser) Arguments ¶
func (p *Python3Parser) Arguments() (localctx IArgumentsContext)
func (*Python3Parser) Assign_part ¶
func (p *Python3Parser) Assign_part() (localctx IAssign_partContext)
func (*Python3Parser) Assign_part_Sempred ¶
func (p *Python3Parser) Assign_part_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Atom ¶
func (p *Python3Parser) Atom() (localctx IAtomContext)
func (*Python3Parser) Classdef ¶
func (p *Python3Parser) Classdef() (localctx IClassdefContext)
func (*Python3Parser) Comp_for ¶
func (p *Python3Parser) Comp_for() (localctx IComp_forContext)
func (*Python3Parser) Comp_iter ¶
func (p *Python3Parser) Comp_iter() (localctx IComp_iterContext)
func (*Python3Parser) Comparison ¶
func (p *Python3Parser) Comparison() (localctx IComparisonContext)
func (*Python3Parser) Comparison_Sempred ¶
func (p *Python3Parser) Comparison_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Compound_stmt ¶
func (p *Python3Parser) Compound_stmt() (localctx ICompound_stmtContext)
func (*Python3Parser) Decorator ¶
func (p *Python3Parser) Decorator() (localctx IDecoratorContext)
func (*Python3Parser) Def_parameter ¶
func (p *Python3Parser) Def_parameter() (localctx IDef_parameterContext)
func (*Python3Parser) Def_parameters ¶
func (p *Python3Parser) Def_parameters() (localctx IDef_parametersContext)
func (*Python3Parser) Dictorsetmaker ¶
func (p *Python3Parser) Dictorsetmaker() (localctx IDictorsetmakerContext)
func (*Python3Parser) Dotted_as_name ¶
func (p *Python3Parser) Dotted_as_name() (localctx IDotted_as_nameContext)
func (*Python3Parser) Dotted_as_names ¶
func (p *Python3Parser) Dotted_as_names() (localctx IDotted_as_namesContext)
func (*Python3Parser) Dotted_name ¶
func (p *Python3Parser) Dotted_name() (localctx IDotted_nameContext)
func (*Python3Parser) Dotted_name_Sempred ¶
func (p *Python3Parser) Dotted_name_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Elif_clause ¶
func (p *Python3Parser) Elif_clause() (localctx IElif_clauseContext)
func (*Python3Parser) Else_clause ¶
func (p *Python3Parser) Else_clause() (localctx IElse_clauseContext)
func (*Python3Parser) Eval_input ¶
func (p *Python3Parser) Eval_input() (localctx IEval_inputContext)
func (*Python3Parser) Except_clause ¶
func (p *Python3Parser) Except_clause() (localctx IExcept_clauseContext)
func (*Python3Parser) Except_clause_Sempred ¶
func (p *Python3Parser) Except_clause_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Expr ¶
func (p *Python3Parser) Expr() (localctx IExprContext)
func (*Python3Parser) Expr_Sempred ¶
func (p *Python3Parser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Exprlist ¶
func (p *Python3Parser) Exprlist() (localctx IExprlistContext)
func (*Python3Parser) File_input ¶
func (p *Python3Parser) File_input() (localctx IFile_inputContext)
func (*Python3Parser) Finally_clause ¶
func (p *Python3Parser) Finally_clause() (localctx IFinally_clauseContext)
func (*Python3Parser) Funcdef ¶
func (p *Python3Parser) Funcdef() (localctx IFuncdefContext)
func (*Python3Parser) Import_as_name ¶
func (p *Python3Parser) Import_as_name() (localctx IImport_as_nameContext)
func (*Python3Parser) Import_as_names ¶
func (p *Python3Parser) Import_as_names() (localctx IImport_as_namesContext)
func (*Python3Parser) Integer ¶
func (p *Python3Parser) Integer() (localctx IIntegerContext)
func (*Python3Parser) Kwargs ¶
func (p *Python3Parser) Kwargs() (localctx IKwargsContext)
func (*Python3Parser) Logical_test ¶
func (p *Python3Parser) Logical_test() (localctx ILogical_testContext)
func (*Python3Parser) Logical_test_Sempred ¶
func (p *Python3Parser) Logical_test_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Name ¶
func (p *Python3Parser) Name() (localctx INameContext)
func (*Python3Parser) Named_parameter ¶
func (p *Python3Parser) Named_parameter() (localctx INamed_parameterContext)
func (*Python3Parser) Number ¶
func (p *Python3Parser) Number() (localctx INumberContext)
func (*Python3Parser) Root ¶
func (p *Python3Parser) Root() (localctx IRootContext)
func (*Python3Parser) Sempred ¶
func (p *Python3Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*Python3Parser) Simple_stmt ¶
func (p *Python3Parser) Simple_stmt() (localctx ISimple_stmtContext)
func (*Python3Parser) Single_input ¶
func (p *Python3Parser) Single_input() (localctx ISingle_inputContext)
func (*Python3Parser) Sliceop ¶
func (p *Python3Parser) Sliceop() (localctx ISliceopContext)
func (*Python3Parser) Small_stmt ¶
func (p *Python3Parser) Small_stmt() (localctx ISmall_stmtContext)
func (*Python3Parser) Small_stmt_Sempred ¶
func (p *Python3Parser) Small_stmt_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Python3Parser) Star_expr ¶
func (p *Python3Parser) Star_expr() (localctx IStar_exprContext)
func (*Python3Parser) Stmt ¶
func (p *Python3Parser) Stmt() (localctx IStmtContext)
func (*Python3Parser) Subscript ¶
func (p *Python3Parser) Subscript() (localctx ISubscriptContext)
func (*Python3Parser) Subscriptlist ¶
func (p *Python3Parser) Subscriptlist() (localctx ISubscriptlistContext)
func (*Python3Parser) Suite ¶
func (p *Python3Parser) Suite() (localctx ISuiteContext)
func (*Python3Parser) Test ¶
func (p *Python3Parser) Test() (localctx ITestContext)
func (*Python3Parser) Testlist ¶
func (p *Python3Parser) Testlist() (localctx ITestlistContext)
func (*Python3Parser) Testlist_comp ¶
func (p *Python3Parser) Testlist_comp() (localctx ITestlist_compContext)
func (*Python3Parser) Testlist_star_expr ¶
func (p *Python3Parser) Testlist_star_expr() (localctx ITestlist_star_exprContext)
func (*Python3Parser) Trailer ¶
func (p *Python3Parser) Trailer() (localctx ITrailerContext)
func (*Python3Parser) Typedargslist ¶
func (p *Python3Parser) Typedargslist() (localctx ITypedargslistContext)
func (*Python3Parser) Varargs ¶
func (p *Python3Parser) Varargs() (localctx IVarargsContext)
func (*Python3Parser) Varargslist ¶
func (p *Python3Parser) Varargslist() (localctx IVarargslistContext)
func (*Python3Parser) Vardef_parameter ¶
func (p *Python3Parser) Vardef_parameter() (localctx IVardef_parameterContext)
func (*Python3Parser) Vardef_parameters ¶
func (p *Python3Parser) Vardef_parameters() (localctx IVardef_parametersContext)
func (*Python3Parser) Varkwargs ¶
func (p *Python3Parser) Varkwargs() (localctx IVarkwargsContext)
func (*Python3Parser) With_item ¶
func (p *Python3Parser) With_item() (localctx IWith_itemContext)
func (*Python3Parser) Yield_arg ¶
func (p *Python3Parser) Yield_arg() (localctx IYield_argContext)
func (*Python3Parser) Yield_expr ¶
func (p *Python3Parser) Yield_expr() (localctx IYield_exprContext)
type Python3ParserBase ¶
type Python3ParserBase struct { *antlr.BaseParser // contains filtered or unexported fields }
func (*Python3ParserBase) CheckVersion ¶
func (p *Python3ParserBase) CheckVersion(version int) bool
func (*Python3ParserBase) SetVersion ¶
func (p *Python3ParserBase) SetVersion(version int)
type Python3ParserListener ¶
type Python3ParserListener 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) // 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) // 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) }
Python3ParserListener is a complete listener for a parse tree produced by Python3Parser.
type Python3ParserVisitor ¶
type Python3ParserVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by Python3Parser#root. VisitRoot(ctx *RootContext) interface{} // Visit a parse tree produced by Python3Parser#single_input. VisitSingle_input(ctx *Single_inputContext) interface{} // Visit a parse tree produced by Python3Parser#file_input. VisitFile_input(ctx *File_inputContext) interface{} // Visit a parse tree produced by Python3Parser#eval_input. VisitEval_input(ctx *Eval_inputContext) interface{} // Visit a parse tree produced by Python3Parser#stmt. VisitStmt(ctx *StmtContext) interface{} // Visit a parse tree produced by Python3Parser#if_stmt. VisitIf_stmt(ctx *If_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#while_stmt. VisitWhile_stmt(ctx *While_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#for_stmt. VisitFor_stmt(ctx *For_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#try_stmt. VisitTry_stmt(ctx *Try_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#with_stmt. VisitWith_stmt(ctx *With_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#class_or_func_def_stmt. VisitClass_or_func_def_stmt(ctx *Class_or_func_def_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#suite. VisitSuite(ctx *SuiteContext) interface{} // Visit a parse tree produced by Python3Parser#decorator. VisitDecorator(ctx *DecoratorContext) interface{} // Visit a parse tree produced by Python3Parser#elif_clause. VisitElif_clause(ctx *Elif_clauseContext) interface{} // Visit a parse tree produced by Python3Parser#else_clause. VisitElse_clause(ctx *Else_clauseContext) interface{} // Visit a parse tree produced by Python3Parser#finally_clause. VisitFinally_clause(ctx *Finally_clauseContext) interface{} // Visit a parse tree produced by Python3Parser#with_item. VisitWith_item(ctx *With_itemContext) interface{} // Visit a parse tree produced by Python3Parser#except_clause. VisitExcept_clause(ctx *Except_clauseContext) interface{} // Visit a parse tree produced by Python3Parser#classdef. VisitClassdef(ctx *ClassdefContext) interface{} // Visit a parse tree produced by Python3Parser#funcdef. VisitFuncdef(ctx *FuncdefContext) interface{} // Visit a parse tree produced by Python3Parser#typedargslist. VisitTypedargslist(ctx *TypedargslistContext) interface{} // Visit a parse tree produced by Python3Parser#args. VisitArgs(ctx *ArgsContext) interface{} // Visit a parse tree produced by Python3Parser#kwargs. VisitKwargs(ctx *KwargsContext) interface{} // Visit a parse tree produced by Python3Parser#def_parameters. VisitDef_parameters(ctx *Def_parametersContext) interface{} // Visit a parse tree produced by Python3Parser#def_parameter. VisitDef_parameter(ctx *Def_parameterContext) interface{} // Visit a parse tree produced by Python3Parser#named_parameter. VisitNamed_parameter(ctx *Named_parameterContext) interface{} // Visit a parse tree produced by Python3Parser#simple_stmt. VisitSimple_stmt(ctx *Simple_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#expr_stmt. VisitExpr_stmt(ctx *Expr_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#print_stmt. VisitPrint_stmt(ctx *Print_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#del_stmt. VisitDel_stmt(ctx *Del_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#pass_stmt. VisitPass_stmt(ctx *Pass_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#break_stmt. VisitBreak_stmt(ctx *Break_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#continue_stmt. VisitContinue_stmt(ctx *Continue_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#return_stmt. VisitReturn_stmt(ctx *Return_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#raise_stmt. VisitRaise_stmt(ctx *Raise_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#yield_stmt. VisitYield_stmt(ctx *Yield_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#import_stmt. VisitImport_stmt(ctx *Import_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#from_stmt. VisitFrom_stmt(ctx *From_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#global_stmt. VisitGlobal_stmt(ctx *Global_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#exec_stmt. VisitExec_stmt(ctx *Exec_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#assert_stmt. VisitAssert_stmt(ctx *Assert_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#nonlocal_stmt. VisitNonlocal_stmt(ctx *Nonlocal_stmtContext) interface{} // Visit a parse tree produced by Python3Parser#testlist_star_expr. VisitTestlist_star_expr(ctx *Testlist_star_exprContext) interface{} // Visit a parse tree produced by Python3Parser#star_expr. VisitStar_expr(ctx *Star_exprContext) interface{} // Visit a parse tree produced by Python3Parser#assign_part. VisitAssign_part(ctx *Assign_partContext) interface{} // Visit a parse tree produced by Python3Parser#exprlist. VisitExprlist(ctx *ExprlistContext) interface{} // Visit a parse tree produced by Python3Parser#import_as_names. VisitImport_as_names(ctx *Import_as_namesContext) interface{} // Visit a parse tree produced by Python3Parser#import_as_name. VisitImport_as_name(ctx *Import_as_nameContext) interface{} // Visit a parse tree produced by Python3Parser#dotted_as_names. VisitDotted_as_names(ctx *Dotted_as_namesContext) interface{} // Visit a parse tree produced by Python3Parser#dotted_as_name. VisitDotted_as_name(ctx *Dotted_as_nameContext) interface{} // Visit a parse tree produced by Python3Parser#test. VisitTest(ctx *TestContext) interface{} // Visit a parse tree produced by Python3Parser#varargslist. VisitVarargslist(ctx *VarargslistContext) interface{} // Visit a parse tree produced by Python3Parser#vardef_parameters. VisitVardef_parameters(ctx *Vardef_parametersContext) interface{} // Visit a parse tree produced by Python3Parser#vardef_parameter. VisitVardef_parameter(ctx *Vardef_parameterContext) interface{} // Visit a parse tree produced by Python3Parser#varargs. VisitVarargs(ctx *VarargsContext) interface{} // Visit a parse tree produced by Python3Parser#varkwargs. VisitVarkwargs(ctx *VarkwargsContext) interface{} // Visit a parse tree produced by Python3Parser#logical_test. VisitLogical_test(ctx *Logical_testContext) interface{} // Visit a parse tree produced by Python3Parser#comparison. VisitComparison(ctx *ComparisonContext) interface{} // Visit a parse tree produced by Python3Parser#expr. VisitExpr(ctx *ExprContext) interface{} // Visit a parse tree produced by Python3Parser#atom. VisitAtom(ctx *AtomContext) interface{} // Visit a parse tree produced by Python3Parser#dictorsetmaker. VisitDictorsetmaker(ctx *DictorsetmakerContext) interface{} // Visit a parse tree produced by Python3Parser#testlist_comp. VisitTestlist_comp(ctx *Testlist_compContext) interface{} // Visit a parse tree produced by Python3Parser#testlist. VisitTestlist(ctx *TestlistContext) interface{} // Visit a parse tree produced by Python3Parser#dotted_name. VisitDotted_name(ctx *Dotted_nameContext) interface{} // Visit a parse tree produced by Python3Parser#name. VisitName(ctx *NameContext) interface{} // Visit a parse tree produced by Python3Parser#number. VisitNumber(ctx *NumberContext) interface{} // Visit a parse tree produced by Python3Parser#integer. VisitInteger(ctx *IntegerContext) interface{} // Visit a parse tree produced by Python3Parser#yield_expr. VisitYield_expr(ctx *Yield_exprContext) interface{} // Visit a parse tree produced by Python3Parser#yield_arg. VisitYield_arg(ctx *Yield_argContext) interface{} // Visit a parse tree produced by Python3Parser#trailer. VisitTrailer(ctx *TrailerContext) interface{} // Visit a parse tree produced by Python3Parser#arguments. VisitArguments(ctx *ArgumentsContext) interface{} // Visit a parse tree produced by Python3Parser#arglist. VisitArglist(ctx *ArglistContext) interface{} // Visit a parse tree produced by Python3Parser#argument. VisitArgument(ctx *ArgumentContext) interface{} // Visit a parse tree produced by Python3Parser#subscriptlist. VisitSubscriptlist(ctx *SubscriptlistContext) interface{} // Visit a parse tree produced by Python3Parser#subscript. VisitSubscript(ctx *SubscriptContext) interface{} // Visit a parse tree produced by Python3Parser#sliceop. VisitSliceop(ctx *SliceopContext) interface{} // Visit a parse tree produced by Python3Parser#comp_for. VisitComp_for(ctx *Comp_forContext) interface{} // Visit a parse tree produced by Python3Parser#comp_iter. VisitComp_iter(ctx *Comp_iterContext) interface{} }
A complete Visitor for a parse tree produced by Python3Parser.
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) Accept ¶
func (s *Raise_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Return_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *RootContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Simple_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Single_inputContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *SliceopContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) CopyAll ¶
func (s *Small_stmtContext) CopyAll(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) Accept ¶
func (s *Star_exprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *StmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *SubscriptContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *SubscriptlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *SuiteContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *TestContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *TestlistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Testlist_compContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Testlist_star_exprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *TrailerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Try_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *TypedargslistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *VarargsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *VarargslistContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Vardef_parameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Vardef_parametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *VarkwargsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *While_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *With_itemContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *With_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Yield_argContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Yield_exprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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) Accept ¶
func (s *Yield_stmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
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