Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyCall_treeContext(p *Call_treeContext)
- func InitEmptyCode_blockContext(p *Code_blockContext)
- func InitEmptyElse_statementContext(p *Else_statementContext)
- func InitEmptyElseif_statementContext(p *Elseif_statementContext)
- func InitEmptyEnum_curlyContext(p *Enum_curlyContext)
- func InitEmptyExprContext(p *ExprContext)
- func InitEmptyFn_callContext(p *Fn_callContext)
- func InitEmptyFunc_defContext(p *Func_defContext)
- func InitEmptyGo_callContext(p *Go_callContext)
- func InitEmptyGo_importContext(p *Go_importContext)
- func InitEmptyIf_exprContext(p *If_exprContext)
- func InitEmptyIf_statementContext(p *If_statementContext)
- func InitEmptyIf_treeContext(p *If_treeContext)
- func InitEmptyImport_statementContext(p *Import_statementContext)
- func InitEmptyMapContext(p *MapContext)
- func InitEmptyNamespaceContext(p *NamespaceContext)
- func InitEmptyRound_callContext(p *Round_callContext)
- func InitEmptyRound_defContext(p *Round_defContext)
- func InitEmptyStruct_defContext(p *Struct_defContext)
- func InitEmptyTopContext(p *TopContext)
- func InitEmptyUse_statementContext(p *Use_statementContext)
- func InitEmptyVar_defContext(p *Var_defContext)
- func InitEmptyVar_def_setContext(p *Var_def_setContext)
- func WystLexerInit()
- func WystParserInit()
- type BaseWystListener
- func (s *BaseWystListener) EnterCall_tree(ctx *Call_treeContext)
- func (s *BaseWystListener) EnterCode_block(ctx *Code_blockContext)
- func (s *BaseWystListener) EnterElse_statement(ctx *Else_statementContext)
- func (s *BaseWystListener) EnterElseif_statement(ctx *Elseif_statementContext)
- func (s *BaseWystListener) EnterEnum_curly(ctx *Enum_curlyContext)
- func (s *BaseWystListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseWystListener) EnterExpr(ctx *ExprContext)
- func (s *BaseWystListener) EnterFn_call(ctx *Fn_callContext)
- func (s *BaseWystListener) EnterFunc_def(ctx *Func_defContext)
- func (s *BaseWystListener) EnterGo_call(ctx *Go_callContext)
- func (s *BaseWystListener) EnterGo_import(ctx *Go_importContext)
- func (s *BaseWystListener) EnterIf_expr(ctx *If_exprContext)
- func (s *BaseWystListener) EnterIf_statement(ctx *If_statementContext)
- func (s *BaseWystListener) EnterIf_tree(ctx *If_treeContext)
- func (s *BaseWystListener) EnterImport_statement(ctx *Import_statementContext)
- func (s *BaseWystListener) EnterMap(ctx *MapContext)
- func (s *BaseWystListener) EnterNamespace(ctx *NamespaceContext)
- func (s *BaseWystListener) EnterRound_call(ctx *Round_callContext)
- func (s *BaseWystListener) EnterRound_def(ctx *Round_defContext)
- func (s *BaseWystListener) EnterStruct_def(ctx *Struct_defContext)
- func (s *BaseWystListener) EnterTop(ctx *TopContext)
- func (s *BaseWystListener) EnterUse_statement(ctx *Use_statementContext)
- func (s *BaseWystListener) EnterVar_def(ctx *Var_defContext)
- func (s *BaseWystListener) EnterVar_def_set(ctx *Var_def_setContext)
- func (s *BaseWystListener) ExitCall_tree(ctx *Call_treeContext)
- func (s *BaseWystListener) ExitCode_block(ctx *Code_blockContext)
- func (s *BaseWystListener) ExitElse_statement(ctx *Else_statementContext)
- func (s *BaseWystListener) ExitElseif_statement(ctx *Elseif_statementContext)
- func (s *BaseWystListener) ExitEnum_curly(ctx *Enum_curlyContext)
- func (s *BaseWystListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseWystListener) ExitExpr(ctx *ExprContext)
- func (s *BaseWystListener) ExitFn_call(ctx *Fn_callContext)
- func (s *BaseWystListener) ExitFunc_def(ctx *Func_defContext)
- func (s *BaseWystListener) ExitGo_call(ctx *Go_callContext)
- func (s *BaseWystListener) ExitGo_import(ctx *Go_importContext)
- func (s *BaseWystListener) ExitIf_expr(ctx *If_exprContext)
- func (s *BaseWystListener) ExitIf_statement(ctx *If_statementContext)
- func (s *BaseWystListener) ExitIf_tree(ctx *If_treeContext)
- func (s *BaseWystListener) ExitImport_statement(ctx *Import_statementContext)
- func (s *BaseWystListener) ExitMap(ctx *MapContext)
- func (s *BaseWystListener) ExitNamespace(ctx *NamespaceContext)
- func (s *BaseWystListener) ExitRound_call(ctx *Round_callContext)
- func (s *BaseWystListener) ExitRound_def(ctx *Round_defContext)
- func (s *BaseWystListener) ExitStruct_def(ctx *Struct_defContext)
- func (s *BaseWystListener) ExitTop(ctx *TopContext)
- func (s *BaseWystListener) ExitUse_statement(ctx *Use_statementContext)
- func (s *BaseWystListener) ExitVar_def(ctx *Var_defContext)
- func (s *BaseWystListener) ExitVar_def_set(ctx *Var_def_setContext)
- func (s *BaseWystListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseWystListener) VisitTerminal(node antlr.TerminalNode)
- type Call_treeContext
- func (s *Call_treeContext) AllFn_call() []IFn_callContext
- func (s *Call_treeContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *Call_treeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Call_treeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Call_treeContext) Fn_call(i int) IFn_callContext
- func (s *Call_treeContext) GetParser() antlr.Parser
- func (s *Call_treeContext) GetRuleContext() antlr.RuleContext
- func (s *Call_treeContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*Call_treeContext) IsCall_treeContext()
- func (s *Call_treeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Code_blockContext
- func (s *Code_blockContext) AllExpr() []IExprContext
- func (s *Code_blockContext) AllIf_tree() []IIf_treeContext
- func (s *Code_blockContext) AllVar_def() []IVar_defContext
- func (s *Code_blockContext) AllVar_def_set() []IVar_def_setContext
- func (s *Code_blockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Code_blockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Code_blockContext) Expr(i int) IExprContext
- func (s *Code_blockContext) GetParser() antlr.Parser
- func (s *Code_blockContext) GetRuleContext() antlr.RuleContext
- func (s *Code_blockContext) If_tree(i int) IIf_treeContext
- func (*Code_blockContext) IsCode_blockContext()
- func (s *Code_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Code_blockContext) Var_def(i int) IVar_defContext
- func (s *Code_blockContext) Var_def_set(i int) IVar_def_setContext
- type Else_statementContext
- func (s *Else_statementContext) AllCode_block() []ICode_blockContext
- func (s *Else_statementContext) Code_block(i int) ICode_blockContext
- func (s *Else_statementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Else_statementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Else_statementContext) GetParser() antlr.Parser
- func (s *Else_statementContext) GetRuleContext() antlr.RuleContext
- func (*Else_statementContext) IsElse_statementContext()
- func (s *Else_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Elseif_statementContext
- func (s *Elseif_statementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Elseif_statementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Elseif_statementContext) GetParser() antlr.Parser
- func (s *Elseif_statementContext) GetRuleContext() antlr.RuleContext
- func (s *Elseif_statementContext) If_statement() IIf_statementContext
- func (*Elseif_statementContext) IsElseif_statementContext()
- func (s *Elseif_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Enum_curlyContext
- func (s *Enum_curlyContext) AllVar_def() []IVar_defContext
- func (s *Enum_curlyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Enum_curlyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Enum_curlyContext) GetParser() antlr.Parser
- func (s *Enum_curlyContext) GetRuleContext() antlr.RuleContext
- func (*Enum_curlyContext) IsEnum_curlyContext()
- func (s *Enum_curlyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Enum_curlyContext) Var_def(i int) IVar_defContext
- type ExprContext
- func (s *ExprContext) AllExpr() []IExprContext
- func (s *ExprContext) AllMATH() []antlr.TerminalNode
- func (s *ExprContext) Call_tree() ICall_treeContext
- func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) Expr(i int) IExprContext
- func (s *ExprContext) GOIDENTIFIER() antlr.TerminalNode
- func (s *ExprContext) GetParser() antlr.Parser
- func (s *ExprContext) GetRuleContext() antlr.RuleContext
- func (s *ExprContext) Go_call() IGo_callContext
- func (s *ExprContext) HEX() antlr.TerminalNode
- func (s *ExprContext) IDENTIFIER() antlr.TerminalNode
- func (*ExprContext) IsExprContext()
- func (s *ExprContext) MATH(i int) antlr.TerminalNode
- func (s *ExprContext) NUMBER() antlr.TerminalNode
- func (s *ExprContext) STRING() antlr.TerminalNode
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Fn_callContext
- func (s *Fn_callContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Fn_callContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Fn_callContext) GetParser() antlr.Parser
- func (s *Fn_callContext) GetRuleContext() antlr.RuleContext
- func (s *Fn_callContext) IDENTIFIER() antlr.TerminalNode
- func (*Fn_callContext) IsFn_callContext()
- func (s *Fn_callContext) Round_call() IRound_callContext
- func (s *Fn_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Func_defContext
- func (s *Func_defContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *Func_defContext) Code_block() ICode_blockContext
- func (s *Func_defContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Func_defContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Func_defContext) GetParser() antlr.Parser
- func (s *Func_defContext) GetRuleContext() antlr.RuleContext
- func (s *Func_defContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*Func_defContext) IsFunc_defContext()
- func (s *Func_defContext) Round_def() IRound_defContext
- func (s *Func_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Go_callContext
- func (s *Go_callContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Go_callContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Go_callContext) GOIDENTIFIER() antlr.TerminalNode
- func (s *Go_callContext) GetParser() antlr.Parser
- func (s *Go_callContext) GetRuleContext() antlr.RuleContext
- func (*Go_callContext) IsGo_callContext()
- func (s *Go_callContext) Round_call() IRound_callContext
- func (s *Go_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Go_importContext
- func (s *Go_importContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Go_importContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Go_importContext) GetParser() antlr.Parser
- func (s *Go_importContext) GetRuleContext() antlr.RuleContext
- func (*Go_importContext) IsGo_importContext()
- func (s *Go_importContext) STRING() antlr.TerminalNode
- func (s *Go_importContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ICall_treeContext
- type ICode_blockContext
- type IElse_statementContext
- type IElseif_statementContext
- type IEnum_curlyContext
- type IExprContext
- type IFn_callContext
- type IFunc_defContext
- type IGo_callContext
- type IGo_importContext
- type IIf_exprContext
- type IIf_statementContext
- type IIf_treeContext
- type IImport_statementContext
- type IMapContext
- type INamespaceContext
- type IRound_callContext
- type IRound_defContext
- type IStruct_defContext
- type ITopContext
- type IUse_statementContext
- type IVar_defContext
- type IVar_def_setContext
- type If_exprContext
- func (s *If_exprContext) AllExpr() []IExprContext
- func (s *If_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_exprContext) Expr(i int) IExprContext
- func (s *If_exprContext) GetParser() antlr.Parser
- func (s *If_exprContext) GetRuleContext() antlr.RuleContext
- func (*If_exprContext) IsIf_exprContext()
- func (s *If_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type If_statementContext
- func (s *If_statementContext) AllCode_block() []ICode_blockContext
- func (s *If_statementContext) Code_block(i int) ICode_blockContext
- func (s *If_statementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_statementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_statementContext) GetParser() antlr.Parser
- func (s *If_statementContext) GetRuleContext() antlr.RuleContext
- func (s *If_statementContext) If_expr() IIf_exprContext
- func (*If_statementContext) IsIf_statementContext()
- func (s *If_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type If_treeContext
- func (s *If_treeContext) AllElseif_statement() []IElseif_statementContext
- func (s *If_treeContext) Else_statement() IElse_statementContext
- func (s *If_treeContext) Elseif_statement(i int) IElseif_statementContext
- func (s *If_treeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_treeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_treeContext) GetParser() antlr.Parser
- func (s *If_treeContext) GetRuleContext() antlr.RuleContext
- func (s *If_treeContext) If_statement() IIf_statementContext
- func (*If_treeContext) IsIf_treeContext()
- func (s *If_treeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Import_statementContext
- func (s *Import_statementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Import_statementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Import_statementContext) GetParser() antlr.Parser
- func (s *Import_statementContext) GetRuleContext() antlr.RuleContext
- func (*Import_statementContext) IsImport_statementContext()
- func (s *Import_statementContext) MODULE_NAME() antlr.TerminalNode
- func (s *Import_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MapContext
- func (s *MapContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *MapContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MapContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MapContext) GetParser() antlr.Parser
- func (s *MapContext) GetRuleContext() antlr.RuleContext
- func (s *MapContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*MapContext) IsMapContext()
- func (s *MapContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NamespaceContext
- func (s *NamespaceContext) AllFunc_def() []IFunc_defContext
- func (s *NamespaceContext) AllVar_def() []IVar_defContext
- func (s *NamespaceContext) AllVar_def_set() []IVar_def_setContext
- func (s *NamespaceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NamespaceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NamespaceContext) Func_def(i int) IFunc_defContext
- func (s *NamespaceContext) GetParser() antlr.Parser
- func (s *NamespaceContext) GetRuleContext() antlr.RuleContext
- func (s *NamespaceContext) IDENTIFIER() antlr.TerminalNode
- func (*NamespaceContext) IsNamespaceContext()
- func (s *NamespaceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *NamespaceContext) Var_def(i int) IVar_defContext
- func (s *NamespaceContext) Var_def_set(i int) IVar_def_setContext
- type Round_callContext
- func (s *Round_callContext) AllExpr() []IExprContext
- func (s *Round_callContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Round_callContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Round_callContext) Expr(i int) IExprContext
- func (s *Round_callContext) GetParser() antlr.Parser
- func (s *Round_callContext) GetRuleContext() antlr.RuleContext
- func (*Round_callContext) IsRound_callContext()
- func (s *Round_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Round_defContext
- func (s *Round_defContext) AllVar_def() []IVar_defContext
- func (s *Round_defContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Round_defContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Round_defContext) GetParser() antlr.Parser
- func (s *Round_defContext) GetRuleContext() antlr.RuleContext
- func (*Round_defContext) IsRound_defContext()
- func (s *Round_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Round_defContext) Var_def(i int) IVar_defContext
- type Struct_defContext
- func (s *Struct_defContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Struct_defContext) Enum_curly() IEnum_curlyContext
- func (s *Struct_defContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Struct_defContext) GetParser() antlr.Parser
- func (s *Struct_defContext) GetRuleContext() antlr.RuleContext
- func (s *Struct_defContext) IDENTIFIER() antlr.TerminalNode
- func (*Struct_defContext) IsStruct_defContext()
- func (s *Struct_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TopContext
- func (s *TopContext) AllFunc_def() []IFunc_defContext
- func (s *TopContext) AllGo_import() []IGo_importContext
- func (s *TopContext) AllImport_statement() []IImport_statementContext
- func (s *TopContext) AllMap_() []IMapContext
- func (s *TopContext) AllNamespace() []INamespaceContext
- func (s *TopContext) AllStruct_def() []IStruct_defContext
- func (s *TopContext) AllUse_statement() []IUse_statementContext
- func (s *TopContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TopContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TopContext) Func_def(i int) IFunc_defContext
- func (s *TopContext) GetParser() antlr.Parser
- func (s *TopContext) GetRuleContext() antlr.RuleContext
- func (s *TopContext) Go_import(i int) IGo_importContext
- func (s *TopContext) Import_statement(i int) IImport_statementContext
- func (*TopContext) IsTopContext()
- func (s *TopContext) Map_(i int) IMapContext
- func (s *TopContext) Namespace(i int) INamespaceContext
- func (s *TopContext) Struct_def(i int) IStruct_defContext
- func (s *TopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TopContext) Use_statement(i int) IUse_statementContext
- type Use_statementContext
- func (s *Use_statementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Use_statementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Use_statementContext) GetParser() antlr.Parser
- func (s *Use_statementContext) GetRuleContext() antlr.RuleContext
- func (s *Use_statementContext) IDENTIFIER() antlr.TerminalNode
- func (*Use_statementContext) IsUse_statementContext()
- func (s *Use_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Var_defContext
- func (s *Var_defContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *Var_defContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Var_defContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Var_defContext) GetParser() antlr.Parser
- func (s *Var_defContext) GetRuleContext() antlr.RuleContext
- func (s *Var_defContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*Var_defContext) IsVar_defContext()
- func (s *Var_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Var_def_setContext
- func (s *Var_def_setContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Var_def_setContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Var_def_setContext) Expr() IExprContext
- func (s *Var_def_setContext) GetParser() antlr.Parser
- func (s *Var_def_setContext) GetRuleContext() antlr.RuleContext
- func (*Var_def_setContext) IsVar_def_setContext()
- func (s *Var_def_setContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Var_def_setContext) Var_def() IVar_defContext
- type WystLexer
- type WystListener
- type WystParser
- func (p *WystParser) Call_tree() (localctx ICall_treeContext)
- func (p *WystParser) Code_block() (localctx ICode_blockContext)
- func (p *WystParser) Else_statement() (localctx IElse_statementContext)
- func (p *WystParser) Elseif_statement() (localctx IElseif_statementContext)
- func (p *WystParser) Enum_curly() (localctx IEnum_curlyContext)
- func (p *WystParser) Expr() (localctx IExprContext)
- func (p *WystParser) Fn_call() (localctx IFn_callContext)
- func (p *WystParser) Func_def() (localctx IFunc_defContext)
- func (p *WystParser) Go_call() (localctx IGo_callContext)
- func (p *WystParser) Go_import() (localctx IGo_importContext)
- func (p *WystParser) If_expr() (localctx IIf_exprContext)
- func (p *WystParser) If_statement() (localctx IIf_statementContext)
- func (p *WystParser) If_tree() (localctx IIf_treeContext)
- func (p *WystParser) Import_statement() (localctx IImport_statementContext)
- func (p *WystParser) Map_() (localctx IMapContext)
- func (p *WystParser) Namespace() (localctx INamespaceContext)
- func (p *WystParser) Round_call() (localctx IRound_callContext)
- func (p *WystParser) Round_def() (localctx IRound_defContext)
- func (p *WystParser) Struct_def() (localctx IStruct_defContext)
- func (p *WystParser) Top() (localctx ITopContext)
- func (p *WystParser) Use_statement() (localctx IUse_statementContext)
- func (p *WystParser) Var_def() (localctx IVar_defContext)
- func (p *WystParser) Var_def_set() (localctx IVar_def_setContext)
Constants ¶
const ( WystLexerT__0 = 1 WystLexerT__1 = 2 WystLexerT__2 = 3 WystLexerT__3 = 4 WystLexerT__4 = 5 WystLexerT__5 = 6 WystLexerT__6 = 7 WystLexerT__7 = 8 WystLexerT__8 = 9 WystLexerT__9 = 10 WystLexerT__10 = 11 WystLexerT__11 = 12 WystLexerT__12 = 13 WystLexerT__13 = 14 WystLexerT__14 = 15 WystLexerT__15 = 16 WystLexerT__16 = 17 WystLexerT__17 = 18 WystLexerCOMMENT = 19 WystLexerMULTILINE_COMMENT = 20 WystLexerWS = 21 WystLexerNUMBER = 22 WystLexerHEX = 23 WystLexerIDENTIFIER = 24 WystLexerGOIDENTIFIER = 25 WystLexerMATH = 26 WystLexerSTRING = 27 WystLexerMODULE_NAME = 28 )
WystLexer tokens.
const ( WystParserEOF = antlr.TokenEOF WystParserT__0 = 1 WystParserT__1 = 2 WystParserT__2 = 3 WystParserT__3 = 4 WystParserT__4 = 5 WystParserT__5 = 6 WystParserT__6 = 7 WystParserT__7 = 8 WystParserT__8 = 9 WystParserT__9 = 10 WystParserT__10 = 11 WystParserT__11 = 12 WystParserT__12 = 13 WystParserT__13 = 14 WystParserT__14 = 15 WystParserT__15 = 16 WystParserT__16 = 17 WystParserT__17 = 18 WystParserCOMMENT = 19 WystParserMULTILINE_COMMENT = 20 WystParserWS = 21 WystParserNUMBER = 22 WystParserHEX = 23 WystParserIDENTIFIER = 24 WystParserGOIDENTIFIER = 25 WystParserMATH = 26 WystParserSTRING = 27 WystParserMODULE_NAME = 28 )
WystParser tokens.
const ( WystParserRULE_round_def = 0 WystParserRULE_enum_curly = 1 WystParserRULE_round_call = 2 WystParserRULE_fn_call = 3 WystParserRULE_func_def = 4 WystParserRULE_var_def = 5 WystParserRULE_var_def_set = 6 WystParserRULE_call_tree = 7 WystParserRULE_struct_def = 8 WystParserRULE_namespace = 9 WystParserRULE_import_statement = 10 WystParserRULE_use_statement = 11 WystParserRULE_go_import = 12 WystParserRULE_map = 13 WystParserRULE_go_call = 14 WystParserRULE_if_expr = 15 WystParserRULE_if_statement = 16 WystParserRULE_elseif_statement = 17 WystParserRULE_else_statement = 18 WystParserRULE_if_tree = 19 WystParserRULE_expr = 20 WystParserRULE_code_block = 21 WystParserRULE_top = 22 )
WystParser rules.
Variables ¶
var WystLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var WystParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyCall_treeContext ¶
func InitEmptyCall_treeContext(p *Call_treeContext)
func InitEmptyCode_blockContext ¶
func InitEmptyCode_blockContext(p *Code_blockContext)
func InitEmptyElse_statementContext ¶
func InitEmptyElse_statementContext(p *Else_statementContext)
func InitEmptyElseif_statementContext ¶
func InitEmptyElseif_statementContext(p *Elseif_statementContext)
func InitEmptyEnum_curlyContext ¶
func InitEmptyEnum_curlyContext(p *Enum_curlyContext)
func InitEmptyExprContext ¶
func InitEmptyExprContext(p *ExprContext)
func InitEmptyFn_callContext ¶
func InitEmptyFn_callContext(p *Fn_callContext)
func InitEmptyFunc_defContext ¶
func InitEmptyFunc_defContext(p *Func_defContext)
func InitEmptyGo_callContext ¶
func InitEmptyGo_callContext(p *Go_callContext)
func InitEmptyGo_importContext ¶
func InitEmptyGo_importContext(p *Go_importContext)
func InitEmptyIf_exprContext ¶
func InitEmptyIf_exprContext(p *If_exprContext)
func InitEmptyIf_statementContext ¶
func InitEmptyIf_statementContext(p *If_statementContext)
func InitEmptyIf_treeContext ¶
func InitEmptyIf_treeContext(p *If_treeContext)
func InitEmptyImport_statementContext ¶
func InitEmptyImport_statementContext(p *Import_statementContext)
func InitEmptyMapContext ¶
func InitEmptyMapContext(p *MapContext)
func InitEmptyNamespaceContext ¶
func InitEmptyNamespaceContext(p *NamespaceContext)
func InitEmptyRound_callContext ¶
func InitEmptyRound_callContext(p *Round_callContext)
func InitEmptyRound_defContext ¶
func InitEmptyRound_defContext(p *Round_defContext)
func InitEmptyStruct_defContext ¶
func InitEmptyStruct_defContext(p *Struct_defContext)
func InitEmptyTopContext ¶
func InitEmptyTopContext(p *TopContext)
func InitEmptyUse_statementContext ¶
func InitEmptyUse_statementContext(p *Use_statementContext)
func InitEmptyVar_defContext ¶
func InitEmptyVar_defContext(p *Var_defContext)
func InitEmptyVar_def_setContext ¶
func InitEmptyVar_def_setContext(p *Var_def_setContext)
func WystLexerInit ¶
func WystLexerInit()
WystLexerInit initializes any static state used to implement WystLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewWystLexer(). You can call this function if you wish to initialize the static state ahead of time.
func WystParserInit ¶
func WystParserInit()
WystParserInit initializes any static state used to implement WystParser. By default the static state used to implement the parser is lazily initialized during the first call to NewWystParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BaseWystListener ¶
type BaseWystListener struct{}
BaseWystListener is a complete listener for a parse tree produced by WystParser.
func (*BaseWystListener) EnterCall_tree ¶
func (s *BaseWystListener) EnterCall_tree(ctx *Call_treeContext)
EnterCall_tree is called when production call_tree is entered.
func (*BaseWystListener) EnterCode_block ¶
func (s *BaseWystListener) EnterCode_block(ctx *Code_blockContext)
EnterCode_block is called when production code_block is entered.
func (*BaseWystListener) EnterElse_statement ¶
func (s *BaseWystListener) EnterElse_statement(ctx *Else_statementContext)
EnterElse_statement is called when production else_statement is entered.
func (*BaseWystListener) EnterElseif_statement ¶
func (s *BaseWystListener) EnterElseif_statement(ctx *Elseif_statementContext)
EnterElseif_statement is called when production elseif_statement is entered.
func (*BaseWystListener) EnterEnum_curly ¶
func (s *BaseWystListener) EnterEnum_curly(ctx *Enum_curlyContext)
EnterEnum_curly is called when production enum_curly is entered.
func (*BaseWystListener) EnterEveryRule ¶
func (s *BaseWystListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseWystListener) EnterExpr ¶
func (s *BaseWystListener) EnterExpr(ctx *ExprContext)
EnterExpr is called when production expr is entered.
func (*BaseWystListener) EnterFn_call ¶
func (s *BaseWystListener) EnterFn_call(ctx *Fn_callContext)
EnterFn_call is called when production fn_call is entered.
func (*BaseWystListener) EnterFunc_def ¶
func (s *BaseWystListener) EnterFunc_def(ctx *Func_defContext)
EnterFunc_def is called when production func_def is entered.
func (*BaseWystListener) EnterGo_call ¶
func (s *BaseWystListener) EnterGo_call(ctx *Go_callContext)
EnterGo_call is called when production go_call is entered.
func (*BaseWystListener) EnterGo_import ¶
func (s *BaseWystListener) EnterGo_import(ctx *Go_importContext)
EnterGo_import is called when production go_import is entered.
func (*BaseWystListener) EnterIf_expr ¶
func (s *BaseWystListener) EnterIf_expr(ctx *If_exprContext)
EnterIf_expr is called when production if_expr is entered.
func (*BaseWystListener) EnterIf_statement ¶
func (s *BaseWystListener) EnterIf_statement(ctx *If_statementContext)
EnterIf_statement is called when production if_statement is entered.
func (*BaseWystListener) EnterIf_tree ¶
func (s *BaseWystListener) EnterIf_tree(ctx *If_treeContext)
EnterIf_tree is called when production if_tree is entered.
func (*BaseWystListener) EnterImport_statement ¶
func (s *BaseWystListener) EnterImport_statement(ctx *Import_statementContext)
EnterImport_statement is called when production import_statement is entered.
func (*BaseWystListener) EnterMap ¶
func (s *BaseWystListener) EnterMap(ctx *MapContext)
EnterMap is called when production map is entered.
func (*BaseWystListener) EnterNamespace ¶
func (s *BaseWystListener) EnterNamespace(ctx *NamespaceContext)
EnterNamespace is called when production namespace is entered.
func (*BaseWystListener) EnterRound_call ¶
func (s *BaseWystListener) EnterRound_call(ctx *Round_callContext)
EnterRound_call is called when production round_call is entered.
func (*BaseWystListener) EnterRound_def ¶
func (s *BaseWystListener) EnterRound_def(ctx *Round_defContext)
EnterRound_def is called when production round_def is entered.
func (*BaseWystListener) EnterStruct_def ¶
func (s *BaseWystListener) EnterStruct_def(ctx *Struct_defContext)
EnterStruct_def is called when production struct_def is entered.
func (*BaseWystListener) EnterTop ¶
func (s *BaseWystListener) EnterTop(ctx *TopContext)
EnterTop is called when production top is entered.
func (*BaseWystListener) EnterUse_statement ¶
func (s *BaseWystListener) EnterUse_statement(ctx *Use_statementContext)
EnterUse_statement is called when production use_statement is entered.
func (*BaseWystListener) EnterVar_def ¶
func (s *BaseWystListener) EnterVar_def(ctx *Var_defContext)
EnterVar_def is called when production var_def is entered.
func (*BaseWystListener) EnterVar_def_set ¶
func (s *BaseWystListener) EnterVar_def_set(ctx *Var_def_setContext)
EnterVar_def_set is called when production var_def_set is entered.
func (*BaseWystListener) ExitCall_tree ¶
func (s *BaseWystListener) ExitCall_tree(ctx *Call_treeContext)
ExitCall_tree is called when production call_tree is exited.
func (*BaseWystListener) ExitCode_block ¶
func (s *BaseWystListener) ExitCode_block(ctx *Code_blockContext)
ExitCode_block is called when production code_block is exited.
func (*BaseWystListener) ExitElse_statement ¶
func (s *BaseWystListener) ExitElse_statement(ctx *Else_statementContext)
ExitElse_statement is called when production else_statement is exited.
func (*BaseWystListener) ExitElseif_statement ¶
func (s *BaseWystListener) ExitElseif_statement(ctx *Elseif_statementContext)
ExitElseif_statement is called when production elseif_statement is exited.
func (*BaseWystListener) ExitEnum_curly ¶
func (s *BaseWystListener) ExitEnum_curly(ctx *Enum_curlyContext)
ExitEnum_curly is called when production enum_curly is exited.
func (*BaseWystListener) ExitEveryRule ¶
func (s *BaseWystListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseWystListener) ExitExpr ¶
func (s *BaseWystListener) ExitExpr(ctx *ExprContext)
ExitExpr is called when production expr is exited.
func (*BaseWystListener) ExitFn_call ¶
func (s *BaseWystListener) ExitFn_call(ctx *Fn_callContext)
ExitFn_call is called when production fn_call is exited.
func (*BaseWystListener) ExitFunc_def ¶
func (s *BaseWystListener) ExitFunc_def(ctx *Func_defContext)
ExitFunc_def is called when production func_def is exited.
func (*BaseWystListener) ExitGo_call ¶
func (s *BaseWystListener) ExitGo_call(ctx *Go_callContext)
ExitGo_call is called when production go_call is exited.
func (*BaseWystListener) ExitGo_import ¶
func (s *BaseWystListener) ExitGo_import(ctx *Go_importContext)
ExitGo_import is called when production go_import is exited.
func (*BaseWystListener) ExitIf_expr ¶
func (s *BaseWystListener) ExitIf_expr(ctx *If_exprContext)
ExitIf_expr is called when production if_expr is exited.
func (*BaseWystListener) ExitIf_statement ¶
func (s *BaseWystListener) ExitIf_statement(ctx *If_statementContext)
ExitIf_statement is called when production if_statement is exited.
func (*BaseWystListener) ExitIf_tree ¶
func (s *BaseWystListener) ExitIf_tree(ctx *If_treeContext)
ExitIf_tree is called when production if_tree is exited.
func (*BaseWystListener) ExitImport_statement ¶
func (s *BaseWystListener) ExitImport_statement(ctx *Import_statementContext)
ExitImport_statement is called when production import_statement is exited.
func (*BaseWystListener) ExitMap ¶
func (s *BaseWystListener) ExitMap(ctx *MapContext)
ExitMap is called when production map is exited.
func (*BaseWystListener) ExitNamespace ¶
func (s *BaseWystListener) ExitNamespace(ctx *NamespaceContext)
ExitNamespace is called when production namespace is exited.
func (*BaseWystListener) ExitRound_call ¶
func (s *BaseWystListener) ExitRound_call(ctx *Round_callContext)
ExitRound_call is called when production round_call is exited.
func (*BaseWystListener) ExitRound_def ¶
func (s *BaseWystListener) ExitRound_def(ctx *Round_defContext)
ExitRound_def is called when production round_def is exited.
func (*BaseWystListener) ExitStruct_def ¶
func (s *BaseWystListener) ExitStruct_def(ctx *Struct_defContext)
ExitStruct_def is called when production struct_def is exited.
func (*BaseWystListener) ExitTop ¶
func (s *BaseWystListener) ExitTop(ctx *TopContext)
ExitTop is called when production top is exited.
func (*BaseWystListener) ExitUse_statement ¶
func (s *BaseWystListener) ExitUse_statement(ctx *Use_statementContext)
ExitUse_statement is called when production use_statement is exited.
func (*BaseWystListener) ExitVar_def ¶
func (s *BaseWystListener) ExitVar_def(ctx *Var_defContext)
ExitVar_def is called when production var_def is exited.
func (*BaseWystListener) ExitVar_def_set ¶
func (s *BaseWystListener) ExitVar_def_set(ctx *Var_def_setContext)
ExitVar_def_set is called when production var_def_set is exited.
func (*BaseWystListener) VisitErrorNode ¶
func (s *BaseWystListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseWystListener) VisitTerminal ¶
func (s *BaseWystListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Call_treeContext ¶
type Call_treeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCall_treeContext ¶
func NewCall_treeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Call_treeContext
func NewEmptyCall_treeContext ¶
func NewEmptyCall_treeContext() *Call_treeContext
func (*Call_treeContext) AllFn_call ¶
func (s *Call_treeContext) AllFn_call() []IFn_callContext
func (*Call_treeContext) AllIDENTIFIER ¶
func (s *Call_treeContext) AllIDENTIFIER() []antlr.TerminalNode
func (*Call_treeContext) EnterRule ¶
func (s *Call_treeContext) EnterRule(listener antlr.ParseTreeListener)
func (*Call_treeContext) ExitRule ¶
func (s *Call_treeContext) ExitRule(listener antlr.ParseTreeListener)
func (*Call_treeContext) Fn_call ¶
func (s *Call_treeContext) Fn_call(i int) IFn_callContext
func (*Call_treeContext) GetParser ¶
func (s *Call_treeContext) GetParser() antlr.Parser
func (*Call_treeContext) GetRuleContext ¶
func (s *Call_treeContext) GetRuleContext() antlr.RuleContext
func (*Call_treeContext) IDENTIFIER ¶
func (s *Call_treeContext) IDENTIFIER(i int) antlr.TerminalNode
func (*Call_treeContext) IsCall_treeContext ¶
func (*Call_treeContext) IsCall_treeContext()
func (*Call_treeContext) ToStringTree ¶
func (s *Call_treeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Code_blockContext ¶
type Code_blockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCode_blockContext ¶
func NewCode_blockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Code_blockContext
func NewEmptyCode_blockContext ¶
func NewEmptyCode_blockContext() *Code_blockContext
func (*Code_blockContext) AllExpr ¶
func (s *Code_blockContext) AllExpr() []IExprContext
func (*Code_blockContext) AllIf_tree ¶
func (s *Code_blockContext) AllIf_tree() []IIf_treeContext
func (*Code_blockContext) AllVar_def ¶
func (s *Code_blockContext) AllVar_def() []IVar_defContext
func (*Code_blockContext) AllVar_def_set ¶
func (s *Code_blockContext) AllVar_def_set() []IVar_def_setContext
func (*Code_blockContext) EnterRule ¶
func (s *Code_blockContext) EnterRule(listener antlr.ParseTreeListener)
func (*Code_blockContext) ExitRule ¶
func (s *Code_blockContext) ExitRule(listener antlr.ParseTreeListener)
func (*Code_blockContext) Expr ¶
func (s *Code_blockContext) Expr(i int) IExprContext
func (*Code_blockContext) GetParser ¶
func (s *Code_blockContext) GetParser() antlr.Parser
func (*Code_blockContext) GetRuleContext ¶
func (s *Code_blockContext) GetRuleContext() antlr.RuleContext
func (*Code_blockContext) If_tree ¶
func (s *Code_blockContext) If_tree(i int) IIf_treeContext
func (*Code_blockContext) IsCode_blockContext ¶
func (*Code_blockContext) IsCode_blockContext()
func (*Code_blockContext) ToStringTree ¶
func (s *Code_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Code_blockContext) Var_def ¶
func (s *Code_blockContext) Var_def(i int) IVar_defContext
func (*Code_blockContext) Var_def_set ¶
func (s *Code_blockContext) Var_def_set(i int) IVar_def_setContext
type Else_statementContext ¶
type Else_statementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElse_statementContext ¶
func NewElse_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Else_statementContext
func NewEmptyElse_statementContext ¶
func NewEmptyElse_statementContext() *Else_statementContext
func (*Else_statementContext) AllCode_block ¶
func (s *Else_statementContext) AllCode_block() []ICode_blockContext
func (*Else_statementContext) Code_block ¶
func (s *Else_statementContext) Code_block(i int) ICode_blockContext
func (*Else_statementContext) EnterRule ¶
func (s *Else_statementContext) EnterRule(listener antlr.ParseTreeListener)
func (*Else_statementContext) ExitRule ¶
func (s *Else_statementContext) ExitRule(listener antlr.ParseTreeListener)
func (*Else_statementContext) GetParser ¶
func (s *Else_statementContext) GetParser() antlr.Parser
func (*Else_statementContext) GetRuleContext ¶
func (s *Else_statementContext) GetRuleContext() antlr.RuleContext
func (*Else_statementContext) IsElse_statementContext ¶
func (*Else_statementContext) IsElse_statementContext()
func (*Else_statementContext) ToStringTree ¶
func (s *Else_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Elseif_statementContext ¶
type Elseif_statementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElseif_statementContext ¶
func NewElseif_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Elseif_statementContext
func NewEmptyElseif_statementContext ¶
func NewEmptyElseif_statementContext() *Elseif_statementContext
func (*Elseif_statementContext) EnterRule ¶
func (s *Elseif_statementContext) EnterRule(listener antlr.ParseTreeListener)
func (*Elseif_statementContext) ExitRule ¶
func (s *Elseif_statementContext) ExitRule(listener antlr.ParseTreeListener)
func (*Elseif_statementContext) GetParser ¶
func (s *Elseif_statementContext) GetParser() antlr.Parser
func (*Elseif_statementContext) GetRuleContext ¶
func (s *Elseif_statementContext) GetRuleContext() antlr.RuleContext
func (*Elseif_statementContext) If_statement ¶
func (s *Elseif_statementContext) If_statement() IIf_statementContext
func (*Elseif_statementContext) IsElseif_statementContext ¶
func (*Elseif_statementContext) IsElseif_statementContext()
func (*Elseif_statementContext) ToStringTree ¶
func (s *Elseif_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Enum_curlyContext ¶
type Enum_curlyContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnum_curlyContext ¶
func NewEmptyEnum_curlyContext() *Enum_curlyContext
func NewEnum_curlyContext ¶
func NewEnum_curlyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Enum_curlyContext
func (*Enum_curlyContext) AllVar_def ¶
func (s *Enum_curlyContext) AllVar_def() []IVar_defContext
func (*Enum_curlyContext) EnterRule ¶
func (s *Enum_curlyContext) EnterRule(listener antlr.ParseTreeListener)
func (*Enum_curlyContext) ExitRule ¶
func (s *Enum_curlyContext) ExitRule(listener antlr.ParseTreeListener)
func (*Enum_curlyContext) GetParser ¶
func (s *Enum_curlyContext) GetParser() antlr.Parser
func (*Enum_curlyContext) GetRuleContext ¶
func (s *Enum_curlyContext) GetRuleContext() antlr.RuleContext
func (*Enum_curlyContext) IsEnum_curlyContext ¶
func (*Enum_curlyContext) IsEnum_curlyContext()
func (*Enum_curlyContext) ToStringTree ¶
func (s *Enum_curlyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Enum_curlyContext) Var_def ¶
func (s *Enum_curlyContext) Var_def(i int) IVar_defContext
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) AllExpr ¶
func (s *ExprContext) AllExpr() []IExprContext
func (*ExprContext) AllMATH ¶
func (s *ExprContext) AllMATH() []antlr.TerminalNode
func (*ExprContext) Call_tree ¶
func (s *ExprContext) Call_tree() ICall_treeContext
func (*ExprContext) EnterRule ¶
func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprContext) ExitRule ¶
func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprContext) Expr ¶
func (s *ExprContext) Expr(i int) IExprContext
func (*ExprContext) GOIDENTIFIER ¶
func (s *ExprContext) GOIDENTIFIER() antlr.TerminalNode
func (*ExprContext) GetParser ¶
func (s *ExprContext) GetParser() antlr.Parser
func (*ExprContext) GetRuleContext ¶
func (s *ExprContext) GetRuleContext() antlr.RuleContext
func (*ExprContext) Go_call ¶
func (s *ExprContext) Go_call() IGo_callContext
func (*ExprContext) HEX ¶
func (s *ExprContext) HEX() antlr.TerminalNode
func (*ExprContext) IDENTIFIER ¶
func (s *ExprContext) IDENTIFIER() antlr.TerminalNode
func (*ExprContext) IsExprContext ¶
func (*ExprContext) IsExprContext()
func (*ExprContext) MATH ¶
func (s *ExprContext) MATH(i int) antlr.TerminalNode
func (*ExprContext) NUMBER ¶
func (s *ExprContext) NUMBER() antlr.TerminalNode
func (*ExprContext) STRING ¶
func (s *ExprContext) STRING() antlr.TerminalNode
func (*ExprContext) ToStringTree ¶
func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Fn_callContext ¶
type Fn_callContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFn_callContext ¶
func NewEmptyFn_callContext() *Fn_callContext
func NewFn_callContext ¶
func NewFn_callContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Fn_callContext
func (*Fn_callContext) EnterRule ¶
func (s *Fn_callContext) EnterRule(listener antlr.ParseTreeListener)
func (*Fn_callContext) ExitRule ¶
func (s *Fn_callContext) ExitRule(listener antlr.ParseTreeListener)
func (*Fn_callContext) GetParser ¶
func (s *Fn_callContext) GetParser() antlr.Parser
func (*Fn_callContext) GetRuleContext ¶
func (s *Fn_callContext) GetRuleContext() antlr.RuleContext
func (*Fn_callContext) IDENTIFIER ¶
func (s *Fn_callContext) IDENTIFIER() antlr.TerminalNode
func (*Fn_callContext) IsFn_callContext ¶
func (*Fn_callContext) IsFn_callContext()
func (*Fn_callContext) Round_call ¶
func (s *Fn_callContext) Round_call() IRound_callContext
func (*Fn_callContext) ToStringTree ¶
func (s *Fn_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Func_defContext ¶
type Func_defContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunc_defContext ¶
func NewEmptyFunc_defContext() *Func_defContext
func NewFunc_defContext ¶
func NewFunc_defContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Func_defContext
func (*Func_defContext) AllIDENTIFIER ¶
func (s *Func_defContext) AllIDENTIFIER() []antlr.TerminalNode
func (*Func_defContext) Code_block ¶
func (s *Func_defContext) Code_block() ICode_blockContext
func (*Func_defContext) EnterRule ¶
func (s *Func_defContext) EnterRule(listener antlr.ParseTreeListener)
func (*Func_defContext) ExitRule ¶
func (s *Func_defContext) ExitRule(listener antlr.ParseTreeListener)
func (*Func_defContext) GetParser ¶
func (s *Func_defContext) GetParser() antlr.Parser
func (*Func_defContext) GetRuleContext ¶
func (s *Func_defContext) GetRuleContext() antlr.RuleContext
func (*Func_defContext) IDENTIFIER ¶
func (s *Func_defContext) IDENTIFIER(i int) antlr.TerminalNode
func (*Func_defContext) IsFunc_defContext ¶
func (*Func_defContext) IsFunc_defContext()
func (*Func_defContext) Round_def ¶
func (s *Func_defContext) Round_def() IRound_defContext
func (*Func_defContext) ToStringTree ¶
func (s *Func_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Go_callContext ¶
type Go_callContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGo_callContext ¶
func NewEmptyGo_callContext() *Go_callContext
func NewGo_callContext ¶
func NewGo_callContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Go_callContext
func (*Go_callContext) EnterRule ¶
func (s *Go_callContext) EnterRule(listener antlr.ParseTreeListener)
func (*Go_callContext) ExitRule ¶
func (s *Go_callContext) ExitRule(listener antlr.ParseTreeListener)
func (*Go_callContext) GOIDENTIFIER ¶
func (s *Go_callContext) GOIDENTIFIER() antlr.TerminalNode
func (*Go_callContext) GetParser ¶
func (s *Go_callContext) GetParser() antlr.Parser
func (*Go_callContext) GetRuleContext ¶
func (s *Go_callContext) GetRuleContext() antlr.RuleContext
func (*Go_callContext) IsGo_callContext ¶
func (*Go_callContext) IsGo_callContext()
func (*Go_callContext) Round_call ¶
func (s *Go_callContext) Round_call() IRound_callContext
func (*Go_callContext) ToStringTree ¶
func (s *Go_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Go_importContext ¶
type Go_importContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGo_importContext ¶
func NewEmptyGo_importContext() *Go_importContext
func NewGo_importContext ¶
func NewGo_importContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Go_importContext
func (*Go_importContext) EnterRule ¶
func (s *Go_importContext) EnterRule(listener antlr.ParseTreeListener)
func (*Go_importContext) ExitRule ¶
func (s *Go_importContext) ExitRule(listener antlr.ParseTreeListener)
func (*Go_importContext) GetParser ¶
func (s *Go_importContext) GetParser() antlr.Parser
func (*Go_importContext) GetRuleContext ¶
func (s *Go_importContext) GetRuleContext() antlr.RuleContext
func (*Go_importContext) IsGo_importContext ¶
func (*Go_importContext) IsGo_importContext()
func (*Go_importContext) STRING ¶
func (s *Go_importContext) STRING() antlr.TerminalNode
func (*Go_importContext) ToStringTree ¶
func (s *Go_importContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ICall_treeContext ¶
type ICall_treeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllFn_call() []IFn_callContext Fn_call(i int) IFn_callContext AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode // IsCall_treeContext differentiates from other interfaces. IsCall_treeContext() }
ICall_treeContext is an interface to support dynamic dispatch.
type ICode_blockContext ¶
type ICode_blockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIf_tree() []IIf_treeContext If_tree(i int) IIf_treeContext AllExpr() []IExprContext Expr(i int) IExprContext AllVar_def() []IVar_defContext Var_def(i int) IVar_defContext AllVar_def_set() []IVar_def_setContext Var_def_set(i int) IVar_def_setContext // IsCode_blockContext differentiates from other interfaces. IsCode_blockContext() }
ICode_blockContext is an interface to support dynamic dispatch.
type IElse_statementContext ¶
type IElse_statementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCode_block() []ICode_blockContext Code_block(i int) ICode_blockContext // IsElse_statementContext differentiates from other interfaces. IsElse_statementContext() }
IElse_statementContext is an interface to support dynamic dispatch.
type IElseif_statementContext ¶
type IElseif_statementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures If_statement() IIf_statementContext // IsElseif_statementContext differentiates from other interfaces. IsElseif_statementContext() }
IElseif_statementContext is an interface to support dynamic dispatch.
type IEnum_curlyContext ¶
type IEnum_curlyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllVar_def() []IVar_defContext Var_def(i int) IVar_defContext // IsEnum_curlyContext differentiates from other interfaces. IsEnum_curlyContext() }
IEnum_curlyContext is an interface to support dynamic dispatch.
type IExprContext ¶
type IExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Call_tree() ICall_treeContext NUMBER() antlr.TerminalNode HEX() antlr.TerminalNode IDENTIFIER() antlr.TerminalNode STRING() antlr.TerminalNode Go_call() IGo_callContext GOIDENTIFIER() antlr.TerminalNode AllMATH() []antlr.TerminalNode MATH(i int) antlr.TerminalNode AllExpr() []IExprContext Expr(i int) IExprContext // IsExprContext differentiates from other interfaces. IsExprContext() }
IExprContext is an interface to support dynamic dispatch.
type IFn_callContext ¶
type IFn_callContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode Round_call() IRound_callContext // IsFn_callContext differentiates from other interfaces. IsFn_callContext() }
IFn_callContext is an interface to support dynamic dispatch.
type IFunc_defContext ¶
type IFunc_defContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode Round_def() IRound_defContext Code_block() ICode_blockContext // IsFunc_defContext differentiates from other interfaces. IsFunc_defContext() }
IFunc_defContext is an interface to support dynamic dispatch.
type IGo_callContext ¶
type IGo_callContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures GOIDENTIFIER() antlr.TerminalNode Round_call() IRound_callContext // IsGo_callContext differentiates from other interfaces. IsGo_callContext() }
IGo_callContext is an interface to support dynamic dispatch.
type IGo_importContext ¶
type IGo_importContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures STRING() antlr.TerminalNode // IsGo_importContext differentiates from other interfaces. IsGo_importContext() }
IGo_importContext is an interface to support dynamic dispatch.
type IIf_exprContext ¶
type IIf_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExpr() []IExprContext Expr(i int) IExprContext // IsIf_exprContext differentiates from other interfaces. IsIf_exprContext() }
IIf_exprContext is an interface to support dynamic dispatch.
type IIf_statementContext ¶
type IIf_statementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures If_expr() IIf_exprContext AllCode_block() []ICode_blockContext Code_block(i int) ICode_blockContext // IsIf_statementContext differentiates from other interfaces. IsIf_statementContext() }
IIf_statementContext is an interface to support dynamic dispatch.
type IIf_treeContext ¶
type IIf_treeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures If_statement() IIf_statementContext AllElseif_statement() []IElseif_statementContext Elseif_statement(i int) IElseif_statementContext Else_statement() IElse_statementContext // IsIf_treeContext differentiates from other interfaces. IsIf_treeContext() }
IIf_treeContext is an interface to support dynamic dispatch.
type IImport_statementContext ¶
type IImport_statementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MODULE_NAME() antlr.TerminalNode // IsImport_statementContext differentiates from other interfaces. IsImport_statementContext() }
IImport_statementContext is an interface to support dynamic dispatch.
type IMapContext ¶
type IMapContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode // IsMapContext differentiates from other interfaces. IsMapContext() }
IMapContext is an interface to support dynamic dispatch.
type INamespaceContext ¶
type INamespaceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode AllFunc_def() []IFunc_defContext Func_def(i int) IFunc_defContext AllVar_def() []IVar_defContext Var_def(i int) IVar_defContext AllVar_def_set() []IVar_def_setContext Var_def_set(i int) IVar_def_setContext // IsNamespaceContext differentiates from other interfaces. IsNamespaceContext() }
INamespaceContext is an interface to support dynamic dispatch.
type IRound_callContext ¶
type IRound_callContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExpr() []IExprContext Expr(i int) IExprContext // IsRound_callContext differentiates from other interfaces. IsRound_callContext() }
IRound_callContext is an interface to support dynamic dispatch.
type IRound_defContext ¶
type IRound_defContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllVar_def() []IVar_defContext Var_def(i int) IVar_defContext // IsRound_defContext differentiates from other interfaces. IsRound_defContext() }
IRound_defContext is an interface to support dynamic dispatch.
type IStruct_defContext ¶
type IStruct_defContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode Enum_curly() IEnum_curlyContext // IsStruct_defContext differentiates from other interfaces. IsStruct_defContext() }
IStruct_defContext is an interface to support dynamic dispatch.
type ITopContext ¶
type ITopContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllFunc_def() []IFunc_defContext Func_def(i int) IFunc_defContext AllStruct_def() []IStruct_defContext Struct_def(i int) IStruct_defContext AllNamespace() []INamespaceContext Namespace(i int) INamespaceContext AllImport_statement() []IImport_statementContext Import_statement(i int) IImport_statementContext AllUse_statement() []IUse_statementContext Use_statement(i int) IUse_statementContext AllGo_import() []IGo_importContext Go_import(i int) IGo_importContext AllMap_() []IMapContext Map_(i int) IMapContext // IsTopContext differentiates from other interfaces. IsTopContext() }
ITopContext is an interface to support dynamic dispatch.
type IUse_statementContext ¶
type IUse_statementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENTIFIER() antlr.TerminalNode // IsUse_statementContext differentiates from other interfaces. IsUse_statementContext() }
IUse_statementContext is an interface to support dynamic dispatch.
type IVar_defContext ¶
type IVar_defContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode // IsVar_defContext differentiates from other interfaces. IsVar_defContext() }
IVar_defContext is an interface to support dynamic dispatch.
type IVar_def_setContext ¶
type IVar_def_setContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Var_def() IVar_defContext Expr() IExprContext // IsVar_def_setContext differentiates from other interfaces. IsVar_def_setContext() }
IVar_def_setContext is an interface to support dynamic dispatch.
type If_exprContext ¶
type If_exprContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_exprContext ¶
func NewEmptyIf_exprContext() *If_exprContext
func NewIf_exprContext ¶
func NewIf_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_exprContext
func (*If_exprContext) AllExpr ¶
func (s *If_exprContext) AllExpr() []IExprContext
func (*If_exprContext) EnterRule ¶
func (s *If_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_exprContext) ExitRule ¶
func (s *If_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_exprContext) Expr ¶
func (s *If_exprContext) Expr(i int) IExprContext
func (*If_exprContext) GetParser ¶
func (s *If_exprContext) GetParser() antlr.Parser
func (*If_exprContext) GetRuleContext ¶
func (s *If_exprContext) GetRuleContext() antlr.RuleContext
func (*If_exprContext) IsIf_exprContext ¶
func (*If_exprContext) IsIf_exprContext()
func (*If_exprContext) ToStringTree ¶
func (s *If_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type If_statementContext ¶
type If_statementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_statementContext ¶
func NewEmptyIf_statementContext() *If_statementContext
func NewIf_statementContext ¶
func NewIf_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_statementContext
func (*If_statementContext) AllCode_block ¶
func (s *If_statementContext) AllCode_block() []ICode_blockContext
func (*If_statementContext) Code_block ¶
func (s *If_statementContext) Code_block(i int) ICode_blockContext
func (*If_statementContext) EnterRule ¶
func (s *If_statementContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_statementContext) ExitRule ¶
func (s *If_statementContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_statementContext) GetParser ¶
func (s *If_statementContext) GetParser() antlr.Parser
func (*If_statementContext) GetRuleContext ¶
func (s *If_statementContext) GetRuleContext() antlr.RuleContext
func (*If_statementContext) If_expr ¶
func (s *If_statementContext) If_expr() IIf_exprContext
func (*If_statementContext) IsIf_statementContext ¶
func (*If_statementContext) IsIf_statementContext()
func (*If_statementContext) ToStringTree ¶
func (s *If_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type If_treeContext ¶
type If_treeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_treeContext ¶
func NewEmptyIf_treeContext() *If_treeContext
func NewIf_treeContext ¶
func NewIf_treeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_treeContext
func (*If_treeContext) AllElseif_statement ¶
func (s *If_treeContext) AllElseif_statement() []IElseif_statementContext
func (*If_treeContext) Else_statement ¶
func (s *If_treeContext) Else_statement() IElse_statementContext
func (*If_treeContext) Elseif_statement ¶
func (s *If_treeContext) Elseif_statement(i int) IElseif_statementContext
func (*If_treeContext) EnterRule ¶
func (s *If_treeContext) EnterRule(listener antlr.ParseTreeListener)
func (*If_treeContext) ExitRule ¶
func (s *If_treeContext) ExitRule(listener antlr.ParseTreeListener)
func (*If_treeContext) GetParser ¶
func (s *If_treeContext) GetParser() antlr.Parser
func (*If_treeContext) GetRuleContext ¶
func (s *If_treeContext) GetRuleContext() antlr.RuleContext
func (*If_treeContext) If_statement ¶
func (s *If_treeContext) If_statement() IIf_statementContext
func (*If_treeContext) IsIf_treeContext ¶
func (*If_treeContext) IsIf_treeContext()
func (*If_treeContext) ToStringTree ¶
func (s *If_treeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Import_statementContext ¶
type Import_statementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImport_statementContext ¶
func NewEmptyImport_statementContext() *Import_statementContext
func NewImport_statementContext ¶
func NewImport_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Import_statementContext
func (*Import_statementContext) EnterRule ¶
func (s *Import_statementContext) EnterRule(listener antlr.ParseTreeListener)
func (*Import_statementContext) ExitRule ¶
func (s *Import_statementContext) ExitRule(listener antlr.ParseTreeListener)
func (*Import_statementContext) GetParser ¶
func (s *Import_statementContext) GetParser() antlr.Parser
func (*Import_statementContext) GetRuleContext ¶
func (s *Import_statementContext) GetRuleContext() antlr.RuleContext
func (*Import_statementContext) IsImport_statementContext ¶
func (*Import_statementContext) IsImport_statementContext()
func (*Import_statementContext) MODULE_NAME ¶
func (s *Import_statementContext) MODULE_NAME() antlr.TerminalNode
func (*Import_statementContext) ToStringTree ¶
func (s *Import_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MapContext ¶
type MapContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMapContext ¶
func NewEmptyMapContext() *MapContext
func NewMapContext ¶
func NewMapContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapContext
func (*MapContext) AllIDENTIFIER ¶
func (s *MapContext) AllIDENTIFIER() []antlr.TerminalNode
func (*MapContext) EnterRule ¶
func (s *MapContext) EnterRule(listener antlr.ParseTreeListener)
func (*MapContext) ExitRule ¶
func (s *MapContext) ExitRule(listener antlr.ParseTreeListener)
func (*MapContext) GetParser ¶
func (s *MapContext) GetParser() antlr.Parser
func (*MapContext) GetRuleContext ¶
func (s *MapContext) GetRuleContext() antlr.RuleContext
func (*MapContext) IDENTIFIER ¶
func (s *MapContext) IDENTIFIER(i int) antlr.TerminalNode
func (*MapContext) IsMapContext ¶
func (*MapContext) IsMapContext()
func (*MapContext) ToStringTree ¶
func (s *MapContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NamespaceContext ¶
type NamespaceContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNamespaceContext ¶
func NewEmptyNamespaceContext() *NamespaceContext
func NewNamespaceContext ¶
func NewNamespaceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NamespaceContext
func (*NamespaceContext) AllFunc_def ¶
func (s *NamespaceContext) AllFunc_def() []IFunc_defContext
func (*NamespaceContext) AllVar_def ¶
func (s *NamespaceContext) AllVar_def() []IVar_defContext
func (*NamespaceContext) AllVar_def_set ¶
func (s *NamespaceContext) AllVar_def_set() []IVar_def_setContext
func (*NamespaceContext) EnterRule ¶
func (s *NamespaceContext) EnterRule(listener antlr.ParseTreeListener)
func (*NamespaceContext) ExitRule ¶
func (s *NamespaceContext) ExitRule(listener antlr.ParseTreeListener)
func (*NamespaceContext) Func_def ¶
func (s *NamespaceContext) Func_def(i int) IFunc_defContext
func (*NamespaceContext) GetParser ¶
func (s *NamespaceContext) GetParser() antlr.Parser
func (*NamespaceContext) GetRuleContext ¶
func (s *NamespaceContext) GetRuleContext() antlr.RuleContext
func (*NamespaceContext) IDENTIFIER ¶
func (s *NamespaceContext) IDENTIFIER() antlr.TerminalNode
func (*NamespaceContext) IsNamespaceContext ¶
func (*NamespaceContext) IsNamespaceContext()
func (*NamespaceContext) ToStringTree ¶
func (s *NamespaceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*NamespaceContext) Var_def ¶
func (s *NamespaceContext) Var_def(i int) IVar_defContext
func (*NamespaceContext) Var_def_set ¶
func (s *NamespaceContext) Var_def_set(i int) IVar_def_setContext
type Round_callContext ¶
type Round_callContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRound_callContext ¶
func NewEmptyRound_callContext() *Round_callContext
func NewRound_callContext ¶
func NewRound_callContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Round_callContext
func (*Round_callContext) AllExpr ¶
func (s *Round_callContext) AllExpr() []IExprContext
func (*Round_callContext) EnterRule ¶
func (s *Round_callContext) EnterRule(listener antlr.ParseTreeListener)
func (*Round_callContext) ExitRule ¶
func (s *Round_callContext) ExitRule(listener antlr.ParseTreeListener)
func (*Round_callContext) Expr ¶
func (s *Round_callContext) Expr(i int) IExprContext
func (*Round_callContext) GetParser ¶
func (s *Round_callContext) GetParser() antlr.Parser
func (*Round_callContext) GetRuleContext ¶
func (s *Round_callContext) GetRuleContext() antlr.RuleContext
func (*Round_callContext) IsRound_callContext ¶
func (*Round_callContext) IsRound_callContext()
func (*Round_callContext) ToStringTree ¶
func (s *Round_callContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Round_defContext ¶
type Round_defContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRound_defContext ¶
func NewEmptyRound_defContext() *Round_defContext
func NewRound_defContext ¶
func NewRound_defContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Round_defContext
func (*Round_defContext) AllVar_def ¶
func (s *Round_defContext) AllVar_def() []IVar_defContext
func (*Round_defContext) EnterRule ¶
func (s *Round_defContext) EnterRule(listener antlr.ParseTreeListener)
func (*Round_defContext) ExitRule ¶
func (s *Round_defContext) ExitRule(listener antlr.ParseTreeListener)
func (*Round_defContext) GetParser ¶
func (s *Round_defContext) GetParser() antlr.Parser
func (*Round_defContext) GetRuleContext ¶
func (s *Round_defContext) GetRuleContext() antlr.RuleContext
func (*Round_defContext) IsRound_defContext ¶
func (*Round_defContext) IsRound_defContext()
func (*Round_defContext) ToStringTree ¶
func (s *Round_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Round_defContext) Var_def ¶
func (s *Round_defContext) Var_def(i int) IVar_defContext
type Struct_defContext ¶
type Struct_defContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStruct_defContext ¶
func NewEmptyStruct_defContext() *Struct_defContext
func NewStruct_defContext ¶
func NewStruct_defContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Struct_defContext
func (*Struct_defContext) EnterRule ¶
func (s *Struct_defContext) EnterRule(listener antlr.ParseTreeListener)
func (*Struct_defContext) Enum_curly ¶
func (s *Struct_defContext) Enum_curly() IEnum_curlyContext
func (*Struct_defContext) ExitRule ¶
func (s *Struct_defContext) ExitRule(listener antlr.ParseTreeListener)
func (*Struct_defContext) GetParser ¶
func (s *Struct_defContext) GetParser() antlr.Parser
func (*Struct_defContext) GetRuleContext ¶
func (s *Struct_defContext) GetRuleContext() antlr.RuleContext
func (*Struct_defContext) IDENTIFIER ¶
func (s *Struct_defContext) IDENTIFIER() antlr.TerminalNode
func (*Struct_defContext) IsStruct_defContext ¶
func (*Struct_defContext) IsStruct_defContext()
func (*Struct_defContext) ToStringTree ¶
func (s *Struct_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TopContext ¶
type TopContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTopContext ¶
func NewEmptyTopContext() *TopContext
func NewTopContext ¶
func NewTopContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TopContext
func (*TopContext) AllFunc_def ¶
func (s *TopContext) AllFunc_def() []IFunc_defContext
func (*TopContext) AllGo_import ¶
func (s *TopContext) AllGo_import() []IGo_importContext
func (*TopContext) AllImport_statement ¶
func (s *TopContext) AllImport_statement() []IImport_statementContext
func (*TopContext) AllMap_ ¶
func (s *TopContext) AllMap_() []IMapContext
func (*TopContext) AllNamespace ¶
func (s *TopContext) AllNamespace() []INamespaceContext
func (*TopContext) AllStruct_def ¶
func (s *TopContext) AllStruct_def() []IStruct_defContext
func (*TopContext) AllUse_statement ¶
func (s *TopContext) AllUse_statement() []IUse_statementContext
func (*TopContext) EnterRule ¶
func (s *TopContext) EnterRule(listener antlr.ParseTreeListener)
func (*TopContext) ExitRule ¶
func (s *TopContext) ExitRule(listener antlr.ParseTreeListener)
func (*TopContext) Func_def ¶
func (s *TopContext) Func_def(i int) IFunc_defContext
func (*TopContext) GetParser ¶
func (s *TopContext) GetParser() antlr.Parser
func (*TopContext) GetRuleContext ¶
func (s *TopContext) GetRuleContext() antlr.RuleContext
func (*TopContext) Go_import ¶
func (s *TopContext) Go_import(i int) IGo_importContext
func (*TopContext) Import_statement ¶
func (s *TopContext) Import_statement(i int) IImport_statementContext
func (*TopContext) IsTopContext ¶
func (*TopContext) IsTopContext()
func (*TopContext) Map_ ¶
func (s *TopContext) Map_(i int) IMapContext
func (*TopContext) Namespace ¶
func (s *TopContext) Namespace(i int) INamespaceContext
func (*TopContext) Struct_def ¶
func (s *TopContext) Struct_def(i int) IStruct_defContext
func (*TopContext) ToStringTree ¶
func (s *TopContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TopContext) Use_statement ¶
func (s *TopContext) Use_statement(i int) IUse_statementContext
type Use_statementContext ¶
type Use_statementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUse_statementContext ¶
func NewEmptyUse_statementContext() *Use_statementContext
func NewUse_statementContext ¶
func NewUse_statementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Use_statementContext
func (*Use_statementContext) EnterRule ¶
func (s *Use_statementContext) EnterRule(listener antlr.ParseTreeListener)
func (*Use_statementContext) ExitRule ¶
func (s *Use_statementContext) ExitRule(listener antlr.ParseTreeListener)
func (*Use_statementContext) GetParser ¶
func (s *Use_statementContext) GetParser() antlr.Parser
func (*Use_statementContext) GetRuleContext ¶
func (s *Use_statementContext) GetRuleContext() antlr.RuleContext
func (*Use_statementContext) IDENTIFIER ¶
func (s *Use_statementContext) IDENTIFIER() antlr.TerminalNode
func (*Use_statementContext) IsUse_statementContext ¶
func (*Use_statementContext) IsUse_statementContext()
func (*Use_statementContext) ToStringTree ¶
func (s *Use_statementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Var_defContext ¶
type Var_defContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVar_defContext ¶
func NewEmptyVar_defContext() *Var_defContext
func NewVar_defContext ¶
func NewVar_defContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Var_defContext
func (*Var_defContext) AllIDENTIFIER ¶
func (s *Var_defContext) AllIDENTIFIER() []antlr.TerminalNode
func (*Var_defContext) EnterRule ¶
func (s *Var_defContext) EnterRule(listener antlr.ParseTreeListener)
func (*Var_defContext) ExitRule ¶
func (s *Var_defContext) ExitRule(listener antlr.ParseTreeListener)
func (*Var_defContext) GetParser ¶
func (s *Var_defContext) GetParser() antlr.Parser
func (*Var_defContext) GetRuleContext ¶
func (s *Var_defContext) GetRuleContext() antlr.RuleContext
func (*Var_defContext) IDENTIFIER ¶
func (s *Var_defContext) IDENTIFIER(i int) antlr.TerminalNode
func (*Var_defContext) IsVar_defContext ¶
func (*Var_defContext) IsVar_defContext()
func (*Var_defContext) ToStringTree ¶
func (s *Var_defContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Var_def_setContext ¶
type Var_def_setContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVar_def_setContext ¶
func NewEmptyVar_def_setContext() *Var_def_setContext
func NewVar_def_setContext ¶
func NewVar_def_setContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Var_def_setContext
func (*Var_def_setContext) EnterRule ¶
func (s *Var_def_setContext) EnterRule(listener antlr.ParseTreeListener)
func (*Var_def_setContext) ExitRule ¶
func (s *Var_def_setContext) ExitRule(listener antlr.ParseTreeListener)
func (*Var_def_setContext) Expr ¶
func (s *Var_def_setContext) Expr() IExprContext
func (*Var_def_setContext) GetParser ¶
func (s *Var_def_setContext) GetParser() antlr.Parser
func (*Var_def_setContext) GetRuleContext ¶
func (s *Var_def_setContext) GetRuleContext() antlr.RuleContext
func (*Var_def_setContext) IsVar_def_setContext ¶
func (*Var_def_setContext) IsVar_def_setContext()
func (*Var_def_setContext) ToStringTree ¶
func (s *Var_def_setContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Var_def_setContext) Var_def ¶
func (s *Var_def_setContext) Var_def() IVar_defContext
type WystLexer ¶
type WystLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewWystLexer ¶
func NewWystLexer(input antlr.CharStream) *WystLexer
NewWystLexer produces a new lexer instance for the optional input antlr.CharStream.
type WystListener ¶
type WystListener interface { antlr.ParseTreeListener // EnterRound_def is called when entering the round_def production. EnterRound_def(c *Round_defContext) // EnterEnum_curly is called when entering the enum_curly production. EnterEnum_curly(c *Enum_curlyContext) // EnterRound_call is called when entering the round_call production. EnterRound_call(c *Round_callContext) // EnterFn_call is called when entering the fn_call production. EnterFn_call(c *Fn_callContext) // EnterFunc_def is called when entering the func_def production. EnterFunc_def(c *Func_defContext) // EnterVar_def is called when entering the var_def production. EnterVar_def(c *Var_defContext) // EnterVar_def_set is called when entering the var_def_set production. EnterVar_def_set(c *Var_def_setContext) // EnterCall_tree is called when entering the call_tree production. EnterCall_tree(c *Call_treeContext) // EnterStruct_def is called when entering the struct_def production. EnterStruct_def(c *Struct_defContext) // EnterNamespace is called when entering the namespace production. EnterNamespace(c *NamespaceContext) // EnterImport_statement is called when entering the import_statement production. EnterImport_statement(c *Import_statementContext) // EnterUse_statement is called when entering the use_statement production. EnterUse_statement(c *Use_statementContext) // EnterGo_import is called when entering the go_import production. EnterGo_import(c *Go_importContext) // EnterMap is called when entering the map production. EnterMap(c *MapContext) // EnterGo_call is called when entering the go_call production. EnterGo_call(c *Go_callContext) // EnterIf_expr is called when entering the if_expr production. EnterIf_expr(c *If_exprContext) // EnterIf_statement is called when entering the if_statement production. EnterIf_statement(c *If_statementContext) // EnterElseif_statement is called when entering the elseif_statement production. EnterElseif_statement(c *Elseif_statementContext) // EnterElse_statement is called when entering the else_statement production. EnterElse_statement(c *Else_statementContext) // EnterIf_tree is called when entering the if_tree production. EnterIf_tree(c *If_treeContext) // EnterExpr is called when entering the expr production. EnterExpr(c *ExprContext) // EnterCode_block is called when entering the code_block production. EnterCode_block(c *Code_blockContext) // EnterTop is called when entering the top production. EnterTop(c *TopContext) // ExitRound_def is called when exiting the round_def production. ExitRound_def(c *Round_defContext) // ExitEnum_curly is called when exiting the enum_curly production. ExitEnum_curly(c *Enum_curlyContext) // ExitRound_call is called when exiting the round_call production. ExitRound_call(c *Round_callContext) // ExitFn_call is called when exiting the fn_call production. ExitFn_call(c *Fn_callContext) // ExitFunc_def is called when exiting the func_def production. ExitFunc_def(c *Func_defContext) // ExitVar_def is called when exiting the var_def production. ExitVar_def(c *Var_defContext) // ExitVar_def_set is called when exiting the var_def_set production. ExitVar_def_set(c *Var_def_setContext) // ExitCall_tree is called when exiting the call_tree production. ExitCall_tree(c *Call_treeContext) // ExitStruct_def is called when exiting the struct_def production. ExitStruct_def(c *Struct_defContext) // ExitNamespace is called when exiting the namespace production. ExitNamespace(c *NamespaceContext) // ExitImport_statement is called when exiting the import_statement production. ExitImport_statement(c *Import_statementContext) // ExitUse_statement is called when exiting the use_statement production. ExitUse_statement(c *Use_statementContext) // ExitGo_import is called when exiting the go_import production. ExitGo_import(c *Go_importContext) // ExitMap is called when exiting the map production. ExitMap(c *MapContext) // ExitGo_call is called when exiting the go_call production. ExitGo_call(c *Go_callContext) // ExitIf_expr is called when exiting the if_expr production. ExitIf_expr(c *If_exprContext) // ExitIf_statement is called when exiting the if_statement production. ExitIf_statement(c *If_statementContext) // ExitElseif_statement is called when exiting the elseif_statement production. ExitElseif_statement(c *Elseif_statementContext) // ExitElse_statement is called when exiting the else_statement production. ExitElse_statement(c *Else_statementContext) // ExitIf_tree is called when exiting the if_tree production. ExitIf_tree(c *If_treeContext) // ExitExpr is called when exiting the expr production. ExitExpr(c *ExprContext) // ExitCode_block is called when exiting the code_block production. ExitCode_block(c *Code_blockContext) // ExitTop is called when exiting the top production. ExitTop(c *TopContext) }
WystListener is a complete listener for a parse tree produced by WystParser.
type WystParser ¶
type WystParser struct {
*antlr.BaseParser
}
func NewWystParser ¶
func NewWystParser(input antlr.TokenStream) *WystParser
NewWystParser produces a new parser instance for the optional input antlr.TokenStream.
func (*WystParser) Call_tree ¶
func (p *WystParser) Call_tree() (localctx ICall_treeContext)
func (*WystParser) Code_block ¶
func (p *WystParser) Code_block() (localctx ICode_blockContext)
func (*WystParser) Else_statement ¶
func (p *WystParser) Else_statement() (localctx IElse_statementContext)
func (*WystParser) Elseif_statement ¶
func (p *WystParser) Elseif_statement() (localctx IElseif_statementContext)
func (*WystParser) Enum_curly ¶
func (p *WystParser) Enum_curly() (localctx IEnum_curlyContext)
func (*WystParser) Expr ¶
func (p *WystParser) Expr() (localctx IExprContext)
func (*WystParser) Fn_call ¶
func (p *WystParser) Fn_call() (localctx IFn_callContext)
func (*WystParser) Func_def ¶
func (p *WystParser) Func_def() (localctx IFunc_defContext)
func (*WystParser) Go_call ¶
func (p *WystParser) Go_call() (localctx IGo_callContext)
func (*WystParser) Go_import ¶
func (p *WystParser) Go_import() (localctx IGo_importContext)
func (*WystParser) If_expr ¶
func (p *WystParser) If_expr() (localctx IIf_exprContext)
func (*WystParser) If_statement ¶
func (p *WystParser) If_statement() (localctx IIf_statementContext)
func (*WystParser) If_tree ¶
func (p *WystParser) If_tree() (localctx IIf_treeContext)
func (*WystParser) Import_statement ¶
func (p *WystParser) Import_statement() (localctx IImport_statementContext)
func (*WystParser) Map_ ¶
func (p *WystParser) Map_() (localctx IMapContext)
func (*WystParser) Namespace ¶
func (p *WystParser) Namespace() (localctx INamespaceContext)
func (*WystParser) Round_call ¶
func (p *WystParser) Round_call() (localctx IRound_callContext)
func (*WystParser) Round_def ¶
func (p *WystParser) Round_def() (localctx IRound_defContext)
func (*WystParser) Struct_def ¶
func (p *WystParser) Struct_def() (localctx IStruct_defContext)
func (*WystParser) Top ¶
func (p *WystParser) Top() (localctx ITopContext)
func (*WystParser) Use_statement ¶
func (p *WystParser) Use_statement() (localctx IUse_statementContext)
func (*WystParser) Var_def ¶
func (p *WystParser) Var_def() (localctx IVar_defContext)
func (*WystParser) Var_def_set ¶
func (p *WystParser) Var_def_set() (localctx IVar_def_setContext)