Documentation ¶
Index ¶
- Constants
- type AssertContext
- type AssignmentContext
- func (s *AssignmentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignmentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignmentContext) Expr() IExprContext
- func (s *AssignmentContext) GetLvalue() antlr.Token
- func (s *AssignmentContext) GetRuleContext() antlr.RuleContext
- func (s *AssignmentContext) NAME() antlr.TerminalNode
- func (s *AssignmentContext) SetLvalue(v antlr.Token)
- type BaseFGGListener
- func (s *BaseFGGListener) EnterAssert(ctx *AssertContext)
- func (s *BaseFGGListener) EnterAssignment(ctx *AssignmentContext)
- func (s *BaseFGGListener) EnterCall(ctx *CallContext)
- func (s *BaseFGGListener) EnterCaseSelect(ctx *CaseSelectContext)
- func (s *BaseFGGListener) EnterChClose(ctx *ChCloseContext)
- func (s *BaseFGGListener) EnterChDispatch(ctx *ChDispatchContext)
- func (s *BaseFGGListener) EnterChanRecv(ctx *ChanRecvContext)
- func (s *BaseFGGListener) EnterChannelType(ctx *ChannelTypeContext)
- func (s *BaseFGGListener) EnterChannelTypeLit(ctx *ChannelTypeLitContext)
- func (s *BaseFGGListener) EnterDecls(ctx *DeclsContext)
- func (s *BaseFGGListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseFGGListener) EnterExprs(ctx *ExprsContext)
- func (s *BaseFGGListener) EnterFieldDecl(ctx *FieldDeclContext)
- func (s *BaseFGGListener) EnterFieldDecls(ctx *FieldDeclsContext)
- func (s *BaseFGGListener) EnterGoroutine(ctx *GoroutineContext)
- func (s *BaseFGGListener) EnterGuardDispatch(ctx *GuardDispatchContext)
- func (s *BaseFGGListener) EnterGuardReceive(ctx *GuardReceiveContext)
- func (s *BaseFGGListener) EnterInterfaceSpec(ctx *InterfaceSpecContext)
- func (s *BaseFGGListener) EnterInterfaceTypeLit(ctx *InterfaceTypeLitContext)
- func (s *BaseFGGListener) EnterMakeChan(ctx *MakeChanContext)
- func (s *BaseFGGListener) EnterMethCallPrime(ctx *MethCallPrimeContext)
- func (s *BaseFGGListener) EnterMethDecl(ctx *MethDeclContext)
- func (s *BaseFGGListener) EnterMethReturn(ctx *MethReturnContext)
- func (s *BaseFGGListener) EnterParamDecl(ctx *ParamDeclContext)
- func (s *BaseFGGListener) EnterParams(ctx *ParamsContext)
- func (s *BaseFGGListener) EnterProgram(ctx *ProgramContext)
- func (s *BaseFGGListener) EnterSelect(ctx *SelectContext)
- func (s *BaseFGGListener) EnterSequence(ctx *SequenceContext)
- func (s *BaseFGGListener) EnterSig(ctx *SigContext)
- func (s *BaseFGGListener) EnterSigSpec(ctx *SigSpecContext)
- func (s *BaseFGGListener) EnterSpecs(ctx *SpecsContext)
- func (s *BaseFGGListener) EnterSprintf(ctx *SprintfContext)
- func (s *BaseFGGListener) EnterStructLit(ctx *StructLitContext)
- func (s *BaseFGGListener) EnterStructTypeLit(ctx *StructTypeLitContext)
- func (s *BaseFGGListener) EnterTypeDecl(ctx *TypeDeclContext)
- func (s *BaseFGGListener) EnterTypeFDecl(ctx *TypeFDeclContext)
- func (s *BaseFGGListener) EnterTypeFDecls(ctx *TypeFDeclsContext)
- func (s *BaseFGGListener) EnterTypeFormals(ctx *TypeFormalsContext)
- func (s *BaseFGGListener) EnterTypeName(ctx *TypeNameContext)
- func (s *BaseFGGListener) EnterTypeParam(ctx *TypeParamContext)
- func (s *BaseFGGListener) EnterTyps(ctx *TypsContext)
- func (s *BaseFGGListener) EnterVariable(ctx *VariableContext)
- func (s *BaseFGGListener) ExitAssert(ctx *AssertContext)
- func (s *BaseFGGListener) ExitAssignment(ctx *AssignmentContext)
- func (s *BaseFGGListener) ExitCall(ctx *CallContext)
- func (s *BaseFGGListener) ExitCaseSelect(ctx *CaseSelectContext)
- func (s *BaseFGGListener) ExitChClose(ctx *ChCloseContext)
- func (s *BaseFGGListener) ExitChDispatch(ctx *ChDispatchContext)
- func (s *BaseFGGListener) ExitChanRecv(ctx *ChanRecvContext)
- func (s *BaseFGGListener) ExitChannelType(ctx *ChannelTypeContext)
- func (s *BaseFGGListener) ExitChannelTypeLit(ctx *ChannelTypeLitContext)
- func (s *BaseFGGListener) ExitDecls(ctx *DeclsContext)
- func (s *BaseFGGListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseFGGListener) ExitExprs(ctx *ExprsContext)
- func (s *BaseFGGListener) ExitFieldDecl(ctx *FieldDeclContext)
- func (s *BaseFGGListener) ExitFieldDecls(ctx *FieldDeclsContext)
- func (s *BaseFGGListener) ExitGoroutine(ctx *GoroutineContext)
- func (s *BaseFGGListener) ExitGuardDispatch(ctx *GuardDispatchContext)
- func (s *BaseFGGListener) ExitGuardReceive(ctx *GuardReceiveContext)
- func (s *BaseFGGListener) ExitInterfaceSpec(ctx *InterfaceSpecContext)
- func (s *BaseFGGListener) ExitInterfaceTypeLit(ctx *InterfaceTypeLitContext)
- func (s *BaseFGGListener) ExitMakeChan(ctx *MakeChanContext)
- func (s *BaseFGGListener) ExitMethCallPrime(ctx *MethCallPrimeContext)
- func (s *BaseFGGListener) ExitMethDecl(ctx *MethDeclContext)
- func (s *BaseFGGListener) ExitMethReturn(ctx *MethReturnContext)
- func (s *BaseFGGListener) ExitParamDecl(ctx *ParamDeclContext)
- func (s *BaseFGGListener) ExitParams(ctx *ParamsContext)
- func (s *BaseFGGListener) ExitProgram(ctx *ProgramContext)
- func (s *BaseFGGListener) ExitSelect(ctx *SelectContext)
- func (s *BaseFGGListener) ExitSequence(ctx *SequenceContext)
- func (s *BaseFGGListener) ExitSig(ctx *SigContext)
- func (s *BaseFGGListener) ExitSigSpec(ctx *SigSpecContext)
- func (s *BaseFGGListener) ExitSpecs(ctx *SpecsContext)
- func (s *BaseFGGListener) ExitSprintf(ctx *SprintfContext)
- func (s *BaseFGGListener) ExitStructLit(ctx *StructLitContext)
- func (s *BaseFGGListener) ExitStructTypeLit(ctx *StructTypeLitContext)
- func (s *BaseFGGListener) ExitTypeDecl(ctx *TypeDeclContext)
- func (s *BaseFGGListener) ExitTypeFDecl(ctx *TypeFDeclContext)
- func (s *BaseFGGListener) ExitTypeFDecls(ctx *TypeFDeclsContext)
- func (s *BaseFGGListener) ExitTypeFormals(ctx *TypeFormalsContext)
- func (s *BaseFGGListener) ExitTypeName(ctx *TypeNameContext)
- func (s *BaseFGGListener) ExitTypeParam(ctx *TypeParamContext)
- func (s *BaseFGGListener) ExitTyps(ctx *TypsContext)
- func (s *BaseFGGListener) ExitVariable(ctx *VariableContext)
- func (s *BaseFGGListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseFGGListener) VisitTerminal(node antlr.TerminalNode)
- type CallContext
- func (s *CallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CallContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CallContext) Expr() IExprContext
- func (s *CallContext) GetRecv() IExprContext
- func (s *CallContext) GetRuleContext() antlr.RuleContext
- func (s *CallContext) MethCall_() IMethCall_Context
- func (s *CallContext) SetRecv(v IExprContext)
- type CaseGuardContext
- func (s *CaseGuardContext) CopyFrom(ctx *CaseGuardContext)
- func (s *CaseGuardContext) GetParser() antlr.Parser
- func (s *CaseGuardContext) GetRuleContext() antlr.RuleContext
- func (*CaseGuardContext) IsCaseGuardContext()
- func (s *CaseGuardContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CaseSelectContext
- func (s *CaseSelectContext) AllCASE() []antlr.TerminalNode
- func (s *CaseSelectContext) AllCaseGuard() []ICaseGuardContext
- func (s *CaseSelectContext) AllMethBody() []IMethBodyContext
- func (s *CaseSelectContext) CASE(i int) antlr.TerminalNode
- func (s *CaseSelectContext) CaseGuard(i int) ICaseGuardContext
- func (s *CaseSelectContext) DEFAULT() antlr.TerminalNode
- func (s *CaseSelectContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CaseSelectContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CaseSelectContext) GetRuleContext() antlr.RuleContext
- func (s *CaseSelectContext) MethBody(i int) IMethBodyContext
- func (s *CaseSelectContext) SELECT() antlr.TerminalNode
- type ChCloseContext
- type ChDispatchContext
- func (s *ChDispatchContext) AllExpr() []IExprContext
- func (s *ChDispatchContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ChDispatchContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ChDispatchContext) Expr(i int) IExprContext
- func (s *ChDispatchContext) GetRuleContext() antlr.RuleContext
- type ChanRecvContext
- type ChannelTypeContext
- func (s *ChannelTypeContext) ChannelTypeLit() IChannelTypeLitContext
- func (s *ChannelTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ChannelTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ChannelTypeContext) GetRuleContext() antlr.RuleContext
- func (s *ChannelTypeContext) Typ() ITypContext
- type ChannelTypeLitContext
- func (s *ChannelTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ChannelTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ChannelTypeLitContext) GetParser() antlr.Parser
- func (s *ChannelTypeLitContext) GetRuleContext() antlr.RuleContext
- func (*ChannelTypeLitContext) IsChannelTypeLitContext()
- func (s *ChannelTypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeclsContext
- func (s *DeclsContext) AllMethDecl() []IMethDeclContext
- func (s *DeclsContext) AllTypeDecl() []ITypeDeclContext
- func (s *DeclsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclsContext) GetParser() antlr.Parser
- func (s *DeclsContext) GetRuleContext() antlr.RuleContext
- func (*DeclsContext) IsDeclsContext()
- func (s *DeclsContext) MethDecl(i int) IMethDeclContext
- func (s *DeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DeclsContext) TypeDecl(i int) ITypeDeclContext
- type ExprContext
- type ExprsContext
- func (s *ExprsContext) AllExpr() []IExprContext
- func (s *ExprsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprsContext) Expr(i int) IExprContext
- func (s *ExprsContext) GetParser() antlr.Parser
- func (s *ExprsContext) GetRuleContext() antlr.RuleContext
- func (*ExprsContext) IsExprsContext()
- func (s *ExprsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FGGLexer
- type FGGListener
- type FGGParser
- func (p *FGGParser) CaseGuard() (localctx ICaseGuardContext)
- func (p *FGGParser) ChannelTypeLit() (localctx IChannelTypeLitContext)
- func (p *FGGParser) Decls() (localctx IDeclsContext)
- func (p *FGGParser) Expr() (localctx IExprContext)
- func (p *FGGParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *FGGParser) Exprs() (localctx IExprsContext)
- func (p *FGGParser) FieldDecl() (localctx IFieldDeclContext)
- func (p *FGGParser) FieldDecls() (localctx IFieldDeclsContext)
- func (p *FGGParser) MethBody() (localctx IMethBodyContext)
- func (p *FGGParser) MethCall_() (localctx IMethCall_Context)
- func (p *FGGParser) MethDecl() (localctx IMethDeclContext)
- func (p *FGGParser) ParamDecl() (localctx IParamDeclContext)
- func (p *FGGParser) Params() (localctx IParamsContext)
- func (p *FGGParser) Program() (localctx IProgramContext)
- func (p *FGGParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *FGGParser) Sig() (localctx ISigContext)
- func (p *FGGParser) Spec() (localctx ISpecContext)
- func (p *FGGParser) Specs() (localctx ISpecsContext)
- func (p *FGGParser) Stmt() (localctx IStmtContext)
- func (p *FGGParser) Typ() (localctx ITypContext)
- func (p *FGGParser) TypeDecl() (localctx ITypeDeclContext)
- func (p *FGGParser) TypeFDecl() (localctx ITypeFDeclContext)
- func (p *FGGParser) TypeFDecls() (localctx ITypeFDeclsContext)
- func (p *FGGParser) TypeFormals() (localctx ITypeFormalsContext)
- func (p *FGGParser) TypeLit() (localctx ITypeLitContext)
- func (p *FGGParser) Typs() (localctx ITypsContext)
- type FieldDeclContext
- func (s *FieldDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclContext) GetField() antlr.Token
- func (s *FieldDeclContext) GetParser() antlr.Parser
- func (s *FieldDeclContext) GetRuleContext() antlr.RuleContext
- func (*FieldDeclContext) IsFieldDeclContext()
- func (s *FieldDeclContext) NAME() antlr.TerminalNode
- func (s *FieldDeclContext) SetField(v antlr.Token)
- func (s *FieldDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FieldDeclContext) Typ() ITypContext
- type FieldDeclsContext
- func (s *FieldDeclsContext) AllFieldDecl() []IFieldDeclContext
- func (s *FieldDeclsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldDeclsContext) FieldDecl(i int) IFieldDeclContext
- func (s *FieldDeclsContext) GetParser() antlr.Parser
- func (s *FieldDeclsContext) GetRuleContext() antlr.RuleContext
- func (*FieldDeclsContext) IsFieldDeclsContext()
- func (s *FieldDeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GoroutineContext
- func (s *GoroutineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GoroutineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GoroutineContext) Expr() IExprContext
- func (s *GoroutineContext) GORTN() antlr.TerminalNode
- func (s *GoroutineContext) GetRecv() IExprContext
- func (s *GoroutineContext) GetRuleContext() antlr.RuleContext
- func (s *GoroutineContext) MethCall_() IMethCall_Context
- func (s *GoroutineContext) SetRecv(v IExprContext)
- type GuardDispatchContext
- func (s *GuardDispatchContext) AllExpr() []IExprContext
- func (s *GuardDispatchContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GuardDispatchContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GuardDispatchContext) Expr(i int) IExprContext
- func (s *GuardDispatchContext) GetRuleContext() antlr.RuleContext
- type GuardReceiveContext
- func (s *GuardReceiveContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GuardReceiveContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GuardReceiveContext) Expr() IExprContext
- func (s *GuardReceiveContext) GetLvalue() antlr.Token
- func (s *GuardReceiveContext) GetRuleContext() antlr.RuleContext
- func (s *GuardReceiveContext) NAME() antlr.TerminalNode
- func (s *GuardReceiveContext) SetLvalue(v antlr.Token)
- type ICaseGuardContext
- type IChannelTypeLitContext
- type IDeclsContext
- type IExprContext
- type IExprsContext
- type IFieldDeclContext
- type IFieldDeclsContext
- type IMethBodyContext
- type IMethCall_Context
- type IMethDeclContext
- type IParamDeclContext
- type IParamsContext
- type IProgramContext
- type ISigContext
- type ISpecContext
- type ISpecsContext
- type IStmtContext
- type ITypContext
- type ITypeDeclContext
- type ITypeFDeclContext
- type ITypeFDeclsContext
- type ITypeFormalsContext
- type ITypeLitContext
- type ITypsContext
- type InterfaceSpecContext
- type InterfaceTypeLitContext
- func (s *InterfaceTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InterfaceTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InterfaceTypeLitContext) GetRuleContext() antlr.RuleContext
- func (s *InterfaceTypeLitContext) INTERFACE() antlr.TerminalNode
- func (s *InterfaceTypeLitContext) Specs() ISpecsContext
- type MakeChanContext
- type MethBodyContext
- func (s *MethBodyContext) CopyFrom(ctx *MethBodyContext)
- func (s *MethBodyContext) GetParser() antlr.Parser
- func (s *MethBodyContext) GetRuleContext() antlr.RuleContext
- func (*MethBodyContext) IsMethBodyContext()
- func (s *MethBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MethCallPrimeContext
- func (s *MethCallPrimeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MethCallPrimeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MethCallPrimeContext) Exprs() IExprsContext
- func (s *MethCallPrimeContext) GetArgs() IExprsContext
- func (s *MethCallPrimeContext) GetRuleContext() antlr.RuleContext
- func (s *MethCallPrimeContext) GetTargs() ITypsContext
- func (s *MethCallPrimeContext) NAME() antlr.TerminalNode
- func (s *MethCallPrimeContext) SetArgs(v IExprsContext)
- func (s *MethCallPrimeContext) SetTargs(v ITypsContext)
- func (s *MethCallPrimeContext) Typs() ITypsContext
- type MethCall_Context
- func (s *MethCall_Context) CopyFrom(ctx *MethCall_Context)
- func (s *MethCall_Context) GetParser() antlr.Parser
- func (s *MethCall_Context) GetRuleContext() antlr.RuleContext
- func (*MethCall_Context) IsMethCall_Context()
- func (s *MethCall_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MethDeclContext
- func (s *MethDeclContext) AllNAME() []antlr.TerminalNode
- func (s *MethDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MethDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MethDeclContext) FUNC() antlr.TerminalNode
- func (s *MethDeclContext) GetParser() antlr.Parser
- func (s *MethDeclContext) GetRecv() antlr.Token
- func (s *MethDeclContext) GetRuleContext() antlr.RuleContext
- func (s *MethDeclContext) GetTypn() antlr.Token
- func (*MethDeclContext) IsMethDeclContext()
- func (s *MethDeclContext) MethBody() IMethBodyContext
- func (s *MethDeclContext) NAME(i int) antlr.TerminalNode
- func (s *MethDeclContext) SetRecv(v antlr.Token)
- func (s *MethDeclContext) SetTypn(v antlr.Token)
- func (s *MethDeclContext) Sig() ISigContext
- func (s *MethDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *MethDeclContext) TypeFormals() ITypeFormalsContext
- type MethReturnContext
- func (s *MethReturnContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MethReturnContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MethReturnContext) Expr() IExprContext
- func (s *MethReturnContext) GetRuleContext() antlr.RuleContext
- func (s *MethReturnContext) RETURN() antlr.TerminalNode
- type ParamDeclContext
- func (s *ParamDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParamDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParamDeclContext) GetParser() antlr.Parser
- func (s *ParamDeclContext) GetRuleContext() antlr.RuleContext
- func (s *ParamDeclContext) GetVari() antlr.Token
- func (*ParamDeclContext) IsParamDeclContext()
- func (s *ParamDeclContext) NAME() antlr.TerminalNode
- func (s *ParamDeclContext) SetVari(v antlr.Token)
- func (s *ParamDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ParamDeclContext) Typ() ITypContext
- type ParamsContext
- func (s *ParamsContext) AllParamDecl() []IParamDeclContext
- func (s *ParamsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParamsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParamsContext) GetParser() antlr.Parser
- func (s *ParamsContext) GetRuleContext() antlr.RuleContext
- func (*ParamsContext) IsParamsContext()
- func (s *ParamsContext) ParamDecl(i int) IParamDeclContext
- func (s *ParamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProgramContext
- func (s *ProgramContext) AllMAIN() []antlr.TerminalNode
- func (s *ProgramContext) Decls() IDeclsContext
- func (s *ProgramContext) EOF() antlr.TerminalNode
- func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) Expr() IExprContext
- func (s *ProgramContext) FMT() antlr.TerminalNode
- func (s *ProgramContext) FUNC() antlr.TerminalNode
- func (s *ProgramContext) GetParser() antlr.Parser
- func (s *ProgramContext) GetRuleContext() antlr.RuleContext
- func (s *ProgramContext) IMPORT() antlr.TerminalNode
- func (*ProgramContext) IsProgramContext()
- func (s *ProgramContext) MAIN(i int) antlr.TerminalNode
- func (s *ProgramContext) PACKAGE() antlr.TerminalNode
- func (s *ProgramContext) PRINTF() antlr.TerminalNode
- func (s *ProgramContext) STRING() antlr.TerminalNode
- func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SelectContext
- type SequenceContext
- type SigContext
- func (s *SigContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SigContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SigContext) GetMeth() antlr.Token
- func (s *SigContext) GetParser() antlr.Parser
- func (s *SigContext) GetRuleContext() antlr.RuleContext
- func (*SigContext) IsSigContext()
- func (s *SigContext) NAME() antlr.TerminalNode
- func (s *SigContext) Params() IParamsContext
- func (s *SigContext) SetMeth(v antlr.Token)
- func (s *SigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SigContext) Typ() ITypContext
- func (s *SigContext) TypeFormals() ITypeFormalsContext
- type SigSpecContext
- type SpecContext
- type SpecsContext
- func (s *SpecsContext) AllSpec() []ISpecContext
- func (s *SpecsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SpecsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SpecsContext) GetParser() antlr.Parser
- func (s *SpecsContext) GetRuleContext() antlr.RuleContext
- func (*SpecsContext) IsSpecsContext()
- func (s *SpecsContext) Spec(i int) ISpecContext
- func (s *SpecsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SprintfContext
- func (s *SprintfContext) AllExpr() []IExprContext
- func (s *SprintfContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SprintfContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SprintfContext) Expr(i int) IExprContext
- func (s *SprintfContext) FMT() antlr.TerminalNode
- func (s *SprintfContext) GetRuleContext() antlr.RuleContext
- func (s *SprintfContext) SPRINTF() antlr.TerminalNode
- func (s *SprintfContext) STRING() antlr.TerminalNode
- type StmtContext
- type StructLitContext
- type StructTypeLitContext
- func (s *StructTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructTypeLitContext) FieldDecls() IFieldDeclsContext
- func (s *StructTypeLitContext) GetRuleContext() antlr.RuleContext
- func (s *StructTypeLitContext) STRUCT() antlr.TerminalNode
- type TypContext
- type TypeDeclContext
- func (s *TypeDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeDeclContext) GetParser() antlr.Parser
- func (s *TypeDeclContext) GetRuleContext() antlr.RuleContext
- func (*TypeDeclContext) IsTypeDeclContext()
- func (s *TypeDeclContext) NAME() antlr.TerminalNode
- func (s *TypeDeclContext) TYPE() antlr.TerminalNode
- func (s *TypeDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeDeclContext) TypeFormals() ITypeFormalsContext
- func (s *TypeDeclContext) TypeLit() ITypeLitContext
- type TypeFDeclContext
- func (s *TypeFDeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeFDeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeFDeclContext) GetParser() antlr.Parser
- func (s *TypeFDeclContext) GetRuleContext() antlr.RuleContext
- func (*TypeFDeclContext) IsTypeFDeclContext()
- func (s *TypeFDeclContext) NAME() antlr.TerminalNode
- func (s *TypeFDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeFDeclContext) Typ() ITypContext
- type TypeFDeclsContext
- func (s *TypeFDeclsContext) AllTypeFDecl() []ITypeFDeclContext
- func (s *TypeFDeclsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeFDeclsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeFDeclsContext) GetParser() antlr.Parser
- func (s *TypeFDeclsContext) GetRuleContext() antlr.RuleContext
- func (*TypeFDeclsContext) IsTypeFDeclsContext()
- func (s *TypeFDeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeFDeclsContext) TypeFDecl(i int) ITypeFDeclContext
- type TypeFormalsContext
- func (s *TypeFormalsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeFormalsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeFormalsContext) GetParser() antlr.Parser
- func (s *TypeFormalsContext) GetRuleContext() antlr.RuleContext
- func (*TypeFormalsContext) IsTypeFormalsContext()
- func (s *TypeFormalsContext) TYPE() antlr.TerminalNode
- func (s *TypeFormalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeFormalsContext) TypeFDecls() ITypeFDeclsContext
- type TypeLitContext
- type TypeNameContext
- type TypeParamContext
- type TypsContext
- func (s *TypsContext) AllTyp() []ITypContext
- func (s *TypsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypsContext) GetParser() antlr.Parser
- func (s *TypsContext) GetRuleContext() antlr.RuleContext
- func (*TypsContext) IsTypsContext()
- func (s *TypsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypsContext) Typ(i int) ITypContext
- type VariableContext
Constants ¶
const ( FGGLexerT__0 = 1 FGGLexerT__1 = 2 FGGLexerT__2 = 3 FGGLexerT__3 = 4 FGGLexerT__4 = 5 FGGLexerT__5 = 6 FGGLexerT__6 = 7 FGGLexerT__7 = 8 FGGLexerT__8 = 9 FGGLexerT__9 = 10 FGGLexerT__10 = 11 FGGLexerT__11 = 12 FGGLexerT__12 = 13 FGGLexerT__13 = 14 FGGLexerT__14 = 15 FGGLexerT__15 = 16 FGGLexerFUNC = 17 FGGLexerINTERFACE = 18 FGGLexerMAIN = 19 FGGLexerPACKAGE = 20 FGGLexerRETURN = 21 FGGLexerSTRUCT = 22 FGGLexerTYPE = 23 FGGLexerIMPORT = 24 FGGLexerFMT = 25 FGGLexerPRINTF = 26 FGGLexerSPRINTF = 27 FGGLexerCLOSE = 28 FGGLexerGORTN = 29 FGGLexerMAKE = 30 FGGLexerSELECT = 31 FGGLexerDEFAULT = 32 FGGLexerCASE = 33 FGGLexerNAME = 34 FGGLexerWHITESPACE = 35 FGGLexerCOMMENT = 36 FGGLexerLINE_COMMENT = 37 FGGLexerSTRING = 38 )
FGGLexer tokens.
const ( FGGParserEOF = antlr.TokenEOF FGGParserT__0 = 1 FGGParserT__1 = 2 FGGParserT__2 = 3 FGGParserT__3 = 4 FGGParserT__4 = 5 FGGParserT__5 = 6 FGGParserT__6 = 7 FGGParserT__7 = 8 FGGParserT__8 = 9 FGGParserT__9 = 10 FGGParserT__10 = 11 FGGParserT__11 = 12 FGGParserT__12 = 13 FGGParserT__13 = 14 FGGParserT__14 = 15 FGGParserT__15 = 16 FGGParserFUNC = 17 FGGParserINTERFACE = 18 FGGParserMAIN = 19 FGGParserPACKAGE = 20 FGGParserRETURN = 21 FGGParserSTRUCT = 22 FGGParserTYPE = 23 FGGParserIMPORT = 24 FGGParserFMT = 25 FGGParserPRINTF = 26 FGGParserSPRINTF = 27 FGGParserCLOSE = 28 FGGParserGORTN = 29 FGGParserMAKE = 30 FGGParserSELECT = 31 FGGParserDEFAULT = 32 FGGParserCASE = 33 FGGParserNAME = 34 FGGParserWHITESPACE = 35 FGGParserCOMMENT = 36 FGGParserLINE_COMMENT = 37 FGGParserSTRING = 38 )
FGGParser tokens.
const ( FGGParserRULE_channelTypeLit = 0 FGGParserRULE_typ = 1 FGGParserRULE_typs = 2 FGGParserRULE_typeFormals = 3 FGGParserRULE_typeFDecls = 4 FGGParserRULE_typeFDecl = 5 FGGParserRULE_program = 6 FGGParserRULE_decls = 7 FGGParserRULE_typeDecl = 8 FGGParserRULE_methBody = 9 FGGParserRULE_stmt = 10 FGGParserRULE_methCall_ = 11 FGGParserRULE_caseGuard = 12 FGGParserRULE_methDecl = 13 FGGParserRULE_typeLit = 14 FGGParserRULE_fieldDecls = 15 FGGParserRULE_fieldDecl = 16 FGGParserRULE_specs = 17 FGGParserRULE_spec = 18 FGGParserRULE_sig = 19 FGGParserRULE_params = 20 FGGParserRULE_paramDecl = 21 FGGParserRULE_expr = 22 FGGParserRULE_exprs = 23 )
FGGParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertContext ¶
type AssertContext struct {
*ExprContext
}
func NewAssertContext ¶
func NewAssertContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssertContext
func (*AssertContext) EnterRule ¶
func (s *AssertContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssertContext) ExitRule ¶
func (s *AssertContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssertContext) Expr ¶
func (s *AssertContext) Expr() IExprContext
func (*AssertContext) GetRuleContext ¶
func (s *AssertContext) GetRuleContext() antlr.RuleContext
func (*AssertContext) Typ ¶
func (s *AssertContext) Typ() ITypContext
type AssignmentContext ¶
type AssignmentContext struct { *StmtContext // contains filtered or unexported fields }
func NewAssignmentContext ¶
func NewAssignmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignmentContext
func (*AssignmentContext) EnterRule ¶
func (s *AssignmentContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignmentContext) ExitRule ¶
func (s *AssignmentContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignmentContext) Expr ¶
func (s *AssignmentContext) Expr() IExprContext
func (*AssignmentContext) GetLvalue ¶
func (s *AssignmentContext) GetLvalue() antlr.Token
func (*AssignmentContext) GetRuleContext ¶
func (s *AssignmentContext) GetRuleContext() antlr.RuleContext
func (*AssignmentContext) NAME ¶
func (s *AssignmentContext) NAME() antlr.TerminalNode
func (*AssignmentContext) SetLvalue ¶
func (s *AssignmentContext) SetLvalue(v antlr.Token)
type BaseFGGListener ¶
type BaseFGGListener struct{}
BaseFGGListener is a complete listener for a parse tree produced by FGGParser.
func (*BaseFGGListener) EnterAssert ¶
func (s *BaseFGGListener) EnterAssert(ctx *AssertContext)
EnterAssert is called when production Assert is entered.
func (*BaseFGGListener) EnterAssignment ¶
func (s *BaseFGGListener) EnterAssignment(ctx *AssignmentContext)
EnterAssignment is called when production Assignment is entered.
func (*BaseFGGListener) EnterCall ¶
func (s *BaseFGGListener) EnterCall(ctx *CallContext)
EnterCall is called when production Call is entered.
func (*BaseFGGListener) EnterCaseSelect ¶
func (s *BaseFGGListener) EnterCaseSelect(ctx *CaseSelectContext)
EnterCaseSelect is called when production CaseSelect is entered.
func (*BaseFGGListener) EnterChClose ¶
func (s *BaseFGGListener) EnterChClose(ctx *ChCloseContext)
EnterChClose is called when production ChClose is entered.
func (*BaseFGGListener) EnterChDispatch ¶
func (s *BaseFGGListener) EnterChDispatch(ctx *ChDispatchContext)
EnterChDispatch is called when production ChDispatch is entered.
func (*BaseFGGListener) EnterChanRecv ¶
func (s *BaseFGGListener) EnterChanRecv(ctx *ChanRecvContext)
EnterChanRecv is called when production ChanRecv is entered.
func (*BaseFGGListener) EnterChannelType ¶
func (s *BaseFGGListener) EnterChannelType(ctx *ChannelTypeContext)
EnterChannelType is called when production ChannelType is entered.
func (*BaseFGGListener) EnterChannelTypeLit ¶
func (s *BaseFGGListener) EnterChannelTypeLit(ctx *ChannelTypeLitContext)
EnterChannelTypeLit is called when production channelTypeLit is entered.
func (*BaseFGGListener) EnterDecls ¶
func (s *BaseFGGListener) EnterDecls(ctx *DeclsContext)
EnterDecls is called when production decls is entered.
func (*BaseFGGListener) EnterEveryRule ¶
func (s *BaseFGGListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseFGGListener) EnterExprs ¶
func (s *BaseFGGListener) EnterExprs(ctx *ExprsContext)
EnterExprs is called when production exprs is entered.
func (*BaseFGGListener) EnterFieldDecl ¶
func (s *BaseFGGListener) EnterFieldDecl(ctx *FieldDeclContext)
EnterFieldDecl is called when production fieldDecl is entered.
func (*BaseFGGListener) EnterFieldDecls ¶
func (s *BaseFGGListener) EnterFieldDecls(ctx *FieldDeclsContext)
EnterFieldDecls is called when production fieldDecls is entered.
func (*BaseFGGListener) EnterGoroutine ¶
func (s *BaseFGGListener) EnterGoroutine(ctx *GoroutineContext)
EnterGoroutine is called when production Goroutine is entered.
func (*BaseFGGListener) EnterGuardDispatch ¶
func (s *BaseFGGListener) EnterGuardDispatch(ctx *GuardDispatchContext)
EnterGuardDispatch is called when production GuardDispatch is entered.
func (*BaseFGGListener) EnterGuardReceive ¶
func (s *BaseFGGListener) EnterGuardReceive(ctx *GuardReceiveContext)
EnterGuardReceive is called when production GuardReceive is entered.
func (*BaseFGGListener) EnterInterfaceSpec ¶
func (s *BaseFGGListener) EnterInterfaceSpec(ctx *InterfaceSpecContext)
EnterInterfaceSpec is called when production InterfaceSpec is entered.
func (*BaseFGGListener) EnterInterfaceTypeLit ¶
func (s *BaseFGGListener) EnterInterfaceTypeLit(ctx *InterfaceTypeLitContext)
EnterInterfaceTypeLit is called when production InterfaceTypeLit is entered.
func (*BaseFGGListener) EnterMakeChan ¶
func (s *BaseFGGListener) EnterMakeChan(ctx *MakeChanContext)
EnterMakeChan is called when production MakeChan is entered.
func (*BaseFGGListener) EnterMethCallPrime ¶
func (s *BaseFGGListener) EnterMethCallPrime(ctx *MethCallPrimeContext)
EnterMethCallPrime is called when production MethCallPrime is entered.
func (*BaseFGGListener) EnterMethDecl ¶
func (s *BaseFGGListener) EnterMethDecl(ctx *MethDeclContext)
EnterMethDecl is called when production methDecl is entered.
func (*BaseFGGListener) EnterMethReturn ¶
func (s *BaseFGGListener) EnterMethReturn(ctx *MethReturnContext)
EnterMethReturn is called when production MethReturn is entered.
func (*BaseFGGListener) EnterParamDecl ¶
func (s *BaseFGGListener) EnterParamDecl(ctx *ParamDeclContext)
EnterParamDecl is called when production paramDecl is entered.
func (*BaseFGGListener) EnterParams ¶
func (s *BaseFGGListener) EnterParams(ctx *ParamsContext)
EnterParams is called when production params is entered.
func (*BaseFGGListener) EnterProgram ¶
func (s *BaseFGGListener) EnterProgram(ctx *ProgramContext)
EnterProgram is called when production program is entered.
func (*BaseFGGListener) EnterSelect ¶
func (s *BaseFGGListener) EnterSelect(ctx *SelectContext)
EnterSelect is called when production Select is entered.
func (*BaseFGGListener) EnterSequence ¶
func (s *BaseFGGListener) EnterSequence(ctx *SequenceContext)
EnterSequence is called when production Sequence is entered.
func (*BaseFGGListener) EnterSig ¶
func (s *BaseFGGListener) EnterSig(ctx *SigContext)
EnterSig is called when production sig is entered.
func (*BaseFGGListener) EnterSigSpec ¶
func (s *BaseFGGListener) EnterSigSpec(ctx *SigSpecContext)
EnterSigSpec is called when production SigSpec is entered.
func (*BaseFGGListener) EnterSpecs ¶
func (s *BaseFGGListener) EnterSpecs(ctx *SpecsContext)
EnterSpecs is called when production specs is entered.
func (*BaseFGGListener) EnterSprintf ¶
func (s *BaseFGGListener) EnterSprintf(ctx *SprintfContext)
EnterSprintf is called when production Sprintf is entered.
func (*BaseFGGListener) EnterStructLit ¶
func (s *BaseFGGListener) EnterStructLit(ctx *StructLitContext)
EnterStructLit is called when production StructLit is entered.
func (*BaseFGGListener) EnterStructTypeLit ¶
func (s *BaseFGGListener) EnterStructTypeLit(ctx *StructTypeLitContext)
EnterStructTypeLit is called when production StructTypeLit is entered.
func (*BaseFGGListener) EnterTypeDecl ¶
func (s *BaseFGGListener) EnterTypeDecl(ctx *TypeDeclContext)
EnterTypeDecl is called when production typeDecl is entered.
func (*BaseFGGListener) EnterTypeFDecl ¶
func (s *BaseFGGListener) EnterTypeFDecl(ctx *TypeFDeclContext)
EnterTypeFDecl is called when production typeFDecl is entered.
func (*BaseFGGListener) EnterTypeFDecls ¶
func (s *BaseFGGListener) EnterTypeFDecls(ctx *TypeFDeclsContext)
EnterTypeFDecls is called when production typeFDecls is entered.
func (*BaseFGGListener) EnterTypeFormals ¶
func (s *BaseFGGListener) EnterTypeFormals(ctx *TypeFormalsContext)
EnterTypeFormals is called when production typeFormals is entered.
func (*BaseFGGListener) EnterTypeName ¶
func (s *BaseFGGListener) EnterTypeName(ctx *TypeNameContext)
EnterTypeName is called when production TypeName is entered.
func (*BaseFGGListener) EnterTypeParam ¶
func (s *BaseFGGListener) EnterTypeParam(ctx *TypeParamContext)
EnterTypeParam is called when production TypeParam is entered.
func (*BaseFGGListener) EnterTyps ¶
func (s *BaseFGGListener) EnterTyps(ctx *TypsContext)
EnterTyps is called when production typs is entered.
func (*BaseFGGListener) EnterVariable ¶
func (s *BaseFGGListener) EnterVariable(ctx *VariableContext)
EnterVariable is called when production Variable is entered.
func (*BaseFGGListener) ExitAssert ¶
func (s *BaseFGGListener) ExitAssert(ctx *AssertContext)
ExitAssert is called when production Assert is exited.
func (*BaseFGGListener) ExitAssignment ¶
func (s *BaseFGGListener) ExitAssignment(ctx *AssignmentContext)
ExitAssignment is called when production Assignment is exited.
func (*BaseFGGListener) ExitCall ¶
func (s *BaseFGGListener) ExitCall(ctx *CallContext)
ExitCall is called when production Call is exited.
func (*BaseFGGListener) ExitCaseSelect ¶
func (s *BaseFGGListener) ExitCaseSelect(ctx *CaseSelectContext)
ExitCaseSelect is called when production CaseSelect is exited.
func (*BaseFGGListener) ExitChClose ¶
func (s *BaseFGGListener) ExitChClose(ctx *ChCloseContext)
ExitChClose is called when production ChClose is exited.
func (*BaseFGGListener) ExitChDispatch ¶
func (s *BaseFGGListener) ExitChDispatch(ctx *ChDispatchContext)
ExitChDispatch is called when production ChDispatch is exited.
func (*BaseFGGListener) ExitChanRecv ¶
func (s *BaseFGGListener) ExitChanRecv(ctx *ChanRecvContext)
ExitChanRecv is called when production ChanRecv is exited.
func (*BaseFGGListener) ExitChannelType ¶
func (s *BaseFGGListener) ExitChannelType(ctx *ChannelTypeContext)
ExitChannelType is called when production ChannelType is exited.
func (*BaseFGGListener) ExitChannelTypeLit ¶
func (s *BaseFGGListener) ExitChannelTypeLit(ctx *ChannelTypeLitContext)
ExitChannelTypeLit is called when production channelTypeLit is exited.
func (*BaseFGGListener) ExitDecls ¶
func (s *BaseFGGListener) ExitDecls(ctx *DeclsContext)
ExitDecls is called when production decls is exited.
func (*BaseFGGListener) ExitEveryRule ¶
func (s *BaseFGGListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseFGGListener) ExitExprs ¶
func (s *BaseFGGListener) ExitExprs(ctx *ExprsContext)
ExitExprs is called when production exprs is exited.
func (*BaseFGGListener) ExitFieldDecl ¶
func (s *BaseFGGListener) ExitFieldDecl(ctx *FieldDeclContext)
ExitFieldDecl is called when production fieldDecl is exited.
func (*BaseFGGListener) ExitFieldDecls ¶
func (s *BaseFGGListener) ExitFieldDecls(ctx *FieldDeclsContext)
ExitFieldDecls is called when production fieldDecls is exited.
func (*BaseFGGListener) ExitGoroutine ¶
func (s *BaseFGGListener) ExitGoroutine(ctx *GoroutineContext)
ExitGoroutine is called when production Goroutine is exited.
func (*BaseFGGListener) ExitGuardDispatch ¶
func (s *BaseFGGListener) ExitGuardDispatch(ctx *GuardDispatchContext)
ExitGuardDispatch is called when production GuardDispatch is exited.
func (*BaseFGGListener) ExitGuardReceive ¶
func (s *BaseFGGListener) ExitGuardReceive(ctx *GuardReceiveContext)
ExitGuardReceive is called when production GuardReceive is exited.
func (*BaseFGGListener) ExitInterfaceSpec ¶
func (s *BaseFGGListener) ExitInterfaceSpec(ctx *InterfaceSpecContext)
ExitInterfaceSpec is called when production InterfaceSpec is exited.
func (*BaseFGGListener) ExitInterfaceTypeLit ¶
func (s *BaseFGGListener) ExitInterfaceTypeLit(ctx *InterfaceTypeLitContext)
ExitInterfaceTypeLit is called when production InterfaceTypeLit is exited.
func (*BaseFGGListener) ExitMakeChan ¶
func (s *BaseFGGListener) ExitMakeChan(ctx *MakeChanContext)
ExitMakeChan is called when production MakeChan is exited.
func (*BaseFGGListener) ExitMethCallPrime ¶
func (s *BaseFGGListener) ExitMethCallPrime(ctx *MethCallPrimeContext)
ExitMethCallPrime is called when production MethCallPrime is exited.
func (*BaseFGGListener) ExitMethDecl ¶
func (s *BaseFGGListener) ExitMethDecl(ctx *MethDeclContext)
ExitMethDecl is called when production methDecl is exited.
func (*BaseFGGListener) ExitMethReturn ¶
func (s *BaseFGGListener) ExitMethReturn(ctx *MethReturnContext)
ExitMethReturn is called when production MethReturn is exited.
func (*BaseFGGListener) ExitParamDecl ¶
func (s *BaseFGGListener) ExitParamDecl(ctx *ParamDeclContext)
ExitParamDecl is called when production paramDecl is exited.
func (*BaseFGGListener) ExitParams ¶
func (s *BaseFGGListener) ExitParams(ctx *ParamsContext)
ExitParams is called when production params is exited.
func (*BaseFGGListener) ExitProgram ¶
func (s *BaseFGGListener) ExitProgram(ctx *ProgramContext)
ExitProgram is called when production program is exited.
func (*BaseFGGListener) ExitSelect ¶
func (s *BaseFGGListener) ExitSelect(ctx *SelectContext)
ExitSelect is called when production Select is exited.
func (*BaseFGGListener) ExitSequence ¶
func (s *BaseFGGListener) ExitSequence(ctx *SequenceContext)
ExitSequence is called when production Sequence is exited.
func (*BaseFGGListener) ExitSig ¶
func (s *BaseFGGListener) ExitSig(ctx *SigContext)
ExitSig is called when production sig is exited.
func (*BaseFGGListener) ExitSigSpec ¶
func (s *BaseFGGListener) ExitSigSpec(ctx *SigSpecContext)
ExitSigSpec is called when production SigSpec is exited.
func (*BaseFGGListener) ExitSpecs ¶
func (s *BaseFGGListener) ExitSpecs(ctx *SpecsContext)
ExitSpecs is called when production specs is exited.
func (*BaseFGGListener) ExitSprintf ¶
func (s *BaseFGGListener) ExitSprintf(ctx *SprintfContext)
ExitSprintf is called when production Sprintf is exited.
func (*BaseFGGListener) ExitStructLit ¶
func (s *BaseFGGListener) ExitStructLit(ctx *StructLitContext)
ExitStructLit is called when production StructLit is exited.
func (*BaseFGGListener) ExitStructTypeLit ¶
func (s *BaseFGGListener) ExitStructTypeLit(ctx *StructTypeLitContext)
ExitStructTypeLit is called when production StructTypeLit is exited.
func (*BaseFGGListener) ExitTypeDecl ¶
func (s *BaseFGGListener) ExitTypeDecl(ctx *TypeDeclContext)
ExitTypeDecl is called when production typeDecl is exited.
func (*BaseFGGListener) ExitTypeFDecl ¶
func (s *BaseFGGListener) ExitTypeFDecl(ctx *TypeFDeclContext)
ExitTypeFDecl is called when production typeFDecl is exited.
func (*BaseFGGListener) ExitTypeFDecls ¶
func (s *BaseFGGListener) ExitTypeFDecls(ctx *TypeFDeclsContext)
ExitTypeFDecls is called when production typeFDecls is exited.
func (*BaseFGGListener) ExitTypeFormals ¶
func (s *BaseFGGListener) ExitTypeFormals(ctx *TypeFormalsContext)
ExitTypeFormals is called when production typeFormals is exited.
func (*BaseFGGListener) ExitTypeName ¶
func (s *BaseFGGListener) ExitTypeName(ctx *TypeNameContext)
ExitTypeName is called when production TypeName is exited.
func (*BaseFGGListener) ExitTypeParam ¶
func (s *BaseFGGListener) ExitTypeParam(ctx *TypeParamContext)
ExitTypeParam is called when production TypeParam is exited.
func (*BaseFGGListener) ExitTyps ¶
func (s *BaseFGGListener) ExitTyps(ctx *TypsContext)
ExitTyps is called when production typs is exited.
func (*BaseFGGListener) ExitVariable ¶
func (s *BaseFGGListener) ExitVariable(ctx *VariableContext)
ExitVariable is called when production Variable is exited.
func (*BaseFGGListener) VisitErrorNode ¶
func (s *BaseFGGListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseFGGListener) VisitTerminal ¶
func (s *BaseFGGListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type CallContext ¶
type CallContext struct { *ExprContext // contains filtered or unexported fields }
func NewCallContext ¶
func NewCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallContext
func (*CallContext) EnterRule ¶
func (s *CallContext) EnterRule(listener antlr.ParseTreeListener)
func (*CallContext) ExitRule ¶
func (s *CallContext) ExitRule(listener antlr.ParseTreeListener)
func (*CallContext) Expr ¶
func (s *CallContext) Expr() IExprContext
func (*CallContext) GetRecv ¶
func (s *CallContext) GetRecv() IExprContext
func (*CallContext) GetRuleContext ¶
func (s *CallContext) GetRuleContext() antlr.RuleContext
func (*CallContext) MethCall_ ¶
func (s *CallContext) MethCall_() IMethCall_Context
func (*CallContext) SetRecv ¶
func (s *CallContext) SetRecv(v IExprContext)
type CaseGuardContext ¶
type CaseGuardContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCaseGuardContext ¶
func NewCaseGuardContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CaseGuardContext
func NewEmptyCaseGuardContext ¶
func NewEmptyCaseGuardContext() *CaseGuardContext
func (*CaseGuardContext) CopyFrom ¶
func (s *CaseGuardContext) CopyFrom(ctx *CaseGuardContext)
func (*CaseGuardContext) GetParser ¶
func (s *CaseGuardContext) GetParser() antlr.Parser
func (*CaseGuardContext) GetRuleContext ¶
func (s *CaseGuardContext) GetRuleContext() antlr.RuleContext
func (*CaseGuardContext) IsCaseGuardContext ¶
func (*CaseGuardContext) IsCaseGuardContext()
func (*CaseGuardContext) ToStringTree ¶
func (s *CaseGuardContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CaseSelectContext ¶
type CaseSelectContext struct {
*MethBodyContext
}
func NewCaseSelectContext ¶
func NewCaseSelectContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CaseSelectContext
func (*CaseSelectContext) AllCASE ¶
func (s *CaseSelectContext) AllCASE() []antlr.TerminalNode
func (*CaseSelectContext) AllCaseGuard ¶
func (s *CaseSelectContext) AllCaseGuard() []ICaseGuardContext
func (*CaseSelectContext) AllMethBody ¶
func (s *CaseSelectContext) AllMethBody() []IMethBodyContext
func (*CaseSelectContext) CASE ¶
func (s *CaseSelectContext) CASE(i int) antlr.TerminalNode
func (*CaseSelectContext) CaseGuard ¶
func (s *CaseSelectContext) CaseGuard(i int) ICaseGuardContext
func (*CaseSelectContext) DEFAULT ¶
func (s *CaseSelectContext) DEFAULT() antlr.TerminalNode
func (*CaseSelectContext) EnterRule ¶
func (s *CaseSelectContext) EnterRule(listener antlr.ParseTreeListener)
func (*CaseSelectContext) ExitRule ¶
func (s *CaseSelectContext) ExitRule(listener antlr.ParseTreeListener)
func (*CaseSelectContext) GetRuleContext ¶
func (s *CaseSelectContext) GetRuleContext() antlr.RuleContext
func (*CaseSelectContext) MethBody ¶
func (s *CaseSelectContext) MethBody(i int) IMethBodyContext
func (*CaseSelectContext) SELECT ¶
func (s *CaseSelectContext) SELECT() antlr.TerminalNode
type ChCloseContext ¶
type ChCloseContext struct {
*StmtContext
}
func NewChCloseContext ¶
func NewChCloseContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ChCloseContext
func (*ChCloseContext) CLOSE ¶
func (s *ChCloseContext) CLOSE() antlr.TerminalNode
func (*ChCloseContext) EnterRule ¶
func (s *ChCloseContext) EnterRule(listener antlr.ParseTreeListener)
func (*ChCloseContext) ExitRule ¶
func (s *ChCloseContext) ExitRule(listener antlr.ParseTreeListener)
func (*ChCloseContext) Expr ¶
func (s *ChCloseContext) Expr() IExprContext
func (*ChCloseContext) GetRuleContext ¶
func (s *ChCloseContext) GetRuleContext() antlr.RuleContext
type ChDispatchContext ¶
type ChDispatchContext struct {
*StmtContext
}
func NewChDispatchContext ¶
func NewChDispatchContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ChDispatchContext
func (*ChDispatchContext) AllExpr ¶
func (s *ChDispatchContext) AllExpr() []IExprContext
func (*ChDispatchContext) EnterRule ¶
func (s *ChDispatchContext) EnterRule(listener antlr.ParseTreeListener)
func (*ChDispatchContext) ExitRule ¶
func (s *ChDispatchContext) ExitRule(listener antlr.ParseTreeListener)
func (*ChDispatchContext) Expr ¶
func (s *ChDispatchContext) Expr(i int) IExprContext
func (*ChDispatchContext) GetRuleContext ¶
func (s *ChDispatchContext) GetRuleContext() antlr.RuleContext
type ChanRecvContext ¶
type ChanRecvContext struct {
*ExprContext
}
func NewChanRecvContext ¶
func NewChanRecvContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ChanRecvContext
func (*ChanRecvContext) EnterRule ¶
func (s *ChanRecvContext) EnterRule(listener antlr.ParseTreeListener)
func (*ChanRecvContext) ExitRule ¶
func (s *ChanRecvContext) ExitRule(listener antlr.ParseTreeListener)
func (*ChanRecvContext) Expr ¶
func (s *ChanRecvContext) Expr() IExprContext
func (*ChanRecvContext) GetRuleContext ¶
func (s *ChanRecvContext) GetRuleContext() antlr.RuleContext
type ChannelTypeContext ¶
type ChannelTypeContext struct {
*TypContext
}
func NewChannelTypeContext ¶
func NewChannelTypeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ChannelTypeContext
func (*ChannelTypeContext) ChannelTypeLit ¶
func (s *ChannelTypeContext) ChannelTypeLit() IChannelTypeLitContext
func (*ChannelTypeContext) EnterRule ¶
func (s *ChannelTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ChannelTypeContext) ExitRule ¶
func (s *ChannelTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ChannelTypeContext) GetRuleContext ¶
func (s *ChannelTypeContext) GetRuleContext() antlr.RuleContext
func (*ChannelTypeContext) Typ ¶
func (s *ChannelTypeContext) Typ() ITypContext
type ChannelTypeLitContext ¶
type ChannelTypeLitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewChannelTypeLitContext ¶
func NewChannelTypeLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChannelTypeLitContext
func NewEmptyChannelTypeLitContext ¶
func NewEmptyChannelTypeLitContext() *ChannelTypeLitContext
func (*ChannelTypeLitContext) EnterRule ¶
func (s *ChannelTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
func (*ChannelTypeLitContext) ExitRule ¶
func (s *ChannelTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
func (*ChannelTypeLitContext) GetParser ¶
func (s *ChannelTypeLitContext) GetParser() antlr.Parser
func (*ChannelTypeLitContext) GetRuleContext ¶
func (s *ChannelTypeLitContext) GetRuleContext() antlr.RuleContext
func (*ChannelTypeLitContext) IsChannelTypeLitContext ¶
func (*ChannelTypeLitContext) IsChannelTypeLitContext()
func (*ChannelTypeLitContext) ToStringTree ¶
func (s *ChannelTypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeclsContext ¶
type DeclsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclsContext ¶
func NewDeclsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclsContext
func NewEmptyDeclsContext ¶
func NewEmptyDeclsContext() *DeclsContext
func (*DeclsContext) AllMethDecl ¶
func (s *DeclsContext) AllMethDecl() []IMethDeclContext
func (*DeclsContext) AllTypeDecl ¶
func (s *DeclsContext) AllTypeDecl() []ITypeDeclContext
func (*DeclsContext) EnterRule ¶
func (s *DeclsContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclsContext) ExitRule ¶
func (s *DeclsContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclsContext) GetParser ¶
func (s *DeclsContext) GetParser() antlr.Parser
func (*DeclsContext) GetRuleContext ¶
func (s *DeclsContext) GetRuleContext() antlr.RuleContext
func (*DeclsContext) IsDeclsContext ¶
func (*DeclsContext) IsDeclsContext()
func (*DeclsContext) MethDecl ¶
func (s *DeclsContext) MethDecl(i int) IMethDeclContext
func (*DeclsContext) ToStringTree ¶
func (s *DeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DeclsContext) TypeDecl ¶
func (s *DeclsContext) TypeDecl(i int) ITypeDeclContext
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) CopyFrom ¶
func (s *ExprContext) CopyFrom(ctx *ExprContext)
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) ToStringTree ¶
func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExprsContext ¶
type ExprsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExprsContext ¶
func NewEmptyExprsContext() *ExprsContext
func NewExprsContext ¶
func NewExprsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprsContext
func (*ExprsContext) AllExpr ¶
func (s *ExprsContext) AllExpr() []IExprContext
func (*ExprsContext) EnterRule ¶
func (s *ExprsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprsContext) ExitRule ¶
func (s *ExprsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprsContext) Expr ¶
func (s *ExprsContext) Expr(i int) IExprContext
func (*ExprsContext) GetParser ¶
func (s *ExprsContext) GetParser() antlr.Parser
func (*ExprsContext) GetRuleContext ¶
func (s *ExprsContext) GetRuleContext() antlr.RuleContext
func (*ExprsContext) IsExprsContext ¶
func (*ExprsContext) IsExprsContext()
func (*ExprsContext) ToStringTree ¶
func (s *ExprsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FGGLexer ¶
func NewFGGLexer ¶
func NewFGGLexer(input antlr.CharStream) *FGGLexer
type FGGListener ¶
type FGGListener interface { antlr.ParseTreeListener // EnterChannelTypeLit is called when entering the channelTypeLit production. EnterChannelTypeLit(c *ChannelTypeLitContext) // EnterTypeParam is called when entering the TypeParam production. EnterTypeParam(c *TypeParamContext) // EnterTypeName is called when entering the TypeName production. EnterTypeName(c *TypeNameContext) // EnterChannelType is called when entering the ChannelType production. EnterChannelType(c *ChannelTypeContext) // EnterTyps is called when entering the typs production. EnterTyps(c *TypsContext) // EnterTypeFormals is called when entering the typeFormals production. EnterTypeFormals(c *TypeFormalsContext) // EnterTypeFDecls is called when entering the typeFDecls production. EnterTypeFDecls(c *TypeFDeclsContext) // EnterTypeFDecl is called when entering the typeFDecl production. EnterTypeFDecl(c *TypeFDeclContext) // EnterProgram is called when entering the program production. EnterProgram(c *ProgramContext) // EnterDecls is called when entering the decls production. EnterDecls(c *DeclsContext) // EnterTypeDecl is called when entering the typeDecl production. EnterTypeDecl(c *TypeDeclContext) // EnterMethReturn is called when entering the MethReturn production. EnterMethReturn(c *MethReturnContext) // EnterSequence is called when entering the Sequence production. EnterSequence(c *SequenceContext) // EnterSprintf is called when entering the Sprintf production. EnterSprintf(c *SprintfContext) // EnterCaseSelect is called when entering the CaseSelect production. EnterCaseSelect(c *CaseSelectContext) // EnterChClose is called when entering the ChClose production. EnterChClose(c *ChCloseContext) // EnterChDispatch is called when entering the ChDispatch production. EnterChDispatch(c *ChDispatchContext) // EnterGoroutine is called when entering the Goroutine production. EnterGoroutine(c *GoroutineContext) // EnterAssignment is called when entering the Assignment production. EnterAssignment(c *AssignmentContext) // EnterMethCallPrime is called when entering the MethCallPrime production. EnterMethCallPrime(c *MethCallPrimeContext) // EnterGuardDispatch is called when entering the GuardDispatch production. EnterGuardDispatch(c *GuardDispatchContext) // EnterGuardReceive is called when entering the GuardReceive production. EnterGuardReceive(c *GuardReceiveContext) // EnterMethDecl is called when entering the methDecl production. EnterMethDecl(c *MethDeclContext) // EnterStructTypeLit is called when entering the StructTypeLit production. EnterStructTypeLit(c *StructTypeLitContext) // EnterInterfaceTypeLit is called when entering the InterfaceTypeLit production. EnterInterfaceTypeLit(c *InterfaceTypeLitContext) // EnterFieldDecls is called when entering the fieldDecls production. EnterFieldDecls(c *FieldDeclsContext) // EnterFieldDecl is called when entering the fieldDecl production. EnterFieldDecl(c *FieldDeclContext) // EnterSpecs is called when entering the specs production. EnterSpecs(c *SpecsContext) // EnterSigSpec is called when entering the SigSpec production. EnterSigSpec(c *SigSpecContext) // EnterInterfaceSpec is called when entering the InterfaceSpec production. EnterInterfaceSpec(c *InterfaceSpecContext) // EnterSig is called when entering the sig production. EnterSig(c *SigContext) // EnterParams is called when entering the params production. EnterParams(c *ParamsContext) // EnterParamDecl is called when entering the paramDecl production. EnterParamDecl(c *ParamDeclContext) // EnterCall is called when entering the Call production. EnterCall(c *CallContext) // EnterVariable is called when entering the Variable production. EnterVariable(c *VariableContext) // EnterAssert is called when entering the Assert production. EnterAssert(c *AssertContext) // EnterSelect is called when entering the Select production. EnterSelect(c *SelectContext) // EnterChanRecv is called when entering the ChanRecv production. EnterChanRecv(c *ChanRecvContext) // EnterStructLit is called when entering the StructLit production. EnterStructLit(c *StructLitContext) // EnterMakeChan is called when entering the MakeChan production. EnterMakeChan(c *MakeChanContext) // EnterExprs is called when entering the exprs production. EnterExprs(c *ExprsContext) // ExitChannelTypeLit is called when exiting the channelTypeLit production. ExitChannelTypeLit(c *ChannelTypeLitContext) // ExitTypeParam is called when exiting the TypeParam production. ExitTypeParam(c *TypeParamContext) // ExitTypeName is called when exiting the TypeName production. ExitTypeName(c *TypeNameContext) // ExitChannelType is called when exiting the ChannelType production. ExitChannelType(c *ChannelTypeContext) // ExitTyps is called when exiting the typs production. ExitTyps(c *TypsContext) // ExitTypeFormals is called when exiting the typeFormals production. ExitTypeFormals(c *TypeFormalsContext) // ExitTypeFDecls is called when exiting the typeFDecls production. ExitTypeFDecls(c *TypeFDeclsContext) // ExitTypeFDecl is called when exiting the typeFDecl production. ExitTypeFDecl(c *TypeFDeclContext) // ExitProgram is called when exiting the program production. ExitProgram(c *ProgramContext) // ExitDecls is called when exiting the decls production. ExitDecls(c *DeclsContext) // ExitTypeDecl is called when exiting the typeDecl production. ExitTypeDecl(c *TypeDeclContext) // ExitMethReturn is called when exiting the MethReturn production. ExitMethReturn(c *MethReturnContext) // ExitSequence is called when exiting the Sequence production. ExitSequence(c *SequenceContext) // ExitSprintf is called when exiting the Sprintf production. ExitSprintf(c *SprintfContext) // ExitCaseSelect is called when exiting the CaseSelect production. ExitCaseSelect(c *CaseSelectContext) // ExitChClose is called when exiting the ChClose production. ExitChClose(c *ChCloseContext) // ExitChDispatch is called when exiting the ChDispatch production. ExitChDispatch(c *ChDispatchContext) // ExitGoroutine is called when exiting the Goroutine production. ExitGoroutine(c *GoroutineContext) // ExitAssignment is called when exiting the Assignment production. ExitAssignment(c *AssignmentContext) // ExitMethCallPrime is called when exiting the MethCallPrime production. ExitMethCallPrime(c *MethCallPrimeContext) // ExitGuardDispatch is called when exiting the GuardDispatch production. ExitGuardDispatch(c *GuardDispatchContext) // ExitGuardReceive is called when exiting the GuardReceive production. ExitGuardReceive(c *GuardReceiveContext) // ExitMethDecl is called when exiting the methDecl production. ExitMethDecl(c *MethDeclContext) // ExitStructTypeLit is called when exiting the StructTypeLit production. ExitStructTypeLit(c *StructTypeLitContext) // ExitInterfaceTypeLit is called when exiting the InterfaceTypeLit production. ExitInterfaceTypeLit(c *InterfaceTypeLitContext) // ExitFieldDecls is called when exiting the fieldDecls production. ExitFieldDecls(c *FieldDeclsContext) // ExitFieldDecl is called when exiting the fieldDecl production. ExitFieldDecl(c *FieldDeclContext) // ExitSpecs is called when exiting the specs production. ExitSpecs(c *SpecsContext) // ExitSigSpec is called when exiting the SigSpec production. ExitSigSpec(c *SigSpecContext) // ExitInterfaceSpec is called when exiting the InterfaceSpec production. ExitInterfaceSpec(c *InterfaceSpecContext) // ExitSig is called when exiting the sig production. ExitSig(c *SigContext) // ExitParams is called when exiting the params production. ExitParams(c *ParamsContext) // ExitParamDecl is called when exiting the paramDecl production. ExitParamDecl(c *ParamDeclContext) // ExitCall is called when exiting the Call production. ExitCall(c *CallContext) // ExitVariable is called when exiting the Variable production. ExitVariable(c *VariableContext) // ExitAssert is called when exiting the Assert production. ExitAssert(c *AssertContext) // ExitSelect is called when exiting the Select production. ExitSelect(c *SelectContext) // ExitChanRecv is called when exiting the ChanRecv production. ExitChanRecv(c *ChanRecvContext) // ExitStructLit is called when exiting the StructLit production. ExitStructLit(c *StructLitContext) // ExitMakeChan is called when exiting the MakeChan production. ExitMakeChan(c *MakeChanContext) // ExitExprs is called when exiting the exprs production. ExitExprs(c *ExprsContext) }
FGGListener is a complete listener for a parse tree produced by FGGParser.
type FGGParser ¶
type FGGParser struct {
*antlr.BaseParser
}
func NewFGGParser ¶
func NewFGGParser(input antlr.TokenStream) *FGGParser
func (*FGGParser) CaseGuard ¶
func (p *FGGParser) CaseGuard() (localctx ICaseGuardContext)
func (*FGGParser) ChannelTypeLit ¶
func (p *FGGParser) ChannelTypeLit() (localctx IChannelTypeLitContext)
func (*FGGParser) Decls ¶
func (p *FGGParser) Decls() (localctx IDeclsContext)
func (*FGGParser) Expr ¶
func (p *FGGParser) Expr() (localctx IExprContext)
func (*FGGParser) Expr_Sempred ¶
func (p *FGGParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*FGGParser) Exprs ¶
func (p *FGGParser) Exprs() (localctx IExprsContext)
func (*FGGParser) FieldDecl ¶
func (p *FGGParser) FieldDecl() (localctx IFieldDeclContext)
func (*FGGParser) FieldDecls ¶
func (p *FGGParser) FieldDecls() (localctx IFieldDeclsContext)
func (*FGGParser) MethBody ¶
func (p *FGGParser) MethBody() (localctx IMethBodyContext)
func (*FGGParser) MethCall_ ¶
func (p *FGGParser) MethCall_() (localctx IMethCall_Context)
func (*FGGParser) MethDecl ¶
func (p *FGGParser) MethDecl() (localctx IMethDeclContext)
func (*FGGParser) ParamDecl ¶
func (p *FGGParser) ParamDecl() (localctx IParamDeclContext)
func (*FGGParser) Params ¶
func (p *FGGParser) Params() (localctx IParamsContext)
func (*FGGParser) Program ¶
func (p *FGGParser) Program() (localctx IProgramContext)
func (*FGGParser) Sempred ¶
func (p *FGGParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*FGGParser) Sig ¶
func (p *FGGParser) Sig() (localctx ISigContext)
func (*FGGParser) Spec ¶
func (p *FGGParser) Spec() (localctx ISpecContext)
func (*FGGParser) Specs ¶
func (p *FGGParser) Specs() (localctx ISpecsContext)
func (*FGGParser) Stmt ¶
func (p *FGGParser) Stmt() (localctx IStmtContext)
func (*FGGParser) Typ ¶
func (p *FGGParser) Typ() (localctx ITypContext)
func (*FGGParser) TypeDecl ¶
func (p *FGGParser) TypeDecl() (localctx ITypeDeclContext)
func (*FGGParser) TypeFDecl ¶
func (p *FGGParser) TypeFDecl() (localctx ITypeFDeclContext)
func (*FGGParser) TypeFDecls ¶
func (p *FGGParser) TypeFDecls() (localctx ITypeFDeclsContext)
func (*FGGParser) TypeFormals ¶
func (p *FGGParser) TypeFormals() (localctx ITypeFormalsContext)
func (*FGGParser) TypeLit ¶
func (p *FGGParser) TypeLit() (localctx ITypeLitContext)
func (*FGGParser) Typs ¶
func (p *FGGParser) Typs() (localctx ITypsContext)
type FieldDeclContext ¶
type FieldDeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldDeclContext ¶
func NewEmptyFieldDeclContext() *FieldDeclContext
func NewFieldDeclContext ¶
func NewFieldDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclContext
func (*FieldDeclContext) EnterRule ¶
func (s *FieldDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldDeclContext) ExitRule ¶
func (s *FieldDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldDeclContext) GetField ¶
func (s *FieldDeclContext) GetField() antlr.Token
func (*FieldDeclContext) GetParser ¶
func (s *FieldDeclContext) GetParser() antlr.Parser
func (*FieldDeclContext) GetRuleContext ¶
func (s *FieldDeclContext) GetRuleContext() antlr.RuleContext
func (*FieldDeclContext) IsFieldDeclContext ¶
func (*FieldDeclContext) IsFieldDeclContext()
func (*FieldDeclContext) NAME ¶
func (s *FieldDeclContext) NAME() antlr.TerminalNode
func (*FieldDeclContext) SetField ¶
func (s *FieldDeclContext) SetField(v antlr.Token)
func (*FieldDeclContext) ToStringTree ¶
func (s *FieldDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FieldDeclContext) Typ ¶
func (s *FieldDeclContext) Typ() ITypContext
type FieldDeclsContext ¶
type FieldDeclsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldDeclsContext ¶
func NewEmptyFieldDeclsContext() *FieldDeclsContext
func NewFieldDeclsContext ¶
func NewFieldDeclsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclsContext
func (*FieldDeclsContext) AllFieldDecl ¶
func (s *FieldDeclsContext) AllFieldDecl() []IFieldDeclContext
func (*FieldDeclsContext) EnterRule ¶
func (s *FieldDeclsContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldDeclsContext) ExitRule ¶
func (s *FieldDeclsContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldDeclsContext) FieldDecl ¶
func (s *FieldDeclsContext) FieldDecl(i int) IFieldDeclContext
func (*FieldDeclsContext) GetParser ¶
func (s *FieldDeclsContext) GetParser() antlr.Parser
func (*FieldDeclsContext) GetRuleContext ¶
func (s *FieldDeclsContext) GetRuleContext() antlr.RuleContext
func (*FieldDeclsContext) IsFieldDeclsContext ¶
func (*FieldDeclsContext) IsFieldDeclsContext()
func (*FieldDeclsContext) ToStringTree ¶
func (s *FieldDeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GoroutineContext ¶
type GoroutineContext struct { *StmtContext // contains filtered or unexported fields }
func NewGoroutineContext ¶
func NewGoroutineContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GoroutineContext
func (*GoroutineContext) EnterRule ¶
func (s *GoroutineContext) EnterRule(listener antlr.ParseTreeListener)
func (*GoroutineContext) ExitRule ¶
func (s *GoroutineContext) ExitRule(listener antlr.ParseTreeListener)
func (*GoroutineContext) Expr ¶
func (s *GoroutineContext) Expr() IExprContext
func (*GoroutineContext) GORTN ¶
func (s *GoroutineContext) GORTN() antlr.TerminalNode
func (*GoroutineContext) GetRecv ¶
func (s *GoroutineContext) GetRecv() IExprContext
func (*GoroutineContext) GetRuleContext ¶
func (s *GoroutineContext) GetRuleContext() antlr.RuleContext
func (*GoroutineContext) MethCall_ ¶
func (s *GoroutineContext) MethCall_() IMethCall_Context
func (*GoroutineContext) SetRecv ¶
func (s *GoroutineContext) SetRecv(v IExprContext)
type GuardDispatchContext ¶
type GuardDispatchContext struct {
*CaseGuardContext
}
func NewGuardDispatchContext ¶
func NewGuardDispatchContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GuardDispatchContext
func (*GuardDispatchContext) AllExpr ¶
func (s *GuardDispatchContext) AllExpr() []IExprContext
func (*GuardDispatchContext) EnterRule ¶
func (s *GuardDispatchContext) EnterRule(listener antlr.ParseTreeListener)
func (*GuardDispatchContext) ExitRule ¶
func (s *GuardDispatchContext) ExitRule(listener antlr.ParseTreeListener)
func (*GuardDispatchContext) Expr ¶
func (s *GuardDispatchContext) Expr(i int) IExprContext
func (*GuardDispatchContext) GetRuleContext ¶
func (s *GuardDispatchContext) GetRuleContext() antlr.RuleContext
type GuardReceiveContext ¶
type GuardReceiveContext struct { *CaseGuardContext // contains filtered or unexported fields }
func NewGuardReceiveContext ¶
func NewGuardReceiveContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GuardReceiveContext
func (*GuardReceiveContext) EnterRule ¶
func (s *GuardReceiveContext) EnterRule(listener antlr.ParseTreeListener)
func (*GuardReceiveContext) ExitRule ¶
func (s *GuardReceiveContext) ExitRule(listener antlr.ParseTreeListener)
func (*GuardReceiveContext) Expr ¶
func (s *GuardReceiveContext) Expr() IExprContext
func (*GuardReceiveContext) GetLvalue ¶
func (s *GuardReceiveContext) GetLvalue() antlr.Token
func (*GuardReceiveContext) GetRuleContext ¶
func (s *GuardReceiveContext) GetRuleContext() antlr.RuleContext
func (*GuardReceiveContext) NAME ¶
func (s *GuardReceiveContext) NAME() antlr.TerminalNode
func (*GuardReceiveContext) SetLvalue ¶
func (s *GuardReceiveContext) SetLvalue(v antlr.Token)
type ICaseGuardContext ¶
type ICaseGuardContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCaseGuardContext differentiates from other interfaces. IsCaseGuardContext() }
ICaseGuardContext is an interface to support dynamic dispatch.
type IChannelTypeLitContext ¶
type IChannelTypeLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsChannelTypeLitContext differentiates from other interfaces. IsChannelTypeLitContext() }
IChannelTypeLitContext is an interface to support dynamic dispatch.
type IDeclsContext ¶
type IDeclsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDeclsContext differentiates from other interfaces. IsDeclsContext() }
IDeclsContext 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 IExprsContext ¶
type IExprsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExprsContext differentiates from other interfaces. IsExprsContext() }
IExprsContext is an interface to support dynamic dispatch.
type IFieldDeclContext ¶
type IFieldDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetField returns the field token. GetField() antlr.Token // SetField sets the field token. SetField(antlr.Token) // IsFieldDeclContext differentiates from other interfaces. IsFieldDeclContext() }
IFieldDeclContext is an interface to support dynamic dispatch.
type IFieldDeclsContext ¶
type IFieldDeclsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFieldDeclsContext differentiates from other interfaces. IsFieldDeclsContext() }
IFieldDeclsContext is an interface to support dynamic dispatch.
type IMethBodyContext ¶
type IMethBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMethBodyContext differentiates from other interfaces. IsMethBodyContext() }
IMethBodyContext is an interface to support dynamic dispatch.
type IMethCall_Context ¶
type IMethCall_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMethCall_Context differentiates from other interfaces. IsMethCall_Context() }
IMethCall_Context is an interface to support dynamic dispatch.
type IMethDeclContext ¶
type IMethDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetRecv returns the recv token. GetRecv() antlr.Token // GetTypn returns the typn token. GetTypn() antlr.Token // SetRecv sets the recv token. SetRecv(antlr.Token) // SetTypn sets the typn token. SetTypn(antlr.Token) // IsMethDeclContext differentiates from other interfaces. IsMethDeclContext() }
IMethDeclContext is an interface to support dynamic dispatch.
type IParamDeclContext ¶
type IParamDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetVari returns the vari token. GetVari() antlr.Token // SetVari sets the vari token. SetVari(antlr.Token) // IsParamDeclContext differentiates from other interfaces. IsParamDeclContext() }
IParamDeclContext is an interface to support dynamic dispatch.
type IParamsContext ¶
type IParamsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParamsContext differentiates from other interfaces. IsParamsContext() }
IParamsContext is an interface to support dynamic dispatch.
type IProgramContext ¶
type IProgramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsProgramContext differentiates from other interfaces. IsProgramContext() }
IProgramContext is an interface to support dynamic dispatch.
type ISigContext ¶
type ISigContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetMeth returns the meth token. GetMeth() antlr.Token // SetMeth sets the meth token. SetMeth(antlr.Token) // IsSigContext differentiates from other interfaces. IsSigContext() }
ISigContext is an interface to support dynamic dispatch.
type ISpecContext ¶
type ISpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSpecContext differentiates from other interfaces. IsSpecContext() }
ISpecContext is an interface to support dynamic dispatch.
type ISpecsContext ¶
type ISpecsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSpecsContext differentiates from other interfaces. IsSpecsContext() }
ISpecsContext 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 ITypContext ¶
type ITypContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypContext differentiates from other interfaces. IsTypContext() }
ITypContext is an interface to support dynamic dispatch.
type ITypeDeclContext ¶
type ITypeDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeDeclContext differentiates from other interfaces. IsTypeDeclContext() }
ITypeDeclContext is an interface to support dynamic dispatch.
type ITypeFDeclContext ¶
type ITypeFDeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeFDeclContext differentiates from other interfaces. IsTypeFDeclContext() }
ITypeFDeclContext is an interface to support dynamic dispatch.
type ITypeFDeclsContext ¶
type ITypeFDeclsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeFDeclsContext differentiates from other interfaces. IsTypeFDeclsContext() }
ITypeFDeclsContext is an interface to support dynamic dispatch.
type ITypeFormalsContext ¶
type ITypeFormalsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeFormalsContext differentiates from other interfaces. IsTypeFormalsContext() }
ITypeFormalsContext is an interface to support dynamic dispatch.
type ITypeLitContext ¶
type ITypeLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeLitContext differentiates from other interfaces. IsTypeLitContext() }
ITypeLitContext is an interface to support dynamic dispatch.
type ITypsContext ¶
type ITypsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypsContext differentiates from other interfaces. IsTypsContext() }
ITypsContext is an interface to support dynamic dispatch.
type InterfaceSpecContext ¶
type InterfaceSpecContext struct {
*SpecContext
}
func NewInterfaceSpecContext ¶
func NewInterfaceSpecContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InterfaceSpecContext
func (*InterfaceSpecContext) EnterRule ¶
func (s *InterfaceSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*InterfaceSpecContext) ExitRule ¶
func (s *InterfaceSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*InterfaceSpecContext) GetRuleContext ¶
func (s *InterfaceSpecContext) GetRuleContext() antlr.RuleContext
func (*InterfaceSpecContext) Typ ¶
func (s *InterfaceSpecContext) Typ() ITypContext
type InterfaceTypeLitContext ¶
type InterfaceTypeLitContext struct {
*TypeLitContext
}
func NewInterfaceTypeLitContext ¶
func NewInterfaceTypeLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InterfaceTypeLitContext
func (*InterfaceTypeLitContext) EnterRule ¶
func (s *InterfaceTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
func (*InterfaceTypeLitContext) ExitRule ¶
func (s *InterfaceTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
func (*InterfaceTypeLitContext) GetRuleContext ¶
func (s *InterfaceTypeLitContext) GetRuleContext() antlr.RuleContext
func (*InterfaceTypeLitContext) INTERFACE ¶
func (s *InterfaceTypeLitContext) INTERFACE() antlr.TerminalNode
func (*InterfaceTypeLitContext) Specs ¶
func (s *InterfaceTypeLitContext) Specs() ISpecsContext
type MakeChanContext ¶
type MakeChanContext struct {
*ExprContext
}
func NewMakeChanContext ¶
func NewMakeChanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MakeChanContext
func (*MakeChanContext) EnterRule ¶
func (s *MakeChanContext) EnterRule(listener antlr.ParseTreeListener)
func (*MakeChanContext) ExitRule ¶
func (s *MakeChanContext) ExitRule(listener antlr.ParseTreeListener)
func (*MakeChanContext) GetRuleContext ¶
func (s *MakeChanContext) GetRuleContext() antlr.RuleContext
func (*MakeChanContext) MAKE ¶
func (s *MakeChanContext) MAKE() antlr.TerminalNode
func (*MakeChanContext) Typ ¶
func (s *MakeChanContext) Typ() ITypContext
type MethBodyContext ¶
type MethBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMethBodyContext ¶
func NewEmptyMethBodyContext() *MethBodyContext
func NewMethBodyContext ¶
func NewMethBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethBodyContext
func (*MethBodyContext) CopyFrom ¶
func (s *MethBodyContext) CopyFrom(ctx *MethBodyContext)
func (*MethBodyContext) GetParser ¶
func (s *MethBodyContext) GetParser() antlr.Parser
func (*MethBodyContext) GetRuleContext ¶
func (s *MethBodyContext) GetRuleContext() antlr.RuleContext
func (*MethBodyContext) IsMethBodyContext ¶
func (*MethBodyContext) IsMethBodyContext()
func (*MethBodyContext) ToStringTree ¶
func (s *MethBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MethCallPrimeContext ¶
type MethCallPrimeContext struct { *MethCall_Context // contains filtered or unexported fields }
func NewMethCallPrimeContext ¶
func NewMethCallPrimeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MethCallPrimeContext
func (*MethCallPrimeContext) EnterRule ¶
func (s *MethCallPrimeContext) EnterRule(listener antlr.ParseTreeListener)
func (*MethCallPrimeContext) ExitRule ¶
func (s *MethCallPrimeContext) ExitRule(listener antlr.ParseTreeListener)
func (*MethCallPrimeContext) Exprs ¶
func (s *MethCallPrimeContext) Exprs() IExprsContext
func (*MethCallPrimeContext) GetArgs ¶
func (s *MethCallPrimeContext) GetArgs() IExprsContext
func (*MethCallPrimeContext) GetRuleContext ¶
func (s *MethCallPrimeContext) GetRuleContext() antlr.RuleContext
func (*MethCallPrimeContext) GetTargs ¶
func (s *MethCallPrimeContext) GetTargs() ITypsContext
func (*MethCallPrimeContext) NAME ¶
func (s *MethCallPrimeContext) NAME() antlr.TerminalNode
func (*MethCallPrimeContext) SetArgs ¶
func (s *MethCallPrimeContext) SetArgs(v IExprsContext)
func (*MethCallPrimeContext) SetTargs ¶
func (s *MethCallPrimeContext) SetTargs(v ITypsContext)
func (*MethCallPrimeContext) Typs ¶
func (s *MethCallPrimeContext) Typs() ITypsContext
type MethCall_Context ¶
type MethCall_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMethCall_Context ¶
func NewEmptyMethCall_Context() *MethCall_Context
func NewMethCall_Context ¶
func NewMethCall_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethCall_Context
func (*MethCall_Context) CopyFrom ¶
func (s *MethCall_Context) CopyFrom(ctx *MethCall_Context)
func (*MethCall_Context) GetParser ¶
func (s *MethCall_Context) GetParser() antlr.Parser
func (*MethCall_Context) GetRuleContext ¶
func (s *MethCall_Context) GetRuleContext() antlr.RuleContext
func (*MethCall_Context) IsMethCall_Context ¶
func (*MethCall_Context) IsMethCall_Context()
func (*MethCall_Context) ToStringTree ¶
func (s *MethCall_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MethDeclContext ¶
type MethDeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMethDeclContext ¶
func NewEmptyMethDeclContext() *MethDeclContext
func NewMethDeclContext ¶
func NewMethDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethDeclContext
func (*MethDeclContext) AllNAME ¶
func (s *MethDeclContext) AllNAME() []antlr.TerminalNode
func (*MethDeclContext) EnterRule ¶
func (s *MethDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*MethDeclContext) ExitRule ¶
func (s *MethDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*MethDeclContext) FUNC ¶
func (s *MethDeclContext) FUNC() antlr.TerminalNode
func (*MethDeclContext) GetParser ¶
func (s *MethDeclContext) GetParser() antlr.Parser
func (*MethDeclContext) GetRecv ¶
func (s *MethDeclContext) GetRecv() antlr.Token
func (*MethDeclContext) GetRuleContext ¶
func (s *MethDeclContext) GetRuleContext() antlr.RuleContext
func (*MethDeclContext) GetTypn ¶
func (s *MethDeclContext) GetTypn() antlr.Token
func (*MethDeclContext) IsMethDeclContext ¶
func (*MethDeclContext) IsMethDeclContext()
func (*MethDeclContext) MethBody ¶
func (s *MethDeclContext) MethBody() IMethBodyContext
func (*MethDeclContext) NAME ¶
func (s *MethDeclContext) NAME(i int) antlr.TerminalNode
func (*MethDeclContext) SetRecv ¶
func (s *MethDeclContext) SetRecv(v antlr.Token)
func (*MethDeclContext) SetTypn ¶
func (s *MethDeclContext) SetTypn(v antlr.Token)
func (*MethDeclContext) Sig ¶
func (s *MethDeclContext) Sig() ISigContext
func (*MethDeclContext) ToStringTree ¶
func (s *MethDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*MethDeclContext) TypeFormals ¶
func (s *MethDeclContext) TypeFormals() ITypeFormalsContext
type MethReturnContext ¶
type MethReturnContext struct {
*MethBodyContext
}
func NewMethReturnContext ¶
func NewMethReturnContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MethReturnContext
func (*MethReturnContext) EnterRule ¶
func (s *MethReturnContext) EnterRule(listener antlr.ParseTreeListener)
func (*MethReturnContext) ExitRule ¶
func (s *MethReturnContext) ExitRule(listener antlr.ParseTreeListener)
func (*MethReturnContext) Expr ¶
func (s *MethReturnContext) Expr() IExprContext
func (*MethReturnContext) GetRuleContext ¶
func (s *MethReturnContext) GetRuleContext() antlr.RuleContext
func (*MethReturnContext) RETURN ¶
func (s *MethReturnContext) RETURN() antlr.TerminalNode
type ParamDeclContext ¶
type ParamDeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParamDeclContext ¶
func NewEmptyParamDeclContext() *ParamDeclContext
func NewParamDeclContext ¶
func NewParamDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamDeclContext
func (*ParamDeclContext) EnterRule ¶
func (s *ParamDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParamDeclContext) ExitRule ¶
func (s *ParamDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParamDeclContext) GetParser ¶
func (s *ParamDeclContext) GetParser() antlr.Parser
func (*ParamDeclContext) GetRuleContext ¶
func (s *ParamDeclContext) GetRuleContext() antlr.RuleContext
func (*ParamDeclContext) GetVari ¶
func (s *ParamDeclContext) GetVari() antlr.Token
func (*ParamDeclContext) IsParamDeclContext ¶
func (*ParamDeclContext) IsParamDeclContext()
func (*ParamDeclContext) NAME ¶
func (s *ParamDeclContext) NAME() antlr.TerminalNode
func (*ParamDeclContext) SetVari ¶
func (s *ParamDeclContext) SetVari(v antlr.Token)
func (*ParamDeclContext) ToStringTree ¶
func (s *ParamDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ParamDeclContext) Typ ¶
func (s *ParamDeclContext) Typ() ITypContext
type ParamsContext ¶
type ParamsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParamsContext ¶
func NewEmptyParamsContext() *ParamsContext
func NewParamsContext ¶
func NewParamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamsContext
func (*ParamsContext) AllParamDecl ¶
func (s *ParamsContext) AllParamDecl() []IParamDeclContext
func (*ParamsContext) EnterRule ¶
func (s *ParamsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParamsContext) ExitRule ¶
func (s *ParamsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParamsContext) GetParser ¶
func (s *ParamsContext) GetParser() antlr.Parser
func (*ParamsContext) GetRuleContext ¶
func (s *ParamsContext) GetRuleContext() antlr.RuleContext
func (*ParamsContext) IsParamsContext ¶
func (*ParamsContext) IsParamsContext()
func (*ParamsContext) ParamDecl ¶
func (s *ParamsContext) ParamDecl(i int) IParamDeclContext
func (*ParamsContext) ToStringTree ¶
func (s *ParamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ProgramContext ¶
type ProgramContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramContext ¶
func NewEmptyProgramContext() *ProgramContext
func NewProgramContext ¶
func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext
func (*ProgramContext) AllMAIN ¶
func (s *ProgramContext) AllMAIN() []antlr.TerminalNode
func (*ProgramContext) Decls ¶
func (s *ProgramContext) Decls() IDeclsContext
func (*ProgramContext) EOF ¶
func (s *ProgramContext) EOF() antlr.TerminalNode
func (*ProgramContext) EnterRule ¶
func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgramContext) ExitRule ¶
func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgramContext) Expr ¶
func (s *ProgramContext) Expr() IExprContext
func (*ProgramContext) FMT ¶
func (s *ProgramContext) FMT() antlr.TerminalNode
func (*ProgramContext) FUNC ¶
func (s *ProgramContext) FUNC() antlr.TerminalNode
func (*ProgramContext) GetParser ¶
func (s *ProgramContext) GetParser() antlr.Parser
func (*ProgramContext) GetRuleContext ¶
func (s *ProgramContext) GetRuleContext() antlr.RuleContext
func (*ProgramContext) IMPORT ¶
func (s *ProgramContext) IMPORT() antlr.TerminalNode
func (*ProgramContext) IsProgramContext ¶
func (*ProgramContext) IsProgramContext()
func (*ProgramContext) MAIN ¶
func (s *ProgramContext) MAIN(i int) antlr.TerminalNode
func (*ProgramContext) PACKAGE ¶
func (s *ProgramContext) PACKAGE() antlr.TerminalNode
func (*ProgramContext) PRINTF ¶
func (s *ProgramContext) PRINTF() antlr.TerminalNode
func (*ProgramContext) STRING ¶
func (s *ProgramContext) STRING() antlr.TerminalNode
func (*ProgramContext) ToStringTree ¶
func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SelectContext ¶
type SelectContext struct {
*ExprContext
}
func NewSelectContext ¶
func NewSelectContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectContext
func (*SelectContext) EnterRule ¶
func (s *SelectContext) EnterRule(listener antlr.ParseTreeListener)
func (*SelectContext) ExitRule ¶
func (s *SelectContext) ExitRule(listener antlr.ParseTreeListener)
func (*SelectContext) Expr ¶
func (s *SelectContext) Expr() IExprContext
func (*SelectContext) GetRuleContext ¶
func (s *SelectContext) GetRuleContext() antlr.RuleContext
func (*SelectContext) NAME ¶
func (s *SelectContext) NAME() antlr.TerminalNode
type SequenceContext ¶
type SequenceContext struct {
*MethBodyContext
}
func NewSequenceContext ¶
func NewSequenceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SequenceContext
func (*SequenceContext) EnterRule ¶
func (s *SequenceContext) EnterRule(listener antlr.ParseTreeListener)
func (*SequenceContext) ExitRule ¶
func (s *SequenceContext) ExitRule(listener antlr.ParseTreeListener)
func (*SequenceContext) GetRuleContext ¶
func (s *SequenceContext) GetRuleContext() antlr.RuleContext
func (*SequenceContext) MethBody ¶
func (s *SequenceContext) MethBody() IMethBodyContext
func (*SequenceContext) Stmt ¶
func (s *SequenceContext) Stmt() IStmtContext
type SigContext ¶
type SigContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySigContext ¶
func NewEmptySigContext() *SigContext
func NewSigContext ¶
func NewSigContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SigContext
func (*SigContext) EnterRule ¶
func (s *SigContext) EnterRule(listener antlr.ParseTreeListener)
func (*SigContext) ExitRule ¶
func (s *SigContext) ExitRule(listener antlr.ParseTreeListener)
func (*SigContext) GetMeth ¶
func (s *SigContext) GetMeth() antlr.Token
func (*SigContext) GetParser ¶
func (s *SigContext) GetParser() antlr.Parser
func (*SigContext) GetRuleContext ¶
func (s *SigContext) GetRuleContext() antlr.RuleContext
func (*SigContext) IsSigContext ¶
func (*SigContext) IsSigContext()
func (*SigContext) NAME ¶
func (s *SigContext) NAME() antlr.TerminalNode
func (*SigContext) Params ¶
func (s *SigContext) Params() IParamsContext
func (*SigContext) SetMeth ¶
func (s *SigContext) SetMeth(v antlr.Token)
func (*SigContext) ToStringTree ¶
func (s *SigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SigContext) Typ ¶
func (s *SigContext) Typ() ITypContext
func (*SigContext) TypeFormals ¶
func (s *SigContext) TypeFormals() ITypeFormalsContext
type SigSpecContext ¶
type SigSpecContext struct {
*SpecContext
}
func NewSigSpecContext ¶
func NewSigSpecContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SigSpecContext
func (*SigSpecContext) EnterRule ¶
func (s *SigSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*SigSpecContext) ExitRule ¶
func (s *SigSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*SigSpecContext) GetRuleContext ¶
func (s *SigSpecContext) GetRuleContext() antlr.RuleContext
func (*SigSpecContext) Sig ¶
func (s *SigSpecContext) Sig() ISigContext
type SpecContext ¶
type SpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySpecContext ¶
func NewEmptySpecContext() *SpecContext
func NewSpecContext ¶
func NewSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpecContext
func (*SpecContext) CopyFrom ¶
func (s *SpecContext) CopyFrom(ctx *SpecContext)
func (*SpecContext) GetParser ¶
func (s *SpecContext) GetParser() antlr.Parser
func (*SpecContext) GetRuleContext ¶
func (s *SpecContext) GetRuleContext() antlr.RuleContext
func (*SpecContext) IsSpecContext ¶
func (*SpecContext) IsSpecContext()
func (*SpecContext) ToStringTree ¶
func (s *SpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SpecsContext ¶
type SpecsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySpecsContext ¶
func NewEmptySpecsContext() *SpecsContext
func NewSpecsContext ¶
func NewSpecsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpecsContext
func (*SpecsContext) AllSpec ¶
func (s *SpecsContext) AllSpec() []ISpecContext
func (*SpecsContext) EnterRule ¶
func (s *SpecsContext) EnterRule(listener antlr.ParseTreeListener)
func (*SpecsContext) ExitRule ¶
func (s *SpecsContext) ExitRule(listener antlr.ParseTreeListener)
func (*SpecsContext) GetParser ¶
func (s *SpecsContext) GetParser() antlr.Parser
func (*SpecsContext) GetRuleContext ¶
func (s *SpecsContext) GetRuleContext() antlr.RuleContext
func (*SpecsContext) IsSpecsContext ¶
func (*SpecsContext) IsSpecsContext()
func (*SpecsContext) Spec ¶
func (s *SpecsContext) Spec(i int) ISpecContext
func (*SpecsContext) ToStringTree ¶
func (s *SpecsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SprintfContext ¶
type SprintfContext struct {
*MethBodyContext
}
func NewSprintfContext ¶
func NewSprintfContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SprintfContext
func (*SprintfContext) AllExpr ¶
func (s *SprintfContext) AllExpr() []IExprContext
func (*SprintfContext) EnterRule ¶
func (s *SprintfContext) EnterRule(listener antlr.ParseTreeListener)
func (*SprintfContext) ExitRule ¶
func (s *SprintfContext) ExitRule(listener antlr.ParseTreeListener)
func (*SprintfContext) Expr ¶
func (s *SprintfContext) Expr(i int) IExprContext
func (*SprintfContext) FMT ¶
func (s *SprintfContext) FMT() antlr.TerminalNode
func (*SprintfContext) GetRuleContext ¶
func (s *SprintfContext) GetRuleContext() antlr.RuleContext
func (*SprintfContext) SPRINTF ¶
func (s *SprintfContext) SPRINTF() antlr.TerminalNode
func (*SprintfContext) STRING ¶
func (s *SprintfContext) STRING() antlr.TerminalNode
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 StructLitContext ¶
type StructLitContext struct {
*ExprContext
}
func NewStructLitContext ¶
func NewStructLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructLitContext
func (*StructLitContext) EnterRule ¶
func (s *StructLitContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructLitContext) ExitRule ¶
func (s *StructLitContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructLitContext) Exprs ¶
func (s *StructLitContext) Exprs() IExprsContext
func (*StructLitContext) GetRuleContext ¶
func (s *StructLitContext) GetRuleContext() antlr.RuleContext
func (*StructLitContext) Typ ¶
func (s *StructLitContext) Typ() ITypContext
type StructTypeLitContext ¶
type StructTypeLitContext struct {
*TypeLitContext
}
func NewStructTypeLitContext ¶
func NewStructTypeLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructTypeLitContext
func (*StructTypeLitContext) EnterRule ¶
func (s *StructTypeLitContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructTypeLitContext) ExitRule ¶
func (s *StructTypeLitContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructTypeLitContext) FieldDecls ¶
func (s *StructTypeLitContext) FieldDecls() IFieldDeclsContext
func (*StructTypeLitContext) GetRuleContext ¶
func (s *StructTypeLitContext) GetRuleContext() antlr.RuleContext
func (*StructTypeLitContext) STRUCT ¶
func (s *StructTypeLitContext) STRUCT() antlr.TerminalNode
type TypContext ¶
type TypContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypContext ¶
func NewEmptyTypContext() *TypContext
func NewTypContext ¶
func NewTypContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypContext
func (*TypContext) CopyFrom ¶
func (s *TypContext) CopyFrom(ctx *TypContext)
func (*TypContext) GetParser ¶
func (s *TypContext) GetParser() antlr.Parser
func (*TypContext) GetRuleContext ¶
func (s *TypContext) GetRuleContext() antlr.RuleContext
func (*TypContext) IsTypContext ¶
func (*TypContext) IsTypContext()
func (*TypContext) ToStringTree ¶
func (s *TypContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeDeclContext ¶
type TypeDeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeDeclContext ¶
func NewEmptyTypeDeclContext() *TypeDeclContext
func NewTypeDeclContext ¶
func NewTypeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDeclContext
func (*TypeDeclContext) EnterRule ¶
func (s *TypeDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeDeclContext) ExitRule ¶
func (s *TypeDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeDeclContext) GetParser ¶
func (s *TypeDeclContext) GetParser() antlr.Parser
func (*TypeDeclContext) GetRuleContext ¶
func (s *TypeDeclContext) GetRuleContext() antlr.RuleContext
func (*TypeDeclContext) IsTypeDeclContext ¶
func (*TypeDeclContext) IsTypeDeclContext()
func (*TypeDeclContext) NAME ¶
func (s *TypeDeclContext) NAME() antlr.TerminalNode
func (*TypeDeclContext) TYPE ¶
func (s *TypeDeclContext) TYPE() antlr.TerminalNode
func (*TypeDeclContext) ToStringTree ¶
func (s *TypeDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeDeclContext) TypeFormals ¶
func (s *TypeDeclContext) TypeFormals() ITypeFormalsContext
func (*TypeDeclContext) TypeLit ¶
func (s *TypeDeclContext) TypeLit() ITypeLitContext
type TypeFDeclContext ¶
type TypeFDeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeFDeclContext ¶
func NewEmptyTypeFDeclContext() *TypeFDeclContext
func NewTypeFDeclContext ¶
func NewTypeFDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeFDeclContext
func (*TypeFDeclContext) EnterRule ¶
func (s *TypeFDeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeFDeclContext) ExitRule ¶
func (s *TypeFDeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeFDeclContext) GetParser ¶
func (s *TypeFDeclContext) GetParser() antlr.Parser
func (*TypeFDeclContext) GetRuleContext ¶
func (s *TypeFDeclContext) GetRuleContext() antlr.RuleContext
func (*TypeFDeclContext) IsTypeFDeclContext ¶
func (*TypeFDeclContext) IsTypeFDeclContext()
func (*TypeFDeclContext) NAME ¶
func (s *TypeFDeclContext) NAME() antlr.TerminalNode
func (*TypeFDeclContext) ToStringTree ¶
func (s *TypeFDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeFDeclContext) Typ ¶
func (s *TypeFDeclContext) Typ() ITypContext
type TypeFDeclsContext ¶
type TypeFDeclsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeFDeclsContext ¶
func NewEmptyTypeFDeclsContext() *TypeFDeclsContext
func NewTypeFDeclsContext ¶
func NewTypeFDeclsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeFDeclsContext
func (*TypeFDeclsContext) AllTypeFDecl ¶
func (s *TypeFDeclsContext) AllTypeFDecl() []ITypeFDeclContext
func (*TypeFDeclsContext) EnterRule ¶
func (s *TypeFDeclsContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeFDeclsContext) ExitRule ¶
func (s *TypeFDeclsContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeFDeclsContext) GetParser ¶
func (s *TypeFDeclsContext) GetParser() antlr.Parser
func (*TypeFDeclsContext) GetRuleContext ¶
func (s *TypeFDeclsContext) GetRuleContext() antlr.RuleContext
func (*TypeFDeclsContext) IsTypeFDeclsContext ¶
func (*TypeFDeclsContext) IsTypeFDeclsContext()
func (*TypeFDeclsContext) ToStringTree ¶
func (s *TypeFDeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeFDeclsContext) TypeFDecl ¶
func (s *TypeFDeclsContext) TypeFDecl(i int) ITypeFDeclContext
type TypeFormalsContext ¶
type TypeFormalsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeFormalsContext ¶
func NewEmptyTypeFormalsContext() *TypeFormalsContext
func NewTypeFormalsContext ¶
func NewTypeFormalsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeFormalsContext
func (*TypeFormalsContext) EnterRule ¶
func (s *TypeFormalsContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeFormalsContext) ExitRule ¶
func (s *TypeFormalsContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeFormalsContext) GetParser ¶
func (s *TypeFormalsContext) GetParser() antlr.Parser
func (*TypeFormalsContext) GetRuleContext ¶
func (s *TypeFormalsContext) GetRuleContext() antlr.RuleContext
func (*TypeFormalsContext) IsTypeFormalsContext ¶
func (*TypeFormalsContext) IsTypeFormalsContext()
func (*TypeFormalsContext) TYPE ¶
func (s *TypeFormalsContext) TYPE() antlr.TerminalNode
func (*TypeFormalsContext) ToStringTree ¶
func (s *TypeFormalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeFormalsContext) TypeFDecls ¶
func (s *TypeFormalsContext) TypeFDecls() ITypeFDeclsContext
type TypeLitContext ¶
type TypeLitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeLitContext ¶
func NewEmptyTypeLitContext() *TypeLitContext
func NewTypeLitContext ¶
func NewTypeLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeLitContext
func (*TypeLitContext) CopyFrom ¶
func (s *TypeLitContext) CopyFrom(ctx *TypeLitContext)
func (*TypeLitContext) GetParser ¶
func (s *TypeLitContext) GetParser() antlr.Parser
func (*TypeLitContext) GetRuleContext ¶
func (s *TypeLitContext) GetRuleContext() antlr.RuleContext
func (*TypeLitContext) IsTypeLitContext ¶
func (*TypeLitContext) IsTypeLitContext()
func (*TypeLitContext) ToStringTree ¶
func (s *TypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeNameContext ¶
type TypeNameContext struct {
*TypContext
}
func NewTypeNameContext ¶
func NewTypeNameContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeNameContext
func (*TypeNameContext) EnterRule ¶
func (s *TypeNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeNameContext) ExitRule ¶
func (s *TypeNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeNameContext) GetRuleContext ¶
func (s *TypeNameContext) GetRuleContext() antlr.RuleContext
func (*TypeNameContext) NAME ¶
func (s *TypeNameContext) NAME() antlr.TerminalNode
func (*TypeNameContext) Typs ¶
func (s *TypeNameContext) Typs() ITypsContext
type TypeParamContext ¶
type TypeParamContext struct {
*TypContext
}
func NewTypeParamContext ¶
func NewTypeParamContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TypeParamContext
func (*TypeParamContext) EnterRule ¶
func (s *TypeParamContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeParamContext) ExitRule ¶
func (s *TypeParamContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeParamContext) GetRuleContext ¶
func (s *TypeParamContext) GetRuleContext() antlr.RuleContext
func (*TypeParamContext) NAME ¶
func (s *TypeParamContext) NAME() antlr.TerminalNode
type TypsContext ¶
type TypsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypsContext ¶
func NewEmptyTypsContext() *TypsContext
func NewTypsContext ¶
func NewTypsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypsContext
func (*TypsContext) AllTyp ¶
func (s *TypsContext) AllTyp() []ITypContext
func (*TypsContext) EnterRule ¶
func (s *TypsContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypsContext) ExitRule ¶
func (s *TypsContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypsContext) GetParser ¶
func (s *TypsContext) GetParser() antlr.Parser
func (*TypsContext) GetRuleContext ¶
func (s *TypsContext) GetRuleContext() antlr.RuleContext
func (*TypsContext) IsTypsContext ¶
func (*TypsContext) IsTypsContext()
func (*TypsContext) ToStringTree ¶
func (s *TypsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypsContext) Typ ¶
func (s *TypsContext) Typ(i int) ITypContext
type VariableContext ¶
type VariableContext struct {
*ExprContext
}
func NewVariableContext ¶
func NewVariableContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VariableContext
func (*VariableContext) EnterRule ¶
func (s *VariableContext) EnterRule(listener antlr.ParseTreeListener)
func (*VariableContext) ExitRule ¶
func (s *VariableContext) ExitRule(listener antlr.ParseTreeListener)
func (*VariableContext) GetRuleContext ¶
func (s *VariableContext) GetRuleContext() antlr.RuleContext
func (*VariableContext) NAME ¶
func (s *VariableContext) NAME() antlr.TerminalNode