Documentation ¶
Index ¶
- Constants
- func NitroLexerInit()
- func NitroParserInit()
- type Arg_listContext
- func (s *Arg_listContext) AllCOMMA() []antlr.TerminalNode
- func (s *Arg_listContext) AllExpr() []IExprContext
- func (s *Arg_listContext) COMMA(i int) antlr.TerminalNode
- func (s *Arg_listContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Arg_listContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Arg_listContext) Expr(i int) IExprContext
- func (s *Arg_listContext) GetParser() antlr.Parser
- func (s *Arg_listContext) GetRuleContext() antlr.RuleContext
- func (*Arg_listContext) IsArg_listContext()
- func (s *Arg_listContext) SEMICOLON() antlr.TerminalNode
- func (s *Arg_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Array_elemContext
- func (s *Array_elemContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Array_elemContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Array_elemContext) Expr() IExprContext
- func (s *Array_elemContext) GetParser() antlr.Parser
- func (s *Array_elemContext) GetRuleContext() antlr.RuleContext
- func (*Array_elemContext) IsArray_elemContext()
- func (s *Array_elemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Array_elemsContext
- func (s *Array_elemsContext) AllArray_elem() []IArray_elemContext
- func (s *Array_elemsContext) AllCOMMA() []antlr.TerminalNode
- func (s *Array_elemsContext) AllSEMICOLON() []antlr.TerminalNode
- func (s *Array_elemsContext) Array_elem(i int) IArray_elemContext
- func (s *Array_elemsContext) COMMA(i int) antlr.TerminalNode
- func (s *Array_elemsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Array_elemsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Array_elemsContext) GetParser() antlr.Parser
- func (s *Array_elemsContext) GetRuleContext() antlr.RuleContext
- func (*Array_elemsContext) IsArray_elemsContext()
- func (s *Array_elemsContext) SEMICOLON(i int) antlr.TerminalNode
- func (s *Array_elemsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Array_literalContext
- func (s *Array_literalContext) Array_elems() IArray_elemsContext
- func (s *Array_literalContext) CBRACKET() antlr.TerminalNode
- func (s *Array_literalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Array_literalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Array_literalContext) GetParser() antlr.Parser
- func (s *Array_literalContext) GetRuleContext() antlr.RuleContext
- func (*Array_literalContext) IsArray_literalContext()
- func (s *Array_literalContext) OBRACKET() antlr.TerminalNode
- func (s *Array_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Assignment_lvaluesContext
- func (s *Assignment_lvaluesContext) AllCOMMA() []antlr.TerminalNode
- func (s *Assignment_lvaluesContext) AllLvalue_expr() []ILvalue_exprContext
- func (s *Assignment_lvaluesContext) COMMA(i int) antlr.TerminalNode
- func (s *Assignment_lvaluesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assignment_lvaluesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assignment_lvaluesContext) GetParser() antlr.Parser
- func (s *Assignment_lvaluesContext) GetRuleContext() antlr.RuleContext
- func (*Assignment_lvaluesContext) IsAssignment_lvaluesContext()
- func (s *Assignment_lvaluesContext) Lvalue_expr(i int) ILvalue_exprContext
- func (s *Assignment_lvaluesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Assignment_op_stmtContext
- func (s *Assignment_op_stmtContext) ASSIGN_ADD() antlr.TerminalNode
- func (s *Assignment_op_stmtContext) ASSIGN_DIV() antlr.TerminalNode
- func (s *Assignment_op_stmtContext) ASSIGN_MOD() antlr.TerminalNode
- func (s *Assignment_op_stmtContext) ASSIGN_MUL() antlr.TerminalNode
- func (s *Assignment_op_stmtContext) ASSIGN_SUB() antlr.TerminalNode
- func (s *Assignment_op_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assignment_op_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assignment_op_stmtContext) Expr() IExprContext
- func (s *Assignment_op_stmtContext) GetOp() antlr.Token
- func (s *Assignment_op_stmtContext) GetParser() antlr.Parser
- func (s *Assignment_op_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Assignment_op_stmtContext) IsAssignment_op_stmtContext()
- func (s *Assignment_op_stmtContext) Lvalue_expr() ILvalue_exprContext
- func (s *Assignment_op_stmtContext) SetOp(v antlr.Token)
- func (s *Assignment_op_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Assignment_stmtContext
- func (s *Assignment_stmtContext) ASSIGN() antlr.TerminalNode
- func (s *Assignment_stmtContext) Assignment_lvalues() IAssignment_lvaluesContext
- func (s *Assignment_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assignment_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assignment_stmtContext) GetParser() antlr.Parser
- func (s *Assignment_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Assignment_stmtContext) IsAssignment_stmtContext()
- func (s *Assignment_stmtContext) Rvalues() IRvaluesContext
- func (s *Assignment_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseNitroParserListener
- func (s *BaseNitroParserListener) EnterArg_list(ctx *Arg_listContext)
- func (s *BaseNitroParserListener) EnterArray_elem(ctx *Array_elemContext)
- func (s *BaseNitroParserListener) EnterArray_elems(ctx *Array_elemsContext)
- func (s *BaseNitroParserListener) EnterArray_literal(ctx *Array_literalContext)
- func (s *BaseNitroParserListener) EnterAssignment_lvalues(ctx *Assignment_lvaluesContext)
- func (s *BaseNitroParserListener) EnterAssignment_op_stmt(ctx *Assignment_op_stmtContext)
- func (s *BaseNitroParserListener) EnterAssignment_stmt(ctx *Assignment_stmtContext)
- func (s *BaseNitroParserListener) EnterBinary_expr(ctx *Binary_exprContext)
- func (s *BaseNitroParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
- func (s *BaseNitroParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
- func (s *BaseNitroParserListener) EnterDefer_stmt(ctx *Defer_stmtContext)
- func (s *BaseNitroParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseNitroParserListener) EnterExec_expr(ctx *Exec_exprContext)
- func (s *BaseNitroParserListener) EnterExec_expr_arg(ctx *Exec_expr_argContext)
- func (s *BaseNitroParserListener) EnterExpr(ctx *ExprContext)
- func (s *BaseNitroParserListener) EnterExpr3(ctx *Expr3Context)
- func (s *BaseNitroParserListener) EnterFor_stmt(ctx *For_stmtContext)
- func (s *BaseNitroParserListener) EnterFor_vars(ctx *For_varsContext)
- func (s *BaseNitroParserListener) EnterFunc_stmt(ctx *Func_stmtContext)
- func (s *BaseNitroParserListener) EnterId_or_keyword(ctx *Id_or_keywordContext)
- func (s *BaseNitroParserListener) EnterIf_elif(ctx *If_elifContext)
- func (s *BaseNitroParserListener) EnterIf_else(ctx *If_elseContext)
- func (s *BaseNitroParserListener) EnterIf_stmt(ctx *If_stmtContext)
- func (s *BaseNitroParserListener) EnterImport_stmt(ctx *Import_stmtContext)
- func (s *BaseNitroParserListener) EnterInc_dec_stmt(ctx *Inc_dec_stmtContext)
- func (s *BaseNitroParserListener) EnterLambda_expr(ctx *Lambda_exprContext)
- func (s *BaseNitroParserListener) EnterLvalue_expr_index(ctx *Lvalue_expr_indexContext)
- func (s *BaseNitroParserListener) EnterLvalue_expr_member_access(ctx *Lvalue_expr_member_accessContext)
- func (s *BaseNitroParserListener) EnterLvalue_expr_simple_ref(ctx *Lvalue_expr_simple_refContext)
- func (s *BaseNitroParserListener) EnterMeta_attrib(ctx *Meta_attribContext)
- func (s *BaseNitroParserListener) EnterMeta_attribs(ctx *Meta_attribsContext)
- func (s *BaseNitroParserListener) EnterMeta_directive(ctx *Meta_directiveContext)
- func (s *BaseNitroParserListener) EnterMeta_flag(ctx *Meta_flagContext)
- func (s *BaseNitroParserListener) EnterMeta_info(ctx *Meta_infoContext)
- func (s *BaseNitroParserListener) EnterMeta_literal(ctx *Meta_literalContext)
- func (s *BaseNitroParserListener) EnterMeta_param(ctx *Meta_paramContext)
- func (s *BaseNitroParserListener) EnterObject_field_expansion(ctx *Object_field_expansionContext)
- func (s *BaseNitroParserListener) EnterObject_field_expr_key(ctx *Object_field_expr_keyContext)
- func (s *BaseNitroParserListener) EnterObject_field_id_key(ctx *Object_field_id_keyContext)
- func (s *BaseNitroParserListener) EnterObject_fields(ctx *Object_fieldsContext)
- func (s *BaseNitroParserListener) EnterObject_literal(ctx *Object_literalContext)
- func (s *BaseNitroParserListener) EnterParam_list(ctx *Param_listContext)
- func (s *BaseNitroParserListener) EnterPrimary_exec_expr(ctx *Primary_exec_exprContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_array(ctx *Primary_expr_arrayContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_call(ctx *Primary_expr_callContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_index(ctx *Primary_expr_indexContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_lambda(ctx *Primary_expr_lambdaContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_literal(ctx *Primary_expr_literalContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_member_access(ctx *Primary_expr_member_accessContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_object(ctx *Primary_expr_objectContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_parenthesis(ctx *Primary_expr_parenthesisContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_regex(ctx *Primary_expr_regexContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_simple_ref(ctx *Primary_expr_simple_refContext)
- func (s *BaseNitroParserListener) EnterPrimary_expr_slice(ctx *Primary_expr_sliceContext)
- func (s *BaseNitroParserListener) EnterPrologue(ctx *PrologueContext)
- func (s *BaseNitroParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
- func (s *BaseNitroParserListener) EnterRvalues(ctx *RvaluesContext)
- func (s *BaseNitroParserListener) EnterShort_lambda_expr(ctx *Short_lambda_exprContext)
- func (s *BaseNitroParserListener) EnterSimple_literal(ctx *Simple_literalContext)
- func (s *BaseNitroParserListener) EnterStart(ctx *StartContext)
- func (s *BaseNitroParserListener) EnterStmt_assignment(ctx *Stmt_assignmentContext)
- func (s *BaseNitroParserListener) EnterStmt_break(ctx *Stmt_breakContext)
- func (s *BaseNitroParserListener) EnterStmt_continue(ctx *Stmt_continueContext)
- func (s *BaseNitroParserListener) EnterStmt_defer(ctx *Stmt_deferContext)
- func (s *BaseNitroParserListener) EnterStmt_expr(ctx *Stmt_exprContext)
- func (s *BaseNitroParserListener) EnterStmt_for(ctx *Stmt_forContext)
- func (s *BaseNitroParserListener) EnterStmt_func(ctx *Stmt_funcContext)
- func (s *BaseNitroParserListener) EnterStmt_if(ctx *Stmt_ifContext)
- func (s *BaseNitroParserListener) EnterStmt_inc_dec(ctx *Stmt_inc_decContext)
- func (s *BaseNitroParserListener) EnterStmt_list(ctx *Stmt_listContext)
- func (s *BaseNitroParserListener) EnterStmt_op_assign(ctx *Stmt_op_assignContext)
- func (s *BaseNitroParserListener) EnterStmt_return(ctx *Stmt_returnContext)
- func (s *BaseNitroParserListener) EnterStmt_throw(ctx *Stmt_throwContext)
- func (s *BaseNitroParserListener) EnterStmt_try_catch(ctx *Stmt_try_catchContext)
- func (s *BaseNitroParserListener) EnterStmt_var_dec(ctx *Stmt_var_decContext)
- func (s *BaseNitroParserListener) EnterStmt_while(ctx *Stmt_whileContext)
- func (s *BaseNitroParserListener) EnterStmt_yield(ctx *Stmt_yieldContext)
- func (s *BaseNitroParserListener) EnterStmts(ctx *StmtsContext)
- func (s *BaseNitroParserListener) EnterThrow_stmt(ctx *Throw_stmtContext)
- func (s *BaseNitroParserListener) EnterTry_catch_stmt(ctx *Try_catch_stmtContext)
- func (s *BaseNitroParserListener) EnterUnary_expr(ctx *Unary_exprContext)
- func (s *BaseNitroParserListener) EnterUnit(ctx *UnitContext)
- func (s *BaseNitroParserListener) EnterVar_decl_stmt(ctx *Var_decl_stmtContext)
- func (s *BaseNitroParserListener) EnterVar_decl_vars(ctx *Var_decl_varsContext)
- func (s *BaseNitroParserListener) EnterWhile_stmt(ctx *While_stmtContext)
- func (s *BaseNitroParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
- func (s *BaseNitroParserListener) ExitArg_list(ctx *Arg_listContext)
- func (s *BaseNitroParserListener) ExitArray_elem(ctx *Array_elemContext)
- func (s *BaseNitroParserListener) ExitArray_elems(ctx *Array_elemsContext)
- func (s *BaseNitroParserListener) ExitArray_literal(ctx *Array_literalContext)
- func (s *BaseNitroParserListener) ExitAssignment_lvalues(ctx *Assignment_lvaluesContext)
- func (s *BaseNitroParserListener) ExitAssignment_op_stmt(ctx *Assignment_op_stmtContext)
- func (s *BaseNitroParserListener) ExitAssignment_stmt(ctx *Assignment_stmtContext)
- func (s *BaseNitroParserListener) ExitBinary_expr(ctx *Binary_exprContext)
- func (s *BaseNitroParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
- func (s *BaseNitroParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
- func (s *BaseNitroParserListener) ExitDefer_stmt(ctx *Defer_stmtContext)
- func (s *BaseNitroParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseNitroParserListener) ExitExec_expr(ctx *Exec_exprContext)
- func (s *BaseNitroParserListener) ExitExec_expr_arg(ctx *Exec_expr_argContext)
- func (s *BaseNitroParserListener) ExitExpr(ctx *ExprContext)
- func (s *BaseNitroParserListener) ExitExpr3(ctx *Expr3Context)
- func (s *BaseNitroParserListener) ExitFor_stmt(ctx *For_stmtContext)
- func (s *BaseNitroParserListener) ExitFor_vars(ctx *For_varsContext)
- func (s *BaseNitroParserListener) ExitFunc_stmt(ctx *Func_stmtContext)
- func (s *BaseNitroParserListener) ExitId_or_keyword(ctx *Id_or_keywordContext)
- func (s *BaseNitroParserListener) ExitIf_elif(ctx *If_elifContext)
- func (s *BaseNitroParserListener) ExitIf_else(ctx *If_elseContext)
- func (s *BaseNitroParserListener) ExitIf_stmt(ctx *If_stmtContext)
- func (s *BaseNitroParserListener) ExitImport_stmt(ctx *Import_stmtContext)
- func (s *BaseNitroParserListener) ExitInc_dec_stmt(ctx *Inc_dec_stmtContext)
- func (s *BaseNitroParserListener) ExitLambda_expr(ctx *Lambda_exprContext)
- func (s *BaseNitroParserListener) ExitLvalue_expr_index(ctx *Lvalue_expr_indexContext)
- func (s *BaseNitroParserListener) ExitLvalue_expr_member_access(ctx *Lvalue_expr_member_accessContext)
- func (s *BaseNitroParserListener) ExitLvalue_expr_simple_ref(ctx *Lvalue_expr_simple_refContext)
- func (s *BaseNitroParserListener) ExitMeta_attrib(ctx *Meta_attribContext)
- func (s *BaseNitroParserListener) ExitMeta_attribs(ctx *Meta_attribsContext)
- func (s *BaseNitroParserListener) ExitMeta_directive(ctx *Meta_directiveContext)
- func (s *BaseNitroParserListener) ExitMeta_flag(ctx *Meta_flagContext)
- func (s *BaseNitroParserListener) ExitMeta_info(ctx *Meta_infoContext)
- func (s *BaseNitroParserListener) ExitMeta_literal(ctx *Meta_literalContext)
- func (s *BaseNitroParserListener) ExitMeta_param(ctx *Meta_paramContext)
- func (s *BaseNitroParserListener) ExitObject_field_expansion(ctx *Object_field_expansionContext)
- func (s *BaseNitroParserListener) ExitObject_field_expr_key(ctx *Object_field_expr_keyContext)
- func (s *BaseNitroParserListener) ExitObject_field_id_key(ctx *Object_field_id_keyContext)
- func (s *BaseNitroParserListener) ExitObject_fields(ctx *Object_fieldsContext)
- func (s *BaseNitroParserListener) ExitObject_literal(ctx *Object_literalContext)
- func (s *BaseNitroParserListener) ExitParam_list(ctx *Param_listContext)
- func (s *BaseNitroParserListener) ExitPrimary_exec_expr(ctx *Primary_exec_exprContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_array(ctx *Primary_expr_arrayContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_call(ctx *Primary_expr_callContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_index(ctx *Primary_expr_indexContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_lambda(ctx *Primary_expr_lambdaContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_literal(ctx *Primary_expr_literalContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_member_access(ctx *Primary_expr_member_accessContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_object(ctx *Primary_expr_objectContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_parenthesis(ctx *Primary_expr_parenthesisContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_regex(ctx *Primary_expr_regexContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_simple_ref(ctx *Primary_expr_simple_refContext)
- func (s *BaseNitroParserListener) ExitPrimary_expr_slice(ctx *Primary_expr_sliceContext)
- func (s *BaseNitroParserListener) ExitPrologue(ctx *PrologueContext)
- func (s *BaseNitroParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
- func (s *BaseNitroParserListener) ExitRvalues(ctx *RvaluesContext)
- func (s *BaseNitroParserListener) ExitShort_lambda_expr(ctx *Short_lambda_exprContext)
- func (s *BaseNitroParserListener) ExitSimple_literal(ctx *Simple_literalContext)
- func (s *BaseNitroParserListener) ExitStart(ctx *StartContext)
- func (s *BaseNitroParserListener) ExitStmt_assignment(ctx *Stmt_assignmentContext)
- func (s *BaseNitroParserListener) ExitStmt_break(ctx *Stmt_breakContext)
- func (s *BaseNitroParserListener) ExitStmt_continue(ctx *Stmt_continueContext)
- func (s *BaseNitroParserListener) ExitStmt_defer(ctx *Stmt_deferContext)
- func (s *BaseNitroParserListener) ExitStmt_expr(ctx *Stmt_exprContext)
- func (s *BaseNitroParserListener) ExitStmt_for(ctx *Stmt_forContext)
- func (s *BaseNitroParserListener) ExitStmt_func(ctx *Stmt_funcContext)
- func (s *BaseNitroParserListener) ExitStmt_if(ctx *Stmt_ifContext)
- func (s *BaseNitroParserListener) ExitStmt_inc_dec(ctx *Stmt_inc_decContext)
- func (s *BaseNitroParserListener) ExitStmt_list(ctx *Stmt_listContext)
- func (s *BaseNitroParserListener) ExitStmt_op_assign(ctx *Stmt_op_assignContext)
- func (s *BaseNitroParserListener) ExitStmt_return(ctx *Stmt_returnContext)
- func (s *BaseNitroParserListener) ExitStmt_throw(ctx *Stmt_throwContext)
- func (s *BaseNitroParserListener) ExitStmt_try_catch(ctx *Stmt_try_catchContext)
- func (s *BaseNitroParserListener) ExitStmt_var_dec(ctx *Stmt_var_decContext)
- func (s *BaseNitroParserListener) ExitStmt_while(ctx *Stmt_whileContext)
- func (s *BaseNitroParserListener) ExitStmt_yield(ctx *Stmt_yieldContext)
- func (s *BaseNitroParserListener) ExitStmts(ctx *StmtsContext)
- func (s *BaseNitroParserListener) ExitThrow_stmt(ctx *Throw_stmtContext)
- func (s *BaseNitroParserListener) ExitTry_catch_stmt(ctx *Try_catch_stmtContext)
- func (s *BaseNitroParserListener) ExitUnary_expr(ctx *Unary_exprContext)
- func (s *BaseNitroParserListener) ExitUnit(ctx *UnitContext)
- func (s *BaseNitroParserListener) ExitVar_decl_stmt(ctx *Var_decl_stmtContext)
- func (s *BaseNitroParserListener) ExitVar_decl_vars(ctx *Var_decl_varsContext)
- func (s *BaseNitroParserListener) ExitWhile_stmt(ctx *While_stmtContext)
- func (s *BaseNitroParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
- func (s *BaseNitroParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseNitroParserListener) VisitTerminal(node antlr.TerminalNode)
- type Binary_exprContext
- func (s *Binary_exprContext) ADD() antlr.TerminalNode
- func (s *Binary_exprContext) AND() antlr.TerminalNode
- func (s *Binary_exprContext) AllBinary_expr() []IBinary_exprContext
- func (s *Binary_exprContext) Binary_expr(i int) IBinary_exprContext
- func (s *Binary_exprContext) DIV() antlr.TerminalNode
- func (s *Binary_exprContext) EQ() antlr.TerminalNode
- func (s *Binary_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Binary_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Binary_exprContext) GE() antlr.TerminalNode
- func (s *Binary_exprContext) GT() antlr.TerminalNode
- func (s *Binary_exprContext) GetOp() antlr.Token
- func (s *Binary_exprContext) GetParser() antlr.Parser
- func (s *Binary_exprContext) GetRuleContext() antlr.RuleContext
- func (*Binary_exprContext) IsBinary_exprContext()
- func (s *Binary_exprContext) LE() antlr.TerminalNode
- func (s *Binary_exprContext) LT() antlr.TerminalNode
- func (s *Binary_exprContext) MOD() antlr.TerminalNode
- func (s *Binary_exprContext) MUL() antlr.TerminalNode
- func (s *Binary_exprContext) NE() antlr.TerminalNode
- func (s *Binary_exprContext) OR() antlr.TerminalNode
- func (s *Binary_exprContext) PIPE() antlr.TerminalNode
- func (s *Binary_exprContext) SUB() antlr.TerminalNode
- func (s *Binary_exprContext) SetOp(v antlr.Token)
- func (s *Binary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Binary_exprContext) Unary_expr() IUnary_exprContext
- type Break_stmtContext
- 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) GetParser() antlr.Parser
- func (s *Break_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Break_stmtContext) IsBreak_stmtContext()
- func (s *Break_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Continue_stmtContext
- 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) GetParser() antlr.Parser
- func (s *Continue_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Continue_stmtContext) IsContinue_stmtContext()
- func (s *Continue_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Defer_stmtContext
- func (s *Defer_stmtContext) DEFER() antlr.TerminalNode
- func (s *Defer_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Defer_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Defer_stmtContext) GetParser() antlr.Parser
- func (s *Defer_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Defer_stmtContext) IsDefer_stmtContext()
- func (s *Defer_stmtContext) Primary_expr() IPrimary_exprContext
- func (s *Defer_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Exec_exprContext
- func (s *Exec_exprContext) AllExec_expr_arg() []IExec_expr_argContext
- func (s *Exec_exprContext) EXEC_PREFIX() antlr.TerminalNode
- func (s *Exec_exprContext) EXEC_SUFFIX() antlr.TerminalNode
- func (s *Exec_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Exec_exprContext) Exec_expr_arg(i int) IExec_expr_argContext
- func (s *Exec_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Exec_exprContext) GetParser() antlr.Parser
- func (s *Exec_exprContext) GetRuleContext() antlr.RuleContext
- func (*Exec_exprContext) IsExec_exprContext()
- func (s *Exec_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Exec_expr_argContext
- func (s *Exec_expr_argContext) CCURLY() antlr.TerminalNode
- func (s *Exec_expr_argContext) EXEC_DQUOTE_LITERAL() antlr.TerminalNode
- func (s *Exec_expr_argContext) EXEC_LITERAL() antlr.TerminalNode
- func (s *Exec_expr_argContext) EXEC_SQUOTE_LITERAL() antlr.TerminalNode
- func (s *Exec_expr_argContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Exec_expr_argContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Exec_expr_argContext) Expr() IExprContext
- func (s *Exec_expr_argContext) GetParser() antlr.Parser
- func (s *Exec_expr_argContext) GetRuleContext() antlr.RuleContext
- func (*Exec_expr_argContext) IsExec_expr_argContext()
- func (s *Exec_expr_argContext) OCURLY() antlr.TerminalNode
- func (s *Exec_expr_argContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Expr3Context
- func (s *Expr3Context) AllExpr3() []IExpr3Context
- func (s *Expr3Context) Binary_expr() IBinary_exprContext
- func (s *Expr3Context) COLON() antlr.TerminalNode
- func (s *Expr3Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Expr3Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Expr3Context) Expr3(i int) IExpr3Context
- func (s *Expr3Context) GetParser() antlr.Parser
- func (s *Expr3Context) GetRuleContext() antlr.RuleContext
- func (*Expr3Context) IsExpr3Context()
- func (s *Expr3Context) QUESTION_MARK() antlr.TerminalNode
- func (s *Expr3Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExprContext
- func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) Expr3() IExpr3Context
- func (s *ExprContext) GetParser() antlr.Parser
- func (s *ExprContext) GetRuleContext() antlr.RuleContext
- func (*ExprContext) IsExprContext()
- func (s *ExprContext) Short_lambda_expr() IShort_lambda_exprContext
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type For_stmtContext
- func (s *For_stmtContext) CCURLY() antlr.TerminalNode
- func (s *For_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *For_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *For_stmtContext) Expr() IExprContext
- func (s *For_stmtContext) FOR() antlr.TerminalNode
- func (s *For_stmtContext) For_vars() IFor_varsContext
- func (s *For_stmtContext) GetParser() antlr.Parser
- func (s *For_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *For_stmtContext) ID() antlr.TerminalNode
- func (*For_stmtContext) IsFor_stmtContext()
- func (s *For_stmtContext) OCURLY() antlr.TerminalNode
- func (s *For_stmtContext) Stmts() IStmtsContext
- func (s *For_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type For_varsContext
- func (s *For_varsContext) AllCOMMA() []antlr.TerminalNode
- func (s *For_varsContext) AllID() []antlr.TerminalNode
- func (s *For_varsContext) COMMA(i int) antlr.TerminalNode
- func (s *For_varsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *For_varsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *For_varsContext) GetParser() antlr.Parser
- func (s *For_varsContext) GetRuleContext() antlr.RuleContext
- func (s *For_varsContext) ID(i int) antlr.TerminalNode
- func (*For_varsContext) IsFor_varsContext()
- func (s *For_varsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Func_stmtContext
- func (s *Func_stmtContext) CCURLY() antlr.TerminalNode
- func (s *Func_stmtContext) CPAREN() antlr.TerminalNode
- func (s *Func_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Func_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Func_stmtContext) FUNC() antlr.TerminalNode
- func (s *Func_stmtContext) GetParser() antlr.Parser
- func (s *Func_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Func_stmtContext) ID() antlr.TerminalNode
- func (*Func_stmtContext) IsFunc_stmtContext()
- func (s *Func_stmtContext) OCURLY() antlr.TerminalNode
- func (s *Func_stmtContext) OPAREN() antlr.TerminalNode
- func (s *Func_stmtContext) Param_list() IParam_listContext
- func (s *Func_stmtContext) Stmts() IStmtsContext
- func (s *Func_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArg_listContext
- type IArray_elemContext
- type IArray_elemsContext
- type IArray_literalContext
- type IAssignment_lvaluesContext
- type IAssignment_op_stmtContext
- type IAssignment_stmtContext
- type IBinary_exprContext
- type IBreak_stmtContext
- type IContinue_stmtContext
- type IDefer_stmtContext
- type IExec_exprContext
- type IExec_expr_argContext
- type IExpr3Context
- type IExprContext
- type IFor_stmtContext
- type IFor_varsContext
- type IFunc_stmtContext
- type IId_or_keywordContext
- type IIf_elifContext
- type IIf_elseContext
- type IIf_stmtContext
- type IImport_stmtContext
- type IInc_dec_stmtContext
- type ILambda_exprContext
- type ILvalue_exprContext
- type IMeta_attribContext
- type IMeta_attribsContext
- type IMeta_directiveContext
- type IMeta_flagContext
- type IMeta_infoContext
- type IMeta_literalContext
- type IMeta_paramContext
- type IObject_fieldContext
- type IObject_fieldsContext
- type IObject_literalContext
- type IParam_listContext
- type IPrimary_exprContext
- type IPrologueContext
- type IReturn_stmtContext
- type IRvaluesContext
- type IShort_lambda_exprContext
- type ISimple_literalContext
- type IStartContext
- type IStmtContext
- type IStmt_listContext
- type IStmtsContext
- type IThrow_stmtContext
- type ITry_catch_stmtContext
- type IUnary_exprContext
- type IUnitContext
- type IVar_decl_stmtContext
- type IVar_decl_varsContext
- type IWhile_stmtContext
- type IYield_stmtContext
- type Id_or_keywordContext
- func (s *Id_or_keywordContext) AND() antlr.TerminalNode
- func (s *Id_or_keywordContext) BREAK() antlr.TerminalNode
- func (s *Id_or_keywordContext) CATCH() antlr.TerminalNode
- func (s *Id_or_keywordContext) CONTINUE() antlr.TerminalNode
- func (s *Id_or_keywordContext) DEFER() antlr.TerminalNode
- func (s *Id_or_keywordContext) ELSE() antlr.TerminalNode
- func (s *Id_or_keywordContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Id_or_keywordContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Id_or_keywordContext) FALSE() antlr.TerminalNode
- func (s *Id_or_keywordContext) FOR() antlr.TerminalNode
- func (s *Id_or_keywordContext) FUNC() antlr.TerminalNode
- func (s *Id_or_keywordContext) GetParser() antlr.Parser
- func (s *Id_or_keywordContext) GetRuleContext() antlr.RuleContext
- func (s *Id_or_keywordContext) GetT() antlr.Token
- func (s *Id_or_keywordContext) ID() antlr.TerminalNode
- func (s *Id_or_keywordContext) IF() antlr.TerminalNode
- func (s *Id_or_keywordContext) IMPORT() antlr.TerminalNode
- func (*Id_or_keywordContext) IsId_or_keywordContext()
- func (s *Id_or_keywordContext) NIL() antlr.TerminalNode
- func (s *Id_or_keywordContext) NOT() antlr.TerminalNode
- func (s *Id_or_keywordContext) OR() antlr.TerminalNode
- func (s *Id_or_keywordContext) RETURN() antlr.TerminalNode
- func (s *Id_or_keywordContext) SetT(v antlr.Token)
- func (s *Id_or_keywordContext) THROW() antlr.TerminalNode
- func (s *Id_or_keywordContext) TRUE() antlr.TerminalNode
- func (s *Id_or_keywordContext) TRY() antlr.TerminalNode
- func (s *Id_or_keywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Id_or_keywordContext) VAR() antlr.TerminalNode
- func (s *Id_or_keywordContext) WHILE() antlr.TerminalNode
- func (s *Id_or_keywordContext) YIELD() antlr.TerminalNode
- type If_elifContext
- func (s *If_elifContext) CCURLY() antlr.TerminalNode
- func (s *If_elifContext) ELSE() antlr.TerminalNode
- func (s *If_elifContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_elifContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_elifContext) Expr() IExprContext
- func (s *If_elifContext) GetParser() antlr.Parser
- func (s *If_elifContext) GetRuleContext() antlr.RuleContext
- func (s *If_elifContext) IF() antlr.TerminalNode
- func (*If_elifContext) IsIf_elifContext()
- func (s *If_elifContext) OCURLY() antlr.TerminalNode
- func (s *If_elifContext) Stmts() IStmtsContext
- func (s *If_elifContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type If_elseContext
- func (s *If_elseContext) CCURLY() antlr.TerminalNode
- func (s *If_elseContext) ELSE() antlr.TerminalNode
- func (s *If_elseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_elseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_elseContext) GetParser() antlr.Parser
- func (s *If_elseContext) GetRuleContext() antlr.RuleContext
- func (*If_elseContext) IsIf_elseContext()
- func (s *If_elseContext) OCURLY() antlr.TerminalNode
- func (s *If_elseContext) Stmts() IStmtsContext
- func (s *If_elseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type If_stmtContext
- func (s *If_stmtContext) AllIf_elif() []IIf_elifContext
- func (s *If_stmtContext) CCURLY() antlr.TerminalNode
- func (s *If_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_stmtContext) Expr() IExprContext
- func (s *If_stmtContext) GetParser() antlr.Parser
- func (s *If_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *If_stmtContext) IF() antlr.TerminalNode
- func (s *If_stmtContext) If_elif(i int) IIf_elifContext
- func (s *If_stmtContext) If_else() IIf_elseContext
- func (*If_stmtContext) IsIf_stmtContext()
- func (s *If_stmtContext) OCURLY() antlr.TerminalNode
- func (s *If_stmtContext) Stmts() IStmtsContext
- func (s *If_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Import_stmtContext
- func (s *Import_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Import_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Import_stmtContext) GetParser() antlr.Parser
- func (s *Import_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Import_stmtContext) ID() antlr.TerminalNode
- func (s *Import_stmtContext) IMPORT() antlr.TerminalNode
- func (*Import_stmtContext) IsImport_stmtContext()
- func (s *Import_stmtContext) SEMICOLON() antlr.TerminalNode
- func (s *Import_stmtContext) STRING() antlr.TerminalNode
- func (s *Import_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Inc_dec_stmtContext
- func (s *Inc_dec_stmtContext) DEC() antlr.TerminalNode
- func (s *Inc_dec_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Inc_dec_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Inc_dec_stmtContext) GetOp() antlr.Token
- func (s *Inc_dec_stmtContext) GetParser() antlr.Parser
- func (s *Inc_dec_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Inc_dec_stmtContext) INC() antlr.TerminalNode
- func (*Inc_dec_stmtContext) IsInc_dec_stmtContext()
- func (s *Inc_dec_stmtContext) Lvalue_expr() ILvalue_exprContext
- func (s *Inc_dec_stmtContext) SetOp(v antlr.Token)
- func (s *Inc_dec_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Lambda_exprContext
- func (s *Lambda_exprContext) CCURLY() antlr.TerminalNode
- func (s *Lambda_exprContext) CPAREN() antlr.TerminalNode
- func (s *Lambda_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Lambda_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Lambda_exprContext) FUNC() antlr.TerminalNode
- func (s *Lambda_exprContext) GetParser() antlr.Parser
- func (s *Lambda_exprContext) GetRuleContext() antlr.RuleContext
- func (*Lambda_exprContext) IsLambda_exprContext()
- func (s *Lambda_exprContext) OCURLY() antlr.TerminalNode
- func (s *Lambda_exprContext) OPAREN() antlr.TerminalNode
- func (s *Lambda_exprContext) Param_list() IParam_listContext
- func (s *Lambda_exprContext) Stmts() IStmtsContext
- func (s *Lambda_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Lvalue_exprContext
- func (s *Lvalue_exprContext) CopyFrom(ctx *Lvalue_exprContext)
- func (s *Lvalue_exprContext) GetParser() antlr.Parser
- func (s *Lvalue_exprContext) GetRuleContext() antlr.RuleContext
- func (*Lvalue_exprContext) IsLvalue_exprContext()
- func (s *Lvalue_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Lvalue_expr_indexContext
- func (s *Lvalue_expr_indexContext) CBRACKET() antlr.TerminalNode
- func (s *Lvalue_expr_indexContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_indexContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_indexContext) Expr() IExprContext
- func (s *Lvalue_expr_indexContext) GetRuleContext() antlr.RuleContext
- func (s *Lvalue_expr_indexContext) OBRACKET() antlr.TerminalNode
- func (s *Lvalue_expr_indexContext) Primary_expr() IPrimary_exprContext
- type Lvalue_expr_member_accessContext
- func (s *Lvalue_expr_member_accessContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_member_accessContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_member_accessContext) GetRuleContext() antlr.RuleContext
- func (s *Lvalue_expr_member_accessContext) ID() antlr.TerminalNode
- func (s *Lvalue_expr_member_accessContext) PERIOD() antlr.TerminalNode
- func (s *Lvalue_expr_member_accessContext) Primary_expr() IPrimary_exprContext
- type Lvalue_expr_simple_refContext
- func (s *Lvalue_expr_simple_refContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_simple_refContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Lvalue_expr_simple_refContext) GetRuleContext() antlr.RuleContext
- func (s *Lvalue_expr_simple_refContext) ID() antlr.TerminalNode
- type Meta_attribContext
- func (s *Meta_attribContext) COLON() antlr.TerminalNode
- func (s *Meta_attribContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_attribContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_attribContext) GetParser() antlr.Parser
- func (s *Meta_attribContext) GetRuleContext() antlr.RuleContext
- func (s *Meta_attribContext) Id_or_keyword() IId_or_keywordContext
- func (*Meta_attribContext) IsMeta_attribContext()
- func (s *Meta_attribContext) Meta_literal() IMeta_literalContext
- func (s *Meta_attribContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_attribsContext
- func (s *Meta_attribsContext) AllCOMMA() []antlr.TerminalNode
- func (s *Meta_attribsContext) AllMeta_attrib() []IMeta_attribContext
- func (s *Meta_attribsContext) AllSEMICOLON() []antlr.TerminalNode
- func (s *Meta_attribsContext) COMMA(i int) antlr.TerminalNode
- func (s *Meta_attribsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_attribsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_attribsContext) GetParser() antlr.Parser
- func (s *Meta_attribsContext) GetRuleContext() antlr.RuleContext
- func (*Meta_attribsContext) IsMeta_attribsContext()
- func (s *Meta_attribsContext) Meta_attrib(i int) IMeta_attribContext
- func (s *Meta_attribsContext) SEMICOLON(i int) antlr.TerminalNode
- func (s *Meta_attribsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_directiveContext
- func (s *Meta_directiveContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_directiveContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_directiveContext) GetParser() antlr.Parser
- func (s *Meta_directiveContext) GetRuleContext() antlr.RuleContext
- func (*Meta_directiveContext) IsMeta_directiveContext()
- func (s *Meta_directiveContext) Meta_flag() IMeta_flagContext
- func (s *Meta_directiveContext) Meta_info() IMeta_infoContext
- func (s *Meta_directiveContext) Meta_param() IMeta_paramContext
- func (s *Meta_directiveContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_flagContext
- func (s *Meta_flagContext) ASSIGN() antlr.TerminalNode
- func (s *Meta_flagContext) CCURLY() antlr.TerminalNode
- func (s *Meta_flagContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_flagContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_flagContext) Expr() IExprContext
- func (s *Meta_flagContext) GetParser() antlr.Parser
- func (s *Meta_flagContext) GetRuleContext() antlr.RuleContext
- func (s *Meta_flagContext) ID() antlr.TerminalNode
- func (*Meta_flagContext) IsMeta_flagContext()
- func (s *Meta_flagContext) M_FLAG() antlr.TerminalNode
- func (s *Meta_flagContext) Meta_attribs() IMeta_attribsContext
- func (s *Meta_flagContext) OCURLY() antlr.TerminalNode
- func (s *Meta_flagContext) SEMICOLON() antlr.TerminalNode
- func (s *Meta_flagContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_infoContext
- func (s *Meta_infoContext) CCURLY() antlr.TerminalNode
- func (s *Meta_infoContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_infoContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_infoContext) GetParser() antlr.Parser
- func (s *Meta_infoContext) GetRuleContext() antlr.RuleContext
- func (*Meta_infoContext) IsMeta_infoContext()
- func (s *Meta_infoContext) M_INFO() antlr.TerminalNode
- func (s *Meta_infoContext) Meta_attribs() IMeta_attribsContext
- func (s *Meta_infoContext) OCURLY() antlr.TerminalNode
- func (s *Meta_infoContext) SEMICOLON() antlr.TerminalNode
- func (s *Meta_infoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_literalContext
- func (s *Meta_literalContext) CHAR() antlr.TerminalNode
- func (s *Meta_literalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_literalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_literalContext) FALSE() antlr.TerminalNode
- func (s *Meta_literalContext) GetParser() antlr.Parser
- func (s *Meta_literalContext) GetRuleContext() antlr.RuleContext
- func (s *Meta_literalContext) GetVal() antlr.Token
- func (*Meta_literalContext) IsMeta_literalContext()
- func (s *Meta_literalContext) NIL() antlr.TerminalNode
- func (s *Meta_literalContext) NUMBER() antlr.TerminalNode
- func (s *Meta_literalContext) STRING() antlr.TerminalNode
- func (s *Meta_literalContext) SetVal(v antlr.Token)
- func (s *Meta_literalContext) TRUE() antlr.TerminalNode
- func (s *Meta_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Meta_paramContext
- func (s *Meta_paramContext) ASSIGN() antlr.TerminalNode
- func (s *Meta_paramContext) CCURLY() antlr.TerminalNode
- func (s *Meta_paramContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Meta_paramContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Meta_paramContext) Expr() IExprContext
- func (s *Meta_paramContext) GetParser() antlr.Parser
- func (s *Meta_paramContext) GetRuleContext() antlr.RuleContext
- func (s *Meta_paramContext) ID() antlr.TerminalNode
- func (*Meta_paramContext) IsMeta_paramContext()
- func (s *Meta_paramContext) M_PARAM() antlr.TerminalNode
- func (s *Meta_paramContext) Meta_attribs() IMeta_attribsContext
- func (s *Meta_paramContext) OCURLY() antlr.TerminalNode
- func (s *Meta_paramContext) SEMICOLON() antlr.TerminalNode
- func (s *Meta_paramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NitroLexer
- type NitroParser
- func (p *NitroParser) Arg_list() (localctx IArg_listContext)
- func (p *NitroParser) Array_elem() (localctx IArray_elemContext)
- func (p *NitroParser) Array_elems() (localctx IArray_elemsContext)
- func (p *NitroParser) Array_literal() (localctx IArray_literalContext)
- func (p *NitroParser) Assignment_lvalues() (localctx IAssignment_lvaluesContext)
- func (p *NitroParser) Assignment_op_stmt() (localctx IAssignment_op_stmtContext)
- func (p *NitroParser) Assignment_stmt() (localctx IAssignment_stmtContext)
- func (p *NitroParser) Binary_expr() (localctx IBinary_exprContext)
- func (p *NitroParser) Binary_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *NitroParser) Break_stmt() (localctx IBreak_stmtContext)
- func (p *NitroParser) Continue_stmt() (localctx IContinue_stmtContext)
- func (p *NitroParser) Defer_stmt() (localctx IDefer_stmtContext)
- func (p *NitroParser) Exec_expr() (localctx IExec_exprContext)
- func (p *NitroParser) Exec_expr_arg() (localctx IExec_expr_argContext)
- func (p *NitroParser) Expr() (localctx IExprContext)
- func (p *NitroParser) Expr3() (localctx IExpr3Context)
- func (p *NitroParser) Expr3_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *NitroParser) For_stmt() (localctx IFor_stmtContext)
- func (p *NitroParser) For_vars() (localctx IFor_varsContext)
- func (p *NitroParser) Func_stmt() (localctx IFunc_stmtContext)
- func (p *NitroParser) Id_or_keyword() (localctx IId_or_keywordContext)
- func (p *NitroParser) If_elif() (localctx IIf_elifContext)
- func (p *NitroParser) If_else() (localctx IIf_elseContext)
- func (p *NitroParser) If_stmt() (localctx IIf_stmtContext)
- func (p *NitroParser) Import_stmt() (localctx IImport_stmtContext)
- func (p *NitroParser) Inc_dec_stmt() (localctx IInc_dec_stmtContext)
- func (p *NitroParser) Lambda_expr() (localctx ILambda_exprContext)
- func (p *NitroParser) Lvalue_expr() (localctx ILvalue_exprContext)
- func (p *NitroParser) Meta_attrib() (localctx IMeta_attribContext)
- func (p *NitroParser) Meta_attribs() (localctx IMeta_attribsContext)
- func (p *NitroParser) Meta_directive() (localctx IMeta_directiveContext)
- func (p *NitroParser) Meta_flag() (localctx IMeta_flagContext)
- func (p *NitroParser) Meta_info() (localctx IMeta_infoContext)
- func (p *NitroParser) Meta_literal() (localctx IMeta_literalContext)
- func (p *NitroParser) Meta_param() (localctx IMeta_paramContext)
- func (p *NitroParser) Object_field() (localctx IObject_fieldContext)
- func (p *NitroParser) Object_fields() (localctx IObject_fieldsContext)
- func (p *NitroParser) Object_literal() (localctx IObject_literalContext)
- func (p *NitroParser) Param_list() (localctx IParam_listContext)
- func (p *NitroParser) Primary_expr() (localctx IPrimary_exprContext)
- func (p *NitroParser) Primary_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *NitroParser) Prologue() (localctx IPrologueContext)
- func (p *NitroParser) Return_stmt() (localctx IReturn_stmtContext)
- func (p *NitroParser) Rvalues() (localctx IRvaluesContext)
- func (p *NitroParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *NitroParser) Short_lambda_expr() (localctx IShort_lambda_exprContext)
- func (p *NitroParser) Simple_literal() (localctx ISimple_literalContext)
- func (p *NitroParser) Start() (localctx IStartContext)
- func (p *NitroParser) Stmt() (localctx IStmtContext)
- func (p *NitroParser) Stmt_list() (localctx IStmt_listContext)
- func (p *NitroParser) Stmts() (localctx IStmtsContext)
- func (p *NitroParser) Throw_stmt() (localctx IThrow_stmtContext)
- func (p *NitroParser) Try_catch_stmt() (localctx ITry_catch_stmtContext)
- func (p *NitroParser) Unary_expr() (localctx IUnary_exprContext)
- func (p *NitroParser) Unit() (localctx IUnitContext)
- func (p *NitroParser) Var_decl_stmt() (localctx IVar_decl_stmtContext)
- func (p *NitroParser) Var_decl_vars() (localctx IVar_decl_varsContext)
- func (p *NitroParser) While_stmt() (localctx IWhile_stmtContext)
- func (p *NitroParser) Yield_stmt() (localctx IYield_stmtContext)
- type NitroParserListener
- type Object_fieldContext
- func (s *Object_fieldContext) CopyFrom(ctx *Object_fieldContext)
- func (s *Object_fieldContext) GetParser() antlr.Parser
- func (s *Object_fieldContext) GetRuleContext() antlr.RuleContext
- func (*Object_fieldContext) IsObject_fieldContext()
- func (s *Object_fieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Object_field_expansionContext
- func (s *Object_field_expansionContext) EXPAND() antlr.TerminalNode
- func (s *Object_field_expansionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Object_field_expansionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Object_field_expansionContext) GetRuleContext() antlr.RuleContext
- func (s *Object_field_expansionContext) Primary_expr() IPrimary_exprContext
- type Object_field_expr_keyContext
- func (s *Object_field_expr_keyContext) AllExpr() []IExprContext
- func (s *Object_field_expr_keyContext) CBRACKET() antlr.TerminalNode
- func (s *Object_field_expr_keyContext) COLON() antlr.TerminalNode
- func (s *Object_field_expr_keyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Object_field_expr_keyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Object_field_expr_keyContext) Expr(i int) IExprContext
- func (s *Object_field_expr_keyContext) GetRuleContext() antlr.RuleContext
- func (s *Object_field_expr_keyContext) OBRACKET() antlr.TerminalNode
- type Object_field_id_keyContext
- func (s *Object_field_id_keyContext) COLON() antlr.TerminalNode
- func (s *Object_field_id_keyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Object_field_id_keyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Object_field_id_keyContext) Expr() IExprContext
- func (s *Object_field_id_keyContext) GetRuleContext() antlr.RuleContext
- func (s *Object_field_id_keyContext) Id_or_keyword() IId_or_keywordContext
- type Object_fieldsContext
- func (s *Object_fieldsContext) AllCOMMA() []antlr.TerminalNode
- func (s *Object_fieldsContext) AllObject_field() []IObject_fieldContext
- func (s *Object_fieldsContext) AllSEMICOLON() []antlr.TerminalNode
- func (s *Object_fieldsContext) COMMA(i int) antlr.TerminalNode
- func (s *Object_fieldsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Object_fieldsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Object_fieldsContext) GetParser() antlr.Parser
- func (s *Object_fieldsContext) GetRuleContext() antlr.RuleContext
- func (*Object_fieldsContext) IsObject_fieldsContext()
- func (s *Object_fieldsContext) Object_field(i int) IObject_fieldContext
- func (s *Object_fieldsContext) SEMICOLON(i int) antlr.TerminalNode
- func (s *Object_fieldsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Object_literalContext
- func (s *Object_literalContext) CCURLY() antlr.TerminalNode
- func (s *Object_literalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Object_literalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Object_literalContext) GetParser() antlr.Parser
- func (s *Object_literalContext) GetRuleContext() antlr.RuleContext
- func (*Object_literalContext) IsObject_literalContext()
- func (s *Object_literalContext) OCURLY() antlr.TerminalNode
- func (s *Object_literalContext) Object_fields() IObject_fieldsContext
- func (s *Object_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Param_listContext
- func (s *Param_listContext) AllCOMMA() []antlr.TerminalNode
- func (s *Param_listContext) AllID() []antlr.TerminalNode
- func (s *Param_listContext) COMMA(i int) antlr.TerminalNode
- func (s *Param_listContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Param_listContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Param_listContext) GetParser() antlr.Parser
- func (s *Param_listContext) GetRuleContext() antlr.RuleContext
- func (s *Param_listContext) ID(i int) antlr.TerminalNode
- func (*Param_listContext) IsParam_listContext()
- func (s *Param_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Primary_exec_exprContext
- type Primary_exprContext
- func (s *Primary_exprContext) CopyFrom(ctx *Primary_exprContext)
- func (s *Primary_exprContext) GetParser() antlr.Parser
- func (s *Primary_exprContext) GetRuleContext() antlr.RuleContext
- func (*Primary_exprContext) IsPrimary_exprContext()
- func (s *Primary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Primary_expr_arrayContext
- func (s *Primary_expr_arrayContext) Array_literal() IArray_literalContext
- func (s *Primary_expr_arrayContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_arrayContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_arrayContext) GetRuleContext() antlr.RuleContext
- type Primary_expr_callContext
- func (s *Primary_expr_callContext) Arg_list() IArg_listContext
- func (s *Primary_expr_callContext) CPAREN() antlr.TerminalNode
- func (s *Primary_expr_callContext) EXPAND() antlr.TerminalNode
- func (s *Primary_expr_callContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_callContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_callContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_callContext) OPAREN() antlr.TerminalNode
- func (s *Primary_expr_callContext) Primary_expr() IPrimary_exprContext
- type Primary_expr_indexContext
- func (s *Primary_expr_indexContext) CBRACKET() antlr.TerminalNode
- func (s *Primary_expr_indexContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_indexContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_indexContext) Expr() IExprContext
- func (s *Primary_expr_indexContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_indexContext) OBRACKET() antlr.TerminalNode
- func (s *Primary_expr_indexContext) Primary_expr() IPrimary_exprContext
- type Primary_expr_lambdaContext
- func (s *Primary_expr_lambdaContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_lambdaContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_lambdaContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_lambdaContext) Lambda_expr() ILambda_exprContext
- type Primary_expr_literalContext
- func (s *Primary_expr_literalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_literalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_literalContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_literalContext) Simple_literal() ISimple_literalContext
- type Primary_expr_member_accessContext
- func (s *Primary_expr_member_accessContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_member_accessContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_member_accessContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_member_accessContext) ID() antlr.TerminalNode
- func (s *Primary_expr_member_accessContext) PERIOD() antlr.TerminalNode
- func (s *Primary_expr_member_accessContext) Primary_expr() IPrimary_exprContext
- type Primary_expr_objectContext
- func (s *Primary_expr_objectContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_objectContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_objectContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_objectContext) Object_literal() IObject_literalContext
- type Primary_expr_parenthesisContext
- func (s *Primary_expr_parenthesisContext) CPAREN() antlr.TerminalNode
- func (s *Primary_expr_parenthesisContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_parenthesisContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_parenthesisContext) Expr() IExprContext
- func (s *Primary_expr_parenthesisContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_parenthesisContext) OPAREN() antlr.TerminalNode
- type Primary_expr_regexContext
- type Primary_expr_simple_refContext
- func (s *Primary_expr_simple_refContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_simple_refContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_simple_refContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_simple_refContext) ID() antlr.TerminalNode
- type Primary_expr_sliceContext
- func (s *Primary_expr_sliceContext) AllExpr() []IExprContext
- func (s *Primary_expr_sliceContext) CBRACKET() antlr.TerminalNode
- func (s *Primary_expr_sliceContext) COLON() antlr.TerminalNode
- func (s *Primary_expr_sliceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_sliceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Primary_expr_sliceContext) Expr(i int) IExprContext
- func (s *Primary_expr_sliceContext) GetB() IExprContext
- func (s *Primary_expr_sliceContext) GetE() IExprContext
- func (s *Primary_expr_sliceContext) GetRuleContext() antlr.RuleContext
- func (s *Primary_expr_sliceContext) OBRACKET() antlr.TerminalNode
- func (s *Primary_expr_sliceContext) Primary_expr() IPrimary_exprContext
- func (s *Primary_expr_sliceContext) SetB(v IExprContext)
- func (s *Primary_expr_sliceContext) SetE(v IExprContext)
- type PrologueContext
- func (s *PrologueContext) AllImport_stmt() []IImport_stmtContext
- func (s *PrologueContext) AllMeta_directive() []IMeta_directiveContext
- func (s *PrologueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PrologueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PrologueContext) GetParser() antlr.Parser
- func (s *PrologueContext) GetRuleContext() antlr.RuleContext
- func (s *PrologueContext) Import_stmt(i int) IImport_stmtContext
- func (*PrologueContext) IsPrologueContext()
- func (s *PrologueContext) Meta_directive(i int) IMeta_directiveContext
- func (s *PrologueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Return_stmtContext
- func (s *Return_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Return_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Return_stmtContext) GetParser() antlr.Parser
- func (s *Return_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Return_stmtContext) IsReturn_stmtContext()
- func (s *Return_stmtContext) RETURN() antlr.TerminalNode
- func (s *Return_stmtContext) Rvalues() IRvaluesContext
- func (s *Return_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RvaluesContext
- func (s *RvaluesContext) AllCOMMA() []antlr.TerminalNode
- func (s *RvaluesContext) AllExpr() []IExprContext
- func (s *RvaluesContext) COMMA(i int) antlr.TerminalNode
- func (s *RvaluesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RvaluesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RvaluesContext) Expr(i int) IExprContext
- func (s *RvaluesContext) GetParser() antlr.Parser
- func (s *RvaluesContext) GetRuleContext() antlr.RuleContext
- func (*RvaluesContext) IsRvaluesContext()
- func (s *RvaluesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Short_lambda_exprContext
- func (s *Short_lambda_exprContext) ARROW() antlr.TerminalNode
- func (s *Short_lambda_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Short_lambda_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Short_lambda_exprContext) Expr3() IExpr3Context
- func (s *Short_lambda_exprContext) GetParser() antlr.Parser
- func (s *Short_lambda_exprContext) GetRuleContext() antlr.RuleContext
- func (*Short_lambda_exprContext) IsShort_lambda_exprContext()
- func (s *Short_lambda_exprContext) LAMBDA() antlr.TerminalNode
- func (s *Short_lambda_exprContext) Param_list() IParam_listContext
- func (s *Short_lambda_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Simple_literalContext
- func (s *Simple_literalContext) CHAR() antlr.TerminalNode
- func (s *Simple_literalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Simple_literalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Simple_literalContext) FALSE() antlr.TerminalNode
- func (s *Simple_literalContext) GetParser() antlr.Parser
- func (s *Simple_literalContext) GetRuleContext() antlr.RuleContext
- func (s *Simple_literalContext) GetVal() antlr.Token
- func (*Simple_literalContext) IsSimple_literalContext()
- func (s *Simple_literalContext) NIL() antlr.TerminalNode
- func (s *Simple_literalContext) NUMBER() antlr.TerminalNode
- func (s *Simple_literalContext) STRING() antlr.TerminalNode
- func (s *Simple_literalContext) SetVal(v antlr.Token)
- func (s *Simple_literalContext) TRUE() antlr.TerminalNode
- func (s *Simple_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StartContext
- func (s *StartContext) EOF() antlr.TerminalNode
- func (s *StartContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StartContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StartContext) GetParser() antlr.Parser
- func (s *StartContext) GetRuleContext() antlr.RuleContext
- func (*StartContext) IsStartContext()
- func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StartContext) Unit() IUnitContext
- type StmtContext
- type Stmt_assignmentContext
- type Stmt_breakContext
- type Stmt_continueContext
- type Stmt_deferContext
- type Stmt_exprContext
- type Stmt_forContext
- type Stmt_funcContext
- type Stmt_ifContext
- type Stmt_inc_decContext
- type Stmt_listContext
- func (s *Stmt_listContext) AllSEMICOLON() []antlr.TerminalNode
- func (s *Stmt_listContext) AllStmt() []IStmtContext
- func (s *Stmt_listContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Stmt_listContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Stmt_listContext) GetParser() antlr.Parser
- func (s *Stmt_listContext) GetRuleContext() antlr.RuleContext
- func (*Stmt_listContext) IsStmt_listContext()
- func (s *Stmt_listContext) SEMICOLON(i int) antlr.TerminalNode
- func (s *Stmt_listContext) Stmt(i int) IStmtContext
- func (s *Stmt_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Stmt_op_assignContext
- type Stmt_returnContext
- type Stmt_throwContext
- type Stmt_try_catchContext
- type Stmt_var_decContext
- type Stmt_whileContext
- type Stmt_yieldContext
- type StmtsContext
- func (s *StmtsContext) AllSEMICOLON() []antlr.TerminalNode
- func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) GetParser() antlr.Parser
- func (s *StmtsContext) GetRuleContext() antlr.RuleContext
- func (*StmtsContext) IsStmtsContext()
- func (s *StmtsContext) SEMICOLON(i int) antlr.TerminalNode
- func (s *StmtsContext) Stmt_list() IStmt_listContext
- func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Throw_stmtContext
- func (s *Throw_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Throw_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Throw_stmtContext) Expr() IExprContext
- func (s *Throw_stmtContext) GetParser() antlr.Parser
- func (s *Throw_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Throw_stmtContext) IsThrow_stmtContext()
- func (s *Throw_stmtContext) THROW() antlr.TerminalNode
- func (s *Throw_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Try_catch_stmtContext
- func (s *Try_catch_stmtContext) AllCCURLY() []antlr.TerminalNode
- func (s *Try_catch_stmtContext) AllOCURLY() []antlr.TerminalNode
- func (s *Try_catch_stmtContext) AllStmts() []IStmtsContext
- func (s *Try_catch_stmtContext) CATCH() antlr.TerminalNode
- func (s *Try_catch_stmtContext) CCURLY(i int) antlr.TerminalNode
- func (s *Try_catch_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Try_catch_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Try_catch_stmtContext) GetParser() antlr.Parser
- func (s *Try_catch_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Try_catch_stmtContext) ID() antlr.TerminalNode
- func (*Try_catch_stmtContext) IsTry_catch_stmtContext()
- func (s *Try_catch_stmtContext) OCURLY(i int) antlr.TerminalNode
- func (s *Try_catch_stmtContext) Stmts(i int) IStmtsContext
- func (s *Try_catch_stmtContext) TRY() antlr.TerminalNode
- func (s *Try_catch_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Unary_exprContext
- func (s *Unary_exprContext) ADD() antlr.TerminalNode
- func (s *Unary_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Unary_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Unary_exprContext) GetOp() antlr.Token
- func (s *Unary_exprContext) GetParser() antlr.Parser
- func (s *Unary_exprContext) GetRuleContext() antlr.RuleContext
- func (*Unary_exprContext) IsUnary_exprContext()
- func (s *Unary_exprContext) NOT() antlr.TerminalNode
- func (s *Unary_exprContext) Primary_expr() IPrimary_exprContext
- func (s *Unary_exprContext) SUB() antlr.TerminalNode
- func (s *Unary_exprContext) SetOp(v antlr.Token)
- func (s *Unary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UnitContext
- func (s *UnitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnitContext) GetParser() antlr.Parser
- func (s *UnitContext) GetRuleContext() antlr.RuleContext
- func (*UnitContext) IsUnitContext()
- func (s *UnitContext) Prologue() IPrologueContext
- func (s *UnitContext) Stmts() IStmtsContext
- func (s *UnitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Var_decl_stmtContext
- func (s *Var_decl_stmtContext) ASSIGN() antlr.TerminalNode
- func (s *Var_decl_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Var_decl_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Var_decl_stmtContext) GetParser() antlr.Parser
- func (s *Var_decl_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Var_decl_stmtContext) IsVar_decl_stmtContext()
- func (s *Var_decl_stmtContext) Rvalues() IRvaluesContext
- func (s *Var_decl_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Var_decl_stmtContext) VAR() antlr.TerminalNode
- func (s *Var_decl_stmtContext) Var_decl_vars() IVar_decl_varsContext
- type Var_decl_varsContext
- func (s *Var_decl_varsContext) AllCOMMA() []antlr.TerminalNode
- func (s *Var_decl_varsContext) AllID() []antlr.TerminalNode
- func (s *Var_decl_varsContext) COMMA(i int) antlr.TerminalNode
- func (s *Var_decl_varsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Var_decl_varsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Var_decl_varsContext) GetParser() antlr.Parser
- func (s *Var_decl_varsContext) GetRuleContext() antlr.RuleContext
- func (s *Var_decl_varsContext) ID(i int) antlr.TerminalNode
- func (*Var_decl_varsContext) IsVar_decl_varsContext()
- func (s *Var_decl_varsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type While_stmtContext
- func (s *While_stmtContext) CCURLY() antlr.TerminalNode
- func (s *While_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *While_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *While_stmtContext) Expr() IExprContext
- func (s *While_stmtContext) GetParser() antlr.Parser
- func (s *While_stmtContext) GetRuleContext() antlr.RuleContext
- func (*While_stmtContext) IsWhile_stmtContext()
- func (s *While_stmtContext) OCURLY() antlr.TerminalNode
- func (s *While_stmtContext) Stmts() IStmtsContext
- func (s *While_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *While_stmtContext) WHILE() antlr.TerminalNode
- type Yield_stmtContext
- func (s *Yield_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Yield_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Yield_stmtContext) GetParser() antlr.Parser
- func (s *Yield_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Yield_stmtContext) IsYield_stmtContext()
- func (s *Yield_stmtContext) Rvalues() IRvaluesContext
- func (s *Yield_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Yield_stmtContext) YIELD() antlr.TerminalNode
Constants ¶
const ( NitroLexerM_INFO = 1 NitroLexerM_PARAM = 2 NitroLexerM_FLAG = 3 NitroLexerAND = 4 NitroLexerBREAK = 5 NitroLexerCATCH = 6 NitroLexerCONTINUE = 7 NitroLexerDEFER = 8 NitroLexerELSE = 9 NitroLexerFALSE = 10 NitroLexerFOR = 11 NitroLexerFUNC = 12 NitroLexerIF = 13 NitroLexerIMPORT = 14 NitroLexerNIL = 15 NitroLexerNOT = 16 NitroLexerOR = 17 NitroLexerRETURN = 18 NitroLexerTHROW = 19 NitroLexerTRUE = 20 NitroLexerTRY = 21 NitroLexerVAR = 22 NitroLexerWHILE = 23 NitroLexerYIELD = 24 NitroLexerASSIGN = 25 NitroLexerASSIGN_ADD = 26 NitroLexerASSIGN_SUB = 27 NitroLexerASSIGN_MUL = 28 NitroLexerASSIGN_DIV = 29 NitroLexerASSIGN_MOD = 30 NitroLexerEQ = 31 NitroLexerNE = 32 NitroLexerLT = 33 NitroLexerLE = 34 NitroLexerGT = 35 NitroLexerGE = 36 NitroLexerADD = 37 NitroLexerSUB = 38 NitroLexerMUL = 39 NitroLexerDIV = 40 NitroLexerMOD = 41 NitroLexerINC = 42 NitroLexerDEC = 43 NitroLexerQUESTION_MARK = 44 NitroLexerSEMICOLON = 45 NitroLexerCOMMA = 46 NitroLexerCOLON = 47 NitroLexerPERIOD = 48 NitroLexerOPAREN = 49 NitroLexerCPAREN = 50 NitroLexerOBRACKET = 51 NitroLexerCBRACKET = 52 NitroLexerOCURLY = 53 NitroLexerCCURLY = 54 NitroLexerARROW = 55 NitroLexerLAMBDA = 56 NitroLexerPIPE = 57 NitroLexerEXPAND = 58 NitroLexerNUMBER = 59 NitroLexerID = 60 NitroLexerREGEX = 61 NitroLexerNEWLINE = 62 NitroLexerCHAR = 63 NitroLexerCOMMENT = 64 NitroLexerWS = 65 NitroLexerSTRING = 66 NitroLexerEXEC_PREFIX = 67 NitroLexerEXEC_WS_ = 68 NitroLexerEXEC_SUFFIX = 69 NitroLexerEXEC_LITERAL = 70 NitroLexerEXEC_DQUOTE_LITERAL = 71 NitroLexerEXEC_SQUOTE_LITERAL = 72 NitroLexerEXEC_EXPR_WS_ = 73 NitroLexerDQUOTE_ = 74 NitroLexerEXEC_SQUOTE_ = 75 )
NitroLexer tokens.
const ( NitroLexerQSTR = iota + 1 NitroLexerEXEC NitroLexerEXEC_DQUOTE NitroLexerEXEC_SQUOTE NitroLexerEXEC_EXPR )
NitroLexer modes.
const ( NitroParserEOF = antlr.TokenEOF NitroParserM_INFO = 1 NitroParserM_PARAM = 2 NitroParserM_FLAG = 3 NitroParserAND = 4 NitroParserBREAK = 5 NitroParserCATCH = 6 NitroParserCONTINUE = 7 NitroParserDEFER = 8 NitroParserELSE = 9 NitroParserFALSE = 10 NitroParserFOR = 11 NitroParserFUNC = 12 NitroParserIF = 13 NitroParserIMPORT = 14 NitroParserNIL = 15 NitroParserNOT = 16 NitroParserOR = 17 NitroParserRETURN = 18 NitroParserTHROW = 19 NitroParserTRUE = 20 NitroParserTRY = 21 NitroParserVAR = 22 NitroParserWHILE = 23 NitroParserYIELD = 24 NitroParserASSIGN = 25 NitroParserASSIGN_ADD = 26 NitroParserASSIGN_SUB = 27 NitroParserASSIGN_MUL = 28 NitroParserASSIGN_DIV = 29 NitroParserASSIGN_MOD = 30 NitroParserEQ = 31 NitroParserNE = 32 NitroParserLT = 33 NitroParserLE = 34 NitroParserGT = 35 NitroParserGE = 36 NitroParserADD = 37 NitroParserSUB = 38 NitroParserMUL = 39 NitroParserDIV = 40 NitroParserMOD = 41 NitroParserINC = 42 NitroParserDEC = 43 NitroParserQUESTION_MARK = 44 NitroParserSEMICOLON = 45 NitroParserCOMMA = 46 NitroParserCOLON = 47 NitroParserPERIOD = 48 NitroParserOPAREN = 49 NitroParserCPAREN = 50 NitroParserOBRACKET = 51 NitroParserCBRACKET = 52 NitroParserOCURLY = 53 NitroParserCCURLY = 54 NitroParserARROW = 55 NitroParserLAMBDA = 56 NitroParserPIPE = 57 NitroParserEXPAND = 58 NitroParserNUMBER = 59 NitroParserID = 60 NitroParserREGEX = 61 NitroParserNEWLINE = 62 NitroParserCHAR = 63 NitroParserCOMMENT = 64 NitroParserWS = 65 NitroParserSTRING = 66 NitroParserEXEC_PREFIX = 67 NitroParserEXEC_WS_ = 68 NitroParserEXEC_SUFFIX = 69 NitroParserEXEC_LITERAL = 70 NitroParserEXEC_DQUOTE_LITERAL = 71 NitroParserEXEC_SQUOTE_LITERAL = 72 NitroParserEXEC_EXPR_WS_ = 73 NitroParserDQUOTE_ = 74 NitroParserEXEC_SQUOTE_ = 75 )
NitroParser tokens.
const ( NitroParserRULE_start = 0 NitroParserRULE_unit = 1 NitroParserRULE_prologue = 2 NitroParserRULE_meta_directive = 3 NitroParserRULE_meta_info = 4 NitroParserRULE_meta_param = 5 NitroParserRULE_meta_flag = 6 NitroParserRULE_meta_attribs = 7 NitroParserRULE_meta_attrib = 8 NitroParserRULE_meta_literal = 9 NitroParserRULE_import_stmt = 10 NitroParserRULE_stmts = 11 NitroParserRULE_stmt_list = 12 NitroParserRULE_stmt = 13 NitroParserRULE_assignment_stmt = 14 NitroParserRULE_assignment_lvalues = 15 NitroParserRULE_rvalues = 16 NitroParserRULE_assignment_op_stmt = 17 NitroParserRULE_var_decl_stmt = 18 NitroParserRULE_var_decl_vars = 19 NitroParserRULE_for_stmt = 20 NitroParserRULE_for_vars = 21 NitroParserRULE_while_stmt = 22 NitroParserRULE_if_stmt = 23 NitroParserRULE_if_elif = 24 NitroParserRULE_if_else = 25 NitroParserRULE_func_stmt = 26 NitroParserRULE_param_list = 27 NitroParserRULE_return_stmt = 28 NitroParserRULE_try_catch_stmt = 29 NitroParserRULE_throw_stmt = 30 NitroParserRULE_defer_stmt = 31 NitroParserRULE_yield_stmt = 32 NitroParserRULE_break_stmt = 33 NitroParserRULE_continue_stmt = 34 NitroParserRULE_inc_dec_stmt = 35 NitroParserRULE_expr = 36 NitroParserRULE_expr3 = 37 NitroParserRULE_binary_expr = 38 NitroParserRULE_unary_expr = 39 NitroParserRULE_primary_expr = 40 NitroParserRULE_simple_literal = 41 NitroParserRULE_arg_list = 42 NitroParserRULE_lvalue_expr = 43 NitroParserRULE_lambda_expr = 44 NitroParserRULE_short_lambda_expr = 45 NitroParserRULE_exec_expr = 46 NitroParserRULE_exec_expr_arg = 47 NitroParserRULE_object_literal = 48 NitroParserRULE_object_fields = 49 NitroParserRULE_object_field = 50 NitroParserRULE_array_literal = 51 NitroParserRULE_array_elems = 52 NitroParserRULE_array_elem = 53 NitroParserRULE_id_or_keyword = 54 )
NitroParser rules.
Variables ¶
This section is empty.
Functions ¶
func NitroLexerInit ¶ added in v0.3.0
func NitroLexerInit()
NitroLexerInit initializes any static state used to implement NitroLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewNitroLexer(). You can call this function if you wish to initialize the static state ahead of time.
func NitroParserInit ¶ added in v0.3.0
func NitroParserInit()
NitroParserInit initializes any static state used to implement NitroParser. By default the static state used to implement the parser is lazily initialized during the first call to NewNitroParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type Arg_listContext ¶
type Arg_listContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArg_listContext ¶
func NewArg_listContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Arg_listContext
func NewEmptyArg_listContext ¶
func NewEmptyArg_listContext() *Arg_listContext
func (*Arg_listContext) AllCOMMA ¶
func (s *Arg_listContext) AllCOMMA() []antlr.TerminalNode
func (*Arg_listContext) AllExpr ¶
func (s *Arg_listContext) AllExpr() []IExprContext
func (*Arg_listContext) COMMA ¶
func (s *Arg_listContext) COMMA(i int) antlr.TerminalNode
func (*Arg_listContext) EnterRule ¶
func (s *Arg_listContext) EnterRule(listener antlr.ParseTreeListener)
func (*Arg_listContext) ExitRule ¶
func (s *Arg_listContext) ExitRule(listener antlr.ParseTreeListener)
func (*Arg_listContext) Expr ¶
func (s *Arg_listContext) Expr(i int) IExprContext
func (*Arg_listContext) GetParser ¶
func (s *Arg_listContext) GetParser() antlr.Parser
func (*Arg_listContext) GetRuleContext ¶
func (s *Arg_listContext) GetRuleContext() antlr.RuleContext
func (*Arg_listContext) IsArg_listContext ¶
func (*Arg_listContext) IsArg_listContext()
func (*Arg_listContext) SEMICOLON ¶
func (s *Arg_listContext) SEMICOLON() antlr.TerminalNode
func (*Arg_listContext) ToStringTree ¶
func (s *Arg_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Array_elemContext ¶
type Array_elemContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_elemContext ¶
func NewArray_elemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_elemContext
func NewEmptyArray_elemContext ¶
func NewEmptyArray_elemContext() *Array_elemContext
func (*Array_elemContext) EnterRule ¶
func (s *Array_elemContext) EnterRule(listener antlr.ParseTreeListener)
func (*Array_elemContext) ExitRule ¶
func (s *Array_elemContext) ExitRule(listener antlr.ParseTreeListener)
func (*Array_elemContext) Expr ¶
func (s *Array_elemContext) Expr() IExprContext
func (*Array_elemContext) GetParser ¶
func (s *Array_elemContext) GetParser() antlr.Parser
func (*Array_elemContext) GetRuleContext ¶
func (s *Array_elemContext) GetRuleContext() antlr.RuleContext
func (*Array_elemContext) IsArray_elemContext ¶
func (*Array_elemContext) IsArray_elemContext()
func (*Array_elemContext) ToStringTree ¶
func (s *Array_elemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Array_elemsContext ¶
type Array_elemsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_elemsContext ¶
func NewArray_elemsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_elemsContext
func NewEmptyArray_elemsContext ¶
func NewEmptyArray_elemsContext() *Array_elemsContext
func (*Array_elemsContext) AllArray_elem ¶
func (s *Array_elemsContext) AllArray_elem() []IArray_elemContext
func (*Array_elemsContext) AllCOMMA ¶
func (s *Array_elemsContext) AllCOMMA() []antlr.TerminalNode
func (*Array_elemsContext) AllSEMICOLON ¶
func (s *Array_elemsContext) AllSEMICOLON() []antlr.TerminalNode
func (*Array_elemsContext) Array_elem ¶
func (s *Array_elemsContext) Array_elem(i int) IArray_elemContext
func (*Array_elemsContext) COMMA ¶
func (s *Array_elemsContext) COMMA(i int) antlr.TerminalNode
func (*Array_elemsContext) EnterRule ¶
func (s *Array_elemsContext) EnterRule(listener antlr.ParseTreeListener)
func (*Array_elemsContext) ExitRule ¶
func (s *Array_elemsContext) ExitRule(listener antlr.ParseTreeListener)
func (*Array_elemsContext) GetParser ¶
func (s *Array_elemsContext) GetParser() antlr.Parser
func (*Array_elemsContext) GetRuleContext ¶
func (s *Array_elemsContext) GetRuleContext() antlr.RuleContext
func (*Array_elemsContext) IsArray_elemsContext ¶
func (*Array_elemsContext) IsArray_elemsContext()
func (*Array_elemsContext) SEMICOLON ¶
func (s *Array_elemsContext) SEMICOLON(i int) antlr.TerminalNode
func (*Array_elemsContext) ToStringTree ¶
func (s *Array_elemsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Array_literalContext ¶
type Array_literalContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_literalContext ¶
func NewArray_literalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_literalContext
func NewEmptyArray_literalContext ¶
func NewEmptyArray_literalContext() *Array_literalContext
func (*Array_literalContext) Array_elems ¶
func (s *Array_literalContext) Array_elems() IArray_elemsContext
func (*Array_literalContext) CBRACKET ¶
func (s *Array_literalContext) CBRACKET() antlr.TerminalNode
func (*Array_literalContext) EnterRule ¶
func (s *Array_literalContext) EnterRule(listener antlr.ParseTreeListener)
func (*Array_literalContext) ExitRule ¶
func (s *Array_literalContext) ExitRule(listener antlr.ParseTreeListener)
func (*Array_literalContext) GetParser ¶
func (s *Array_literalContext) GetParser() antlr.Parser
func (*Array_literalContext) GetRuleContext ¶
func (s *Array_literalContext) GetRuleContext() antlr.RuleContext
func (*Array_literalContext) IsArray_literalContext ¶
func (*Array_literalContext) IsArray_literalContext()
func (*Array_literalContext) OBRACKET ¶
func (s *Array_literalContext) OBRACKET() antlr.TerminalNode
func (*Array_literalContext) ToStringTree ¶
func (s *Array_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Assignment_lvaluesContext ¶
type Assignment_lvaluesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignment_lvaluesContext ¶
func NewAssignment_lvaluesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assignment_lvaluesContext
func NewEmptyAssignment_lvaluesContext ¶
func NewEmptyAssignment_lvaluesContext() *Assignment_lvaluesContext
func (*Assignment_lvaluesContext) AllCOMMA ¶
func (s *Assignment_lvaluesContext) AllCOMMA() []antlr.TerminalNode
func (*Assignment_lvaluesContext) AllLvalue_expr ¶
func (s *Assignment_lvaluesContext) AllLvalue_expr() []ILvalue_exprContext
func (*Assignment_lvaluesContext) COMMA ¶
func (s *Assignment_lvaluesContext) COMMA(i int) antlr.TerminalNode
func (*Assignment_lvaluesContext) EnterRule ¶
func (s *Assignment_lvaluesContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assignment_lvaluesContext) ExitRule ¶
func (s *Assignment_lvaluesContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assignment_lvaluesContext) GetParser ¶
func (s *Assignment_lvaluesContext) GetParser() antlr.Parser
func (*Assignment_lvaluesContext) GetRuleContext ¶
func (s *Assignment_lvaluesContext) GetRuleContext() antlr.RuleContext
func (*Assignment_lvaluesContext) IsAssignment_lvaluesContext ¶
func (*Assignment_lvaluesContext) IsAssignment_lvaluesContext()
func (*Assignment_lvaluesContext) Lvalue_expr ¶
func (s *Assignment_lvaluesContext) Lvalue_expr(i int) ILvalue_exprContext
func (*Assignment_lvaluesContext) ToStringTree ¶
func (s *Assignment_lvaluesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Assignment_op_stmtContext ¶ added in v0.2.0
type Assignment_op_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignment_op_stmtContext ¶ added in v0.2.0
func NewAssignment_op_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assignment_op_stmtContext
func NewEmptyAssignment_op_stmtContext ¶ added in v0.2.0
func NewEmptyAssignment_op_stmtContext() *Assignment_op_stmtContext
func (*Assignment_op_stmtContext) ASSIGN_ADD ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ASSIGN_ADD() antlr.TerminalNode
func (*Assignment_op_stmtContext) ASSIGN_DIV ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ASSIGN_DIV() antlr.TerminalNode
func (*Assignment_op_stmtContext) ASSIGN_MOD ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ASSIGN_MOD() antlr.TerminalNode
func (*Assignment_op_stmtContext) ASSIGN_MUL ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ASSIGN_MUL() antlr.TerminalNode
func (*Assignment_op_stmtContext) ASSIGN_SUB ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ASSIGN_SUB() antlr.TerminalNode
func (*Assignment_op_stmtContext) EnterRule ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assignment_op_stmtContext) ExitRule ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assignment_op_stmtContext) Expr ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) Expr() IExprContext
func (*Assignment_op_stmtContext) GetOp ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) GetOp() antlr.Token
func (*Assignment_op_stmtContext) GetParser ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) GetParser() antlr.Parser
func (*Assignment_op_stmtContext) GetRuleContext ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) GetRuleContext() antlr.RuleContext
func (*Assignment_op_stmtContext) IsAssignment_op_stmtContext ¶ added in v0.2.0
func (*Assignment_op_stmtContext) IsAssignment_op_stmtContext()
func (*Assignment_op_stmtContext) Lvalue_expr ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) Lvalue_expr() ILvalue_exprContext
func (*Assignment_op_stmtContext) SetOp ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) SetOp(v antlr.Token)
func (*Assignment_op_stmtContext) ToStringTree ¶ added in v0.2.0
func (s *Assignment_op_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Assignment_stmtContext ¶
type Assignment_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignment_stmtContext ¶
func NewAssignment_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assignment_stmtContext
func NewEmptyAssignment_stmtContext ¶
func NewEmptyAssignment_stmtContext() *Assignment_stmtContext
func (*Assignment_stmtContext) ASSIGN ¶
func (s *Assignment_stmtContext) ASSIGN() antlr.TerminalNode
func (*Assignment_stmtContext) Assignment_lvalues ¶
func (s *Assignment_stmtContext) Assignment_lvalues() IAssignment_lvaluesContext
func (*Assignment_stmtContext) EnterRule ¶
func (s *Assignment_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assignment_stmtContext) ExitRule ¶
func (s *Assignment_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assignment_stmtContext) GetParser ¶
func (s *Assignment_stmtContext) GetParser() antlr.Parser
func (*Assignment_stmtContext) GetRuleContext ¶
func (s *Assignment_stmtContext) GetRuleContext() antlr.RuleContext
func (*Assignment_stmtContext) IsAssignment_stmtContext ¶
func (*Assignment_stmtContext) IsAssignment_stmtContext()
func (*Assignment_stmtContext) Rvalues ¶
func (s *Assignment_stmtContext) Rvalues() IRvaluesContext
func (*Assignment_stmtContext) ToStringTree ¶
func (s *Assignment_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseNitroParserListener ¶
type BaseNitroParserListener struct{}
BaseNitroParserListener is a complete listener for a parse tree produced by NitroParser.
func (*BaseNitroParserListener) EnterArg_list ¶
func (s *BaseNitroParserListener) EnterArg_list(ctx *Arg_listContext)
EnterArg_list is called when production arg_list is entered.
func (*BaseNitroParserListener) EnterArray_elem ¶
func (s *BaseNitroParserListener) EnterArray_elem(ctx *Array_elemContext)
EnterArray_elem is called when production array_elem is entered.
func (*BaseNitroParserListener) EnterArray_elems ¶
func (s *BaseNitroParserListener) EnterArray_elems(ctx *Array_elemsContext)
EnterArray_elems is called when production array_elems is entered.
func (*BaseNitroParserListener) EnterArray_literal ¶
func (s *BaseNitroParserListener) EnterArray_literal(ctx *Array_literalContext)
EnterArray_literal is called when production array_literal is entered.
func (*BaseNitroParserListener) EnterAssignment_lvalues ¶
func (s *BaseNitroParserListener) EnterAssignment_lvalues(ctx *Assignment_lvaluesContext)
EnterAssignment_lvalues is called when production assignment_lvalues is entered.
func (*BaseNitroParserListener) EnterAssignment_op_stmt ¶ added in v0.2.0
func (s *BaseNitroParserListener) EnterAssignment_op_stmt(ctx *Assignment_op_stmtContext)
EnterAssignment_op_stmt is called when production assignment_op_stmt is entered.
func (*BaseNitroParserListener) EnterAssignment_stmt ¶
func (s *BaseNitroParserListener) EnterAssignment_stmt(ctx *Assignment_stmtContext)
EnterAssignment_stmt is called when production assignment_stmt is entered.
func (*BaseNitroParserListener) EnterBinary_expr ¶
func (s *BaseNitroParserListener) EnterBinary_expr(ctx *Binary_exprContext)
EnterBinary_expr is called when production binary_expr is entered.
func (*BaseNitroParserListener) EnterBreak_stmt ¶
func (s *BaseNitroParserListener) EnterBreak_stmt(ctx *Break_stmtContext)
EnterBreak_stmt is called when production break_stmt is entered.
func (*BaseNitroParserListener) EnterContinue_stmt ¶
func (s *BaseNitroParserListener) EnterContinue_stmt(ctx *Continue_stmtContext)
EnterContinue_stmt is called when production continue_stmt is entered.
func (*BaseNitroParserListener) EnterDefer_stmt ¶
func (s *BaseNitroParserListener) EnterDefer_stmt(ctx *Defer_stmtContext)
EnterDefer_stmt is called when production defer_stmt is entered.
func (*BaseNitroParserListener) EnterEveryRule ¶
func (s *BaseNitroParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseNitroParserListener) EnterExec_expr ¶ added in v0.3.0
func (s *BaseNitroParserListener) EnterExec_expr(ctx *Exec_exprContext)
EnterExec_expr is called when production exec_expr is entered.
func (*BaseNitroParserListener) EnterExec_expr_arg ¶ added in v0.3.0
func (s *BaseNitroParserListener) EnterExec_expr_arg(ctx *Exec_expr_argContext)
EnterExec_expr_arg is called when production exec_expr_arg is entered.
func (*BaseNitroParserListener) EnterExpr ¶
func (s *BaseNitroParserListener) EnterExpr(ctx *ExprContext)
EnterExpr is called when production expr is entered.
func (*BaseNitroParserListener) EnterExpr3 ¶
func (s *BaseNitroParserListener) EnterExpr3(ctx *Expr3Context)
EnterExpr3 is called when production expr3 is entered.
func (*BaseNitroParserListener) EnterFor_stmt ¶
func (s *BaseNitroParserListener) EnterFor_stmt(ctx *For_stmtContext)
EnterFor_stmt is called when production for_stmt is entered.
func (*BaseNitroParserListener) EnterFor_vars ¶
func (s *BaseNitroParserListener) EnterFor_vars(ctx *For_varsContext)
EnterFor_vars is called when production for_vars is entered.
func (*BaseNitroParserListener) EnterFunc_stmt ¶
func (s *BaseNitroParserListener) EnterFunc_stmt(ctx *Func_stmtContext)
EnterFunc_stmt is called when production func_stmt is entered.
func (*BaseNitroParserListener) EnterId_or_keyword ¶
func (s *BaseNitroParserListener) EnterId_or_keyword(ctx *Id_or_keywordContext)
EnterId_or_keyword is called when production id_or_keyword is entered.
func (*BaseNitroParserListener) EnterIf_elif ¶
func (s *BaseNitroParserListener) EnterIf_elif(ctx *If_elifContext)
EnterIf_elif is called when production if_elif is entered.
func (*BaseNitroParserListener) EnterIf_else ¶
func (s *BaseNitroParserListener) EnterIf_else(ctx *If_elseContext)
EnterIf_else is called when production if_else is entered.
func (*BaseNitroParserListener) EnterIf_stmt ¶
func (s *BaseNitroParserListener) EnterIf_stmt(ctx *If_stmtContext)
EnterIf_stmt is called when production if_stmt is entered.
func (*BaseNitroParserListener) EnterImport_stmt ¶
func (s *BaseNitroParserListener) EnterImport_stmt(ctx *Import_stmtContext)
EnterImport_stmt is called when production import_stmt is entered.
func (*BaseNitroParserListener) EnterInc_dec_stmt ¶ added in v0.2.0
func (s *BaseNitroParserListener) EnterInc_dec_stmt(ctx *Inc_dec_stmtContext)
EnterInc_dec_stmt is called when production inc_dec_stmt is entered.
func (*BaseNitroParserListener) EnterLambda_expr ¶
func (s *BaseNitroParserListener) EnterLambda_expr(ctx *Lambda_exprContext)
EnterLambda_expr is called when production lambda_expr is entered.
func (*BaseNitroParserListener) EnterLvalue_expr_index ¶
func (s *BaseNitroParserListener) EnterLvalue_expr_index(ctx *Lvalue_expr_indexContext)
EnterLvalue_expr_index is called when production lvalue_expr_index is entered.
func (*BaseNitroParserListener) EnterLvalue_expr_member_access ¶
func (s *BaseNitroParserListener) EnterLvalue_expr_member_access(ctx *Lvalue_expr_member_accessContext)
EnterLvalue_expr_member_access is called when production lvalue_expr_member_access is entered.
func (*BaseNitroParserListener) EnterLvalue_expr_simple_ref ¶
func (s *BaseNitroParserListener) EnterLvalue_expr_simple_ref(ctx *Lvalue_expr_simple_refContext)
EnterLvalue_expr_simple_ref is called when production lvalue_expr_simple_ref is entered.
func (*BaseNitroParserListener) EnterMeta_attrib ¶
func (s *BaseNitroParserListener) EnterMeta_attrib(ctx *Meta_attribContext)
EnterMeta_attrib is called when production meta_attrib is entered.
func (*BaseNitroParserListener) EnterMeta_attribs ¶
func (s *BaseNitroParserListener) EnterMeta_attribs(ctx *Meta_attribsContext)
EnterMeta_attribs is called when production meta_attribs is entered.
func (*BaseNitroParserListener) EnterMeta_directive ¶
func (s *BaseNitroParserListener) EnterMeta_directive(ctx *Meta_directiveContext)
EnterMeta_directive is called when production meta_directive is entered.
func (*BaseNitroParserListener) EnterMeta_flag ¶
func (s *BaseNitroParserListener) EnterMeta_flag(ctx *Meta_flagContext)
EnterMeta_flag is called when production meta_flag is entered.
func (*BaseNitroParserListener) EnterMeta_info ¶
func (s *BaseNitroParserListener) EnterMeta_info(ctx *Meta_infoContext)
EnterMeta_info is called when production meta_info is entered.
func (*BaseNitroParserListener) EnterMeta_literal ¶
func (s *BaseNitroParserListener) EnterMeta_literal(ctx *Meta_literalContext)
EnterMeta_literal is called when production meta_literal is entered.
func (*BaseNitroParserListener) EnterMeta_param ¶
func (s *BaseNitroParserListener) EnterMeta_param(ctx *Meta_paramContext)
EnterMeta_param is called when production meta_param is entered.
func (*BaseNitroParserListener) EnterObject_field_expansion ¶
func (s *BaseNitroParserListener) EnterObject_field_expansion(ctx *Object_field_expansionContext)
EnterObject_field_expansion is called when production object_field_expansion is entered.
func (*BaseNitroParserListener) EnterObject_field_expr_key ¶
func (s *BaseNitroParserListener) EnterObject_field_expr_key(ctx *Object_field_expr_keyContext)
EnterObject_field_expr_key is called when production object_field_expr_key is entered.
func (*BaseNitroParserListener) EnterObject_field_id_key ¶
func (s *BaseNitroParserListener) EnterObject_field_id_key(ctx *Object_field_id_keyContext)
EnterObject_field_id_key is called when production object_field_id_key is entered.
func (*BaseNitroParserListener) EnterObject_fields ¶
func (s *BaseNitroParserListener) EnterObject_fields(ctx *Object_fieldsContext)
EnterObject_fields is called when production object_fields is entered.
func (*BaseNitroParserListener) EnterObject_literal ¶
func (s *BaseNitroParserListener) EnterObject_literal(ctx *Object_literalContext)
EnterObject_literal is called when production object_literal is entered.
func (*BaseNitroParserListener) EnterParam_list ¶
func (s *BaseNitroParserListener) EnterParam_list(ctx *Param_listContext)
EnterParam_list is called when production param_list is entered.
func (*BaseNitroParserListener) EnterPrimary_exec_expr ¶ added in v0.3.0
func (s *BaseNitroParserListener) EnterPrimary_exec_expr(ctx *Primary_exec_exprContext)
EnterPrimary_exec_expr is called when production primary_exec_expr is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_array ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_array(ctx *Primary_expr_arrayContext)
EnterPrimary_expr_array is called when production primary_expr_array is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_call ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_call(ctx *Primary_expr_callContext)
EnterPrimary_expr_call is called when production primary_expr_call is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_index ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_index(ctx *Primary_expr_indexContext)
EnterPrimary_expr_index is called when production primary_expr_index is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_lambda ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_lambda(ctx *Primary_expr_lambdaContext)
EnterPrimary_expr_lambda is called when production primary_expr_lambda is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_literal ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_literal(ctx *Primary_expr_literalContext)
EnterPrimary_expr_literal is called when production primary_expr_literal is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_member_access ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_member_access(ctx *Primary_expr_member_accessContext)
EnterPrimary_expr_member_access is called when production primary_expr_member_access is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_object ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_object(ctx *Primary_expr_objectContext)
EnterPrimary_expr_object is called when production primary_expr_object is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_parenthesis ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_parenthesis(ctx *Primary_expr_parenthesisContext)
EnterPrimary_expr_parenthesis is called when production primary_expr_parenthesis is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_regex ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_regex(ctx *Primary_expr_regexContext)
EnterPrimary_expr_regex is called when production primary_expr_regex is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_simple_ref ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_simple_ref(ctx *Primary_expr_simple_refContext)
EnterPrimary_expr_simple_ref is called when production primary_expr_simple_ref is entered.
func (*BaseNitroParserListener) EnterPrimary_expr_slice ¶
func (s *BaseNitroParserListener) EnterPrimary_expr_slice(ctx *Primary_expr_sliceContext)
EnterPrimary_expr_slice is called when production primary_expr_slice is entered.
func (*BaseNitroParserListener) EnterPrologue ¶ added in v0.3.0
func (s *BaseNitroParserListener) EnterPrologue(ctx *PrologueContext)
EnterPrologue is called when production prologue is entered.
func (*BaseNitroParserListener) EnterReturn_stmt ¶
func (s *BaseNitroParserListener) EnterReturn_stmt(ctx *Return_stmtContext)
EnterReturn_stmt is called when production return_stmt is entered.
func (*BaseNitroParserListener) EnterRvalues ¶
func (s *BaseNitroParserListener) EnterRvalues(ctx *RvaluesContext)
EnterRvalues is called when production rvalues is entered.
func (*BaseNitroParserListener) EnterShort_lambda_expr ¶
func (s *BaseNitroParserListener) EnterShort_lambda_expr(ctx *Short_lambda_exprContext)
EnterShort_lambda_expr is called when production short_lambda_expr is entered.
func (*BaseNitroParserListener) EnterSimple_literal ¶
func (s *BaseNitroParserListener) EnterSimple_literal(ctx *Simple_literalContext)
EnterSimple_literal is called when production simple_literal is entered.
func (*BaseNitroParserListener) EnterStart ¶
func (s *BaseNitroParserListener) EnterStart(ctx *StartContext)
EnterStart is called when production start is entered.
func (*BaseNitroParserListener) EnterStmt_assignment ¶
func (s *BaseNitroParserListener) EnterStmt_assignment(ctx *Stmt_assignmentContext)
EnterStmt_assignment is called when production stmt_assignment is entered.
func (*BaseNitroParserListener) EnterStmt_break ¶
func (s *BaseNitroParserListener) EnterStmt_break(ctx *Stmt_breakContext)
EnterStmt_break is called when production stmt_break is entered.
func (*BaseNitroParserListener) EnterStmt_continue ¶
func (s *BaseNitroParserListener) EnterStmt_continue(ctx *Stmt_continueContext)
EnterStmt_continue is called when production stmt_continue is entered.
func (*BaseNitroParserListener) EnterStmt_defer ¶
func (s *BaseNitroParserListener) EnterStmt_defer(ctx *Stmt_deferContext)
EnterStmt_defer is called when production stmt_defer is entered.
func (*BaseNitroParserListener) EnterStmt_expr ¶
func (s *BaseNitroParserListener) EnterStmt_expr(ctx *Stmt_exprContext)
EnterStmt_expr is called when production stmt_expr is entered.
func (*BaseNitroParserListener) EnterStmt_for ¶
func (s *BaseNitroParserListener) EnterStmt_for(ctx *Stmt_forContext)
EnterStmt_for is called when production stmt_for is entered.
func (*BaseNitroParserListener) EnterStmt_func ¶
func (s *BaseNitroParserListener) EnterStmt_func(ctx *Stmt_funcContext)
EnterStmt_func is called when production stmt_func is entered.
func (*BaseNitroParserListener) EnterStmt_if ¶
func (s *BaseNitroParserListener) EnterStmt_if(ctx *Stmt_ifContext)
EnterStmt_if is called when production stmt_if is entered.
func (*BaseNitroParserListener) EnterStmt_inc_dec ¶ added in v0.2.0
func (s *BaseNitroParserListener) EnterStmt_inc_dec(ctx *Stmt_inc_decContext)
EnterStmt_inc_dec is called when production stmt_inc_dec is entered.
func (*BaseNitroParserListener) EnterStmt_list ¶
func (s *BaseNitroParserListener) EnterStmt_list(ctx *Stmt_listContext)
EnterStmt_list is called when production stmt_list is entered.
func (*BaseNitroParserListener) EnterStmt_op_assign ¶ added in v0.2.0
func (s *BaseNitroParserListener) EnterStmt_op_assign(ctx *Stmt_op_assignContext)
EnterStmt_op_assign is called when production stmt_op_assign is entered.
func (*BaseNitroParserListener) EnterStmt_return ¶
func (s *BaseNitroParserListener) EnterStmt_return(ctx *Stmt_returnContext)
EnterStmt_return is called when production stmt_return is entered.
func (*BaseNitroParserListener) EnterStmt_throw ¶
func (s *BaseNitroParserListener) EnterStmt_throw(ctx *Stmt_throwContext)
EnterStmt_throw is called when production stmt_throw is entered.
func (*BaseNitroParserListener) EnterStmt_try_catch ¶
func (s *BaseNitroParserListener) EnterStmt_try_catch(ctx *Stmt_try_catchContext)
EnterStmt_try_catch is called when production stmt_try_catch is entered.
func (*BaseNitroParserListener) EnterStmt_var_dec ¶
func (s *BaseNitroParserListener) EnterStmt_var_dec(ctx *Stmt_var_decContext)
EnterStmt_var_dec is called when production stmt_var_dec is entered.
func (*BaseNitroParserListener) EnterStmt_while ¶
func (s *BaseNitroParserListener) EnterStmt_while(ctx *Stmt_whileContext)
EnterStmt_while is called when production stmt_while is entered.
func (*BaseNitroParserListener) EnterStmt_yield ¶
func (s *BaseNitroParserListener) EnterStmt_yield(ctx *Stmt_yieldContext)
EnterStmt_yield is called when production stmt_yield is entered.
func (*BaseNitroParserListener) EnterStmts ¶
func (s *BaseNitroParserListener) EnterStmts(ctx *StmtsContext)
EnterStmts is called when production stmts is entered.
func (*BaseNitroParserListener) EnterThrow_stmt ¶
func (s *BaseNitroParserListener) EnterThrow_stmt(ctx *Throw_stmtContext)
EnterThrow_stmt is called when production throw_stmt is entered.
func (*BaseNitroParserListener) EnterTry_catch_stmt ¶
func (s *BaseNitroParserListener) EnterTry_catch_stmt(ctx *Try_catch_stmtContext)
EnterTry_catch_stmt is called when production try_catch_stmt is entered.
func (*BaseNitroParserListener) EnterUnary_expr ¶
func (s *BaseNitroParserListener) EnterUnary_expr(ctx *Unary_exprContext)
EnterUnary_expr is called when production unary_expr is entered.
func (*BaseNitroParserListener) EnterUnit ¶ added in v0.2.0
func (s *BaseNitroParserListener) EnterUnit(ctx *UnitContext)
EnterUnit is called when production unit is entered.
func (*BaseNitroParserListener) EnterVar_decl_stmt ¶
func (s *BaseNitroParserListener) EnterVar_decl_stmt(ctx *Var_decl_stmtContext)
EnterVar_decl_stmt is called when production var_decl_stmt is entered.
func (*BaseNitroParserListener) EnterVar_decl_vars ¶
func (s *BaseNitroParserListener) EnterVar_decl_vars(ctx *Var_decl_varsContext)
EnterVar_decl_vars is called when production var_decl_vars is entered.
func (*BaseNitroParserListener) EnterWhile_stmt ¶
func (s *BaseNitroParserListener) EnterWhile_stmt(ctx *While_stmtContext)
EnterWhile_stmt is called when production while_stmt is entered.
func (*BaseNitroParserListener) EnterYield_stmt ¶
func (s *BaseNitroParserListener) EnterYield_stmt(ctx *Yield_stmtContext)
EnterYield_stmt is called when production yield_stmt is entered.
func (*BaseNitroParserListener) ExitArg_list ¶
func (s *BaseNitroParserListener) ExitArg_list(ctx *Arg_listContext)
ExitArg_list is called when production arg_list is exited.
func (*BaseNitroParserListener) ExitArray_elem ¶
func (s *BaseNitroParserListener) ExitArray_elem(ctx *Array_elemContext)
ExitArray_elem is called when production array_elem is exited.
func (*BaseNitroParserListener) ExitArray_elems ¶
func (s *BaseNitroParserListener) ExitArray_elems(ctx *Array_elemsContext)
ExitArray_elems is called when production array_elems is exited.
func (*BaseNitroParserListener) ExitArray_literal ¶
func (s *BaseNitroParserListener) ExitArray_literal(ctx *Array_literalContext)
ExitArray_literal is called when production array_literal is exited.
func (*BaseNitroParserListener) ExitAssignment_lvalues ¶
func (s *BaseNitroParserListener) ExitAssignment_lvalues(ctx *Assignment_lvaluesContext)
ExitAssignment_lvalues is called when production assignment_lvalues is exited.
func (*BaseNitroParserListener) ExitAssignment_op_stmt ¶ added in v0.2.0
func (s *BaseNitroParserListener) ExitAssignment_op_stmt(ctx *Assignment_op_stmtContext)
ExitAssignment_op_stmt is called when production assignment_op_stmt is exited.
func (*BaseNitroParserListener) ExitAssignment_stmt ¶
func (s *BaseNitroParserListener) ExitAssignment_stmt(ctx *Assignment_stmtContext)
ExitAssignment_stmt is called when production assignment_stmt is exited.
func (*BaseNitroParserListener) ExitBinary_expr ¶
func (s *BaseNitroParserListener) ExitBinary_expr(ctx *Binary_exprContext)
ExitBinary_expr is called when production binary_expr is exited.
func (*BaseNitroParserListener) ExitBreak_stmt ¶
func (s *BaseNitroParserListener) ExitBreak_stmt(ctx *Break_stmtContext)
ExitBreak_stmt is called when production break_stmt is exited.
func (*BaseNitroParserListener) ExitContinue_stmt ¶
func (s *BaseNitroParserListener) ExitContinue_stmt(ctx *Continue_stmtContext)
ExitContinue_stmt is called when production continue_stmt is exited.
func (*BaseNitroParserListener) ExitDefer_stmt ¶
func (s *BaseNitroParserListener) ExitDefer_stmt(ctx *Defer_stmtContext)
ExitDefer_stmt is called when production defer_stmt is exited.
func (*BaseNitroParserListener) ExitEveryRule ¶
func (s *BaseNitroParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseNitroParserListener) ExitExec_expr ¶ added in v0.3.0
func (s *BaseNitroParserListener) ExitExec_expr(ctx *Exec_exprContext)
ExitExec_expr is called when production exec_expr is exited.
func (*BaseNitroParserListener) ExitExec_expr_arg ¶ added in v0.3.0
func (s *BaseNitroParserListener) ExitExec_expr_arg(ctx *Exec_expr_argContext)
ExitExec_expr_arg is called when production exec_expr_arg is exited.
func (*BaseNitroParserListener) ExitExpr ¶
func (s *BaseNitroParserListener) ExitExpr(ctx *ExprContext)
ExitExpr is called when production expr is exited.
func (*BaseNitroParserListener) ExitExpr3 ¶
func (s *BaseNitroParserListener) ExitExpr3(ctx *Expr3Context)
ExitExpr3 is called when production expr3 is exited.
func (*BaseNitroParserListener) ExitFor_stmt ¶
func (s *BaseNitroParserListener) ExitFor_stmt(ctx *For_stmtContext)
ExitFor_stmt is called when production for_stmt is exited.
func (*BaseNitroParserListener) ExitFor_vars ¶
func (s *BaseNitroParserListener) ExitFor_vars(ctx *For_varsContext)
ExitFor_vars is called when production for_vars is exited.
func (*BaseNitroParserListener) ExitFunc_stmt ¶
func (s *BaseNitroParserListener) ExitFunc_stmt(ctx *Func_stmtContext)
ExitFunc_stmt is called when production func_stmt is exited.
func (*BaseNitroParserListener) ExitId_or_keyword ¶
func (s *BaseNitroParserListener) ExitId_or_keyword(ctx *Id_or_keywordContext)
ExitId_or_keyword is called when production id_or_keyword is exited.
func (*BaseNitroParserListener) ExitIf_elif ¶
func (s *BaseNitroParserListener) ExitIf_elif(ctx *If_elifContext)
ExitIf_elif is called when production if_elif is exited.
func (*BaseNitroParserListener) ExitIf_else ¶
func (s *BaseNitroParserListener) ExitIf_else(ctx *If_elseContext)
ExitIf_else is called when production if_else is exited.
func (*BaseNitroParserListener) ExitIf_stmt ¶
func (s *BaseNitroParserListener) ExitIf_stmt(ctx *If_stmtContext)
ExitIf_stmt is called when production if_stmt is exited.
func (*BaseNitroParserListener) ExitImport_stmt ¶
func (s *BaseNitroParserListener) ExitImport_stmt(ctx *Import_stmtContext)
ExitImport_stmt is called when production import_stmt is exited.
func (*BaseNitroParserListener) ExitInc_dec_stmt ¶ added in v0.2.0
func (s *BaseNitroParserListener) ExitInc_dec_stmt(ctx *Inc_dec_stmtContext)
ExitInc_dec_stmt is called when production inc_dec_stmt is exited.
func (*BaseNitroParserListener) ExitLambda_expr ¶
func (s *BaseNitroParserListener) ExitLambda_expr(ctx *Lambda_exprContext)
ExitLambda_expr is called when production lambda_expr is exited.
func (*BaseNitroParserListener) ExitLvalue_expr_index ¶
func (s *BaseNitroParserListener) ExitLvalue_expr_index(ctx *Lvalue_expr_indexContext)
ExitLvalue_expr_index is called when production lvalue_expr_index is exited.
func (*BaseNitroParserListener) ExitLvalue_expr_member_access ¶
func (s *BaseNitroParserListener) ExitLvalue_expr_member_access(ctx *Lvalue_expr_member_accessContext)
ExitLvalue_expr_member_access is called when production lvalue_expr_member_access is exited.
func (*BaseNitroParserListener) ExitLvalue_expr_simple_ref ¶
func (s *BaseNitroParserListener) ExitLvalue_expr_simple_ref(ctx *Lvalue_expr_simple_refContext)
ExitLvalue_expr_simple_ref is called when production lvalue_expr_simple_ref is exited.
func (*BaseNitroParserListener) ExitMeta_attrib ¶
func (s *BaseNitroParserListener) ExitMeta_attrib(ctx *Meta_attribContext)
ExitMeta_attrib is called when production meta_attrib is exited.
func (*BaseNitroParserListener) ExitMeta_attribs ¶
func (s *BaseNitroParserListener) ExitMeta_attribs(ctx *Meta_attribsContext)
ExitMeta_attribs is called when production meta_attribs is exited.
func (*BaseNitroParserListener) ExitMeta_directive ¶
func (s *BaseNitroParserListener) ExitMeta_directive(ctx *Meta_directiveContext)
ExitMeta_directive is called when production meta_directive is exited.
func (*BaseNitroParserListener) ExitMeta_flag ¶
func (s *BaseNitroParserListener) ExitMeta_flag(ctx *Meta_flagContext)
ExitMeta_flag is called when production meta_flag is exited.
func (*BaseNitroParserListener) ExitMeta_info ¶
func (s *BaseNitroParserListener) ExitMeta_info(ctx *Meta_infoContext)
ExitMeta_info is called when production meta_info is exited.
func (*BaseNitroParserListener) ExitMeta_literal ¶
func (s *BaseNitroParserListener) ExitMeta_literal(ctx *Meta_literalContext)
ExitMeta_literal is called when production meta_literal is exited.
func (*BaseNitroParserListener) ExitMeta_param ¶
func (s *BaseNitroParserListener) ExitMeta_param(ctx *Meta_paramContext)
ExitMeta_param is called when production meta_param is exited.
func (*BaseNitroParserListener) ExitObject_field_expansion ¶
func (s *BaseNitroParserListener) ExitObject_field_expansion(ctx *Object_field_expansionContext)
ExitObject_field_expansion is called when production object_field_expansion is exited.
func (*BaseNitroParserListener) ExitObject_field_expr_key ¶
func (s *BaseNitroParserListener) ExitObject_field_expr_key(ctx *Object_field_expr_keyContext)
ExitObject_field_expr_key is called when production object_field_expr_key is exited.
func (*BaseNitroParserListener) ExitObject_field_id_key ¶
func (s *BaseNitroParserListener) ExitObject_field_id_key(ctx *Object_field_id_keyContext)
ExitObject_field_id_key is called when production object_field_id_key is exited.
func (*BaseNitroParserListener) ExitObject_fields ¶
func (s *BaseNitroParserListener) ExitObject_fields(ctx *Object_fieldsContext)
ExitObject_fields is called when production object_fields is exited.
func (*BaseNitroParserListener) ExitObject_literal ¶
func (s *BaseNitroParserListener) ExitObject_literal(ctx *Object_literalContext)
ExitObject_literal is called when production object_literal is exited.
func (*BaseNitroParserListener) ExitParam_list ¶
func (s *BaseNitroParserListener) ExitParam_list(ctx *Param_listContext)
ExitParam_list is called when production param_list is exited.
func (*BaseNitroParserListener) ExitPrimary_exec_expr ¶ added in v0.3.0
func (s *BaseNitroParserListener) ExitPrimary_exec_expr(ctx *Primary_exec_exprContext)
ExitPrimary_exec_expr is called when production primary_exec_expr is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_array ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_array(ctx *Primary_expr_arrayContext)
ExitPrimary_expr_array is called when production primary_expr_array is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_call ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_call(ctx *Primary_expr_callContext)
ExitPrimary_expr_call is called when production primary_expr_call is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_index ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_index(ctx *Primary_expr_indexContext)
ExitPrimary_expr_index is called when production primary_expr_index is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_lambda ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_lambda(ctx *Primary_expr_lambdaContext)
ExitPrimary_expr_lambda is called when production primary_expr_lambda is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_literal ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_literal(ctx *Primary_expr_literalContext)
ExitPrimary_expr_literal is called when production primary_expr_literal is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_member_access ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_member_access(ctx *Primary_expr_member_accessContext)
ExitPrimary_expr_member_access is called when production primary_expr_member_access is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_object ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_object(ctx *Primary_expr_objectContext)
ExitPrimary_expr_object is called when production primary_expr_object is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_parenthesis ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_parenthesis(ctx *Primary_expr_parenthesisContext)
ExitPrimary_expr_parenthesis is called when production primary_expr_parenthesis is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_regex ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_regex(ctx *Primary_expr_regexContext)
ExitPrimary_expr_regex is called when production primary_expr_regex is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_simple_ref ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_simple_ref(ctx *Primary_expr_simple_refContext)
ExitPrimary_expr_simple_ref is called when production primary_expr_simple_ref is exited.
func (*BaseNitroParserListener) ExitPrimary_expr_slice ¶
func (s *BaseNitroParserListener) ExitPrimary_expr_slice(ctx *Primary_expr_sliceContext)
ExitPrimary_expr_slice is called when production primary_expr_slice is exited.
func (*BaseNitroParserListener) ExitPrologue ¶ added in v0.3.0
func (s *BaseNitroParserListener) ExitPrologue(ctx *PrologueContext)
ExitPrologue is called when production prologue is exited.
func (*BaseNitroParserListener) ExitReturn_stmt ¶
func (s *BaseNitroParserListener) ExitReturn_stmt(ctx *Return_stmtContext)
ExitReturn_stmt is called when production return_stmt is exited.
func (*BaseNitroParserListener) ExitRvalues ¶
func (s *BaseNitroParserListener) ExitRvalues(ctx *RvaluesContext)
ExitRvalues is called when production rvalues is exited.
func (*BaseNitroParserListener) ExitShort_lambda_expr ¶
func (s *BaseNitroParserListener) ExitShort_lambda_expr(ctx *Short_lambda_exprContext)
ExitShort_lambda_expr is called when production short_lambda_expr is exited.
func (*BaseNitroParserListener) ExitSimple_literal ¶
func (s *BaseNitroParserListener) ExitSimple_literal(ctx *Simple_literalContext)
ExitSimple_literal is called when production simple_literal is exited.
func (*BaseNitroParserListener) ExitStart ¶
func (s *BaseNitroParserListener) ExitStart(ctx *StartContext)
ExitStart is called when production start is exited.
func (*BaseNitroParserListener) ExitStmt_assignment ¶
func (s *BaseNitroParserListener) ExitStmt_assignment(ctx *Stmt_assignmentContext)
ExitStmt_assignment is called when production stmt_assignment is exited.
func (*BaseNitroParserListener) ExitStmt_break ¶
func (s *BaseNitroParserListener) ExitStmt_break(ctx *Stmt_breakContext)
ExitStmt_break is called when production stmt_break is exited.
func (*BaseNitroParserListener) ExitStmt_continue ¶
func (s *BaseNitroParserListener) ExitStmt_continue(ctx *Stmt_continueContext)
ExitStmt_continue is called when production stmt_continue is exited.
func (*BaseNitroParserListener) ExitStmt_defer ¶
func (s *BaseNitroParserListener) ExitStmt_defer(ctx *Stmt_deferContext)
ExitStmt_defer is called when production stmt_defer is exited.
func (*BaseNitroParserListener) ExitStmt_expr ¶
func (s *BaseNitroParserListener) ExitStmt_expr(ctx *Stmt_exprContext)
ExitStmt_expr is called when production stmt_expr is exited.
func (*BaseNitroParserListener) ExitStmt_for ¶
func (s *BaseNitroParserListener) ExitStmt_for(ctx *Stmt_forContext)
ExitStmt_for is called when production stmt_for is exited.
func (*BaseNitroParserListener) ExitStmt_func ¶
func (s *BaseNitroParserListener) ExitStmt_func(ctx *Stmt_funcContext)
ExitStmt_func is called when production stmt_func is exited.
func (*BaseNitroParserListener) ExitStmt_if ¶
func (s *BaseNitroParserListener) ExitStmt_if(ctx *Stmt_ifContext)
ExitStmt_if is called when production stmt_if is exited.
func (*BaseNitroParserListener) ExitStmt_inc_dec ¶ added in v0.2.0
func (s *BaseNitroParserListener) ExitStmt_inc_dec(ctx *Stmt_inc_decContext)
ExitStmt_inc_dec is called when production stmt_inc_dec is exited.
func (*BaseNitroParserListener) ExitStmt_list ¶
func (s *BaseNitroParserListener) ExitStmt_list(ctx *Stmt_listContext)
ExitStmt_list is called when production stmt_list is exited.
func (*BaseNitroParserListener) ExitStmt_op_assign ¶ added in v0.2.0
func (s *BaseNitroParserListener) ExitStmt_op_assign(ctx *Stmt_op_assignContext)
ExitStmt_op_assign is called when production stmt_op_assign is exited.
func (*BaseNitroParserListener) ExitStmt_return ¶
func (s *BaseNitroParserListener) ExitStmt_return(ctx *Stmt_returnContext)
ExitStmt_return is called when production stmt_return is exited.
func (*BaseNitroParserListener) ExitStmt_throw ¶
func (s *BaseNitroParserListener) ExitStmt_throw(ctx *Stmt_throwContext)
ExitStmt_throw is called when production stmt_throw is exited.
func (*BaseNitroParserListener) ExitStmt_try_catch ¶
func (s *BaseNitroParserListener) ExitStmt_try_catch(ctx *Stmt_try_catchContext)
ExitStmt_try_catch is called when production stmt_try_catch is exited.
func (*BaseNitroParserListener) ExitStmt_var_dec ¶
func (s *BaseNitroParserListener) ExitStmt_var_dec(ctx *Stmt_var_decContext)
ExitStmt_var_dec is called when production stmt_var_dec is exited.
func (*BaseNitroParserListener) ExitStmt_while ¶
func (s *BaseNitroParserListener) ExitStmt_while(ctx *Stmt_whileContext)
ExitStmt_while is called when production stmt_while is exited.
func (*BaseNitroParserListener) ExitStmt_yield ¶
func (s *BaseNitroParserListener) ExitStmt_yield(ctx *Stmt_yieldContext)
ExitStmt_yield is called when production stmt_yield is exited.
func (*BaseNitroParserListener) ExitStmts ¶
func (s *BaseNitroParserListener) ExitStmts(ctx *StmtsContext)
ExitStmts is called when production stmts is exited.
func (*BaseNitroParserListener) ExitThrow_stmt ¶
func (s *BaseNitroParserListener) ExitThrow_stmt(ctx *Throw_stmtContext)
ExitThrow_stmt is called when production throw_stmt is exited.
func (*BaseNitroParserListener) ExitTry_catch_stmt ¶
func (s *BaseNitroParserListener) ExitTry_catch_stmt(ctx *Try_catch_stmtContext)
ExitTry_catch_stmt is called when production try_catch_stmt is exited.
func (*BaseNitroParserListener) ExitUnary_expr ¶
func (s *BaseNitroParserListener) ExitUnary_expr(ctx *Unary_exprContext)
ExitUnary_expr is called when production unary_expr is exited.
func (*BaseNitroParserListener) ExitUnit ¶ added in v0.2.0
func (s *BaseNitroParserListener) ExitUnit(ctx *UnitContext)
ExitUnit is called when production unit is exited.
func (*BaseNitroParserListener) ExitVar_decl_stmt ¶
func (s *BaseNitroParserListener) ExitVar_decl_stmt(ctx *Var_decl_stmtContext)
ExitVar_decl_stmt is called when production var_decl_stmt is exited.
func (*BaseNitroParserListener) ExitVar_decl_vars ¶
func (s *BaseNitroParserListener) ExitVar_decl_vars(ctx *Var_decl_varsContext)
ExitVar_decl_vars is called when production var_decl_vars is exited.
func (*BaseNitroParserListener) ExitWhile_stmt ¶
func (s *BaseNitroParserListener) ExitWhile_stmt(ctx *While_stmtContext)
ExitWhile_stmt is called when production while_stmt is exited.
func (*BaseNitroParserListener) ExitYield_stmt ¶
func (s *BaseNitroParserListener) ExitYield_stmt(ctx *Yield_stmtContext)
ExitYield_stmt is called when production yield_stmt is exited.
func (*BaseNitroParserListener) VisitErrorNode ¶
func (s *BaseNitroParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseNitroParserListener) VisitTerminal ¶
func (s *BaseNitroParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Binary_exprContext ¶
type Binary_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBinary_exprContext ¶
func NewBinary_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Binary_exprContext
func NewEmptyBinary_exprContext ¶
func NewEmptyBinary_exprContext() *Binary_exprContext
func (*Binary_exprContext) ADD ¶
func (s *Binary_exprContext) ADD() antlr.TerminalNode
func (*Binary_exprContext) AND ¶
func (s *Binary_exprContext) AND() antlr.TerminalNode
func (*Binary_exprContext) AllBinary_expr ¶
func (s *Binary_exprContext) AllBinary_expr() []IBinary_exprContext
func (*Binary_exprContext) Binary_expr ¶
func (s *Binary_exprContext) Binary_expr(i int) IBinary_exprContext
func (*Binary_exprContext) DIV ¶
func (s *Binary_exprContext) DIV() antlr.TerminalNode
func (*Binary_exprContext) EQ ¶
func (s *Binary_exprContext) EQ() antlr.TerminalNode
func (*Binary_exprContext) EnterRule ¶
func (s *Binary_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Binary_exprContext) ExitRule ¶
func (s *Binary_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Binary_exprContext) GE ¶
func (s *Binary_exprContext) GE() antlr.TerminalNode
func (*Binary_exprContext) GT ¶
func (s *Binary_exprContext) GT() antlr.TerminalNode
func (*Binary_exprContext) GetOp ¶
func (s *Binary_exprContext) GetOp() antlr.Token
func (*Binary_exprContext) GetParser ¶
func (s *Binary_exprContext) GetParser() antlr.Parser
func (*Binary_exprContext) GetRuleContext ¶
func (s *Binary_exprContext) GetRuleContext() antlr.RuleContext
func (*Binary_exprContext) IsBinary_exprContext ¶
func (*Binary_exprContext) IsBinary_exprContext()
func (*Binary_exprContext) LE ¶
func (s *Binary_exprContext) LE() antlr.TerminalNode
func (*Binary_exprContext) LT ¶
func (s *Binary_exprContext) LT() antlr.TerminalNode
func (*Binary_exprContext) MOD ¶
func (s *Binary_exprContext) MOD() antlr.TerminalNode
func (*Binary_exprContext) MUL ¶
func (s *Binary_exprContext) MUL() antlr.TerminalNode
func (*Binary_exprContext) NE ¶
func (s *Binary_exprContext) NE() antlr.TerminalNode
func (*Binary_exprContext) OR ¶
func (s *Binary_exprContext) OR() antlr.TerminalNode
func (*Binary_exprContext) PIPE ¶ added in v0.3.0
func (s *Binary_exprContext) PIPE() antlr.TerminalNode
func (*Binary_exprContext) SUB ¶
func (s *Binary_exprContext) SUB() antlr.TerminalNode
func (*Binary_exprContext) SetOp ¶
func (s *Binary_exprContext) SetOp(v antlr.Token)
func (*Binary_exprContext) ToStringTree ¶
func (s *Binary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Binary_exprContext) Unary_expr ¶
func (s *Binary_exprContext) Unary_expr() IUnary_exprContext
type Break_stmtContext ¶
type Break_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBreak_stmtContext ¶
func NewBreak_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Break_stmtContext
func NewEmptyBreak_stmtContext ¶
func NewEmptyBreak_stmtContext() *Break_stmtContext
func (*Break_stmtContext) BREAK ¶
func (s *Break_stmtContext) BREAK() antlr.TerminalNode
func (*Break_stmtContext) EnterRule ¶
func (s *Break_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Break_stmtContext) ExitRule ¶
func (s *Break_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Break_stmtContext) GetParser ¶
func (s *Break_stmtContext) GetParser() antlr.Parser
func (*Break_stmtContext) GetRuleContext ¶
func (s *Break_stmtContext) GetRuleContext() antlr.RuleContext
func (*Break_stmtContext) IsBreak_stmtContext ¶
func (*Break_stmtContext) IsBreak_stmtContext()
func (*Break_stmtContext) ToStringTree ¶
func (s *Break_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Continue_stmtContext ¶
type Continue_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewContinue_stmtContext ¶
func NewContinue_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Continue_stmtContext
func NewEmptyContinue_stmtContext ¶
func NewEmptyContinue_stmtContext() *Continue_stmtContext
func (*Continue_stmtContext) CONTINUE ¶
func (s *Continue_stmtContext) CONTINUE() antlr.TerminalNode
func (*Continue_stmtContext) EnterRule ¶
func (s *Continue_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Continue_stmtContext) ExitRule ¶
func (s *Continue_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Continue_stmtContext) GetParser ¶
func (s *Continue_stmtContext) GetParser() antlr.Parser
func (*Continue_stmtContext) GetRuleContext ¶
func (s *Continue_stmtContext) GetRuleContext() antlr.RuleContext
func (*Continue_stmtContext) IsContinue_stmtContext ¶
func (*Continue_stmtContext) IsContinue_stmtContext()
func (*Continue_stmtContext) ToStringTree ¶
func (s *Continue_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Defer_stmtContext ¶
type Defer_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefer_stmtContext ¶
func NewDefer_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Defer_stmtContext
func NewEmptyDefer_stmtContext ¶
func NewEmptyDefer_stmtContext() *Defer_stmtContext
func (*Defer_stmtContext) DEFER ¶
func (s *Defer_stmtContext) DEFER() antlr.TerminalNode
func (*Defer_stmtContext) EnterRule ¶
func (s *Defer_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Defer_stmtContext) ExitRule ¶
func (s *Defer_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Defer_stmtContext) GetParser ¶
func (s *Defer_stmtContext) GetParser() antlr.Parser
func (*Defer_stmtContext) GetRuleContext ¶
func (s *Defer_stmtContext) GetRuleContext() antlr.RuleContext
func (*Defer_stmtContext) IsDefer_stmtContext ¶
func (*Defer_stmtContext) IsDefer_stmtContext()
func (*Defer_stmtContext) Primary_expr ¶
func (s *Defer_stmtContext) Primary_expr() IPrimary_exprContext
func (*Defer_stmtContext) ToStringTree ¶
func (s *Defer_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Exec_exprContext ¶ added in v0.3.0
type Exec_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExec_exprContext ¶ added in v0.3.0
func NewEmptyExec_exprContext() *Exec_exprContext
func NewExec_exprContext ¶ added in v0.3.0
func NewExec_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Exec_exprContext
func (*Exec_exprContext) AllExec_expr_arg ¶ added in v0.3.0
func (s *Exec_exprContext) AllExec_expr_arg() []IExec_expr_argContext
func (*Exec_exprContext) EXEC_PREFIX ¶ added in v0.3.0
func (s *Exec_exprContext) EXEC_PREFIX() antlr.TerminalNode
func (*Exec_exprContext) EXEC_SUFFIX ¶ added in v0.3.0
func (s *Exec_exprContext) EXEC_SUFFIX() antlr.TerminalNode
func (*Exec_exprContext) EnterRule ¶ added in v0.3.0
func (s *Exec_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Exec_exprContext) Exec_expr_arg ¶ added in v0.3.0
func (s *Exec_exprContext) Exec_expr_arg(i int) IExec_expr_argContext
func (*Exec_exprContext) ExitRule ¶ added in v0.3.0
func (s *Exec_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Exec_exprContext) GetParser ¶ added in v0.3.0
func (s *Exec_exprContext) GetParser() antlr.Parser
func (*Exec_exprContext) GetRuleContext ¶ added in v0.3.0
func (s *Exec_exprContext) GetRuleContext() antlr.RuleContext
func (*Exec_exprContext) IsExec_exprContext ¶ added in v0.3.0
func (*Exec_exprContext) IsExec_exprContext()
func (*Exec_exprContext) ToStringTree ¶ added in v0.3.0
func (s *Exec_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Exec_expr_argContext ¶ added in v0.3.0
type Exec_expr_argContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExec_expr_argContext ¶ added in v0.3.0
func NewEmptyExec_expr_argContext() *Exec_expr_argContext
func NewExec_expr_argContext ¶ added in v0.3.0
func NewExec_expr_argContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Exec_expr_argContext
func (*Exec_expr_argContext) CCURLY ¶ added in v0.3.0
func (s *Exec_expr_argContext) CCURLY() antlr.TerminalNode
func (*Exec_expr_argContext) EXEC_DQUOTE_LITERAL ¶ added in v0.3.0
func (s *Exec_expr_argContext) EXEC_DQUOTE_LITERAL() antlr.TerminalNode
func (*Exec_expr_argContext) EXEC_LITERAL ¶ added in v0.3.0
func (s *Exec_expr_argContext) EXEC_LITERAL() antlr.TerminalNode
func (*Exec_expr_argContext) EXEC_SQUOTE_LITERAL ¶ added in v0.3.0
func (s *Exec_expr_argContext) EXEC_SQUOTE_LITERAL() antlr.TerminalNode
func (*Exec_expr_argContext) EnterRule ¶ added in v0.3.0
func (s *Exec_expr_argContext) EnterRule(listener antlr.ParseTreeListener)
func (*Exec_expr_argContext) ExitRule ¶ added in v0.3.0
func (s *Exec_expr_argContext) ExitRule(listener antlr.ParseTreeListener)
func (*Exec_expr_argContext) Expr ¶ added in v0.3.0
func (s *Exec_expr_argContext) Expr() IExprContext
func (*Exec_expr_argContext) GetParser ¶ added in v0.3.0
func (s *Exec_expr_argContext) GetParser() antlr.Parser
func (*Exec_expr_argContext) GetRuleContext ¶ added in v0.3.0
func (s *Exec_expr_argContext) GetRuleContext() antlr.RuleContext
func (*Exec_expr_argContext) IsExec_expr_argContext ¶ added in v0.3.0
func (*Exec_expr_argContext) IsExec_expr_argContext()
func (*Exec_expr_argContext) OCURLY ¶ added in v0.3.0
func (s *Exec_expr_argContext) OCURLY() antlr.TerminalNode
func (*Exec_expr_argContext) ToStringTree ¶ added in v0.3.0
func (s *Exec_expr_argContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Expr3Context ¶
type Expr3Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpr3Context ¶
func NewEmptyExpr3Context() *Expr3Context
func NewExpr3Context ¶
func NewExpr3Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Expr3Context
func (*Expr3Context) AllExpr3 ¶
func (s *Expr3Context) AllExpr3() []IExpr3Context
func (*Expr3Context) Binary_expr ¶
func (s *Expr3Context) Binary_expr() IBinary_exprContext
func (*Expr3Context) COLON ¶
func (s *Expr3Context) COLON() antlr.TerminalNode
func (*Expr3Context) EnterRule ¶
func (s *Expr3Context) EnterRule(listener antlr.ParseTreeListener)
func (*Expr3Context) ExitRule ¶
func (s *Expr3Context) ExitRule(listener antlr.ParseTreeListener)
func (*Expr3Context) Expr3 ¶
func (s *Expr3Context) Expr3(i int) IExpr3Context
func (*Expr3Context) GetParser ¶
func (s *Expr3Context) GetParser() antlr.Parser
func (*Expr3Context) GetRuleContext ¶
func (s *Expr3Context) GetRuleContext() antlr.RuleContext
func (*Expr3Context) IsExpr3Context ¶
func (*Expr3Context) IsExpr3Context()
func (*Expr3Context) QUESTION_MARK ¶
func (s *Expr3Context) QUESTION_MARK() antlr.TerminalNode
func (*Expr3Context) ToStringTree ¶
func (s *Expr3Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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) EnterRule ¶
func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprContext) ExitRule ¶
func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprContext) Expr3 ¶ added in v0.3.0
func (s *ExprContext) Expr3() IExpr3Context
func (*ExprContext) GetParser ¶
func (s *ExprContext) GetParser() antlr.Parser
func (*ExprContext) GetRuleContext ¶
func (s *ExprContext) GetRuleContext() antlr.RuleContext
func (*ExprContext) IsExprContext ¶
func (*ExprContext) IsExprContext()
func (*ExprContext) Short_lambda_expr ¶ added in v0.3.0
func (s *ExprContext) Short_lambda_expr() IShort_lambda_exprContext
func (*ExprContext) ToStringTree ¶
func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type For_stmtContext ¶
type For_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFor_stmtContext ¶
func NewEmptyFor_stmtContext() *For_stmtContext
func NewFor_stmtContext ¶
func NewFor_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *For_stmtContext
func (*For_stmtContext) CCURLY ¶
func (s *For_stmtContext) CCURLY() antlr.TerminalNode
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) Expr ¶
func (s *For_stmtContext) Expr() IExprContext
func (*For_stmtContext) FOR ¶
func (s *For_stmtContext) FOR() antlr.TerminalNode
func (*For_stmtContext) For_vars ¶
func (s *For_stmtContext) For_vars() IFor_varsContext
func (*For_stmtContext) GetParser ¶
func (s *For_stmtContext) GetParser() antlr.Parser
func (*For_stmtContext) GetRuleContext ¶
func (s *For_stmtContext) GetRuleContext() antlr.RuleContext
func (*For_stmtContext) ID ¶
func (s *For_stmtContext) ID() antlr.TerminalNode
func (*For_stmtContext) IsFor_stmtContext ¶
func (*For_stmtContext) IsFor_stmtContext()
func (*For_stmtContext) OCURLY ¶
func (s *For_stmtContext) OCURLY() antlr.TerminalNode
func (*For_stmtContext) Stmts ¶
func (s *For_stmtContext) Stmts() IStmtsContext
func (*For_stmtContext) ToStringTree ¶
func (s *For_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type For_varsContext ¶
type For_varsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFor_varsContext ¶
func NewEmptyFor_varsContext() *For_varsContext
func NewFor_varsContext ¶
func NewFor_varsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *For_varsContext
func (*For_varsContext) AllCOMMA ¶
func (s *For_varsContext) AllCOMMA() []antlr.TerminalNode
func (*For_varsContext) AllID ¶
func (s *For_varsContext) AllID() []antlr.TerminalNode
func (*For_varsContext) COMMA ¶
func (s *For_varsContext) COMMA(i int) antlr.TerminalNode
func (*For_varsContext) EnterRule ¶
func (s *For_varsContext) EnterRule(listener antlr.ParseTreeListener)
func (*For_varsContext) ExitRule ¶
func (s *For_varsContext) ExitRule(listener antlr.ParseTreeListener)
func (*For_varsContext) GetParser ¶
func (s *For_varsContext) GetParser() antlr.Parser
func (*For_varsContext) GetRuleContext ¶
func (s *For_varsContext) GetRuleContext() antlr.RuleContext
func (*For_varsContext) ID ¶
func (s *For_varsContext) ID(i int) antlr.TerminalNode
func (*For_varsContext) IsFor_varsContext ¶
func (*For_varsContext) IsFor_varsContext()
func (*For_varsContext) ToStringTree ¶
func (s *For_varsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Func_stmtContext ¶
type Func_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunc_stmtContext ¶
func NewEmptyFunc_stmtContext() *Func_stmtContext
func NewFunc_stmtContext ¶
func NewFunc_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Func_stmtContext
func (*Func_stmtContext) CCURLY ¶
func (s *Func_stmtContext) CCURLY() antlr.TerminalNode
func (*Func_stmtContext) CPAREN ¶
func (s *Func_stmtContext) CPAREN() antlr.TerminalNode
func (*Func_stmtContext) EnterRule ¶
func (s *Func_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Func_stmtContext) ExitRule ¶
func (s *Func_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Func_stmtContext) FUNC ¶
func (s *Func_stmtContext) FUNC() antlr.TerminalNode
func (*Func_stmtContext) GetParser ¶
func (s *Func_stmtContext) GetParser() antlr.Parser
func (*Func_stmtContext) GetRuleContext ¶
func (s *Func_stmtContext) GetRuleContext() antlr.RuleContext
func (*Func_stmtContext) ID ¶
func (s *Func_stmtContext) ID() antlr.TerminalNode
func (*Func_stmtContext) IsFunc_stmtContext ¶
func (*Func_stmtContext) IsFunc_stmtContext()
func (*Func_stmtContext) OCURLY ¶
func (s *Func_stmtContext) OCURLY() antlr.TerminalNode
func (*Func_stmtContext) OPAREN ¶
func (s *Func_stmtContext) OPAREN() antlr.TerminalNode
func (*Func_stmtContext) Param_list ¶
func (s *Func_stmtContext) Param_list() IParam_listContext
func (*Func_stmtContext) Stmts ¶
func (s *Func_stmtContext) Stmts() IStmtsContext
func (*Func_stmtContext) ToStringTree ¶
func (s *Func_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArg_listContext ¶
type IArg_listContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArg_listContext differentiates from other interfaces. IsArg_listContext() }
IArg_listContext is an interface to support dynamic dispatch.
type IArray_elemContext ¶
type IArray_elemContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArray_elemContext differentiates from other interfaces. IsArray_elemContext() }
IArray_elemContext is an interface to support dynamic dispatch.
type IArray_elemsContext ¶
type IArray_elemsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArray_elemsContext differentiates from other interfaces. IsArray_elemsContext() }
IArray_elemsContext is an interface to support dynamic dispatch.
type IArray_literalContext ¶
type IArray_literalContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArray_literalContext differentiates from other interfaces. IsArray_literalContext() }
IArray_literalContext is an interface to support dynamic dispatch.
type IAssignment_lvaluesContext ¶
type IAssignment_lvaluesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignment_lvaluesContext differentiates from other interfaces. IsAssignment_lvaluesContext() }
IAssignment_lvaluesContext is an interface to support dynamic dispatch.
type IAssignment_op_stmtContext ¶ added in v0.2.0
type IAssignment_op_stmtContext 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) // IsAssignment_op_stmtContext differentiates from other interfaces. IsAssignment_op_stmtContext() }
IAssignment_op_stmtContext is an interface to support dynamic dispatch.
type IAssignment_stmtContext ¶
type IAssignment_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignment_stmtContext differentiates from other interfaces. IsAssignment_stmtContext() }
IAssignment_stmtContext is an interface to support dynamic dispatch.
type IBinary_exprContext ¶
type IBinary_exprContext 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) // IsBinary_exprContext differentiates from other interfaces. IsBinary_exprContext() }
IBinary_exprContext is an interface to support dynamic dispatch.
type IBreak_stmtContext ¶
type IBreak_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBreak_stmtContext differentiates from other interfaces. IsBreak_stmtContext() }
IBreak_stmtContext is an interface to support dynamic dispatch.
type IContinue_stmtContext ¶
type IContinue_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsContinue_stmtContext differentiates from other interfaces. IsContinue_stmtContext() }
IContinue_stmtContext is an interface to support dynamic dispatch.
type IDefer_stmtContext ¶
type IDefer_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDefer_stmtContext differentiates from other interfaces. IsDefer_stmtContext() }
IDefer_stmtContext is an interface to support dynamic dispatch.
type IExec_exprContext ¶ added in v0.3.0
type IExec_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExec_exprContext differentiates from other interfaces. IsExec_exprContext() }
IExec_exprContext is an interface to support dynamic dispatch.
type IExec_expr_argContext ¶ added in v0.3.0
type IExec_expr_argContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExec_expr_argContext differentiates from other interfaces. IsExec_expr_argContext() }
IExec_expr_argContext is an interface to support dynamic dispatch.
type IExpr3Context ¶
type IExpr3Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpr3Context differentiates from other interfaces. IsExpr3Context() }
IExpr3Context is an interface to support dynamic dispatch.
type IExprContext ¶
type IExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExprContext differentiates from other interfaces. IsExprContext() }
IExprContext is an interface to support dynamic dispatch.
type IFor_stmtContext ¶
type IFor_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFor_stmtContext differentiates from other interfaces. IsFor_stmtContext() }
IFor_stmtContext is an interface to support dynamic dispatch.
type IFor_varsContext ¶
type IFor_varsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFor_varsContext differentiates from other interfaces. IsFor_varsContext() }
IFor_varsContext is an interface to support dynamic dispatch.
type IFunc_stmtContext ¶
type IFunc_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFunc_stmtContext differentiates from other interfaces. IsFunc_stmtContext() }
IFunc_stmtContext is an interface to support dynamic dispatch.
type IId_or_keywordContext ¶
type IId_or_keywordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetT returns the t token. GetT() antlr.Token // SetT sets the t token. SetT(antlr.Token) // IsId_or_keywordContext differentiates from other interfaces. IsId_or_keywordContext() }
IId_or_keywordContext is an interface to support dynamic dispatch.
type IIf_elifContext ¶
type IIf_elifContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_elifContext differentiates from other interfaces. IsIf_elifContext() }
IIf_elifContext is an interface to support dynamic dispatch.
type IIf_elseContext ¶
type IIf_elseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_elseContext differentiates from other interfaces. IsIf_elseContext() }
IIf_elseContext is an interface to support dynamic dispatch.
type IIf_stmtContext ¶
type IIf_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_stmtContext differentiates from other interfaces. IsIf_stmtContext() }
IIf_stmtContext is an interface to support dynamic dispatch.
type IImport_stmtContext ¶
type IImport_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImport_stmtContext differentiates from other interfaces. IsImport_stmtContext() }
IImport_stmtContext is an interface to support dynamic dispatch.
type IInc_dec_stmtContext ¶ added in v0.2.0
type IInc_dec_stmtContext 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) // IsInc_dec_stmtContext differentiates from other interfaces. IsInc_dec_stmtContext() }
IInc_dec_stmtContext is an interface to support dynamic dispatch.
type ILambda_exprContext ¶
type ILambda_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLambda_exprContext differentiates from other interfaces. IsLambda_exprContext() }
ILambda_exprContext is an interface to support dynamic dispatch.
type ILvalue_exprContext ¶
type ILvalue_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLvalue_exprContext differentiates from other interfaces. IsLvalue_exprContext() }
ILvalue_exprContext is an interface to support dynamic dispatch.
type IMeta_attribContext ¶
type IMeta_attribContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_attribContext differentiates from other interfaces. IsMeta_attribContext() }
IMeta_attribContext is an interface to support dynamic dispatch.
type IMeta_attribsContext ¶
type IMeta_attribsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_attribsContext differentiates from other interfaces. IsMeta_attribsContext() }
IMeta_attribsContext is an interface to support dynamic dispatch.
type IMeta_directiveContext ¶
type IMeta_directiveContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_directiveContext differentiates from other interfaces. IsMeta_directiveContext() }
IMeta_directiveContext is an interface to support dynamic dispatch.
type IMeta_flagContext ¶
type IMeta_flagContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_flagContext differentiates from other interfaces. IsMeta_flagContext() }
IMeta_flagContext is an interface to support dynamic dispatch.
type IMeta_infoContext ¶
type IMeta_infoContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_infoContext differentiates from other interfaces. IsMeta_infoContext() }
IMeta_infoContext is an interface to support dynamic dispatch.
type IMeta_literalContext ¶
type IMeta_literalContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetVal returns the val token. GetVal() antlr.Token // SetVal sets the val token. SetVal(antlr.Token) // IsMeta_literalContext differentiates from other interfaces. IsMeta_literalContext() }
IMeta_literalContext is an interface to support dynamic dispatch.
type IMeta_paramContext ¶
type IMeta_paramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMeta_paramContext differentiates from other interfaces. IsMeta_paramContext() }
IMeta_paramContext is an interface to support dynamic dispatch.
type IObject_fieldContext ¶
type IObject_fieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsObject_fieldContext differentiates from other interfaces. IsObject_fieldContext() }
IObject_fieldContext is an interface to support dynamic dispatch.
type IObject_fieldsContext ¶
type IObject_fieldsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsObject_fieldsContext differentiates from other interfaces. IsObject_fieldsContext() }
IObject_fieldsContext is an interface to support dynamic dispatch.
type IObject_literalContext ¶
type IObject_literalContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsObject_literalContext differentiates from other interfaces. IsObject_literalContext() }
IObject_literalContext is an interface to support dynamic dispatch.
type IParam_listContext ¶
type IParam_listContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParam_listContext differentiates from other interfaces. IsParam_listContext() }
IParam_listContext is an interface to support dynamic dispatch.
type IPrimary_exprContext ¶
type IPrimary_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPrimary_exprContext differentiates from other interfaces. IsPrimary_exprContext() }
IPrimary_exprContext is an interface to support dynamic dispatch.
type IPrologueContext ¶ added in v0.3.0
type IPrologueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPrologueContext differentiates from other interfaces. IsPrologueContext() }
IPrologueContext is an interface to support dynamic dispatch.
type IReturn_stmtContext ¶
type IReturn_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsReturn_stmtContext differentiates from other interfaces. IsReturn_stmtContext() }
IReturn_stmtContext is an interface to support dynamic dispatch.
type IRvaluesContext ¶
type IRvaluesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRvaluesContext differentiates from other interfaces. IsRvaluesContext() }
IRvaluesContext is an interface to support dynamic dispatch.
type IShort_lambda_exprContext ¶
type IShort_lambda_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsShort_lambda_exprContext differentiates from other interfaces. IsShort_lambda_exprContext() }
IShort_lambda_exprContext is an interface to support dynamic dispatch.
type ISimple_literalContext ¶
type ISimple_literalContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetVal returns the val token. GetVal() antlr.Token // SetVal sets the val token. SetVal(antlr.Token) // IsSimple_literalContext differentiates from other interfaces. IsSimple_literalContext() }
ISimple_literalContext is an interface to support dynamic dispatch.
type IStartContext ¶
type IStartContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStartContext differentiates from other interfaces. IsStartContext() }
IStartContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type IStmt_listContext ¶
type IStmt_listContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmt_listContext differentiates from other interfaces. IsStmt_listContext() }
IStmt_listContext is an interface to support dynamic dispatch.
type IStmtsContext ¶
type IStmtsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtsContext differentiates from other interfaces. IsStmtsContext() }
IStmtsContext is an interface to support dynamic dispatch.
type IThrow_stmtContext ¶
type IThrow_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsThrow_stmtContext differentiates from other interfaces. IsThrow_stmtContext() }
IThrow_stmtContext is an interface to support dynamic dispatch.
type ITry_catch_stmtContext ¶
type ITry_catch_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTry_catch_stmtContext differentiates from other interfaces. IsTry_catch_stmtContext() }
ITry_catch_stmtContext is an interface to support dynamic dispatch.
type IUnary_exprContext ¶
type IUnary_exprContext 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) // IsUnary_exprContext differentiates from other interfaces. IsUnary_exprContext() }
IUnary_exprContext is an interface to support dynamic dispatch.
type IUnitContext ¶ added in v0.2.0
type IUnitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUnitContext differentiates from other interfaces. IsUnitContext() }
IUnitContext is an interface to support dynamic dispatch.
type IVar_decl_stmtContext ¶
type IVar_decl_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVar_decl_stmtContext differentiates from other interfaces. IsVar_decl_stmtContext() }
IVar_decl_stmtContext is an interface to support dynamic dispatch.
type IVar_decl_varsContext ¶
type IVar_decl_varsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVar_decl_varsContext differentiates from other interfaces. IsVar_decl_varsContext() }
IVar_decl_varsContext is an interface to support dynamic dispatch.
type IWhile_stmtContext ¶
type IWhile_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWhile_stmtContext differentiates from other interfaces. IsWhile_stmtContext() }
IWhile_stmtContext is an interface to support dynamic dispatch.
type IYield_stmtContext ¶
type IYield_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsYield_stmtContext differentiates from other interfaces. IsYield_stmtContext() }
IYield_stmtContext is an interface to support dynamic dispatch.
type Id_or_keywordContext ¶
type Id_or_keywordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyId_or_keywordContext ¶
func NewEmptyId_or_keywordContext() *Id_or_keywordContext
func NewId_or_keywordContext ¶
func NewId_or_keywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Id_or_keywordContext
func (*Id_or_keywordContext) AND ¶
func (s *Id_or_keywordContext) AND() antlr.TerminalNode
func (*Id_or_keywordContext) BREAK ¶
func (s *Id_or_keywordContext) BREAK() antlr.TerminalNode
func (*Id_or_keywordContext) CATCH ¶
func (s *Id_or_keywordContext) CATCH() antlr.TerminalNode
func (*Id_or_keywordContext) CONTINUE ¶
func (s *Id_or_keywordContext) CONTINUE() antlr.TerminalNode
func (*Id_or_keywordContext) DEFER ¶
func (s *Id_or_keywordContext) DEFER() antlr.TerminalNode
func (*Id_or_keywordContext) ELSE ¶
func (s *Id_or_keywordContext) ELSE() antlr.TerminalNode
func (*Id_or_keywordContext) EnterRule ¶
func (s *Id_or_keywordContext) EnterRule(listener antlr.ParseTreeListener)
func (*Id_or_keywordContext) ExitRule ¶
func (s *Id_or_keywordContext) ExitRule(listener antlr.ParseTreeListener)
func (*Id_or_keywordContext) FALSE ¶
func (s *Id_or_keywordContext) FALSE() antlr.TerminalNode
func (*Id_or_keywordContext) FOR ¶
func (s *Id_or_keywordContext) FOR() antlr.TerminalNode
func (*Id_or_keywordContext) FUNC ¶
func (s *Id_or_keywordContext) FUNC() antlr.TerminalNode
func (*Id_or_keywordContext) GetParser ¶
func (s *Id_or_keywordContext) GetParser() antlr.Parser
func (*Id_or_keywordContext) GetRuleContext ¶
func (s *Id_or_keywordContext) GetRuleContext() antlr.RuleContext
func (*Id_or_keywordContext) GetT ¶
func (s *Id_or_keywordContext) GetT() antlr.Token
func (*Id_or_keywordContext) ID ¶
func (s *Id_or_keywordContext) ID() antlr.TerminalNode
func (*Id_or_keywordContext) IF ¶
func (s *Id_or_keywordContext) IF() antlr.TerminalNode
func (*Id_or_keywordContext) IMPORT ¶
func (s *Id_or_keywordContext) IMPORT() antlr.TerminalNode
func (*Id_or_keywordContext) IsId_or_keywordContext ¶
func (*Id_or_keywordContext) IsId_or_keywordContext()
func (*Id_or_keywordContext) NIL ¶
func (s *Id_or_keywordContext) NIL() antlr.TerminalNode
func (*Id_or_keywordContext) NOT ¶
func (s *Id_or_keywordContext) NOT() antlr.TerminalNode
func (*Id_or_keywordContext) OR ¶
func (s *Id_or_keywordContext) OR() antlr.TerminalNode
func (*Id_or_keywordContext) RETURN ¶
func (s *Id_or_keywordContext) RETURN() antlr.TerminalNode
func (*Id_or_keywordContext) SetT ¶
func (s *Id_or_keywordContext) SetT(v antlr.Token)
func (*Id_or_keywordContext) THROW ¶
func (s *Id_or_keywordContext) THROW() antlr.TerminalNode
func (*Id_or_keywordContext) TRUE ¶
func (s *Id_or_keywordContext) TRUE() antlr.TerminalNode
func (*Id_or_keywordContext) TRY ¶
func (s *Id_or_keywordContext) TRY() antlr.TerminalNode
func (*Id_or_keywordContext) ToStringTree ¶
func (s *Id_or_keywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Id_or_keywordContext) VAR ¶
func (s *Id_or_keywordContext) VAR() antlr.TerminalNode
func (*Id_or_keywordContext) WHILE ¶
func (s *Id_or_keywordContext) WHILE() antlr.TerminalNode
func (*Id_or_keywordContext) YIELD ¶
func (s *Id_or_keywordContext) YIELD() antlr.TerminalNode
type If_elifContext ¶
type If_elifContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_elifContext ¶
func NewEmptyIf_elifContext() *If_elifContext
func NewIf_elifContext ¶
func NewIf_elifContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_elifContext
func (*If_elifContext) CCURLY ¶
func (s *If_elifContext) CCURLY() antlr.TerminalNode
func (*If_elifContext) ELSE ¶
func (s *If_elifContext) ELSE() antlr.TerminalNode
func (*If_elifContext) EnterRule ¶
func (s *If_elifContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_elifContext) ExitRule ¶
func (s *If_elifContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_elifContext) Expr ¶
func (s *If_elifContext) Expr() IExprContext
func (*If_elifContext) GetParser ¶
func (s *If_elifContext) GetParser() antlr.Parser
func (*If_elifContext) GetRuleContext ¶
func (s *If_elifContext) GetRuleContext() antlr.RuleContext
func (*If_elifContext) IF ¶
func (s *If_elifContext) IF() antlr.TerminalNode
func (*If_elifContext) IsIf_elifContext ¶
func (*If_elifContext) IsIf_elifContext()
func (*If_elifContext) OCURLY ¶
func (s *If_elifContext) OCURLY() antlr.TerminalNode
func (*If_elifContext) Stmts ¶
func (s *If_elifContext) Stmts() IStmtsContext
func (*If_elifContext) ToStringTree ¶
func (s *If_elifContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type If_elseContext ¶
type If_elseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_elseContext ¶
func NewEmptyIf_elseContext() *If_elseContext
func NewIf_elseContext ¶
func NewIf_elseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_elseContext
func (*If_elseContext) CCURLY ¶
func (s *If_elseContext) CCURLY() antlr.TerminalNode
func (*If_elseContext) ELSE ¶
func (s *If_elseContext) ELSE() antlr.TerminalNode
func (*If_elseContext) EnterRule ¶
func (s *If_elseContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_elseContext) ExitRule ¶
func (s *If_elseContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_elseContext) GetParser ¶
func (s *If_elseContext) GetParser() antlr.Parser
func (*If_elseContext) GetRuleContext ¶
func (s *If_elseContext) GetRuleContext() antlr.RuleContext
func (*If_elseContext) IsIf_elseContext ¶
func (*If_elseContext) IsIf_elseContext()
func (*If_elseContext) OCURLY ¶
func (s *If_elseContext) OCURLY() antlr.TerminalNode
func (*If_elseContext) Stmts ¶
func (s *If_elseContext) Stmts() IStmtsContext
func (*If_elseContext) ToStringTree ¶
func (s *If_elseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type If_stmtContext ¶
type If_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_stmtContext ¶
func NewEmptyIf_stmtContext() *If_stmtContext
func NewIf_stmtContext ¶
func NewIf_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_stmtContext
func (*If_stmtContext) AllIf_elif ¶
func (s *If_stmtContext) AllIf_elif() []IIf_elifContext
func (*If_stmtContext) CCURLY ¶
func (s *If_stmtContext) CCURLY() antlr.TerminalNode
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) Expr ¶
func (s *If_stmtContext) Expr() IExprContext
func (*If_stmtContext) GetParser ¶
func (s *If_stmtContext) GetParser() antlr.Parser
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) If_elif ¶
func (s *If_stmtContext) If_elif(i int) IIf_elifContext
func (*If_stmtContext) If_else ¶
func (s *If_stmtContext) If_else() IIf_elseContext
func (*If_stmtContext) IsIf_stmtContext ¶
func (*If_stmtContext) IsIf_stmtContext()
func (*If_stmtContext) OCURLY ¶
func (s *If_stmtContext) OCURLY() antlr.TerminalNode
func (*If_stmtContext) Stmts ¶
func (s *If_stmtContext) Stmts() IStmtsContext
func (*If_stmtContext) ToStringTree ¶
func (s *If_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Import_stmtContext ¶
type Import_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImport_stmtContext ¶
func NewEmptyImport_stmtContext() *Import_stmtContext
func NewImport_stmtContext ¶
func NewImport_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_stmtContext
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) GetParser ¶
func (s *Import_stmtContext) GetParser() antlr.Parser
func (*Import_stmtContext) GetRuleContext ¶
func (s *Import_stmtContext) GetRuleContext() antlr.RuleContext
func (*Import_stmtContext) ID ¶
func (s *Import_stmtContext) ID() antlr.TerminalNode
func (*Import_stmtContext) IMPORT ¶
func (s *Import_stmtContext) IMPORT() antlr.TerminalNode
func (*Import_stmtContext) IsImport_stmtContext ¶
func (*Import_stmtContext) IsImport_stmtContext()
func (*Import_stmtContext) SEMICOLON ¶
func (s *Import_stmtContext) SEMICOLON() antlr.TerminalNode
func (*Import_stmtContext) STRING ¶
func (s *Import_stmtContext) STRING() antlr.TerminalNode
func (*Import_stmtContext) ToStringTree ¶
func (s *Import_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Inc_dec_stmtContext ¶ added in v0.2.0
type Inc_dec_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInc_dec_stmtContext ¶ added in v0.2.0
func NewEmptyInc_dec_stmtContext() *Inc_dec_stmtContext
func NewInc_dec_stmtContext ¶ added in v0.2.0
func NewInc_dec_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Inc_dec_stmtContext
func (*Inc_dec_stmtContext) DEC ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) DEC() antlr.TerminalNode
func (*Inc_dec_stmtContext) EnterRule ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Inc_dec_stmtContext) ExitRule ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Inc_dec_stmtContext) GetOp ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) GetOp() antlr.Token
func (*Inc_dec_stmtContext) GetParser ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) GetParser() antlr.Parser
func (*Inc_dec_stmtContext) GetRuleContext ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) GetRuleContext() antlr.RuleContext
func (*Inc_dec_stmtContext) INC ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) INC() antlr.TerminalNode
func (*Inc_dec_stmtContext) IsInc_dec_stmtContext ¶ added in v0.2.0
func (*Inc_dec_stmtContext) IsInc_dec_stmtContext()
func (*Inc_dec_stmtContext) Lvalue_expr ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) Lvalue_expr() ILvalue_exprContext
func (*Inc_dec_stmtContext) SetOp ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) SetOp(v antlr.Token)
func (*Inc_dec_stmtContext) ToStringTree ¶ added in v0.2.0
func (s *Inc_dec_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Lambda_exprContext ¶
type Lambda_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLambda_exprContext ¶
func NewEmptyLambda_exprContext() *Lambda_exprContext
func NewLambda_exprContext ¶
func NewLambda_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Lambda_exprContext
func (*Lambda_exprContext) CCURLY ¶
func (s *Lambda_exprContext) CCURLY() antlr.TerminalNode
func (*Lambda_exprContext) CPAREN ¶
func (s *Lambda_exprContext) CPAREN() antlr.TerminalNode
func (*Lambda_exprContext) EnterRule ¶
func (s *Lambda_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Lambda_exprContext) ExitRule ¶
func (s *Lambda_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Lambda_exprContext) FUNC ¶
func (s *Lambda_exprContext) FUNC() antlr.TerminalNode
func (*Lambda_exprContext) GetParser ¶
func (s *Lambda_exprContext) GetParser() antlr.Parser
func (*Lambda_exprContext) GetRuleContext ¶
func (s *Lambda_exprContext) GetRuleContext() antlr.RuleContext
func (*Lambda_exprContext) IsLambda_exprContext ¶
func (*Lambda_exprContext) IsLambda_exprContext()
func (*Lambda_exprContext) OCURLY ¶
func (s *Lambda_exprContext) OCURLY() antlr.TerminalNode
func (*Lambda_exprContext) OPAREN ¶
func (s *Lambda_exprContext) OPAREN() antlr.TerminalNode
func (*Lambda_exprContext) Param_list ¶
func (s *Lambda_exprContext) Param_list() IParam_listContext
func (*Lambda_exprContext) Stmts ¶
func (s *Lambda_exprContext) Stmts() IStmtsContext
func (*Lambda_exprContext) ToStringTree ¶
func (s *Lambda_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Lvalue_exprContext ¶
type Lvalue_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLvalue_exprContext ¶
func NewEmptyLvalue_exprContext() *Lvalue_exprContext
func NewLvalue_exprContext ¶
func NewLvalue_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Lvalue_exprContext
func (*Lvalue_exprContext) CopyFrom ¶
func (s *Lvalue_exprContext) CopyFrom(ctx *Lvalue_exprContext)
func (*Lvalue_exprContext) GetParser ¶
func (s *Lvalue_exprContext) GetParser() antlr.Parser
func (*Lvalue_exprContext) GetRuleContext ¶
func (s *Lvalue_exprContext) GetRuleContext() antlr.RuleContext
func (*Lvalue_exprContext) IsLvalue_exprContext ¶
func (*Lvalue_exprContext) IsLvalue_exprContext()
func (*Lvalue_exprContext) ToStringTree ¶
func (s *Lvalue_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Lvalue_expr_indexContext ¶
type Lvalue_expr_indexContext struct {
*Lvalue_exprContext
}
func NewLvalue_expr_indexContext ¶
func NewLvalue_expr_indexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Lvalue_expr_indexContext
func (*Lvalue_expr_indexContext) CBRACKET ¶
func (s *Lvalue_expr_indexContext) CBRACKET() antlr.TerminalNode
func (*Lvalue_expr_indexContext) EnterRule ¶
func (s *Lvalue_expr_indexContext) EnterRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_indexContext) ExitRule ¶
func (s *Lvalue_expr_indexContext) ExitRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_indexContext) Expr ¶
func (s *Lvalue_expr_indexContext) Expr() IExprContext
func (*Lvalue_expr_indexContext) GetRuleContext ¶
func (s *Lvalue_expr_indexContext) GetRuleContext() antlr.RuleContext
func (*Lvalue_expr_indexContext) OBRACKET ¶
func (s *Lvalue_expr_indexContext) OBRACKET() antlr.TerminalNode
func (*Lvalue_expr_indexContext) Primary_expr ¶
func (s *Lvalue_expr_indexContext) Primary_expr() IPrimary_exprContext
type Lvalue_expr_member_accessContext ¶
type Lvalue_expr_member_accessContext struct {
*Lvalue_exprContext
}
func NewLvalue_expr_member_accessContext ¶
func NewLvalue_expr_member_accessContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Lvalue_expr_member_accessContext
func (*Lvalue_expr_member_accessContext) EnterRule ¶
func (s *Lvalue_expr_member_accessContext) EnterRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_member_accessContext) ExitRule ¶
func (s *Lvalue_expr_member_accessContext) ExitRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_member_accessContext) GetRuleContext ¶
func (s *Lvalue_expr_member_accessContext) GetRuleContext() antlr.RuleContext
func (*Lvalue_expr_member_accessContext) ID ¶
func (s *Lvalue_expr_member_accessContext) ID() antlr.TerminalNode
func (*Lvalue_expr_member_accessContext) PERIOD ¶
func (s *Lvalue_expr_member_accessContext) PERIOD() antlr.TerminalNode
func (*Lvalue_expr_member_accessContext) Primary_expr ¶
func (s *Lvalue_expr_member_accessContext) Primary_expr() IPrimary_exprContext
type Lvalue_expr_simple_refContext ¶
type Lvalue_expr_simple_refContext struct {
*Lvalue_exprContext
}
func NewLvalue_expr_simple_refContext ¶
func NewLvalue_expr_simple_refContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Lvalue_expr_simple_refContext
func (*Lvalue_expr_simple_refContext) EnterRule ¶
func (s *Lvalue_expr_simple_refContext) EnterRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_simple_refContext) ExitRule ¶
func (s *Lvalue_expr_simple_refContext) ExitRule(listener antlr.ParseTreeListener)
func (*Lvalue_expr_simple_refContext) GetRuleContext ¶
func (s *Lvalue_expr_simple_refContext) GetRuleContext() antlr.RuleContext
func (*Lvalue_expr_simple_refContext) ID ¶
func (s *Lvalue_expr_simple_refContext) ID() antlr.TerminalNode
type Meta_attribContext ¶
type Meta_attribContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_attribContext ¶
func NewEmptyMeta_attribContext() *Meta_attribContext
func NewMeta_attribContext ¶
func NewMeta_attribContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_attribContext
func (*Meta_attribContext) COLON ¶
func (s *Meta_attribContext) COLON() antlr.TerminalNode
func (*Meta_attribContext) EnterRule ¶
func (s *Meta_attribContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_attribContext) ExitRule ¶
func (s *Meta_attribContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_attribContext) GetParser ¶
func (s *Meta_attribContext) GetParser() antlr.Parser
func (*Meta_attribContext) GetRuleContext ¶
func (s *Meta_attribContext) GetRuleContext() antlr.RuleContext
func (*Meta_attribContext) Id_or_keyword ¶
func (s *Meta_attribContext) Id_or_keyword() IId_or_keywordContext
func (*Meta_attribContext) IsMeta_attribContext ¶
func (*Meta_attribContext) IsMeta_attribContext()
func (*Meta_attribContext) Meta_literal ¶
func (s *Meta_attribContext) Meta_literal() IMeta_literalContext
func (*Meta_attribContext) ToStringTree ¶
func (s *Meta_attribContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_attribsContext ¶
type Meta_attribsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_attribsContext ¶
func NewEmptyMeta_attribsContext() *Meta_attribsContext
func NewMeta_attribsContext ¶
func NewMeta_attribsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_attribsContext
func (*Meta_attribsContext) AllCOMMA ¶
func (s *Meta_attribsContext) AllCOMMA() []antlr.TerminalNode
func (*Meta_attribsContext) AllMeta_attrib ¶
func (s *Meta_attribsContext) AllMeta_attrib() []IMeta_attribContext
func (*Meta_attribsContext) AllSEMICOLON ¶
func (s *Meta_attribsContext) AllSEMICOLON() []antlr.TerminalNode
func (*Meta_attribsContext) COMMA ¶
func (s *Meta_attribsContext) COMMA(i int) antlr.TerminalNode
func (*Meta_attribsContext) EnterRule ¶
func (s *Meta_attribsContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_attribsContext) ExitRule ¶
func (s *Meta_attribsContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_attribsContext) GetParser ¶
func (s *Meta_attribsContext) GetParser() antlr.Parser
func (*Meta_attribsContext) GetRuleContext ¶
func (s *Meta_attribsContext) GetRuleContext() antlr.RuleContext
func (*Meta_attribsContext) IsMeta_attribsContext ¶
func (*Meta_attribsContext) IsMeta_attribsContext()
func (*Meta_attribsContext) Meta_attrib ¶
func (s *Meta_attribsContext) Meta_attrib(i int) IMeta_attribContext
func (*Meta_attribsContext) SEMICOLON ¶
func (s *Meta_attribsContext) SEMICOLON(i int) antlr.TerminalNode
func (*Meta_attribsContext) ToStringTree ¶
func (s *Meta_attribsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_directiveContext ¶
type Meta_directiveContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_directiveContext ¶
func NewEmptyMeta_directiveContext() *Meta_directiveContext
func NewMeta_directiveContext ¶
func NewMeta_directiveContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_directiveContext
func (*Meta_directiveContext) EnterRule ¶
func (s *Meta_directiveContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_directiveContext) ExitRule ¶
func (s *Meta_directiveContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_directiveContext) GetParser ¶
func (s *Meta_directiveContext) GetParser() antlr.Parser
func (*Meta_directiveContext) GetRuleContext ¶
func (s *Meta_directiveContext) GetRuleContext() antlr.RuleContext
func (*Meta_directiveContext) IsMeta_directiveContext ¶
func (*Meta_directiveContext) IsMeta_directiveContext()
func (*Meta_directiveContext) Meta_flag ¶
func (s *Meta_directiveContext) Meta_flag() IMeta_flagContext
func (*Meta_directiveContext) Meta_info ¶
func (s *Meta_directiveContext) Meta_info() IMeta_infoContext
func (*Meta_directiveContext) Meta_param ¶
func (s *Meta_directiveContext) Meta_param() IMeta_paramContext
func (*Meta_directiveContext) ToStringTree ¶
func (s *Meta_directiveContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_flagContext ¶
type Meta_flagContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_flagContext ¶
func NewEmptyMeta_flagContext() *Meta_flagContext
func NewMeta_flagContext ¶
func NewMeta_flagContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_flagContext
func (*Meta_flagContext) ASSIGN ¶
func (s *Meta_flagContext) ASSIGN() antlr.TerminalNode
func (*Meta_flagContext) CCURLY ¶
func (s *Meta_flagContext) CCURLY() antlr.TerminalNode
func (*Meta_flagContext) EnterRule ¶
func (s *Meta_flagContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_flagContext) ExitRule ¶
func (s *Meta_flagContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_flagContext) Expr ¶
func (s *Meta_flagContext) Expr() IExprContext
func (*Meta_flagContext) GetParser ¶
func (s *Meta_flagContext) GetParser() antlr.Parser
func (*Meta_flagContext) GetRuleContext ¶
func (s *Meta_flagContext) GetRuleContext() antlr.RuleContext
func (*Meta_flagContext) ID ¶
func (s *Meta_flagContext) ID() antlr.TerminalNode
func (*Meta_flagContext) IsMeta_flagContext ¶
func (*Meta_flagContext) IsMeta_flagContext()
func (*Meta_flagContext) M_FLAG ¶
func (s *Meta_flagContext) M_FLAG() antlr.TerminalNode
func (*Meta_flagContext) Meta_attribs ¶
func (s *Meta_flagContext) Meta_attribs() IMeta_attribsContext
func (*Meta_flagContext) OCURLY ¶
func (s *Meta_flagContext) OCURLY() antlr.TerminalNode
func (*Meta_flagContext) SEMICOLON ¶
func (s *Meta_flagContext) SEMICOLON() antlr.TerminalNode
func (*Meta_flagContext) ToStringTree ¶
func (s *Meta_flagContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_infoContext ¶
type Meta_infoContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_infoContext ¶
func NewEmptyMeta_infoContext() *Meta_infoContext
func NewMeta_infoContext ¶
func NewMeta_infoContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_infoContext
func (*Meta_infoContext) CCURLY ¶
func (s *Meta_infoContext) CCURLY() antlr.TerminalNode
func (*Meta_infoContext) EnterRule ¶
func (s *Meta_infoContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_infoContext) ExitRule ¶
func (s *Meta_infoContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_infoContext) GetParser ¶
func (s *Meta_infoContext) GetParser() antlr.Parser
func (*Meta_infoContext) GetRuleContext ¶
func (s *Meta_infoContext) GetRuleContext() antlr.RuleContext
func (*Meta_infoContext) IsMeta_infoContext ¶
func (*Meta_infoContext) IsMeta_infoContext()
func (*Meta_infoContext) M_INFO ¶
func (s *Meta_infoContext) M_INFO() antlr.TerminalNode
func (*Meta_infoContext) Meta_attribs ¶
func (s *Meta_infoContext) Meta_attribs() IMeta_attribsContext
func (*Meta_infoContext) OCURLY ¶
func (s *Meta_infoContext) OCURLY() antlr.TerminalNode
func (*Meta_infoContext) SEMICOLON ¶
func (s *Meta_infoContext) SEMICOLON() antlr.TerminalNode
func (*Meta_infoContext) ToStringTree ¶
func (s *Meta_infoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_literalContext ¶
type Meta_literalContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_literalContext ¶
func NewEmptyMeta_literalContext() *Meta_literalContext
func NewMeta_literalContext ¶
func NewMeta_literalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_literalContext
func (*Meta_literalContext) CHAR ¶
func (s *Meta_literalContext) CHAR() antlr.TerminalNode
func (*Meta_literalContext) EnterRule ¶
func (s *Meta_literalContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_literalContext) ExitRule ¶
func (s *Meta_literalContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_literalContext) FALSE ¶
func (s *Meta_literalContext) FALSE() antlr.TerminalNode
func (*Meta_literalContext) GetParser ¶
func (s *Meta_literalContext) GetParser() antlr.Parser
func (*Meta_literalContext) GetRuleContext ¶
func (s *Meta_literalContext) GetRuleContext() antlr.RuleContext
func (*Meta_literalContext) GetVal ¶
func (s *Meta_literalContext) GetVal() antlr.Token
func (*Meta_literalContext) IsMeta_literalContext ¶
func (*Meta_literalContext) IsMeta_literalContext()
func (*Meta_literalContext) NIL ¶
func (s *Meta_literalContext) NIL() antlr.TerminalNode
func (*Meta_literalContext) NUMBER ¶
func (s *Meta_literalContext) NUMBER() antlr.TerminalNode
func (*Meta_literalContext) STRING ¶
func (s *Meta_literalContext) STRING() antlr.TerminalNode
func (*Meta_literalContext) SetVal ¶
func (s *Meta_literalContext) SetVal(v antlr.Token)
func (*Meta_literalContext) TRUE ¶
func (s *Meta_literalContext) TRUE() antlr.TerminalNode
func (*Meta_literalContext) ToStringTree ¶
func (s *Meta_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Meta_paramContext ¶
type Meta_paramContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeta_paramContext ¶
func NewEmptyMeta_paramContext() *Meta_paramContext
func NewMeta_paramContext ¶
func NewMeta_paramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Meta_paramContext
func (*Meta_paramContext) ASSIGN ¶
func (s *Meta_paramContext) ASSIGN() antlr.TerminalNode
func (*Meta_paramContext) CCURLY ¶
func (s *Meta_paramContext) CCURLY() antlr.TerminalNode
func (*Meta_paramContext) EnterRule ¶
func (s *Meta_paramContext) EnterRule(listener antlr.ParseTreeListener)
func (*Meta_paramContext) ExitRule ¶
func (s *Meta_paramContext) ExitRule(listener antlr.ParseTreeListener)
func (*Meta_paramContext) Expr ¶
func (s *Meta_paramContext) Expr() IExprContext
func (*Meta_paramContext) GetParser ¶
func (s *Meta_paramContext) GetParser() antlr.Parser
func (*Meta_paramContext) GetRuleContext ¶
func (s *Meta_paramContext) GetRuleContext() antlr.RuleContext
func (*Meta_paramContext) ID ¶
func (s *Meta_paramContext) ID() antlr.TerminalNode
func (*Meta_paramContext) IsMeta_paramContext ¶
func (*Meta_paramContext) IsMeta_paramContext()
func (*Meta_paramContext) M_PARAM ¶
func (s *Meta_paramContext) M_PARAM() antlr.TerminalNode
func (*Meta_paramContext) Meta_attribs ¶
func (s *Meta_paramContext) Meta_attribs() IMeta_attribsContext
func (*Meta_paramContext) OCURLY ¶
func (s *Meta_paramContext) OCURLY() antlr.TerminalNode
func (*Meta_paramContext) SEMICOLON ¶
func (s *Meta_paramContext) SEMICOLON() antlr.TerminalNode
func (*Meta_paramContext) ToStringTree ¶
func (s *Meta_paramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NitroLexer ¶
func NewNitroLexer ¶
func NewNitroLexer(input antlr.CharStream) *NitroLexer
NewNitroLexer produces a new lexer instance for the optional input antlr.CharStream.
type NitroParser ¶
type NitroParser struct {
*antlr.BaseParser
}
func NewNitroParser ¶
func NewNitroParser(input antlr.TokenStream) *NitroParser
NewNitroParser produces a new parser instance for the optional input antlr.TokenStream.
func (*NitroParser) Arg_list ¶
func (p *NitroParser) Arg_list() (localctx IArg_listContext)
func (*NitroParser) Array_elem ¶
func (p *NitroParser) Array_elem() (localctx IArray_elemContext)
func (*NitroParser) Array_elems ¶
func (p *NitroParser) Array_elems() (localctx IArray_elemsContext)
func (*NitroParser) Array_literal ¶
func (p *NitroParser) Array_literal() (localctx IArray_literalContext)
func (*NitroParser) Assignment_lvalues ¶
func (p *NitroParser) Assignment_lvalues() (localctx IAssignment_lvaluesContext)
func (*NitroParser) Assignment_op_stmt ¶ added in v0.2.0
func (p *NitroParser) Assignment_op_stmt() (localctx IAssignment_op_stmtContext)
func (*NitroParser) Assignment_stmt ¶
func (p *NitroParser) Assignment_stmt() (localctx IAssignment_stmtContext)
func (*NitroParser) Binary_expr ¶
func (p *NitroParser) Binary_expr() (localctx IBinary_exprContext)
func (*NitroParser) Binary_expr_Sempred ¶
func (p *NitroParser) Binary_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*NitroParser) Break_stmt ¶
func (p *NitroParser) Break_stmt() (localctx IBreak_stmtContext)
func (*NitroParser) Continue_stmt ¶
func (p *NitroParser) Continue_stmt() (localctx IContinue_stmtContext)
func (*NitroParser) Defer_stmt ¶
func (p *NitroParser) Defer_stmt() (localctx IDefer_stmtContext)
func (*NitroParser) Exec_expr ¶ added in v0.3.0
func (p *NitroParser) Exec_expr() (localctx IExec_exprContext)
func (*NitroParser) Exec_expr_arg ¶ added in v0.3.0
func (p *NitroParser) Exec_expr_arg() (localctx IExec_expr_argContext)
func (*NitroParser) Expr ¶
func (p *NitroParser) Expr() (localctx IExprContext)
func (*NitroParser) Expr3 ¶
func (p *NitroParser) Expr3() (localctx IExpr3Context)
func (*NitroParser) Expr3_Sempred ¶
func (p *NitroParser) Expr3_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*NitroParser) For_stmt ¶
func (p *NitroParser) For_stmt() (localctx IFor_stmtContext)
func (*NitroParser) For_vars ¶
func (p *NitroParser) For_vars() (localctx IFor_varsContext)
func (*NitroParser) Func_stmt ¶
func (p *NitroParser) Func_stmt() (localctx IFunc_stmtContext)
func (*NitroParser) Id_or_keyword ¶
func (p *NitroParser) Id_or_keyword() (localctx IId_or_keywordContext)
func (*NitroParser) If_elif ¶
func (p *NitroParser) If_elif() (localctx IIf_elifContext)
func (*NitroParser) If_else ¶
func (p *NitroParser) If_else() (localctx IIf_elseContext)
func (*NitroParser) If_stmt ¶
func (p *NitroParser) If_stmt() (localctx IIf_stmtContext)
func (*NitroParser) Import_stmt ¶
func (p *NitroParser) Import_stmt() (localctx IImport_stmtContext)
func (*NitroParser) Inc_dec_stmt ¶ added in v0.2.0
func (p *NitroParser) Inc_dec_stmt() (localctx IInc_dec_stmtContext)
func (*NitroParser) Lambda_expr ¶
func (p *NitroParser) Lambda_expr() (localctx ILambda_exprContext)
func (*NitroParser) Lvalue_expr ¶
func (p *NitroParser) Lvalue_expr() (localctx ILvalue_exprContext)
func (*NitroParser) Meta_attrib ¶
func (p *NitroParser) Meta_attrib() (localctx IMeta_attribContext)
func (*NitroParser) Meta_attribs ¶
func (p *NitroParser) Meta_attribs() (localctx IMeta_attribsContext)
func (*NitroParser) Meta_directive ¶
func (p *NitroParser) Meta_directive() (localctx IMeta_directiveContext)
func (*NitroParser) Meta_flag ¶
func (p *NitroParser) Meta_flag() (localctx IMeta_flagContext)
func (*NitroParser) Meta_info ¶
func (p *NitroParser) Meta_info() (localctx IMeta_infoContext)
func (*NitroParser) Meta_literal ¶
func (p *NitroParser) Meta_literal() (localctx IMeta_literalContext)
func (*NitroParser) Meta_param ¶
func (p *NitroParser) Meta_param() (localctx IMeta_paramContext)
func (*NitroParser) Object_field ¶
func (p *NitroParser) Object_field() (localctx IObject_fieldContext)
func (*NitroParser) Object_fields ¶
func (p *NitroParser) Object_fields() (localctx IObject_fieldsContext)
func (*NitroParser) Object_literal ¶
func (p *NitroParser) Object_literal() (localctx IObject_literalContext)
func (*NitroParser) Param_list ¶
func (p *NitroParser) Param_list() (localctx IParam_listContext)
func (*NitroParser) Primary_expr ¶
func (p *NitroParser) Primary_expr() (localctx IPrimary_exprContext)
func (*NitroParser) Primary_expr_Sempred ¶
func (p *NitroParser) Primary_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*NitroParser) Prologue ¶ added in v0.3.0
func (p *NitroParser) Prologue() (localctx IPrologueContext)
func (*NitroParser) Return_stmt ¶
func (p *NitroParser) Return_stmt() (localctx IReturn_stmtContext)
func (*NitroParser) Rvalues ¶
func (p *NitroParser) Rvalues() (localctx IRvaluesContext)
func (*NitroParser) Sempred ¶
func (p *NitroParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*NitroParser) Short_lambda_expr ¶
func (p *NitroParser) Short_lambda_expr() (localctx IShort_lambda_exprContext)
func (*NitroParser) Simple_literal ¶
func (p *NitroParser) Simple_literal() (localctx ISimple_literalContext)
func (*NitroParser) Start ¶
func (p *NitroParser) Start() (localctx IStartContext)
func (*NitroParser) Stmt ¶
func (p *NitroParser) Stmt() (localctx IStmtContext)
func (*NitroParser) Stmt_list ¶
func (p *NitroParser) Stmt_list() (localctx IStmt_listContext)
func (*NitroParser) Stmts ¶
func (p *NitroParser) Stmts() (localctx IStmtsContext)
func (*NitroParser) Throw_stmt ¶
func (p *NitroParser) Throw_stmt() (localctx IThrow_stmtContext)
func (*NitroParser) Try_catch_stmt ¶
func (p *NitroParser) Try_catch_stmt() (localctx ITry_catch_stmtContext)
func (*NitroParser) Unary_expr ¶
func (p *NitroParser) Unary_expr() (localctx IUnary_exprContext)
func (*NitroParser) Unit ¶ added in v0.2.0
func (p *NitroParser) Unit() (localctx IUnitContext)
func (*NitroParser) Var_decl_stmt ¶
func (p *NitroParser) Var_decl_stmt() (localctx IVar_decl_stmtContext)
func (*NitroParser) Var_decl_vars ¶
func (p *NitroParser) Var_decl_vars() (localctx IVar_decl_varsContext)
func (*NitroParser) While_stmt ¶
func (p *NitroParser) While_stmt() (localctx IWhile_stmtContext)
func (*NitroParser) Yield_stmt ¶
func (p *NitroParser) Yield_stmt() (localctx IYield_stmtContext)
type NitroParserListener ¶
type NitroParserListener interface { antlr.ParseTreeListener // EnterStart is called when entering the start production. EnterStart(c *StartContext) // EnterUnit is called when entering the unit production. EnterUnit(c *UnitContext) // EnterPrologue is called when entering the prologue production. EnterPrologue(c *PrologueContext) // EnterMeta_directive is called when entering the meta_directive production. EnterMeta_directive(c *Meta_directiveContext) // EnterMeta_info is called when entering the meta_info production. EnterMeta_info(c *Meta_infoContext) // EnterMeta_param is called when entering the meta_param production. EnterMeta_param(c *Meta_paramContext) // EnterMeta_flag is called when entering the meta_flag production. EnterMeta_flag(c *Meta_flagContext) // EnterMeta_attribs is called when entering the meta_attribs production. EnterMeta_attribs(c *Meta_attribsContext) // EnterMeta_attrib is called when entering the meta_attrib production. EnterMeta_attrib(c *Meta_attribContext) // EnterMeta_literal is called when entering the meta_literal production. EnterMeta_literal(c *Meta_literalContext) // EnterImport_stmt is called when entering the import_stmt production. EnterImport_stmt(c *Import_stmtContext) // EnterStmts is called when entering the stmts production. EnterStmts(c *StmtsContext) // EnterStmt_list is called when entering the stmt_list production. EnterStmt_list(c *Stmt_listContext) // EnterStmt_assignment is called when entering the stmt_assignment production. EnterStmt_assignment(c *Stmt_assignmentContext) // EnterStmt_op_assign is called when entering the stmt_op_assign production. EnterStmt_op_assign(c *Stmt_op_assignContext) // EnterStmt_var_dec is called when entering the stmt_var_dec production. EnterStmt_var_dec(c *Stmt_var_decContext) // EnterStmt_for is called when entering the stmt_for production. EnterStmt_for(c *Stmt_forContext) // EnterStmt_while is called when entering the stmt_while production. EnterStmt_while(c *Stmt_whileContext) // EnterStmt_if is called when entering the stmt_if production. EnterStmt_if(c *Stmt_ifContext) // EnterStmt_func is called when entering the stmt_func production. EnterStmt_func(c *Stmt_funcContext) // EnterStmt_return is called when entering the stmt_return production. EnterStmt_return(c *Stmt_returnContext) // EnterStmt_expr is called when entering the stmt_expr production. EnterStmt_expr(c *Stmt_exprContext) // EnterStmt_try_catch is called when entering the stmt_try_catch production. EnterStmt_try_catch(c *Stmt_try_catchContext) // EnterStmt_throw is called when entering the stmt_throw production. EnterStmt_throw(c *Stmt_throwContext) // EnterStmt_defer is called when entering the stmt_defer production. EnterStmt_defer(c *Stmt_deferContext) // EnterStmt_yield is called when entering the stmt_yield production. EnterStmt_yield(c *Stmt_yieldContext) // EnterStmt_break is called when entering the stmt_break production. EnterStmt_break(c *Stmt_breakContext) // EnterStmt_continue is called when entering the stmt_continue production. EnterStmt_continue(c *Stmt_continueContext) // EnterStmt_inc_dec is called when entering the stmt_inc_dec production. EnterStmt_inc_dec(c *Stmt_inc_decContext) // EnterAssignment_stmt is called when entering the assignment_stmt production. EnterAssignment_stmt(c *Assignment_stmtContext) // EnterAssignment_lvalues is called when entering the assignment_lvalues production. EnterAssignment_lvalues(c *Assignment_lvaluesContext) // EnterRvalues is called when entering the rvalues production. EnterRvalues(c *RvaluesContext) // EnterAssignment_op_stmt is called when entering the assignment_op_stmt production. EnterAssignment_op_stmt(c *Assignment_op_stmtContext) // EnterVar_decl_stmt is called when entering the var_decl_stmt production. EnterVar_decl_stmt(c *Var_decl_stmtContext) // EnterVar_decl_vars is called when entering the var_decl_vars production. EnterVar_decl_vars(c *Var_decl_varsContext) // EnterFor_stmt is called when entering the for_stmt production. EnterFor_stmt(c *For_stmtContext) // EnterFor_vars is called when entering the for_vars production. EnterFor_vars(c *For_varsContext) // EnterWhile_stmt is called when entering the while_stmt production. EnterWhile_stmt(c *While_stmtContext) // EnterIf_stmt is called when entering the if_stmt production. EnterIf_stmt(c *If_stmtContext) // EnterIf_elif is called when entering the if_elif production. EnterIf_elif(c *If_elifContext) // EnterIf_else is called when entering the if_else production. EnterIf_else(c *If_elseContext) // EnterFunc_stmt is called when entering the func_stmt production. EnterFunc_stmt(c *Func_stmtContext) // EnterParam_list is called when entering the param_list production. EnterParam_list(c *Param_listContext) // EnterReturn_stmt is called when entering the return_stmt production. EnterReturn_stmt(c *Return_stmtContext) // EnterTry_catch_stmt is called when entering the try_catch_stmt production. EnterTry_catch_stmt(c *Try_catch_stmtContext) // EnterThrow_stmt is called when entering the throw_stmt production. EnterThrow_stmt(c *Throw_stmtContext) // EnterDefer_stmt is called when entering the defer_stmt production. EnterDefer_stmt(c *Defer_stmtContext) // EnterYield_stmt is called when entering the yield_stmt production. EnterYield_stmt(c *Yield_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) // EnterInc_dec_stmt is called when entering the inc_dec_stmt production. EnterInc_dec_stmt(c *Inc_dec_stmtContext) // EnterExpr is called when entering the expr production. EnterExpr(c *ExprContext) // EnterExpr3 is called when entering the expr3 production. EnterExpr3(c *Expr3Context) // EnterBinary_expr is called when entering the binary_expr production. EnterBinary_expr(c *Binary_exprContext) // EnterUnary_expr is called when entering the unary_expr production. EnterUnary_expr(c *Unary_exprContext) // EnterPrimary_expr_regex is called when entering the primary_expr_regex production. EnterPrimary_expr_regex(c *Primary_expr_regexContext) // EnterPrimary_expr_object is called when entering the primary_expr_object production. EnterPrimary_expr_object(c *Primary_expr_objectContext) // EnterPrimary_expr_parenthesis is called when entering the primary_expr_parenthesis production. EnterPrimary_expr_parenthesis(c *Primary_expr_parenthesisContext) // EnterPrimary_expr_simple_ref is called when entering the primary_expr_simple_ref production. EnterPrimary_expr_simple_ref(c *Primary_expr_simple_refContext) // EnterPrimary_expr_lambda is called when entering the primary_expr_lambda production. EnterPrimary_expr_lambda(c *Primary_expr_lambdaContext) // EnterPrimary_expr_index is called when entering the primary_expr_index production. EnterPrimary_expr_index(c *Primary_expr_indexContext) // EnterPrimary_expr_literal is called when entering the primary_expr_literal production. EnterPrimary_expr_literal(c *Primary_expr_literalContext) // EnterPrimary_expr_member_access is called when entering the primary_expr_member_access production. EnterPrimary_expr_member_access(c *Primary_expr_member_accessContext) // EnterPrimary_exec_expr is called when entering the primary_exec_expr production. EnterPrimary_exec_expr(c *Primary_exec_exprContext) // EnterPrimary_expr_array is called when entering the primary_expr_array production. EnterPrimary_expr_array(c *Primary_expr_arrayContext) // EnterPrimary_expr_call is called when entering the primary_expr_call production. EnterPrimary_expr_call(c *Primary_expr_callContext) // EnterPrimary_expr_slice is called when entering the primary_expr_slice production. EnterPrimary_expr_slice(c *Primary_expr_sliceContext) // EnterSimple_literal is called when entering the simple_literal production. EnterSimple_literal(c *Simple_literalContext) // EnterArg_list is called when entering the arg_list production. EnterArg_list(c *Arg_listContext) // EnterLvalue_expr_simple_ref is called when entering the lvalue_expr_simple_ref production. EnterLvalue_expr_simple_ref(c *Lvalue_expr_simple_refContext) // EnterLvalue_expr_member_access is called when entering the lvalue_expr_member_access production. EnterLvalue_expr_member_access(c *Lvalue_expr_member_accessContext) // EnterLvalue_expr_index is called when entering the lvalue_expr_index production. EnterLvalue_expr_index(c *Lvalue_expr_indexContext) // EnterLambda_expr is called when entering the lambda_expr production. EnterLambda_expr(c *Lambda_exprContext) // EnterShort_lambda_expr is called when entering the short_lambda_expr production. EnterShort_lambda_expr(c *Short_lambda_exprContext) // EnterExec_expr is called when entering the exec_expr production. EnterExec_expr(c *Exec_exprContext) // EnterExec_expr_arg is called when entering the exec_expr_arg production. EnterExec_expr_arg(c *Exec_expr_argContext) // EnterObject_literal is called when entering the object_literal production. EnterObject_literal(c *Object_literalContext) // EnterObject_fields is called when entering the object_fields production. EnterObject_fields(c *Object_fieldsContext) // EnterObject_field_id_key is called when entering the object_field_id_key production. EnterObject_field_id_key(c *Object_field_id_keyContext) // EnterObject_field_expr_key is called when entering the object_field_expr_key production. EnterObject_field_expr_key(c *Object_field_expr_keyContext) // EnterObject_field_expansion is called when entering the object_field_expansion production. EnterObject_field_expansion(c *Object_field_expansionContext) // EnterArray_literal is called when entering the array_literal production. EnterArray_literal(c *Array_literalContext) // EnterArray_elems is called when entering the array_elems production. EnterArray_elems(c *Array_elemsContext) // EnterArray_elem is called when entering the array_elem production. EnterArray_elem(c *Array_elemContext) // EnterId_or_keyword is called when entering the id_or_keyword production. EnterId_or_keyword(c *Id_or_keywordContext) // ExitStart is called when exiting the start production. ExitStart(c *StartContext) // ExitUnit is called when exiting the unit production. ExitUnit(c *UnitContext) // ExitPrologue is called when exiting the prologue production. ExitPrologue(c *PrologueContext) // ExitMeta_directive is called when exiting the meta_directive production. ExitMeta_directive(c *Meta_directiveContext) // ExitMeta_info is called when exiting the meta_info production. ExitMeta_info(c *Meta_infoContext) // ExitMeta_param is called when exiting the meta_param production. ExitMeta_param(c *Meta_paramContext) // ExitMeta_flag is called when exiting the meta_flag production. ExitMeta_flag(c *Meta_flagContext) // ExitMeta_attribs is called when exiting the meta_attribs production. ExitMeta_attribs(c *Meta_attribsContext) // ExitMeta_attrib is called when exiting the meta_attrib production. ExitMeta_attrib(c *Meta_attribContext) // ExitMeta_literal is called when exiting the meta_literal production. ExitMeta_literal(c *Meta_literalContext) // ExitImport_stmt is called when exiting the import_stmt production. ExitImport_stmt(c *Import_stmtContext) // ExitStmts is called when exiting the stmts production. ExitStmts(c *StmtsContext) // ExitStmt_list is called when exiting the stmt_list production. ExitStmt_list(c *Stmt_listContext) // ExitStmt_assignment is called when exiting the stmt_assignment production. ExitStmt_assignment(c *Stmt_assignmentContext) // ExitStmt_op_assign is called when exiting the stmt_op_assign production. ExitStmt_op_assign(c *Stmt_op_assignContext) // ExitStmt_var_dec is called when exiting the stmt_var_dec production. ExitStmt_var_dec(c *Stmt_var_decContext) // ExitStmt_for is called when exiting the stmt_for production. ExitStmt_for(c *Stmt_forContext) // ExitStmt_while is called when exiting the stmt_while production. ExitStmt_while(c *Stmt_whileContext) // ExitStmt_if is called when exiting the stmt_if production. ExitStmt_if(c *Stmt_ifContext) // ExitStmt_func is called when exiting the stmt_func production. ExitStmt_func(c *Stmt_funcContext) // ExitStmt_return is called when exiting the stmt_return production. ExitStmt_return(c *Stmt_returnContext) // ExitStmt_expr is called when exiting the stmt_expr production. ExitStmt_expr(c *Stmt_exprContext) // ExitStmt_try_catch is called when exiting the stmt_try_catch production. ExitStmt_try_catch(c *Stmt_try_catchContext) // ExitStmt_throw is called when exiting the stmt_throw production. ExitStmt_throw(c *Stmt_throwContext) // ExitStmt_defer is called when exiting the stmt_defer production. ExitStmt_defer(c *Stmt_deferContext) // ExitStmt_yield is called when exiting the stmt_yield production. ExitStmt_yield(c *Stmt_yieldContext) // ExitStmt_break is called when exiting the stmt_break production. ExitStmt_break(c *Stmt_breakContext) // ExitStmt_continue is called when exiting the stmt_continue production. ExitStmt_continue(c *Stmt_continueContext) // ExitStmt_inc_dec is called when exiting the stmt_inc_dec production. ExitStmt_inc_dec(c *Stmt_inc_decContext) // ExitAssignment_stmt is called when exiting the assignment_stmt production. ExitAssignment_stmt(c *Assignment_stmtContext) // ExitAssignment_lvalues is called when exiting the assignment_lvalues production. ExitAssignment_lvalues(c *Assignment_lvaluesContext) // ExitRvalues is called when exiting the rvalues production. ExitRvalues(c *RvaluesContext) // ExitAssignment_op_stmt is called when exiting the assignment_op_stmt production. ExitAssignment_op_stmt(c *Assignment_op_stmtContext) // ExitVar_decl_stmt is called when exiting the var_decl_stmt production. ExitVar_decl_stmt(c *Var_decl_stmtContext) // ExitVar_decl_vars is called when exiting the var_decl_vars production. ExitVar_decl_vars(c *Var_decl_varsContext) // ExitFor_stmt is called when exiting the for_stmt production. ExitFor_stmt(c *For_stmtContext) // ExitFor_vars is called when exiting the for_vars production. ExitFor_vars(c *For_varsContext) // ExitWhile_stmt is called when exiting the while_stmt production. ExitWhile_stmt(c *While_stmtContext) // ExitIf_stmt is called when exiting the if_stmt production. ExitIf_stmt(c *If_stmtContext) // ExitIf_elif is called when exiting the if_elif production. ExitIf_elif(c *If_elifContext) // ExitIf_else is called when exiting the if_else production. ExitIf_else(c *If_elseContext) // ExitFunc_stmt is called when exiting the func_stmt production. ExitFunc_stmt(c *Func_stmtContext) // ExitParam_list is called when exiting the param_list production. ExitParam_list(c *Param_listContext) // ExitReturn_stmt is called when exiting the return_stmt production. ExitReturn_stmt(c *Return_stmtContext) // ExitTry_catch_stmt is called when exiting the try_catch_stmt production. ExitTry_catch_stmt(c *Try_catch_stmtContext) // ExitThrow_stmt is called when exiting the throw_stmt production. ExitThrow_stmt(c *Throw_stmtContext) // ExitDefer_stmt is called when exiting the defer_stmt production. ExitDefer_stmt(c *Defer_stmtContext) // ExitYield_stmt is called when exiting the yield_stmt production. ExitYield_stmt(c *Yield_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) // ExitInc_dec_stmt is called when exiting the inc_dec_stmt production. ExitInc_dec_stmt(c *Inc_dec_stmtContext) // ExitExpr is called when exiting the expr production. ExitExpr(c *ExprContext) // ExitExpr3 is called when exiting the expr3 production. ExitExpr3(c *Expr3Context) // ExitBinary_expr is called when exiting the binary_expr production. ExitBinary_expr(c *Binary_exprContext) // ExitUnary_expr is called when exiting the unary_expr production. ExitUnary_expr(c *Unary_exprContext) // ExitPrimary_expr_regex is called when exiting the primary_expr_regex production. ExitPrimary_expr_regex(c *Primary_expr_regexContext) // ExitPrimary_expr_object is called when exiting the primary_expr_object production. ExitPrimary_expr_object(c *Primary_expr_objectContext) // ExitPrimary_expr_parenthesis is called when exiting the primary_expr_parenthesis production. ExitPrimary_expr_parenthesis(c *Primary_expr_parenthesisContext) // ExitPrimary_expr_simple_ref is called when exiting the primary_expr_simple_ref production. ExitPrimary_expr_simple_ref(c *Primary_expr_simple_refContext) // ExitPrimary_expr_lambda is called when exiting the primary_expr_lambda production. ExitPrimary_expr_lambda(c *Primary_expr_lambdaContext) // ExitPrimary_expr_index is called when exiting the primary_expr_index production. ExitPrimary_expr_index(c *Primary_expr_indexContext) // ExitPrimary_expr_literal is called when exiting the primary_expr_literal production. ExitPrimary_expr_literal(c *Primary_expr_literalContext) // ExitPrimary_expr_member_access is called when exiting the primary_expr_member_access production. ExitPrimary_expr_member_access(c *Primary_expr_member_accessContext) // ExitPrimary_exec_expr is called when exiting the primary_exec_expr production. ExitPrimary_exec_expr(c *Primary_exec_exprContext) // ExitPrimary_expr_array is called when exiting the primary_expr_array production. ExitPrimary_expr_array(c *Primary_expr_arrayContext) // ExitPrimary_expr_call is called when exiting the primary_expr_call production. ExitPrimary_expr_call(c *Primary_expr_callContext) // ExitPrimary_expr_slice is called when exiting the primary_expr_slice production. ExitPrimary_expr_slice(c *Primary_expr_sliceContext) // ExitSimple_literal is called when exiting the simple_literal production. ExitSimple_literal(c *Simple_literalContext) // ExitArg_list is called when exiting the arg_list production. ExitArg_list(c *Arg_listContext) // ExitLvalue_expr_simple_ref is called when exiting the lvalue_expr_simple_ref production. ExitLvalue_expr_simple_ref(c *Lvalue_expr_simple_refContext) // ExitLvalue_expr_member_access is called when exiting the lvalue_expr_member_access production. ExitLvalue_expr_member_access(c *Lvalue_expr_member_accessContext) // ExitLvalue_expr_index is called when exiting the lvalue_expr_index production. ExitLvalue_expr_index(c *Lvalue_expr_indexContext) // ExitLambda_expr is called when exiting the lambda_expr production. ExitLambda_expr(c *Lambda_exprContext) // ExitShort_lambda_expr is called when exiting the short_lambda_expr production. ExitShort_lambda_expr(c *Short_lambda_exprContext) // ExitExec_expr is called when exiting the exec_expr production. ExitExec_expr(c *Exec_exprContext) // ExitExec_expr_arg is called when exiting the exec_expr_arg production. ExitExec_expr_arg(c *Exec_expr_argContext) // ExitObject_literal is called when exiting the object_literal production. ExitObject_literal(c *Object_literalContext) // ExitObject_fields is called when exiting the object_fields production. ExitObject_fields(c *Object_fieldsContext) // ExitObject_field_id_key is called when exiting the object_field_id_key production. ExitObject_field_id_key(c *Object_field_id_keyContext) // ExitObject_field_expr_key is called when exiting the object_field_expr_key production. ExitObject_field_expr_key(c *Object_field_expr_keyContext) // ExitObject_field_expansion is called when exiting the object_field_expansion production. ExitObject_field_expansion(c *Object_field_expansionContext) // ExitArray_literal is called when exiting the array_literal production. ExitArray_literal(c *Array_literalContext) // ExitArray_elems is called when exiting the array_elems production. ExitArray_elems(c *Array_elemsContext) // ExitArray_elem is called when exiting the array_elem production. ExitArray_elem(c *Array_elemContext) // ExitId_or_keyword is called when exiting the id_or_keyword production. ExitId_or_keyword(c *Id_or_keywordContext) }
NitroParserListener is a complete listener for a parse tree produced by NitroParser.
type Object_fieldContext ¶
type Object_fieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyObject_fieldContext ¶
func NewEmptyObject_fieldContext() *Object_fieldContext
func NewObject_fieldContext ¶
func NewObject_fieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Object_fieldContext
func (*Object_fieldContext) CopyFrom ¶
func (s *Object_fieldContext) CopyFrom(ctx *Object_fieldContext)
func (*Object_fieldContext) GetParser ¶
func (s *Object_fieldContext) GetParser() antlr.Parser
func (*Object_fieldContext) GetRuleContext ¶
func (s *Object_fieldContext) GetRuleContext() antlr.RuleContext
func (*Object_fieldContext) IsObject_fieldContext ¶
func (*Object_fieldContext) IsObject_fieldContext()
func (*Object_fieldContext) ToStringTree ¶
func (s *Object_fieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Object_field_expansionContext ¶
type Object_field_expansionContext struct {
*Object_fieldContext
}
func NewObject_field_expansionContext ¶
func NewObject_field_expansionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Object_field_expansionContext
func (*Object_field_expansionContext) EXPAND ¶
func (s *Object_field_expansionContext) EXPAND() antlr.TerminalNode
func (*Object_field_expansionContext) EnterRule ¶
func (s *Object_field_expansionContext) EnterRule(listener antlr.ParseTreeListener)
func (*Object_field_expansionContext) ExitRule ¶
func (s *Object_field_expansionContext) ExitRule(listener antlr.ParseTreeListener)
func (*Object_field_expansionContext) GetRuleContext ¶
func (s *Object_field_expansionContext) GetRuleContext() antlr.RuleContext
func (*Object_field_expansionContext) Primary_expr ¶
func (s *Object_field_expansionContext) Primary_expr() IPrimary_exprContext
type Object_field_expr_keyContext ¶
type Object_field_expr_keyContext struct {
*Object_fieldContext
}
func NewObject_field_expr_keyContext ¶
func NewObject_field_expr_keyContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Object_field_expr_keyContext
func (*Object_field_expr_keyContext) AllExpr ¶
func (s *Object_field_expr_keyContext) AllExpr() []IExprContext
func (*Object_field_expr_keyContext) CBRACKET ¶
func (s *Object_field_expr_keyContext) CBRACKET() antlr.TerminalNode
func (*Object_field_expr_keyContext) COLON ¶
func (s *Object_field_expr_keyContext) COLON() antlr.TerminalNode
func (*Object_field_expr_keyContext) EnterRule ¶
func (s *Object_field_expr_keyContext) EnterRule(listener antlr.ParseTreeListener)
func (*Object_field_expr_keyContext) ExitRule ¶
func (s *Object_field_expr_keyContext) ExitRule(listener antlr.ParseTreeListener)
func (*Object_field_expr_keyContext) Expr ¶
func (s *Object_field_expr_keyContext) Expr(i int) IExprContext
func (*Object_field_expr_keyContext) GetRuleContext ¶
func (s *Object_field_expr_keyContext) GetRuleContext() antlr.RuleContext
func (*Object_field_expr_keyContext) OBRACKET ¶
func (s *Object_field_expr_keyContext) OBRACKET() antlr.TerminalNode
type Object_field_id_keyContext ¶
type Object_field_id_keyContext struct {
*Object_fieldContext
}
func NewObject_field_id_keyContext ¶
func NewObject_field_id_keyContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Object_field_id_keyContext
func (*Object_field_id_keyContext) COLON ¶
func (s *Object_field_id_keyContext) COLON() antlr.TerminalNode
func (*Object_field_id_keyContext) EnterRule ¶
func (s *Object_field_id_keyContext) EnterRule(listener antlr.ParseTreeListener)
func (*Object_field_id_keyContext) ExitRule ¶
func (s *Object_field_id_keyContext) ExitRule(listener antlr.ParseTreeListener)
func (*Object_field_id_keyContext) Expr ¶
func (s *Object_field_id_keyContext) Expr() IExprContext
func (*Object_field_id_keyContext) GetRuleContext ¶
func (s *Object_field_id_keyContext) GetRuleContext() antlr.RuleContext
func (*Object_field_id_keyContext) Id_or_keyword ¶
func (s *Object_field_id_keyContext) Id_or_keyword() IId_or_keywordContext
type Object_fieldsContext ¶
type Object_fieldsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyObject_fieldsContext ¶
func NewEmptyObject_fieldsContext() *Object_fieldsContext
func NewObject_fieldsContext ¶
func NewObject_fieldsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Object_fieldsContext
func (*Object_fieldsContext) AllCOMMA ¶
func (s *Object_fieldsContext) AllCOMMA() []antlr.TerminalNode
func (*Object_fieldsContext) AllObject_field ¶
func (s *Object_fieldsContext) AllObject_field() []IObject_fieldContext
func (*Object_fieldsContext) AllSEMICOLON ¶
func (s *Object_fieldsContext) AllSEMICOLON() []antlr.TerminalNode
func (*Object_fieldsContext) COMMA ¶
func (s *Object_fieldsContext) COMMA(i int) antlr.TerminalNode
func (*Object_fieldsContext) EnterRule ¶
func (s *Object_fieldsContext) EnterRule(listener antlr.ParseTreeListener)
func (*Object_fieldsContext) ExitRule ¶
func (s *Object_fieldsContext) ExitRule(listener antlr.ParseTreeListener)
func (*Object_fieldsContext) GetParser ¶
func (s *Object_fieldsContext) GetParser() antlr.Parser
func (*Object_fieldsContext) GetRuleContext ¶
func (s *Object_fieldsContext) GetRuleContext() antlr.RuleContext
func (*Object_fieldsContext) IsObject_fieldsContext ¶
func (*Object_fieldsContext) IsObject_fieldsContext()
func (*Object_fieldsContext) Object_field ¶
func (s *Object_fieldsContext) Object_field(i int) IObject_fieldContext
func (*Object_fieldsContext) SEMICOLON ¶
func (s *Object_fieldsContext) SEMICOLON(i int) antlr.TerminalNode
func (*Object_fieldsContext) ToStringTree ¶
func (s *Object_fieldsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Object_literalContext ¶
type Object_literalContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyObject_literalContext ¶
func NewEmptyObject_literalContext() *Object_literalContext
func NewObject_literalContext ¶
func NewObject_literalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Object_literalContext
func (*Object_literalContext) CCURLY ¶
func (s *Object_literalContext) CCURLY() antlr.TerminalNode
func (*Object_literalContext) EnterRule ¶
func (s *Object_literalContext) EnterRule(listener antlr.ParseTreeListener)
func (*Object_literalContext) ExitRule ¶
func (s *Object_literalContext) ExitRule(listener antlr.ParseTreeListener)
func (*Object_literalContext) GetParser ¶
func (s *Object_literalContext) GetParser() antlr.Parser
func (*Object_literalContext) GetRuleContext ¶
func (s *Object_literalContext) GetRuleContext() antlr.RuleContext
func (*Object_literalContext) IsObject_literalContext ¶
func (*Object_literalContext) IsObject_literalContext()
func (*Object_literalContext) OCURLY ¶
func (s *Object_literalContext) OCURLY() antlr.TerminalNode
func (*Object_literalContext) Object_fields ¶
func (s *Object_literalContext) Object_fields() IObject_fieldsContext
func (*Object_literalContext) ToStringTree ¶
func (s *Object_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Param_listContext ¶
type Param_listContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParam_listContext ¶
func NewEmptyParam_listContext() *Param_listContext
func NewParam_listContext ¶
func NewParam_listContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Param_listContext
func (*Param_listContext) AllCOMMA ¶
func (s *Param_listContext) AllCOMMA() []antlr.TerminalNode
func (*Param_listContext) AllID ¶
func (s *Param_listContext) AllID() []antlr.TerminalNode
func (*Param_listContext) COMMA ¶
func (s *Param_listContext) COMMA(i int) antlr.TerminalNode
func (*Param_listContext) EnterRule ¶
func (s *Param_listContext) EnterRule(listener antlr.ParseTreeListener)
func (*Param_listContext) ExitRule ¶
func (s *Param_listContext) ExitRule(listener antlr.ParseTreeListener)
func (*Param_listContext) GetParser ¶
func (s *Param_listContext) GetParser() antlr.Parser
func (*Param_listContext) GetRuleContext ¶
func (s *Param_listContext) GetRuleContext() antlr.RuleContext
func (*Param_listContext) ID ¶
func (s *Param_listContext) ID(i int) antlr.TerminalNode
func (*Param_listContext) IsParam_listContext ¶
func (*Param_listContext) IsParam_listContext()
func (*Param_listContext) ToStringTree ¶
func (s *Param_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Primary_exec_exprContext ¶ added in v0.3.0
type Primary_exec_exprContext struct {
*Primary_exprContext
}
func NewPrimary_exec_exprContext ¶ added in v0.3.0
func NewPrimary_exec_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_exec_exprContext
func (*Primary_exec_exprContext) EnterRule ¶ added in v0.3.0
func (s *Primary_exec_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_exec_exprContext) Exec_expr ¶ added in v0.3.0
func (s *Primary_exec_exprContext) Exec_expr() IExec_exprContext
func (*Primary_exec_exprContext) ExitRule ¶ added in v0.3.0
func (s *Primary_exec_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_exec_exprContext) GetRuleContext ¶ added in v0.3.0
func (s *Primary_exec_exprContext) GetRuleContext() antlr.RuleContext
type Primary_exprContext ¶
type Primary_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPrimary_exprContext ¶
func NewEmptyPrimary_exprContext() *Primary_exprContext
func NewPrimary_exprContext ¶
func NewPrimary_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Primary_exprContext
func (*Primary_exprContext) CopyFrom ¶
func (s *Primary_exprContext) CopyFrom(ctx *Primary_exprContext)
func (*Primary_exprContext) GetParser ¶
func (s *Primary_exprContext) GetParser() antlr.Parser
func (*Primary_exprContext) GetRuleContext ¶
func (s *Primary_exprContext) GetRuleContext() antlr.RuleContext
func (*Primary_exprContext) IsPrimary_exprContext ¶
func (*Primary_exprContext) IsPrimary_exprContext()
func (*Primary_exprContext) ToStringTree ¶
func (s *Primary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Primary_expr_arrayContext ¶
type Primary_expr_arrayContext struct {
*Primary_exprContext
}
func NewPrimary_expr_arrayContext ¶
func NewPrimary_expr_arrayContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_arrayContext
func (*Primary_expr_arrayContext) Array_literal ¶
func (s *Primary_expr_arrayContext) Array_literal() IArray_literalContext
func (*Primary_expr_arrayContext) EnterRule ¶
func (s *Primary_expr_arrayContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_arrayContext) ExitRule ¶
func (s *Primary_expr_arrayContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_arrayContext) GetRuleContext ¶
func (s *Primary_expr_arrayContext) GetRuleContext() antlr.RuleContext
type Primary_expr_callContext ¶
type Primary_expr_callContext struct {
*Primary_exprContext
}
func NewPrimary_expr_callContext ¶
func NewPrimary_expr_callContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_callContext
func (*Primary_expr_callContext) Arg_list ¶
func (s *Primary_expr_callContext) Arg_list() IArg_listContext
func (*Primary_expr_callContext) CPAREN ¶
func (s *Primary_expr_callContext) CPAREN() antlr.TerminalNode
func (*Primary_expr_callContext) EXPAND ¶
func (s *Primary_expr_callContext) EXPAND() antlr.TerminalNode
func (*Primary_expr_callContext) EnterRule ¶
func (s *Primary_expr_callContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_callContext) ExitRule ¶
func (s *Primary_expr_callContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_callContext) GetRuleContext ¶
func (s *Primary_expr_callContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_callContext) OPAREN ¶
func (s *Primary_expr_callContext) OPAREN() antlr.TerminalNode
func (*Primary_expr_callContext) Primary_expr ¶
func (s *Primary_expr_callContext) Primary_expr() IPrimary_exprContext
type Primary_expr_indexContext ¶
type Primary_expr_indexContext struct {
*Primary_exprContext
}
func NewPrimary_expr_indexContext ¶
func NewPrimary_expr_indexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_indexContext
func (*Primary_expr_indexContext) CBRACKET ¶
func (s *Primary_expr_indexContext) CBRACKET() antlr.TerminalNode
func (*Primary_expr_indexContext) EnterRule ¶
func (s *Primary_expr_indexContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_indexContext) ExitRule ¶
func (s *Primary_expr_indexContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_indexContext) Expr ¶
func (s *Primary_expr_indexContext) Expr() IExprContext
func (*Primary_expr_indexContext) GetRuleContext ¶
func (s *Primary_expr_indexContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_indexContext) OBRACKET ¶
func (s *Primary_expr_indexContext) OBRACKET() antlr.TerminalNode
func (*Primary_expr_indexContext) Primary_expr ¶
func (s *Primary_expr_indexContext) Primary_expr() IPrimary_exprContext
type Primary_expr_lambdaContext ¶
type Primary_expr_lambdaContext struct {
*Primary_exprContext
}
func NewPrimary_expr_lambdaContext ¶
func NewPrimary_expr_lambdaContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_lambdaContext
func (*Primary_expr_lambdaContext) EnterRule ¶
func (s *Primary_expr_lambdaContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_lambdaContext) ExitRule ¶
func (s *Primary_expr_lambdaContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_lambdaContext) GetRuleContext ¶
func (s *Primary_expr_lambdaContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_lambdaContext) Lambda_expr ¶
func (s *Primary_expr_lambdaContext) Lambda_expr() ILambda_exprContext
type Primary_expr_literalContext ¶
type Primary_expr_literalContext struct {
*Primary_exprContext
}
func NewPrimary_expr_literalContext ¶
func NewPrimary_expr_literalContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_literalContext
func (*Primary_expr_literalContext) EnterRule ¶
func (s *Primary_expr_literalContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_literalContext) ExitRule ¶
func (s *Primary_expr_literalContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_literalContext) GetRuleContext ¶
func (s *Primary_expr_literalContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_literalContext) Simple_literal ¶
func (s *Primary_expr_literalContext) Simple_literal() ISimple_literalContext
type Primary_expr_member_accessContext ¶
type Primary_expr_member_accessContext struct {
*Primary_exprContext
}
func NewPrimary_expr_member_accessContext ¶
func NewPrimary_expr_member_accessContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_member_accessContext
func (*Primary_expr_member_accessContext) EnterRule ¶
func (s *Primary_expr_member_accessContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_member_accessContext) ExitRule ¶
func (s *Primary_expr_member_accessContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_member_accessContext) GetRuleContext ¶
func (s *Primary_expr_member_accessContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_member_accessContext) ID ¶
func (s *Primary_expr_member_accessContext) ID() antlr.TerminalNode
func (*Primary_expr_member_accessContext) PERIOD ¶
func (s *Primary_expr_member_accessContext) PERIOD() antlr.TerminalNode
func (*Primary_expr_member_accessContext) Primary_expr ¶
func (s *Primary_expr_member_accessContext) Primary_expr() IPrimary_exprContext
type Primary_expr_objectContext ¶
type Primary_expr_objectContext struct {
*Primary_exprContext
}
func NewPrimary_expr_objectContext ¶
func NewPrimary_expr_objectContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_objectContext
func (*Primary_expr_objectContext) EnterRule ¶
func (s *Primary_expr_objectContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_objectContext) ExitRule ¶
func (s *Primary_expr_objectContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_objectContext) GetRuleContext ¶
func (s *Primary_expr_objectContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_objectContext) Object_literal ¶
func (s *Primary_expr_objectContext) Object_literal() IObject_literalContext
type Primary_expr_parenthesisContext ¶
type Primary_expr_parenthesisContext struct {
*Primary_exprContext
}
func NewPrimary_expr_parenthesisContext ¶
func NewPrimary_expr_parenthesisContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_parenthesisContext
func (*Primary_expr_parenthesisContext) CPAREN ¶
func (s *Primary_expr_parenthesisContext) CPAREN() antlr.TerminalNode
func (*Primary_expr_parenthesisContext) EnterRule ¶
func (s *Primary_expr_parenthesisContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_parenthesisContext) ExitRule ¶
func (s *Primary_expr_parenthesisContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_parenthesisContext) Expr ¶
func (s *Primary_expr_parenthesisContext) Expr() IExprContext
func (*Primary_expr_parenthesisContext) GetRuleContext ¶
func (s *Primary_expr_parenthesisContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_parenthesisContext) OPAREN ¶
func (s *Primary_expr_parenthesisContext) OPAREN() antlr.TerminalNode
type Primary_expr_regexContext ¶
type Primary_expr_regexContext struct {
*Primary_exprContext
}
func NewPrimary_expr_regexContext ¶
func NewPrimary_expr_regexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_regexContext
func (*Primary_expr_regexContext) EnterRule ¶
func (s *Primary_expr_regexContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_regexContext) ExitRule ¶
func (s *Primary_expr_regexContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_regexContext) GetRuleContext ¶
func (s *Primary_expr_regexContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_regexContext) REGEX ¶
func (s *Primary_expr_regexContext) REGEX() antlr.TerminalNode
type Primary_expr_simple_refContext ¶
type Primary_expr_simple_refContext struct {
*Primary_exprContext
}
func NewPrimary_expr_simple_refContext ¶
func NewPrimary_expr_simple_refContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_simple_refContext
func (*Primary_expr_simple_refContext) EnterRule ¶
func (s *Primary_expr_simple_refContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_simple_refContext) ExitRule ¶
func (s *Primary_expr_simple_refContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_simple_refContext) GetRuleContext ¶
func (s *Primary_expr_simple_refContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_simple_refContext) ID ¶
func (s *Primary_expr_simple_refContext) ID() antlr.TerminalNode
type Primary_expr_sliceContext ¶
type Primary_expr_sliceContext struct { *Primary_exprContext // contains filtered or unexported fields }
func NewPrimary_expr_sliceContext ¶
func NewPrimary_expr_sliceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Primary_expr_sliceContext
func (*Primary_expr_sliceContext) AllExpr ¶
func (s *Primary_expr_sliceContext) AllExpr() []IExprContext
func (*Primary_expr_sliceContext) CBRACKET ¶
func (s *Primary_expr_sliceContext) CBRACKET() antlr.TerminalNode
func (*Primary_expr_sliceContext) COLON ¶
func (s *Primary_expr_sliceContext) COLON() antlr.TerminalNode
func (*Primary_expr_sliceContext) EnterRule ¶
func (s *Primary_expr_sliceContext) EnterRule(listener antlr.ParseTreeListener)
func (*Primary_expr_sliceContext) ExitRule ¶
func (s *Primary_expr_sliceContext) ExitRule(listener antlr.ParseTreeListener)
func (*Primary_expr_sliceContext) Expr ¶
func (s *Primary_expr_sliceContext) Expr(i int) IExprContext
func (*Primary_expr_sliceContext) GetB ¶
func (s *Primary_expr_sliceContext) GetB() IExprContext
func (*Primary_expr_sliceContext) GetE ¶
func (s *Primary_expr_sliceContext) GetE() IExprContext
func (*Primary_expr_sliceContext) GetRuleContext ¶
func (s *Primary_expr_sliceContext) GetRuleContext() antlr.RuleContext
func (*Primary_expr_sliceContext) OBRACKET ¶
func (s *Primary_expr_sliceContext) OBRACKET() antlr.TerminalNode
func (*Primary_expr_sliceContext) Primary_expr ¶
func (s *Primary_expr_sliceContext) Primary_expr() IPrimary_exprContext
func (*Primary_expr_sliceContext) SetB ¶
func (s *Primary_expr_sliceContext) SetB(v IExprContext)
func (*Primary_expr_sliceContext) SetE ¶
func (s *Primary_expr_sliceContext) SetE(v IExprContext)
type PrologueContext ¶ added in v0.3.0
type PrologueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPrologueContext ¶ added in v0.3.0
func NewEmptyPrologueContext() *PrologueContext
func NewPrologueContext ¶ added in v0.3.0
func NewPrologueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrologueContext
func (*PrologueContext) AllImport_stmt ¶ added in v0.3.0
func (s *PrologueContext) AllImport_stmt() []IImport_stmtContext
func (*PrologueContext) AllMeta_directive ¶ added in v0.3.0
func (s *PrologueContext) AllMeta_directive() []IMeta_directiveContext
func (*PrologueContext) EnterRule ¶ added in v0.3.0
func (s *PrologueContext) EnterRule(listener antlr.ParseTreeListener)
func (*PrologueContext) ExitRule ¶ added in v0.3.0
func (s *PrologueContext) ExitRule(listener antlr.ParseTreeListener)
func (*PrologueContext) GetParser ¶ added in v0.3.0
func (s *PrologueContext) GetParser() antlr.Parser
func (*PrologueContext) GetRuleContext ¶ added in v0.3.0
func (s *PrologueContext) GetRuleContext() antlr.RuleContext
func (*PrologueContext) Import_stmt ¶ added in v0.3.0
func (s *PrologueContext) Import_stmt(i int) IImport_stmtContext
func (*PrologueContext) IsPrologueContext ¶ added in v0.3.0
func (*PrologueContext) IsPrologueContext()
func (*PrologueContext) Meta_directive ¶ added in v0.3.0
func (s *PrologueContext) Meta_directive(i int) IMeta_directiveContext
func (*PrologueContext) ToStringTree ¶ added in v0.3.0
func (s *PrologueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Return_stmtContext ¶
type Return_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReturn_stmtContext ¶
func NewEmptyReturn_stmtContext() *Return_stmtContext
func NewReturn_stmtContext ¶
func NewReturn_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Return_stmtContext
func (*Return_stmtContext) EnterRule ¶
func (s *Return_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Return_stmtContext) ExitRule ¶
func (s *Return_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Return_stmtContext) GetParser ¶
func (s *Return_stmtContext) GetParser() antlr.Parser
func (*Return_stmtContext) GetRuleContext ¶
func (s *Return_stmtContext) GetRuleContext() antlr.RuleContext
func (*Return_stmtContext) IsReturn_stmtContext ¶
func (*Return_stmtContext) IsReturn_stmtContext()
func (*Return_stmtContext) RETURN ¶
func (s *Return_stmtContext) RETURN() antlr.TerminalNode
func (*Return_stmtContext) Rvalues ¶
func (s *Return_stmtContext) Rvalues() IRvaluesContext
func (*Return_stmtContext) ToStringTree ¶
func (s *Return_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RvaluesContext ¶
type RvaluesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRvaluesContext ¶
func NewEmptyRvaluesContext() *RvaluesContext
func NewRvaluesContext ¶
func NewRvaluesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RvaluesContext
func (*RvaluesContext) AllCOMMA ¶
func (s *RvaluesContext) AllCOMMA() []antlr.TerminalNode
func (*RvaluesContext) AllExpr ¶
func (s *RvaluesContext) AllExpr() []IExprContext
func (*RvaluesContext) COMMA ¶
func (s *RvaluesContext) COMMA(i int) antlr.TerminalNode
func (*RvaluesContext) EnterRule ¶
func (s *RvaluesContext) EnterRule(listener antlr.ParseTreeListener)
func (*RvaluesContext) ExitRule ¶
func (s *RvaluesContext) ExitRule(listener antlr.ParseTreeListener)
func (*RvaluesContext) Expr ¶
func (s *RvaluesContext) Expr(i int) IExprContext
func (*RvaluesContext) GetParser ¶
func (s *RvaluesContext) GetParser() antlr.Parser
func (*RvaluesContext) GetRuleContext ¶
func (s *RvaluesContext) GetRuleContext() antlr.RuleContext
func (*RvaluesContext) IsRvaluesContext ¶
func (*RvaluesContext) IsRvaluesContext()
func (*RvaluesContext) ToStringTree ¶
func (s *RvaluesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Short_lambda_exprContext ¶
type Short_lambda_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyShort_lambda_exprContext ¶
func NewEmptyShort_lambda_exprContext() *Short_lambda_exprContext
func NewShort_lambda_exprContext ¶
func NewShort_lambda_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Short_lambda_exprContext
func (*Short_lambda_exprContext) ARROW ¶
func (s *Short_lambda_exprContext) ARROW() antlr.TerminalNode
func (*Short_lambda_exprContext) EnterRule ¶
func (s *Short_lambda_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Short_lambda_exprContext) ExitRule ¶
func (s *Short_lambda_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Short_lambda_exprContext) Expr3 ¶
func (s *Short_lambda_exprContext) Expr3() IExpr3Context
func (*Short_lambda_exprContext) GetParser ¶
func (s *Short_lambda_exprContext) GetParser() antlr.Parser
func (*Short_lambda_exprContext) GetRuleContext ¶
func (s *Short_lambda_exprContext) GetRuleContext() antlr.RuleContext
func (*Short_lambda_exprContext) IsShort_lambda_exprContext ¶
func (*Short_lambda_exprContext) IsShort_lambda_exprContext()
func (*Short_lambda_exprContext) LAMBDA ¶
func (s *Short_lambda_exprContext) LAMBDA() antlr.TerminalNode
func (*Short_lambda_exprContext) Param_list ¶
func (s *Short_lambda_exprContext) Param_list() IParam_listContext
func (*Short_lambda_exprContext) ToStringTree ¶
func (s *Short_lambda_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Simple_literalContext ¶
type Simple_literalContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimple_literalContext ¶
func NewEmptySimple_literalContext() *Simple_literalContext
func NewSimple_literalContext ¶
func NewSimple_literalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Simple_literalContext
func (*Simple_literalContext) CHAR ¶
func (s *Simple_literalContext) CHAR() antlr.TerminalNode
func (*Simple_literalContext) EnterRule ¶
func (s *Simple_literalContext) EnterRule(listener antlr.ParseTreeListener)
func (*Simple_literalContext) ExitRule ¶
func (s *Simple_literalContext) ExitRule(listener antlr.ParseTreeListener)
func (*Simple_literalContext) FALSE ¶
func (s *Simple_literalContext) FALSE() antlr.TerminalNode
func (*Simple_literalContext) GetParser ¶
func (s *Simple_literalContext) GetParser() antlr.Parser
func (*Simple_literalContext) GetRuleContext ¶
func (s *Simple_literalContext) GetRuleContext() antlr.RuleContext
func (*Simple_literalContext) GetVal ¶
func (s *Simple_literalContext) GetVal() antlr.Token
func (*Simple_literalContext) IsSimple_literalContext ¶
func (*Simple_literalContext) IsSimple_literalContext()
func (*Simple_literalContext) NIL ¶
func (s *Simple_literalContext) NIL() antlr.TerminalNode
func (*Simple_literalContext) NUMBER ¶
func (s *Simple_literalContext) NUMBER() antlr.TerminalNode
func (*Simple_literalContext) STRING ¶
func (s *Simple_literalContext) STRING() antlr.TerminalNode
func (*Simple_literalContext) SetVal ¶
func (s *Simple_literalContext) SetVal(v antlr.Token)
func (*Simple_literalContext) TRUE ¶
func (s *Simple_literalContext) TRUE() antlr.TerminalNode
func (*Simple_literalContext) ToStringTree ¶
func (s *Simple_literalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StartContext ¶
type StartContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStartContext ¶
func NewEmptyStartContext() *StartContext
func NewStartContext ¶
func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext
func (*StartContext) EOF ¶
func (s *StartContext) EOF() antlr.TerminalNode
func (*StartContext) EnterRule ¶
func (s *StartContext) EnterRule(listener antlr.ParseTreeListener)
func (*StartContext) ExitRule ¶
func (s *StartContext) ExitRule(listener antlr.ParseTreeListener)
func (*StartContext) GetParser ¶
func (s *StartContext) GetParser() antlr.Parser
func (*StartContext) GetRuleContext ¶
func (s *StartContext) GetRuleContext() antlr.RuleContext
func (*StartContext) IsStartContext ¶
func (*StartContext) IsStartContext()
func (*StartContext) ToStringTree ¶
func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StartContext) Unit ¶ added in v0.2.0
func (s *StartContext) Unit() IUnitContext
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) CopyFrom ¶
func (s *StmtContext) CopyFrom(ctx *StmtContext)
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) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Stmt_assignmentContext ¶
type Stmt_assignmentContext struct {
*StmtContext
}
func NewStmt_assignmentContext ¶
func NewStmt_assignmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_assignmentContext
func (*Stmt_assignmentContext) Assignment_stmt ¶
func (s *Stmt_assignmentContext) Assignment_stmt() IAssignment_stmtContext
func (*Stmt_assignmentContext) EnterRule ¶
func (s *Stmt_assignmentContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_assignmentContext) ExitRule ¶
func (s *Stmt_assignmentContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_assignmentContext) GetRuleContext ¶
func (s *Stmt_assignmentContext) GetRuleContext() antlr.RuleContext
type Stmt_breakContext ¶
type Stmt_breakContext struct {
*StmtContext
}
func NewStmt_breakContext ¶
func NewStmt_breakContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_breakContext
func (*Stmt_breakContext) Break_stmt ¶
func (s *Stmt_breakContext) Break_stmt() IBreak_stmtContext
func (*Stmt_breakContext) EnterRule ¶
func (s *Stmt_breakContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_breakContext) ExitRule ¶
func (s *Stmt_breakContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_breakContext) GetRuleContext ¶
func (s *Stmt_breakContext) GetRuleContext() antlr.RuleContext
type Stmt_continueContext ¶
type Stmt_continueContext struct {
*StmtContext
}
func NewStmt_continueContext ¶
func NewStmt_continueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_continueContext
func (*Stmt_continueContext) Continue_stmt ¶
func (s *Stmt_continueContext) Continue_stmt() IContinue_stmtContext
func (*Stmt_continueContext) EnterRule ¶
func (s *Stmt_continueContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_continueContext) ExitRule ¶
func (s *Stmt_continueContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_continueContext) GetRuleContext ¶
func (s *Stmt_continueContext) GetRuleContext() antlr.RuleContext
type Stmt_deferContext ¶
type Stmt_deferContext struct {
*StmtContext
}
func NewStmt_deferContext ¶
func NewStmt_deferContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_deferContext
func (*Stmt_deferContext) Defer_stmt ¶
func (s *Stmt_deferContext) Defer_stmt() IDefer_stmtContext
func (*Stmt_deferContext) EnterRule ¶
func (s *Stmt_deferContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_deferContext) ExitRule ¶
func (s *Stmt_deferContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_deferContext) GetRuleContext ¶
func (s *Stmt_deferContext) GetRuleContext() antlr.RuleContext
type Stmt_exprContext ¶
type Stmt_exprContext struct {
*StmtContext
}
func NewStmt_exprContext ¶
func NewStmt_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_exprContext
func (*Stmt_exprContext) EnterRule ¶
func (s *Stmt_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_exprContext) ExitRule ¶
func (s *Stmt_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_exprContext) Expr ¶
func (s *Stmt_exprContext) Expr() IExprContext
func (*Stmt_exprContext) GetRuleContext ¶
func (s *Stmt_exprContext) GetRuleContext() antlr.RuleContext
type Stmt_forContext ¶
type Stmt_forContext struct {
*StmtContext
}
func NewStmt_forContext ¶
func NewStmt_forContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_forContext
func (*Stmt_forContext) EnterRule ¶
func (s *Stmt_forContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_forContext) ExitRule ¶
func (s *Stmt_forContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_forContext) For_stmt ¶
func (s *Stmt_forContext) For_stmt() IFor_stmtContext
func (*Stmt_forContext) GetRuleContext ¶
func (s *Stmt_forContext) GetRuleContext() antlr.RuleContext
type Stmt_funcContext ¶
type Stmt_funcContext struct {
*StmtContext
}
func NewStmt_funcContext ¶
func NewStmt_funcContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_funcContext
func (*Stmt_funcContext) EnterRule ¶
func (s *Stmt_funcContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_funcContext) ExitRule ¶
func (s *Stmt_funcContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_funcContext) Func_stmt ¶
func (s *Stmt_funcContext) Func_stmt() IFunc_stmtContext
func (*Stmt_funcContext) GetRuleContext ¶
func (s *Stmt_funcContext) GetRuleContext() antlr.RuleContext
type Stmt_ifContext ¶
type Stmt_ifContext struct {
*StmtContext
}
func NewStmt_ifContext ¶
func NewStmt_ifContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_ifContext
func (*Stmt_ifContext) EnterRule ¶
func (s *Stmt_ifContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_ifContext) ExitRule ¶
func (s *Stmt_ifContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_ifContext) GetRuleContext ¶
func (s *Stmt_ifContext) GetRuleContext() antlr.RuleContext
func (*Stmt_ifContext) If_stmt ¶
func (s *Stmt_ifContext) If_stmt() IIf_stmtContext
type Stmt_inc_decContext ¶ added in v0.2.0
type Stmt_inc_decContext struct {
*StmtContext
}
func NewStmt_inc_decContext ¶ added in v0.2.0
func NewStmt_inc_decContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_inc_decContext
func (*Stmt_inc_decContext) EnterRule ¶ added in v0.2.0
func (s *Stmt_inc_decContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_inc_decContext) ExitRule ¶ added in v0.2.0
func (s *Stmt_inc_decContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_inc_decContext) GetRuleContext ¶ added in v0.2.0
func (s *Stmt_inc_decContext) GetRuleContext() antlr.RuleContext
func (*Stmt_inc_decContext) Inc_dec_stmt ¶ added in v0.2.0
func (s *Stmt_inc_decContext) Inc_dec_stmt() IInc_dec_stmtContext
type Stmt_listContext ¶
type Stmt_listContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmt_listContext ¶
func NewEmptyStmt_listContext() *Stmt_listContext
func NewStmt_listContext ¶
func NewStmt_listContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Stmt_listContext
func (*Stmt_listContext) AllSEMICOLON ¶
func (s *Stmt_listContext) AllSEMICOLON() []antlr.TerminalNode
func (*Stmt_listContext) AllStmt ¶
func (s *Stmt_listContext) AllStmt() []IStmtContext
func (*Stmt_listContext) EnterRule ¶
func (s *Stmt_listContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_listContext) ExitRule ¶
func (s *Stmt_listContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_listContext) GetParser ¶
func (s *Stmt_listContext) GetParser() antlr.Parser
func (*Stmt_listContext) GetRuleContext ¶
func (s *Stmt_listContext) GetRuleContext() antlr.RuleContext
func (*Stmt_listContext) IsStmt_listContext ¶
func (*Stmt_listContext) IsStmt_listContext()
func (*Stmt_listContext) SEMICOLON ¶
func (s *Stmt_listContext) SEMICOLON(i int) antlr.TerminalNode
func (*Stmt_listContext) Stmt ¶
func (s *Stmt_listContext) Stmt(i int) IStmtContext
func (*Stmt_listContext) ToStringTree ¶
func (s *Stmt_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Stmt_op_assignContext ¶ added in v0.2.0
type Stmt_op_assignContext struct {
*StmtContext
}
func NewStmt_op_assignContext ¶ added in v0.2.0
func NewStmt_op_assignContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_op_assignContext
func (*Stmt_op_assignContext) Assignment_op_stmt ¶ added in v0.2.0
func (s *Stmt_op_assignContext) Assignment_op_stmt() IAssignment_op_stmtContext
func (*Stmt_op_assignContext) EnterRule ¶ added in v0.2.0
func (s *Stmt_op_assignContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_op_assignContext) ExitRule ¶ added in v0.2.0
func (s *Stmt_op_assignContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_op_assignContext) GetRuleContext ¶ added in v0.2.0
func (s *Stmt_op_assignContext) GetRuleContext() antlr.RuleContext
type Stmt_returnContext ¶
type Stmt_returnContext struct {
*StmtContext
}
func NewStmt_returnContext ¶
func NewStmt_returnContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_returnContext
func (*Stmt_returnContext) EnterRule ¶
func (s *Stmt_returnContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_returnContext) ExitRule ¶
func (s *Stmt_returnContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_returnContext) GetRuleContext ¶
func (s *Stmt_returnContext) GetRuleContext() antlr.RuleContext
func (*Stmt_returnContext) Return_stmt ¶
func (s *Stmt_returnContext) Return_stmt() IReturn_stmtContext
type Stmt_throwContext ¶
type Stmt_throwContext struct {
*StmtContext
}
func NewStmt_throwContext ¶
func NewStmt_throwContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_throwContext
func (*Stmt_throwContext) EnterRule ¶
func (s *Stmt_throwContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_throwContext) ExitRule ¶
func (s *Stmt_throwContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_throwContext) GetRuleContext ¶
func (s *Stmt_throwContext) GetRuleContext() antlr.RuleContext
func (*Stmt_throwContext) Throw_stmt ¶
func (s *Stmt_throwContext) Throw_stmt() IThrow_stmtContext
type Stmt_try_catchContext ¶
type Stmt_try_catchContext struct {
*StmtContext
}
func NewStmt_try_catchContext ¶
func NewStmt_try_catchContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_try_catchContext
func (*Stmt_try_catchContext) EnterRule ¶
func (s *Stmt_try_catchContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_try_catchContext) ExitRule ¶
func (s *Stmt_try_catchContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_try_catchContext) GetRuleContext ¶
func (s *Stmt_try_catchContext) GetRuleContext() antlr.RuleContext
func (*Stmt_try_catchContext) Try_catch_stmt ¶
func (s *Stmt_try_catchContext) Try_catch_stmt() ITry_catch_stmtContext
type Stmt_var_decContext ¶
type Stmt_var_decContext struct {
*StmtContext
}
func NewStmt_var_decContext ¶
func NewStmt_var_decContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_var_decContext
func (*Stmt_var_decContext) EnterRule ¶
func (s *Stmt_var_decContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_var_decContext) ExitRule ¶
func (s *Stmt_var_decContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_var_decContext) GetRuleContext ¶
func (s *Stmt_var_decContext) GetRuleContext() antlr.RuleContext
func (*Stmt_var_decContext) Var_decl_stmt ¶
func (s *Stmt_var_decContext) Var_decl_stmt() IVar_decl_stmtContext
type Stmt_whileContext ¶
type Stmt_whileContext struct {
*StmtContext
}
func NewStmt_whileContext ¶
func NewStmt_whileContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_whileContext
func (*Stmt_whileContext) EnterRule ¶
func (s *Stmt_whileContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_whileContext) ExitRule ¶
func (s *Stmt_whileContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_whileContext) GetRuleContext ¶
func (s *Stmt_whileContext) GetRuleContext() antlr.RuleContext
func (*Stmt_whileContext) While_stmt ¶
func (s *Stmt_whileContext) While_stmt() IWhile_stmtContext
type Stmt_yieldContext ¶
type Stmt_yieldContext struct {
*StmtContext
}
func NewStmt_yieldContext ¶
func NewStmt_yieldContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Stmt_yieldContext
func (*Stmt_yieldContext) EnterRule ¶
func (s *Stmt_yieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*Stmt_yieldContext) ExitRule ¶
func (s *Stmt_yieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*Stmt_yieldContext) GetRuleContext ¶
func (s *Stmt_yieldContext) GetRuleContext() antlr.RuleContext
func (*Stmt_yieldContext) Yield_stmt ¶
func (s *Stmt_yieldContext) Yield_stmt() IYield_stmtContext
type StmtsContext ¶
type StmtsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtsContext ¶
func NewEmptyStmtsContext() *StmtsContext
func NewStmtsContext ¶
func NewStmtsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtsContext
func (*StmtsContext) AllSEMICOLON ¶
func (s *StmtsContext) AllSEMICOLON() []antlr.TerminalNode
func (*StmtsContext) EnterRule ¶
func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtsContext) ExitRule ¶
func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtsContext) GetParser ¶
func (s *StmtsContext) GetParser() antlr.Parser
func (*StmtsContext) GetRuleContext ¶
func (s *StmtsContext) GetRuleContext() antlr.RuleContext
func (*StmtsContext) IsStmtsContext ¶
func (*StmtsContext) IsStmtsContext()
func (*StmtsContext) SEMICOLON ¶
func (s *StmtsContext) SEMICOLON(i int) antlr.TerminalNode
func (*StmtsContext) Stmt_list ¶
func (s *StmtsContext) Stmt_list() IStmt_listContext
func (*StmtsContext) ToStringTree ¶
func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Throw_stmtContext ¶
type Throw_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyThrow_stmtContext ¶
func NewEmptyThrow_stmtContext() *Throw_stmtContext
func NewThrow_stmtContext ¶
func NewThrow_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Throw_stmtContext
func (*Throw_stmtContext) EnterRule ¶
func (s *Throw_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Throw_stmtContext) ExitRule ¶
func (s *Throw_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Throw_stmtContext) Expr ¶
func (s *Throw_stmtContext) Expr() IExprContext
func (*Throw_stmtContext) GetParser ¶
func (s *Throw_stmtContext) GetParser() antlr.Parser
func (*Throw_stmtContext) GetRuleContext ¶
func (s *Throw_stmtContext) GetRuleContext() antlr.RuleContext
func (*Throw_stmtContext) IsThrow_stmtContext ¶
func (*Throw_stmtContext) IsThrow_stmtContext()
func (*Throw_stmtContext) THROW ¶
func (s *Throw_stmtContext) THROW() antlr.TerminalNode
func (*Throw_stmtContext) ToStringTree ¶
func (s *Throw_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Try_catch_stmtContext ¶
type Try_catch_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTry_catch_stmtContext ¶
func NewEmptyTry_catch_stmtContext() *Try_catch_stmtContext
func NewTry_catch_stmtContext ¶
func NewTry_catch_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Try_catch_stmtContext
func (*Try_catch_stmtContext) AllCCURLY ¶
func (s *Try_catch_stmtContext) AllCCURLY() []antlr.TerminalNode
func (*Try_catch_stmtContext) AllOCURLY ¶
func (s *Try_catch_stmtContext) AllOCURLY() []antlr.TerminalNode
func (*Try_catch_stmtContext) AllStmts ¶
func (s *Try_catch_stmtContext) AllStmts() []IStmtsContext
func (*Try_catch_stmtContext) CATCH ¶
func (s *Try_catch_stmtContext) CATCH() antlr.TerminalNode
func (*Try_catch_stmtContext) CCURLY ¶
func (s *Try_catch_stmtContext) CCURLY(i int) antlr.TerminalNode
func (*Try_catch_stmtContext) EnterRule ¶
func (s *Try_catch_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Try_catch_stmtContext) ExitRule ¶
func (s *Try_catch_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Try_catch_stmtContext) GetParser ¶
func (s *Try_catch_stmtContext) GetParser() antlr.Parser
func (*Try_catch_stmtContext) GetRuleContext ¶
func (s *Try_catch_stmtContext) GetRuleContext() antlr.RuleContext
func (*Try_catch_stmtContext) ID ¶
func (s *Try_catch_stmtContext) ID() antlr.TerminalNode
func (*Try_catch_stmtContext) IsTry_catch_stmtContext ¶
func (*Try_catch_stmtContext) IsTry_catch_stmtContext()
func (*Try_catch_stmtContext) OCURLY ¶
func (s *Try_catch_stmtContext) OCURLY(i int) antlr.TerminalNode
func (*Try_catch_stmtContext) Stmts ¶
func (s *Try_catch_stmtContext) Stmts(i int) IStmtsContext
func (*Try_catch_stmtContext) TRY ¶
func (s *Try_catch_stmtContext) TRY() antlr.TerminalNode
func (*Try_catch_stmtContext) ToStringTree ¶
func (s *Try_catch_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Unary_exprContext ¶
type Unary_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnary_exprContext ¶
func NewEmptyUnary_exprContext() *Unary_exprContext
func NewUnary_exprContext ¶
func NewUnary_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Unary_exprContext
func (*Unary_exprContext) ADD ¶
func (s *Unary_exprContext) ADD() antlr.TerminalNode
func (*Unary_exprContext) EnterRule ¶
func (s *Unary_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Unary_exprContext) ExitRule ¶
func (s *Unary_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Unary_exprContext) GetOp ¶
func (s *Unary_exprContext) GetOp() antlr.Token
func (*Unary_exprContext) GetParser ¶
func (s *Unary_exprContext) GetParser() antlr.Parser
func (*Unary_exprContext) GetRuleContext ¶
func (s *Unary_exprContext) GetRuleContext() antlr.RuleContext
func (*Unary_exprContext) IsUnary_exprContext ¶
func (*Unary_exprContext) IsUnary_exprContext()
func (*Unary_exprContext) NOT ¶
func (s *Unary_exprContext) NOT() antlr.TerminalNode
func (*Unary_exprContext) Primary_expr ¶
func (s *Unary_exprContext) Primary_expr() IPrimary_exprContext
func (*Unary_exprContext) SUB ¶
func (s *Unary_exprContext) SUB() antlr.TerminalNode
func (*Unary_exprContext) SetOp ¶
func (s *Unary_exprContext) SetOp(v antlr.Token)
func (*Unary_exprContext) ToStringTree ¶
func (s *Unary_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UnitContext ¶ added in v0.2.0
type UnitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnitContext ¶ added in v0.2.0
func NewEmptyUnitContext() *UnitContext
func NewUnitContext ¶ added in v0.2.0
func NewUnitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnitContext
func (*UnitContext) EnterRule ¶ added in v0.2.0
func (s *UnitContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnitContext) ExitRule ¶ added in v0.2.0
func (s *UnitContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnitContext) GetParser ¶ added in v0.2.0
func (s *UnitContext) GetParser() antlr.Parser
func (*UnitContext) GetRuleContext ¶ added in v0.2.0
func (s *UnitContext) GetRuleContext() antlr.RuleContext
func (*UnitContext) IsUnitContext ¶ added in v0.2.0
func (*UnitContext) IsUnitContext()
func (*UnitContext) Prologue ¶ added in v0.3.0
func (s *UnitContext) Prologue() IPrologueContext
func (*UnitContext) Stmts ¶ added in v0.2.0
func (s *UnitContext) Stmts() IStmtsContext
func (*UnitContext) ToStringTree ¶ added in v0.2.0
func (s *UnitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Var_decl_stmtContext ¶
type Var_decl_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVar_decl_stmtContext ¶
func NewEmptyVar_decl_stmtContext() *Var_decl_stmtContext
func NewVar_decl_stmtContext ¶
func NewVar_decl_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Var_decl_stmtContext
func (*Var_decl_stmtContext) ASSIGN ¶
func (s *Var_decl_stmtContext) ASSIGN() antlr.TerminalNode
func (*Var_decl_stmtContext) EnterRule ¶
func (s *Var_decl_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Var_decl_stmtContext) ExitRule ¶
func (s *Var_decl_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Var_decl_stmtContext) GetParser ¶
func (s *Var_decl_stmtContext) GetParser() antlr.Parser
func (*Var_decl_stmtContext) GetRuleContext ¶
func (s *Var_decl_stmtContext) GetRuleContext() antlr.RuleContext
func (*Var_decl_stmtContext) IsVar_decl_stmtContext ¶
func (*Var_decl_stmtContext) IsVar_decl_stmtContext()
func (*Var_decl_stmtContext) Rvalues ¶
func (s *Var_decl_stmtContext) Rvalues() IRvaluesContext
func (*Var_decl_stmtContext) ToStringTree ¶
func (s *Var_decl_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Var_decl_stmtContext) VAR ¶
func (s *Var_decl_stmtContext) VAR() antlr.TerminalNode
func (*Var_decl_stmtContext) Var_decl_vars ¶
func (s *Var_decl_stmtContext) Var_decl_vars() IVar_decl_varsContext
type Var_decl_varsContext ¶
type Var_decl_varsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVar_decl_varsContext ¶
func NewEmptyVar_decl_varsContext() *Var_decl_varsContext
func NewVar_decl_varsContext ¶
func NewVar_decl_varsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Var_decl_varsContext
func (*Var_decl_varsContext) AllCOMMA ¶
func (s *Var_decl_varsContext) AllCOMMA() []antlr.TerminalNode
func (*Var_decl_varsContext) AllID ¶
func (s *Var_decl_varsContext) AllID() []antlr.TerminalNode
func (*Var_decl_varsContext) COMMA ¶
func (s *Var_decl_varsContext) COMMA(i int) antlr.TerminalNode
func (*Var_decl_varsContext) EnterRule ¶
func (s *Var_decl_varsContext) EnterRule(listener antlr.ParseTreeListener)
func (*Var_decl_varsContext) ExitRule ¶
func (s *Var_decl_varsContext) ExitRule(listener antlr.ParseTreeListener)
func (*Var_decl_varsContext) GetParser ¶
func (s *Var_decl_varsContext) GetParser() antlr.Parser
func (*Var_decl_varsContext) GetRuleContext ¶
func (s *Var_decl_varsContext) GetRuleContext() antlr.RuleContext
func (*Var_decl_varsContext) ID ¶
func (s *Var_decl_varsContext) ID(i int) antlr.TerminalNode
func (*Var_decl_varsContext) IsVar_decl_varsContext ¶
func (*Var_decl_varsContext) IsVar_decl_varsContext()
func (*Var_decl_varsContext) ToStringTree ¶
func (s *Var_decl_varsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type While_stmtContext ¶
type While_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWhile_stmtContext ¶
func NewEmptyWhile_stmtContext() *While_stmtContext
func NewWhile_stmtContext ¶
func NewWhile_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *While_stmtContext
func (*While_stmtContext) CCURLY ¶
func (s *While_stmtContext) CCURLY() antlr.TerminalNode
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) Expr ¶
func (s *While_stmtContext) Expr() IExprContext
func (*While_stmtContext) GetParser ¶
func (s *While_stmtContext) GetParser() antlr.Parser
func (*While_stmtContext) GetRuleContext ¶
func (s *While_stmtContext) GetRuleContext() antlr.RuleContext
func (*While_stmtContext) IsWhile_stmtContext ¶
func (*While_stmtContext) IsWhile_stmtContext()
func (*While_stmtContext) OCURLY ¶
func (s *While_stmtContext) OCURLY() antlr.TerminalNode
func (*While_stmtContext) Stmts ¶
func (s *While_stmtContext) Stmts() IStmtsContext
func (*While_stmtContext) ToStringTree ¶
func (s *While_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*While_stmtContext) WHILE ¶
func (s *While_stmtContext) WHILE() antlr.TerminalNode
type Yield_stmtContext ¶
type Yield_stmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyYield_stmtContext ¶
func NewEmptyYield_stmtContext() *Yield_stmtContext
func NewYield_stmtContext ¶
func NewYield_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Yield_stmtContext
func (*Yield_stmtContext) EnterRule ¶
func (s *Yield_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Yield_stmtContext) ExitRule ¶
func (s *Yield_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Yield_stmtContext) GetParser ¶
func (s *Yield_stmtContext) GetParser() antlr.Parser
func (*Yield_stmtContext) GetRuleContext ¶
func (s *Yield_stmtContext) GetRuleContext() antlr.RuleContext
func (*Yield_stmtContext) IsYield_stmtContext ¶
func (*Yield_stmtContext) IsYield_stmtContext()
func (*Yield_stmtContext) Rvalues ¶
func (s *Yield_stmtContext) Rvalues() IRvaluesContext
func (*Yield_stmtContext) ToStringTree ¶
func (s *Yield_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Yield_stmtContext) YIELD ¶
func (s *Yield_stmtContext) YIELD() antlr.TerminalNode