Documentation ¶
Index ¶
- Constants
- func IsBasicType(text string) bool
- func IsGolangKeyWord(text string, excepts ...string) bool
- func MatchTag(v string) bool
- type AnonymousFiledContext
- func (s *AnonymousFiledContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AnonymousFiledContext) GetParser() antlr.Parser
- func (s *AnonymousFiledContext) GetRuleContext() antlr.RuleContext
- func (s *AnonymousFiledContext) GetStar() antlr.Token
- func (s *AnonymousFiledContext) ID() antlr.TerminalNode
- func (*AnonymousFiledContext) IsAnonymousFiledContext()
- func (s *AnonymousFiledContext) SetStar(v antlr.Token)
- func (s *AnonymousFiledContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ApiContext
- func (s *ApiContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ApiContext) AllSpec() []ISpecContext
- func (s *ApiContext) GetParser() antlr.Parser
- func (s *ApiContext) GetRuleContext() antlr.RuleContext
- func (*ApiContext) IsApiContext()
- func (s *ApiContext) Spec(i int) ISpecContext
- func (s *ApiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ApiParserLexer
- type ApiParserParser
- func (p *ApiParserParser) AnonymousFiled() (localctx IAnonymousFiledContext)
- func (p *ApiParserParser) Api() (localctx IApiContext)
- func (p *ApiParserParser) ArrayType() (localctx IArrayTypeContext)
- func (p *ApiParserParser) AtDoc() (localctx IAtDocContext)
- func (p *ApiParserParser) AtHandler() (localctx IAtHandlerContext)
- func (p *ApiParserParser) AtServer() (localctx IAtServerContext)
- func (p *ApiParserParser) Body() (localctx IBodyContext)
- func (p *ApiParserParser) DataType() (localctx IDataTypeContext)
- func (p *ApiParserParser) Field() (localctx IFieldContext)
- func (p *ApiParserParser) Field_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *ApiParserParser) ImportBlock() (localctx IImportBlockContext)
- func (p *ApiParserParser) ImportBlockValue() (localctx IImportBlockValueContext)
- func (p *ApiParserParser) ImportLit() (localctx IImportLitContext)
- func (p *ApiParserParser) ImportSpec() (localctx IImportSpecContext)
- func (p *ApiParserParser) ImportValue() (localctx IImportValueContext)
- func (p *ApiParserParser) InfoSpec() (localctx IInfoSpecContext)
- func (p *ApiParserParser) KvLit() (localctx IKvLitContext)
- func (p *ApiParserParser) MapType() (localctx IMapTypeContext)
- func (p *ApiParserParser) NormalField() (localctx INormalFieldContext)
- func (p *ApiParserParser) Path() (localctx IPathContext)
- func (p *ApiParserParser) PointerType() (localctx IPointerTypeContext)
- func (p *ApiParserParser) Replybody() (localctx IReplybodyContext)
- func (p *ApiParserParser) Route() (localctx IRouteContext)
- func (p *ApiParserParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *ApiParserParser) ServiceApi() (localctx IServiceApiContext)
- func (p *ApiParserParser) ServiceName() (localctx IServiceNameContext)
- func (p *ApiParserParser) ServiceRoute() (localctx IServiceRouteContext)
- func (p *ApiParserParser) ServiceSpec() (localctx IServiceSpecContext)
- func (p *ApiParserParser) Spec() (localctx ISpecContext)
- func (p *ApiParserParser) SyntaxLit() (localctx ISyntaxLitContext)
- func (p *ApiParserParser) TypeAlias() (localctx ITypeAliasContext)
- func (p *ApiParserParser) TypeBlock() (localctx ITypeBlockContext)
- func (p *ApiParserParser) TypeBlockAlias() (localctx ITypeBlockAliasContext)
- func (p *ApiParserParser) TypeBlockBody() (localctx ITypeBlockBodyContext)
- func (p *ApiParserParser) TypeBlockStruct() (localctx ITypeBlockStructContext)
- func (p *ApiParserParser) TypeLit() (localctx ITypeLitContext)
- func (p *ApiParserParser) TypeLitBody() (localctx ITypeLitBodyContext)
- func (p *ApiParserParser) TypeSpec() (localctx ITypeSpecContext)
- func (p *ApiParserParser) TypeStruct() (localctx ITypeStructContext)
- type ApiParserVisitor
- type ArrayTypeContext
- func (s *ArrayTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayTypeContext) DataType() IDataTypeContext
- func (s *ArrayTypeContext) GetLbrack() antlr.Token
- func (s *ArrayTypeContext) GetParser() antlr.Parser
- func (s *ArrayTypeContext) GetRbrack() antlr.Token
- func (s *ArrayTypeContext) GetRuleContext() antlr.RuleContext
- func (*ArrayTypeContext) IsArrayTypeContext()
- func (s *ArrayTypeContext) SetLbrack(v antlr.Token)
- func (s *ArrayTypeContext) SetRbrack(v antlr.Token)
- func (s *ArrayTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AtDocContext
- func (s *AtDocContext) ATDOC() antlr.TerminalNode
- func (s *AtDocContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtDocContext) AllKvLit() []IKvLitContext
- func (s *AtDocContext) GetLp() antlr.Token
- func (s *AtDocContext) GetParser() antlr.Parser
- func (s *AtDocContext) GetRp() antlr.Token
- func (s *AtDocContext) GetRuleContext() antlr.RuleContext
- func (*AtDocContext) IsAtDocContext()
- func (s *AtDocContext) KvLit(i int) IKvLitContext
- func (s *AtDocContext) STRING() antlr.TerminalNode
- func (s *AtDocContext) SetLp(v antlr.Token)
- func (s *AtDocContext) SetRp(v antlr.Token)
- func (s *AtDocContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AtHandlerContext
- func (s *AtHandlerContext) ATHANDLER() antlr.TerminalNode
- func (s *AtHandlerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtHandlerContext) GetParser() antlr.Parser
- func (s *AtHandlerContext) GetRuleContext() antlr.RuleContext
- func (s *AtHandlerContext) ID() antlr.TerminalNode
- func (*AtHandlerContext) IsAtHandlerContext()
- func (s *AtHandlerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AtServerContext
- func (s *AtServerContext) ATSERVER() antlr.TerminalNode
- func (s *AtServerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtServerContext) AllKvLit() []IKvLitContext
- func (s *AtServerContext) GetLp() antlr.Token
- func (s *AtServerContext) GetParser() antlr.Parser
- func (s *AtServerContext) GetRp() antlr.Token
- func (s *AtServerContext) GetRuleContext() antlr.RuleContext
- func (*AtServerContext) IsAtServerContext()
- func (s *AtServerContext) KvLit(i int) IKvLitContext
- func (s *AtServerContext) SetLp(v antlr.Token)
- func (s *AtServerContext) SetRp(v antlr.Token)
- func (s *AtServerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseApiParserVisitor
- func (v *BaseApiParserVisitor) VisitAnonymousFiled(ctx *AnonymousFiledContext) interface{}
- func (v *BaseApiParserVisitor) VisitApi(ctx *ApiContext) interface{}
- func (v *BaseApiParserVisitor) VisitArrayType(ctx *ArrayTypeContext) interface{}
- func (v *BaseApiParserVisitor) VisitAtDoc(ctx *AtDocContext) interface{}
- func (v *BaseApiParserVisitor) VisitAtHandler(ctx *AtHandlerContext) interface{}
- func (v *BaseApiParserVisitor) VisitAtServer(ctx *AtServerContext) interface{}
- func (v *BaseApiParserVisitor) VisitBody(ctx *BodyContext) interface{}
- func (v *BaseApiParserVisitor) VisitDataType(ctx *DataTypeContext) interface{}
- func (v *BaseApiParserVisitor) VisitField(ctx *FieldContext) interface{}
- func (v *BaseApiParserVisitor) VisitImportBlock(ctx *ImportBlockContext) interface{}
- func (v *BaseApiParserVisitor) VisitImportBlockValue(ctx *ImportBlockValueContext) interface{}
- func (v *BaseApiParserVisitor) VisitImportLit(ctx *ImportLitContext) interface{}
- func (v *BaseApiParserVisitor) VisitImportSpec(ctx *ImportSpecContext) interface{}
- func (v *BaseApiParserVisitor) VisitImportValue(ctx *ImportValueContext) interface{}
- func (v *BaseApiParserVisitor) VisitInfoSpec(ctx *InfoSpecContext) interface{}
- func (v *BaseApiParserVisitor) VisitKvLit(ctx *KvLitContext) interface{}
- func (v *BaseApiParserVisitor) VisitMapType(ctx *MapTypeContext) interface{}
- func (v *BaseApiParserVisitor) VisitNormalField(ctx *NormalFieldContext) interface{}
- func (v *BaseApiParserVisitor) VisitPath(ctx *PathContext) interface{}
- func (v *BaseApiParserVisitor) VisitPointerType(ctx *PointerTypeContext) interface{}
- func (v *BaseApiParserVisitor) VisitReplybody(ctx *ReplybodyContext) interface{}
- func (v *BaseApiParserVisitor) VisitRoute(ctx *RouteContext) interface{}
- func (v *BaseApiParserVisitor) VisitServiceApi(ctx *ServiceApiContext) interface{}
- func (v *BaseApiParserVisitor) VisitServiceName(ctx *ServiceNameContext) interface{}
- func (v *BaseApiParserVisitor) VisitServiceRoute(ctx *ServiceRouteContext) interface{}
- func (v *BaseApiParserVisitor) VisitServiceSpec(ctx *ServiceSpecContext) interface{}
- func (v *BaseApiParserVisitor) VisitSpec(ctx *SpecContext) interface{}
- func (v *BaseApiParserVisitor) VisitSyntaxLit(ctx *SyntaxLitContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeAlias(ctx *TypeAliasContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeBlock(ctx *TypeBlockContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeBlockAlias(ctx *TypeBlockAliasContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeBlockBody(ctx *TypeBlockBodyContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeBlockStruct(ctx *TypeBlockStructContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeLit(ctx *TypeLitContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeLitBody(ctx *TypeLitBodyContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeSpec(ctx *TypeSpecContext) interface{}
- func (v *BaseApiParserVisitor) VisitTypeStruct(ctx *TypeStructContext) interface{}
- type BodyContext
- func (s *BodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BodyContext) GetLp() antlr.Token
- func (s *BodyContext) GetParser() antlr.Parser
- func (s *BodyContext) GetRp() antlr.Token
- func (s *BodyContext) GetRuleContext() antlr.RuleContext
- func (s *BodyContext) ID() antlr.TerminalNode
- func (*BodyContext) IsBodyContext()
- func (s *BodyContext) SetLp(v antlr.Token)
- func (s *BodyContext) SetRp(v antlr.Token)
- func (s *BodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DataTypeContext
- func (s *DataTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DataTypeContext) ArrayType() IArrayTypeContext
- func (s *DataTypeContext) GetInter() antlr.Token
- func (s *DataTypeContext) GetParser() antlr.Parser
- func (s *DataTypeContext) GetRuleContext() antlr.RuleContext
- func (s *DataTypeContext) GetTime() antlr.Token
- func (s *DataTypeContext) ID() antlr.TerminalNode
- func (s *DataTypeContext) INTERFACE() antlr.TerminalNode
- func (*DataTypeContext) IsDataTypeContext()
- func (s *DataTypeContext) MapType() IMapTypeContext
- func (s *DataTypeContext) PointerType() IPointerTypeContext
- func (s *DataTypeContext) SetInter(v antlr.Token)
- func (s *DataTypeContext) SetTime(v antlr.Token)
- func (s *DataTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DataTypeContext) TypeStruct() ITypeStructContext
- type FieldContext
- func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FieldContext) AnonymousFiled() IAnonymousFiledContext
- func (s *FieldContext) GetParser() antlr.Parser
- func (s *FieldContext) GetRuleContext() antlr.RuleContext
- func (*FieldContext) IsFieldContext()
- func (s *FieldContext) NormalField() INormalFieldContext
- func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAnonymousFiledContext
- type IApiContext
- type IArrayTypeContext
- type IAtDocContext
- type IAtHandlerContext
- type IAtServerContext
- type IBodyContext
- type IDataTypeContext
- type IFieldContext
- type IImportBlockContext
- type IImportBlockValueContext
- type IImportLitContext
- type IImportSpecContext
- type IImportValueContext
- type IInfoSpecContext
- type IKvLitContext
- type IMapTypeContext
- type INormalFieldContext
- type IPathContext
- type IPointerTypeContext
- type IReplybodyContext
- type IRouteContext
- type IServiceApiContext
- type IServiceNameContext
- type IServiceRouteContext
- type IServiceSpecContext
- type ISpecContext
- type ISyntaxLitContext
- type ITypeAliasContext
- type ITypeBlockAliasContext
- type ITypeBlockBodyContext
- type ITypeBlockContext
- type ITypeBlockStructContext
- type ITypeLitBodyContext
- type ITypeLitContext
- type ITypeSpecContext
- type ITypeStructContext
- type ImportBlockContext
- func (s *ImportBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportBlockContext) AllImportBlockValue() []IImportBlockValueContext
- func (s *ImportBlockContext) GetImportToken() antlr.Token
- func (s *ImportBlockContext) GetParser() antlr.Parser
- func (s *ImportBlockContext) GetRuleContext() antlr.RuleContext
- func (s *ImportBlockContext) ID() antlr.TerminalNode
- func (s *ImportBlockContext) ImportBlockValue(i int) IImportBlockValueContext
- func (*ImportBlockContext) IsImportBlockContext()
- func (s *ImportBlockContext) SetImportToken(v antlr.Token)
- func (s *ImportBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportBlockValueContext
- func (s *ImportBlockValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportBlockValueContext) GetParser() antlr.Parser
- func (s *ImportBlockValueContext) GetRuleContext() antlr.RuleContext
- func (s *ImportBlockValueContext) ImportValue() IImportValueContext
- func (*ImportBlockValueContext) IsImportBlockValueContext()
- func (s *ImportBlockValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportLitContext
- func (s *ImportLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportLitContext) GetImportToken() antlr.Token
- func (s *ImportLitContext) GetParser() antlr.Parser
- func (s *ImportLitContext) GetRuleContext() antlr.RuleContext
- func (s *ImportLitContext) ID() antlr.TerminalNode
- func (s *ImportLitContext) ImportValue() IImportValueContext
- func (*ImportLitContext) IsImportLitContext()
- func (s *ImportLitContext) SetImportToken(v antlr.Token)
- func (s *ImportLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportSpecContext
- func (s *ImportSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportSpecContext) GetParser() antlr.Parser
- func (s *ImportSpecContext) GetRuleContext() antlr.RuleContext
- func (s *ImportSpecContext) ImportBlock() IImportBlockContext
- func (s *ImportSpecContext) ImportLit() IImportLitContext
- func (*ImportSpecContext) IsImportSpecContext()
- func (s *ImportSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ImportValueContext
- func (s *ImportValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ImportValueContext) GetParser() antlr.Parser
- func (s *ImportValueContext) GetRuleContext() antlr.RuleContext
- func (*ImportValueContext) IsImportValueContext()
- func (s *ImportValueContext) STRING() antlr.TerminalNode
- func (s *ImportValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InfoSpecContext
- func (s *InfoSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *InfoSpecContext) AllKvLit() []IKvLitContext
- func (s *InfoSpecContext) GetInfoToken() antlr.Token
- func (s *InfoSpecContext) GetLp() antlr.Token
- func (s *InfoSpecContext) GetParser() antlr.Parser
- func (s *InfoSpecContext) GetRp() antlr.Token
- func (s *InfoSpecContext) GetRuleContext() antlr.RuleContext
- func (s *InfoSpecContext) ID() antlr.TerminalNode
- func (*InfoSpecContext) IsInfoSpecContext()
- func (s *InfoSpecContext) KvLit(i int) IKvLitContext
- func (s *InfoSpecContext) SetInfoToken(v antlr.Token)
- func (s *InfoSpecContext) SetLp(v antlr.Token)
- func (s *InfoSpecContext) SetRp(v antlr.Token)
- func (s *InfoSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type KvLitContext
- func (s *KvLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *KvLitContext) GetKey() antlr.Token
- func (s *KvLitContext) GetParser() antlr.Parser
- func (s *KvLitContext) GetRuleContext() antlr.RuleContext
- func (s *KvLitContext) GetValue() antlr.Token
- func (s *KvLitContext) ID() antlr.TerminalNode
- func (*KvLitContext) IsKvLitContext()
- func (s *KvLitContext) LINE_VALUE() antlr.TerminalNode
- func (s *KvLitContext) SetKey(v antlr.Token)
- func (s *KvLitContext) SetValue(v antlr.Token)
- func (s *KvLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MapTypeContext
- func (s *MapTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MapTypeContext) AllID() []antlr.TerminalNode
- func (s *MapTypeContext) DataType() IDataTypeContext
- func (s *MapTypeContext) GetKey() antlr.Token
- func (s *MapTypeContext) GetLbrack() antlr.Token
- func (s *MapTypeContext) GetMapToken() antlr.Token
- func (s *MapTypeContext) GetParser() antlr.Parser
- func (s *MapTypeContext) GetRbrack() antlr.Token
- func (s *MapTypeContext) GetRuleContext() antlr.RuleContext
- func (s *MapTypeContext) GetValue() IDataTypeContext
- func (s *MapTypeContext) ID(i int) antlr.TerminalNode
- func (*MapTypeContext) IsMapTypeContext()
- func (s *MapTypeContext) SetKey(v antlr.Token)
- func (s *MapTypeContext) SetLbrack(v antlr.Token)
- func (s *MapTypeContext) SetMapToken(v antlr.Token)
- func (s *MapTypeContext) SetRbrack(v antlr.Token)
- func (s *MapTypeContext) SetValue(v IDataTypeContext)
- func (s *MapTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NormalFieldContext
- func (s *NormalFieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NormalFieldContext) DataType() IDataTypeContext
- func (s *NormalFieldContext) GetFieldName() antlr.Token
- func (s *NormalFieldContext) GetParser() antlr.Parser
- func (s *NormalFieldContext) GetRuleContext() antlr.RuleContext
- func (s *NormalFieldContext) GetTag() antlr.Token
- func (s *NormalFieldContext) ID() antlr.TerminalNode
- func (*NormalFieldContext) IsNormalFieldContext()
- func (s *NormalFieldContext) RAW_STRING() antlr.TerminalNode
- func (s *NormalFieldContext) SetFieldName(v antlr.Token)
- func (s *NormalFieldContext) SetTag(v antlr.Token)
- func (s *NormalFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PathContext
- func (s *PathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PathContext) AllID() []antlr.TerminalNode
- func (s *PathContext) GetParser() antlr.Parser
- func (s *PathContext) GetRuleContext() antlr.RuleContext
- func (s *PathContext) ID(i int) antlr.TerminalNode
- func (*PathContext) IsPathContext()
- func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PointerTypeContext
- func (s *PointerTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PointerTypeContext) GetParser() antlr.Parser
- func (s *PointerTypeContext) GetRuleContext() antlr.RuleContext
- func (s *PointerTypeContext) GetStar() antlr.Token
- func (s *PointerTypeContext) ID() antlr.TerminalNode
- func (*PointerTypeContext) IsPointerTypeContext()
- func (s *PointerTypeContext) SetStar(v antlr.Token)
- func (s *PointerTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReplybodyContext
- func (s *ReplybodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReplybodyContext) DataType() IDataTypeContext
- func (s *ReplybodyContext) GetLp() antlr.Token
- func (s *ReplybodyContext) GetParser() antlr.Parser
- func (s *ReplybodyContext) GetReturnToken() antlr.Token
- func (s *ReplybodyContext) GetRp() antlr.Token
- func (s *ReplybodyContext) GetRuleContext() antlr.RuleContext
- func (*ReplybodyContext) IsReplybodyContext()
- func (s *ReplybodyContext) SetLp(v antlr.Token)
- func (s *ReplybodyContext) SetReturnToken(v antlr.Token)
- func (s *ReplybodyContext) SetRp(v antlr.Token)
- func (s *ReplybodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RouteContext
- func (s *RouteContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RouteContext) Body() IBodyContext
- func (s *RouteContext) GetHttpMethod() antlr.Token
- func (s *RouteContext) GetParser() antlr.Parser
- func (s *RouteContext) GetRequest() IBodyContext
- func (s *RouteContext) GetResponse() IReplybodyContext
- func (s *RouteContext) GetRuleContext() antlr.RuleContext
- func (s *RouteContext) ID() antlr.TerminalNode
- func (*RouteContext) IsRouteContext()
- func (s *RouteContext) Path() IPathContext
- func (s *RouteContext) Replybody() IReplybodyContext
- func (s *RouteContext) SetHttpMethod(v antlr.Token)
- func (s *RouteContext) SetRequest(v IBodyContext)
- func (s *RouteContext) SetResponse(v IReplybodyContext)
- func (s *RouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceApiContext
- func (s *ServiceApiContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ServiceApiContext) AllServiceRoute() []IServiceRouteContext
- func (s *ServiceApiContext) GetLbrace() antlr.Token
- func (s *ServiceApiContext) GetParser() antlr.Parser
- func (s *ServiceApiContext) GetRbrace() antlr.Token
- func (s *ServiceApiContext) GetRuleContext() antlr.RuleContext
- func (s *ServiceApiContext) GetServiceToken() antlr.Token
- func (s *ServiceApiContext) ID() antlr.TerminalNode
- func (*ServiceApiContext) IsServiceApiContext()
- func (s *ServiceApiContext) ServiceName() IServiceNameContext
- func (s *ServiceApiContext) ServiceRoute(i int) IServiceRouteContext
- func (s *ServiceApiContext) SetLbrace(v antlr.Token)
- func (s *ServiceApiContext) SetRbrace(v antlr.Token)
- func (s *ServiceApiContext) SetServiceToken(v antlr.Token)
- func (s *ServiceApiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceNameContext
- func (s *ServiceNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ServiceNameContext) AllID() []antlr.TerminalNode
- func (s *ServiceNameContext) GetParser() antlr.Parser
- func (s *ServiceNameContext) GetRuleContext() antlr.RuleContext
- func (s *ServiceNameContext) ID(i int) antlr.TerminalNode
- func (*ServiceNameContext) IsServiceNameContext()
- func (s *ServiceNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceRouteContext
- func (s *ServiceRouteContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ServiceRouteContext) AtDoc() IAtDocContext
- func (s *ServiceRouteContext) AtHandler() IAtHandlerContext
- func (s *ServiceRouteContext) AtServer() IAtServerContext
- func (s *ServiceRouteContext) GetParser() antlr.Parser
- func (s *ServiceRouteContext) GetRuleContext() antlr.RuleContext
- func (*ServiceRouteContext) IsServiceRouteContext()
- func (s *ServiceRouteContext) Route() IRouteContext
- func (s *ServiceRouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceSpecContext
- func (s *ServiceSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ServiceSpecContext) AtServer() IAtServerContext
- func (s *ServiceSpecContext) GetParser() antlr.Parser
- func (s *ServiceSpecContext) GetRuleContext() antlr.RuleContext
- func (*ServiceSpecContext) IsServiceSpecContext()
- func (s *ServiceSpecContext) ServiceApi() IServiceApiContext
- func (s *ServiceSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SpecContext
- func (s *SpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SpecContext) GetParser() antlr.Parser
- func (s *SpecContext) GetRuleContext() antlr.RuleContext
- func (s *SpecContext) ImportSpec() IImportSpecContext
- func (s *SpecContext) InfoSpec() IInfoSpecContext
- func (*SpecContext) IsSpecContext()
- func (s *SpecContext) ServiceSpec() IServiceSpecContext
- func (s *SpecContext) SyntaxLit() ISyntaxLitContext
- func (s *SpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SpecContext) TypeSpec() ITypeSpecContext
- type SyntaxLitContext
- func (s *SyntaxLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SyntaxLitContext) GetAssign() antlr.Token
- func (s *SyntaxLitContext) GetParser() antlr.Parser
- func (s *SyntaxLitContext) GetRuleContext() antlr.RuleContext
- func (s *SyntaxLitContext) GetSyntaxToken() antlr.Token
- func (s *SyntaxLitContext) GetVersion() antlr.Token
- func (s *SyntaxLitContext) ID() antlr.TerminalNode
- func (*SyntaxLitContext) IsSyntaxLitContext()
- func (s *SyntaxLitContext) STRING() antlr.TerminalNode
- func (s *SyntaxLitContext) SetAssign(v antlr.Token)
- func (s *SyntaxLitContext) SetSyntaxToken(v antlr.Token)
- func (s *SyntaxLitContext) SetVersion(v antlr.Token)
- func (s *SyntaxLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeAliasContext
- func (s *TypeAliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeAliasContext) DataType() IDataTypeContext
- func (s *TypeAliasContext) GetAlias() antlr.Token
- func (s *TypeAliasContext) GetAssign() antlr.Token
- func (s *TypeAliasContext) GetParser() antlr.Parser
- func (s *TypeAliasContext) GetRuleContext() antlr.RuleContext
- func (s *TypeAliasContext) ID() antlr.TerminalNode
- func (*TypeAliasContext) IsTypeAliasContext()
- func (s *TypeAliasContext) SetAlias(v antlr.Token)
- func (s *TypeAliasContext) SetAssign(v antlr.Token)
- func (s *TypeAliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeBlockAliasContext
- func (s *TypeBlockAliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeBlockAliasContext) DataType() IDataTypeContext
- func (s *TypeBlockAliasContext) GetAlias() antlr.Token
- func (s *TypeBlockAliasContext) GetAssign() antlr.Token
- func (s *TypeBlockAliasContext) GetParser() antlr.Parser
- func (s *TypeBlockAliasContext) GetRuleContext() antlr.RuleContext
- func (s *TypeBlockAliasContext) ID() antlr.TerminalNode
- func (*TypeBlockAliasContext) IsTypeBlockAliasContext()
- func (s *TypeBlockAliasContext) SetAlias(v antlr.Token)
- func (s *TypeBlockAliasContext) SetAssign(v antlr.Token)
- func (s *TypeBlockAliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeBlockBodyContext
- func (s *TypeBlockBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeBlockBodyContext) GetParser() antlr.Parser
- func (s *TypeBlockBodyContext) GetRuleContext() antlr.RuleContext
- func (*TypeBlockBodyContext) IsTypeBlockBodyContext()
- func (s *TypeBlockBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeBlockBodyContext) TypeBlockAlias() ITypeBlockAliasContext
- func (s *TypeBlockBodyContext) TypeBlockStruct() ITypeBlockStructContext
- type TypeBlockContext
- func (s *TypeBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeBlockContext) AllTypeBlockBody() []ITypeBlockBodyContext
- func (s *TypeBlockContext) GetLp() antlr.Token
- func (s *TypeBlockContext) GetParser() antlr.Parser
- func (s *TypeBlockContext) GetRp() antlr.Token
- func (s *TypeBlockContext) GetRuleContext() antlr.RuleContext
- func (s *TypeBlockContext) GetTypeToken() antlr.Token
- func (s *TypeBlockContext) ID() antlr.TerminalNode
- func (*TypeBlockContext) IsTypeBlockContext()
- func (s *TypeBlockContext) SetLp(v antlr.Token)
- func (s *TypeBlockContext) SetRp(v antlr.Token)
- func (s *TypeBlockContext) SetTypeToken(v antlr.Token)
- func (s *TypeBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeBlockContext) TypeBlockBody(i int) ITypeBlockBodyContext
- type TypeBlockStructContext
- func (s *TypeBlockStructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeBlockStructContext) AllField() []IFieldContext
- func (s *TypeBlockStructContext) AllID() []antlr.TerminalNode
- func (s *TypeBlockStructContext) Field(i int) IFieldContext
- func (s *TypeBlockStructContext) GetLbrace() antlr.Token
- func (s *TypeBlockStructContext) GetParser() antlr.Parser
- func (s *TypeBlockStructContext) GetRbrace() antlr.Token
- func (s *TypeBlockStructContext) GetRuleContext() antlr.RuleContext
- func (s *TypeBlockStructContext) GetStructName() antlr.Token
- func (s *TypeBlockStructContext) GetStructToken() antlr.Token
- func (s *TypeBlockStructContext) ID(i int) antlr.TerminalNode
- func (*TypeBlockStructContext) IsTypeBlockStructContext()
- func (s *TypeBlockStructContext) SetLbrace(v antlr.Token)
- func (s *TypeBlockStructContext) SetRbrace(v antlr.Token)
- func (s *TypeBlockStructContext) SetStructName(v antlr.Token)
- func (s *TypeBlockStructContext) SetStructToken(v antlr.Token)
- func (s *TypeBlockStructContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeLitBodyContext
- func (s *TypeLitBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeLitBodyContext) GetParser() antlr.Parser
- func (s *TypeLitBodyContext) GetRuleContext() antlr.RuleContext
- func (*TypeLitBodyContext) IsTypeLitBodyContext()
- func (s *TypeLitBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeLitBodyContext) TypeAlias() ITypeAliasContext
- func (s *TypeLitBodyContext) TypeStruct() ITypeStructContext
- type TypeLitContext
- func (s *TypeLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeLitContext) GetParser() antlr.Parser
- func (s *TypeLitContext) GetRuleContext() antlr.RuleContext
- func (s *TypeLitContext) GetTypeToken() antlr.Token
- func (s *TypeLitContext) ID() antlr.TerminalNode
- func (*TypeLitContext) IsTypeLitContext()
- func (s *TypeLitContext) SetTypeToken(v antlr.Token)
- func (s *TypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeLitContext) TypeLitBody() ITypeLitBodyContext
- type TypeSpecContext
- func (s *TypeSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeSpecContext) GetParser() antlr.Parser
- func (s *TypeSpecContext) GetRuleContext() antlr.RuleContext
- func (*TypeSpecContext) IsTypeSpecContext()
- func (s *TypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeSpecContext) TypeBlock() ITypeBlockContext
- func (s *TypeSpecContext) TypeLit() ITypeLitContext
- type TypeStructContext
- func (s *TypeStructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeStructContext) AllField() []IFieldContext
- func (s *TypeStructContext) AllID() []antlr.TerminalNode
- func (s *TypeStructContext) Field(i int) IFieldContext
- func (s *TypeStructContext) GetLbrace() antlr.Token
- func (s *TypeStructContext) GetParser() antlr.Parser
- func (s *TypeStructContext) GetRbrace() antlr.Token
- func (s *TypeStructContext) GetRuleContext() antlr.RuleContext
- func (s *TypeStructContext) GetStructName() antlr.Token
- func (s *TypeStructContext) GetStructToken() antlr.Token
- func (s *TypeStructContext) ID(i int) antlr.TerminalNode
- func (*TypeStructContext) IsTypeStructContext()
- func (s *TypeStructContext) SetLbrace(v antlr.Token)
- func (s *TypeStructContext) SetRbrace(v antlr.Token)
- func (s *TypeStructContext) SetStructName(v antlr.Token)
- func (s *TypeStructContext) SetStructToken(v antlr.Token)
- func (s *TypeStructContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( ApiParserLexerT__0 = 1 ApiParserLexerT__1 = 2 ApiParserLexerT__2 = 3 ApiParserLexerT__3 = 4 ApiParserLexerT__4 = 5 ApiParserLexerT__5 = 6 ApiParserLexerT__6 = 7 ApiParserLexerT__7 = 8 ApiParserLexerT__8 = 9 ApiParserLexerT__9 = 10 ApiParserLexerT__10 = 11 ApiParserLexerT__11 = 12 ApiParserLexerT__12 = 13 ApiParserLexerATDOC = 14 ApiParserLexerATHANDLER = 15 ApiParserLexerINTERFACE = 16 ApiParserLexerATSERVER = 17 ApiParserLexerWS = 18 ApiParserLexerCOMMENT = 19 ApiParserLexerLINE_COMMENT = 20 ApiParserLexerSTRING = 21 ApiParserLexerRAW_STRING = 22 ApiParserLexerLINE_VALUE = 23 ApiParserLexerID = 24 )
ApiParserLexer tokens.
const ( ApiParserParserEOF = antlr.TokenEOF ApiParserParserT__0 = 1 ApiParserParserT__1 = 2 ApiParserParserT__2 = 3 ApiParserParserT__3 = 4 ApiParserParserT__4 = 5 ApiParserParserT__5 = 6 ApiParserParserT__6 = 7 ApiParserParserT__7 = 8 ApiParserParserT__8 = 9 ApiParserParserT__9 = 10 ApiParserParserT__10 = 11 ApiParserParserT__11 = 12 ApiParserParserT__12 = 13 ApiParserParserATDOC = 14 ApiParserParserATHANDLER = 15 ApiParserParserINTERFACE = 16 ApiParserParserATSERVER = 17 ApiParserParserWS = 18 ApiParserParserCOMMENT = 19 ApiParserParserLINE_COMMENT = 20 ApiParserParserSTRING = 21 ApiParserParserRAW_STRING = 22 ApiParserParserLINE_VALUE = 23 ApiParserParserID = 24 )
ApiParserParser tokens.
const ( ApiParserParserRULE_api = 0 ApiParserParserRULE_spec = 1 ApiParserParserRULE_syntaxLit = 2 ApiParserParserRULE_importSpec = 3 ApiParserParserRULE_importLit = 4 ApiParserParserRULE_importBlock = 5 ApiParserParserRULE_importBlockValue = 6 ApiParserParserRULE_importValue = 7 ApiParserParserRULE_infoSpec = 8 ApiParserParserRULE_typeSpec = 9 ApiParserParserRULE_typeLit = 10 ApiParserParserRULE_typeBlock = 11 ApiParserParserRULE_typeLitBody = 12 ApiParserParserRULE_typeBlockBody = 13 ApiParserParserRULE_typeStruct = 14 ApiParserParserRULE_typeAlias = 15 ApiParserParserRULE_typeBlockStruct = 16 ApiParserParserRULE_typeBlockAlias = 17 ApiParserParserRULE_field = 18 ApiParserParserRULE_normalField = 19 ApiParserParserRULE_anonymousFiled = 20 ApiParserParserRULE_dataType = 21 ApiParserParserRULE_pointerType = 22 ApiParserParserRULE_mapType = 23 ApiParserParserRULE_arrayType = 24 ApiParserParserRULE_serviceSpec = 25 ApiParserParserRULE_atServer = 26 ApiParserParserRULE_serviceApi = 27 ApiParserParserRULE_serviceRoute = 28 ApiParserParserRULE_atDoc = 29 ApiParserParserRULE_atHandler = 30 ApiParserParserRULE_route = 31 ApiParserParserRULE_body = 32 ApiParserParserRULE_replybody = 33 ApiParserParserRULE_kvLit = 34 ApiParserParserRULE_serviceName = 35 ApiParserParserRULE_path = 36 )
ApiParserParser rules.
const COMEMNTS = 88
Variables ¶
This section is empty.
Functions ¶
func IsBasicType ¶
IsBasicType returns true if the input argument is basic golang type
func IsGolangKeyWord ¶
IsGolangKeyWord returns true if input argument is golang keyword, but it will be ignored which in excepts
Types ¶
type AnonymousFiledContext ¶
type AnonymousFiledContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAnonymousFiledContext ¶
func NewAnonymousFiledContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnonymousFiledContext
func NewEmptyAnonymousFiledContext ¶
func NewEmptyAnonymousFiledContext() *AnonymousFiledContext
func (*AnonymousFiledContext) Accept ¶
func (s *AnonymousFiledContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AnonymousFiledContext) GetParser ¶
func (s *AnonymousFiledContext) GetParser() antlr.Parser
func (*AnonymousFiledContext) GetRuleContext ¶
func (s *AnonymousFiledContext) GetRuleContext() antlr.RuleContext
func (*AnonymousFiledContext) GetStar ¶
func (s *AnonymousFiledContext) GetStar() antlr.Token
func (*AnonymousFiledContext) ID ¶
func (s *AnonymousFiledContext) ID() antlr.TerminalNode
func (*AnonymousFiledContext) IsAnonymousFiledContext ¶
func (*AnonymousFiledContext) IsAnonymousFiledContext()
func (*AnonymousFiledContext) SetStar ¶
func (s *AnonymousFiledContext) SetStar(v antlr.Token)
func (*AnonymousFiledContext) ToStringTree ¶
func (s *AnonymousFiledContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ApiContext ¶
type ApiContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewApiContext ¶
func NewApiContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ApiContext
func NewEmptyApiContext ¶
func NewEmptyApiContext() *ApiContext
func (*ApiContext) Accept ¶
func (s *ApiContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ApiContext) AllSpec ¶
func (s *ApiContext) AllSpec() []ISpecContext
func (*ApiContext) GetParser ¶
func (s *ApiContext) GetParser() antlr.Parser
func (*ApiContext) GetRuleContext ¶
func (s *ApiContext) GetRuleContext() antlr.RuleContext
func (*ApiContext) IsApiContext ¶
func (*ApiContext) IsApiContext()
func (*ApiContext) Spec ¶
func (s *ApiContext) Spec(i int) ISpecContext
func (*ApiContext) ToStringTree ¶
func (s *ApiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ApiParserLexer ¶
func NewApiParserLexer ¶
func NewApiParserLexer(input antlr.CharStream) *ApiParserLexer
NewApiParserLexer produces a new lexer instance for the optional input antlr.CharStream.
The *ApiParserLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
type ApiParserParser ¶
type ApiParserParser struct {
*antlr.BaseParser
}
func NewApiParserParser ¶
func NewApiParserParser(input antlr.TokenStream) *ApiParserParser
NewApiParserParser produces a new parser instance for the optional input antlr.TokenStream.
The *ApiParserParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
func (*ApiParserParser) AnonymousFiled ¶
func (p *ApiParserParser) AnonymousFiled() (localctx IAnonymousFiledContext)
func (*ApiParserParser) Api ¶
func (p *ApiParserParser) Api() (localctx IApiContext)
func (*ApiParserParser) ArrayType ¶
func (p *ApiParserParser) ArrayType() (localctx IArrayTypeContext)
func (*ApiParserParser) AtDoc ¶
func (p *ApiParserParser) AtDoc() (localctx IAtDocContext)
func (*ApiParserParser) AtHandler ¶
func (p *ApiParserParser) AtHandler() (localctx IAtHandlerContext)
func (*ApiParserParser) AtServer ¶
func (p *ApiParserParser) AtServer() (localctx IAtServerContext)
func (*ApiParserParser) Body ¶
func (p *ApiParserParser) Body() (localctx IBodyContext)
func (*ApiParserParser) DataType ¶
func (p *ApiParserParser) DataType() (localctx IDataTypeContext)
func (*ApiParserParser) Field ¶
func (p *ApiParserParser) Field() (localctx IFieldContext)
func (*ApiParserParser) Field_Sempred ¶
func (p *ApiParserParser) Field_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*ApiParserParser) ImportBlock ¶
func (p *ApiParserParser) ImportBlock() (localctx IImportBlockContext)
func (*ApiParserParser) ImportBlockValue ¶
func (p *ApiParserParser) ImportBlockValue() (localctx IImportBlockValueContext)
func (*ApiParserParser) ImportLit ¶
func (p *ApiParserParser) ImportLit() (localctx IImportLitContext)
func (*ApiParserParser) ImportSpec ¶
func (p *ApiParserParser) ImportSpec() (localctx IImportSpecContext)
func (*ApiParserParser) ImportValue ¶
func (p *ApiParserParser) ImportValue() (localctx IImportValueContext)
func (*ApiParserParser) InfoSpec ¶
func (p *ApiParserParser) InfoSpec() (localctx IInfoSpecContext)
func (*ApiParserParser) KvLit ¶
func (p *ApiParserParser) KvLit() (localctx IKvLitContext)
func (*ApiParserParser) MapType ¶
func (p *ApiParserParser) MapType() (localctx IMapTypeContext)
func (*ApiParserParser) NormalField ¶
func (p *ApiParserParser) NormalField() (localctx INormalFieldContext)
func (*ApiParserParser) Path ¶
func (p *ApiParserParser) Path() (localctx IPathContext)
func (*ApiParserParser) PointerType ¶
func (p *ApiParserParser) PointerType() (localctx IPointerTypeContext)
func (*ApiParserParser) Replybody ¶
func (p *ApiParserParser) Replybody() (localctx IReplybodyContext)
func (*ApiParserParser) Route ¶
func (p *ApiParserParser) Route() (localctx IRouteContext)
func (*ApiParserParser) Sempred ¶
func (p *ApiParserParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*ApiParserParser) ServiceApi ¶
func (p *ApiParserParser) ServiceApi() (localctx IServiceApiContext)
func (*ApiParserParser) ServiceName ¶
func (p *ApiParserParser) ServiceName() (localctx IServiceNameContext)
func (*ApiParserParser) ServiceRoute ¶
func (p *ApiParserParser) ServiceRoute() (localctx IServiceRouteContext)
func (*ApiParserParser) ServiceSpec ¶
func (p *ApiParserParser) ServiceSpec() (localctx IServiceSpecContext)
func (*ApiParserParser) Spec ¶
func (p *ApiParserParser) Spec() (localctx ISpecContext)
func (*ApiParserParser) SyntaxLit ¶
func (p *ApiParserParser) SyntaxLit() (localctx ISyntaxLitContext)
func (*ApiParserParser) TypeAlias ¶
func (p *ApiParserParser) TypeAlias() (localctx ITypeAliasContext)
func (*ApiParserParser) TypeBlock ¶
func (p *ApiParserParser) TypeBlock() (localctx ITypeBlockContext)
func (*ApiParserParser) TypeBlockAlias ¶
func (p *ApiParserParser) TypeBlockAlias() (localctx ITypeBlockAliasContext)
func (*ApiParserParser) TypeBlockBody ¶
func (p *ApiParserParser) TypeBlockBody() (localctx ITypeBlockBodyContext)
func (*ApiParserParser) TypeBlockStruct ¶
func (p *ApiParserParser) TypeBlockStruct() (localctx ITypeBlockStructContext)
func (*ApiParserParser) TypeLit ¶
func (p *ApiParserParser) TypeLit() (localctx ITypeLitContext)
func (*ApiParserParser) TypeLitBody ¶
func (p *ApiParserParser) TypeLitBody() (localctx ITypeLitBodyContext)
func (*ApiParserParser) TypeSpec ¶
func (p *ApiParserParser) TypeSpec() (localctx ITypeSpecContext)
func (*ApiParserParser) TypeStruct ¶
func (p *ApiParserParser) TypeStruct() (localctx ITypeStructContext)
type ApiParserVisitor ¶
type ApiParserVisitor interface { antlr.ParseTreeVisitor // VisitApi is a parse tree produced by ApiParserParser#api. VisitApi(ctx *ApiContext) interface{} // VisitSpec is a parse tree produced by ApiParserParser#spec. VisitSpec(ctx *SpecContext) interface{} // VisitSyntaxLit is a parse tree produced by ApiParserParser#syntaxLit. VisitSyntaxLit(ctx *SyntaxLitContext) interface{} // VisitImportSpec is a parse tree produced by ApiParserParser#importSpec. VisitImportSpec(ctx *ImportSpecContext) interface{} // VisitImportLit is a parse tree produced by ApiParserParser#importLit. VisitImportLit(ctx *ImportLitContext) interface{} // VisitImportBlock is a parse tree produced by ApiParserParser#importBlock. VisitImportBlock(ctx *ImportBlockContext) interface{} // VisitImportBlockValue is a parse tree produced by ApiParserParser#importBlockValue. VisitImportBlockValue(ctx *ImportBlockValueContext) interface{} // VisitImportValue is a parse tree produced by ApiParserParser#importValue. VisitImportValue(ctx *ImportValueContext) interface{} // VisitInfoSpec is a parse tree produced by ApiParserParser#infoSpec. VisitInfoSpec(ctx *InfoSpecContext) interface{} // VisitTypeSpec is a parse tree produced by ApiParserParser#typeSpec. VisitTypeSpec(ctx *TypeSpecContext) interface{} // VisitTypeLit is a parse tree produced by ApiParserParser#typeLit. VisitTypeLit(ctx *TypeLitContext) interface{} // VisitTypeBlock is a parse tree produced by ApiParserParser#typeBlock. VisitTypeBlock(ctx *TypeBlockContext) interface{} // VisitTypeLitBody is a parse tree produced by ApiParserParser#typeLitBody. VisitTypeLitBody(ctx *TypeLitBodyContext) interface{} // VisitTypeBlockBody is a parse tree produced by ApiParserParser#typeBlockBody. VisitTypeBlockBody(ctx *TypeBlockBodyContext) interface{} // VisitTypeStruct is a parse tree produced by ApiParserParser#typeStruct. VisitTypeStruct(ctx *TypeStructContext) interface{} // VisitTypeAlias is a parse tree produced by ApiParserParser#typeAlias. VisitTypeAlias(ctx *TypeAliasContext) interface{} // VisitTypeBlockStruct is a parse tree produced by ApiParserParser#typeBlockStruct. VisitTypeBlockStruct(ctx *TypeBlockStructContext) interface{} // VisitTypeBlockAlias is a parse tree produced by ApiParserParser#typeBlockAlias. VisitTypeBlockAlias(ctx *TypeBlockAliasContext) interface{} // VisitField is a parse tree produced by ApiParserParser#field. VisitField(ctx *FieldContext) interface{} // VisitNormalField is a parse tree produced by ApiParserParser#normalField. VisitNormalField(ctx *NormalFieldContext) interface{} // VisitAnonymousFiled is a parse tree produced by ApiParserParser#anonymousFiled. VisitAnonymousFiled(ctx *AnonymousFiledContext) interface{} // VisitDataType is a parse tree produced by ApiParserParser#dataType. VisitDataType(ctx *DataTypeContext) interface{} // VisitPointerType is a parse tree produced by ApiParserParser#pointerType. VisitPointerType(ctx *PointerTypeContext) interface{} // VisitMapType is a parse tree produced by ApiParserParser#mapType. VisitMapType(ctx *MapTypeContext) interface{} // VisitArrayType is a parse tree produced by ApiParserParser#arrayType. VisitArrayType(ctx *ArrayTypeContext) interface{} // VisitServiceSpec is a parse tree produced by ApiParserParser#serviceSpec. VisitServiceSpec(ctx *ServiceSpecContext) interface{} // VisitAtServer is a parse tree produced by ApiParserParser#atServer. VisitAtServer(ctx *AtServerContext) interface{} // VisitServiceApi is a parse tree produced by ApiParserParser#serviceApi. VisitServiceApi(ctx *ServiceApiContext) interface{} // VisitServiceRoute is a parse tree produced by ApiParserParser#serviceRoute. VisitServiceRoute(ctx *ServiceRouteContext) interface{} // VisitAtDoc is a parse tree produced by ApiParserParser#atDoc. VisitAtDoc(ctx *AtDocContext) interface{} // VisitAtHandler is a parse tree produced by ApiParserParser#atHandler. VisitAtHandler(ctx *AtHandlerContext) interface{} // VisitRoute is a parse tree produced by ApiParserParser#route. VisitRoute(ctx *RouteContext) interface{} // VisitBody is a parse tree produced by ApiParserParser#body. VisitBody(ctx *BodyContext) interface{} // VisitReplybody is a parse tree produced by ApiParserParser#replybody. VisitReplybody(ctx *ReplybodyContext) interface{} // VisitKvLit is a parse tree produced by ApiParserParser#kvLit. VisitKvLit(ctx *KvLitContext) interface{} // VisitServiceName is a parse tree produced by ApiParserParser#serviceName. VisitServiceName(ctx *ServiceNameContext) interface{} // VisitPath is a parse tree produced by ApiParserParser#path. VisitPath(ctx *PathContext) interface{} }
ApiParserVisitor is a complete Visitor for a parse tree produced by ApiParserParser.
type ArrayTypeContext ¶
type ArrayTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayTypeContext ¶
func NewArrayTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayTypeContext
func NewEmptyArrayTypeContext ¶
func NewEmptyArrayTypeContext() *ArrayTypeContext
func (*ArrayTypeContext) Accept ¶
func (s *ArrayTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayTypeContext) DataType ¶
func (s *ArrayTypeContext) DataType() IDataTypeContext
func (*ArrayTypeContext) GetLbrack ¶
func (s *ArrayTypeContext) GetLbrack() antlr.Token
func (*ArrayTypeContext) GetParser ¶
func (s *ArrayTypeContext) GetParser() antlr.Parser
func (*ArrayTypeContext) GetRbrack ¶
func (s *ArrayTypeContext) GetRbrack() antlr.Token
func (*ArrayTypeContext) GetRuleContext ¶
func (s *ArrayTypeContext) GetRuleContext() antlr.RuleContext
func (*ArrayTypeContext) IsArrayTypeContext ¶
func (*ArrayTypeContext) IsArrayTypeContext()
func (*ArrayTypeContext) SetLbrack ¶
func (s *ArrayTypeContext) SetLbrack(v antlr.Token)
func (*ArrayTypeContext) SetRbrack ¶
func (s *ArrayTypeContext) SetRbrack(v antlr.Token)
func (*ArrayTypeContext) ToStringTree ¶
func (s *ArrayTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtDocContext ¶
type AtDocContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtDocContext ¶
func NewAtDocContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtDocContext
func NewEmptyAtDocContext ¶
func NewEmptyAtDocContext() *AtDocContext
func (*AtDocContext) ATDOC ¶
func (s *AtDocContext) ATDOC() antlr.TerminalNode
func (*AtDocContext) Accept ¶
func (s *AtDocContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtDocContext) AllKvLit ¶
func (s *AtDocContext) AllKvLit() []IKvLitContext
func (*AtDocContext) GetLp ¶
func (s *AtDocContext) GetLp() antlr.Token
func (*AtDocContext) GetParser ¶
func (s *AtDocContext) GetParser() antlr.Parser
func (*AtDocContext) GetRp ¶
func (s *AtDocContext) GetRp() antlr.Token
func (*AtDocContext) GetRuleContext ¶
func (s *AtDocContext) GetRuleContext() antlr.RuleContext
func (*AtDocContext) IsAtDocContext ¶
func (*AtDocContext) IsAtDocContext()
func (*AtDocContext) KvLit ¶
func (s *AtDocContext) KvLit(i int) IKvLitContext
func (*AtDocContext) STRING ¶
func (s *AtDocContext) STRING() antlr.TerminalNode
func (*AtDocContext) SetLp ¶
func (s *AtDocContext) SetLp(v antlr.Token)
func (*AtDocContext) SetRp ¶
func (s *AtDocContext) SetRp(v antlr.Token)
func (*AtDocContext) ToStringTree ¶
func (s *AtDocContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtHandlerContext ¶
type AtHandlerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtHandlerContext ¶
func NewAtHandlerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtHandlerContext
func NewEmptyAtHandlerContext ¶
func NewEmptyAtHandlerContext() *AtHandlerContext
func (*AtHandlerContext) ATHANDLER ¶
func (s *AtHandlerContext) ATHANDLER() antlr.TerminalNode
func (*AtHandlerContext) Accept ¶
func (s *AtHandlerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtHandlerContext) GetParser ¶
func (s *AtHandlerContext) GetParser() antlr.Parser
func (*AtHandlerContext) GetRuleContext ¶
func (s *AtHandlerContext) GetRuleContext() antlr.RuleContext
func (*AtHandlerContext) ID ¶
func (s *AtHandlerContext) ID() antlr.TerminalNode
func (*AtHandlerContext) IsAtHandlerContext ¶
func (*AtHandlerContext) IsAtHandlerContext()
func (*AtHandlerContext) ToStringTree ¶
func (s *AtHandlerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtServerContext ¶
type AtServerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtServerContext ¶
func NewAtServerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtServerContext
func NewEmptyAtServerContext ¶
func NewEmptyAtServerContext() *AtServerContext
func (*AtServerContext) ATSERVER ¶
func (s *AtServerContext) ATSERVER() antlr.TerminalNode
func (*AtServerContext) Accept ¶
func (s *AtServerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtServerContext) AllKvLit ¶
func (s *AtServerContext) AllKvLit() []IKvLitContext
func (*AtServerContext) GetLp ¶
func (s *AtServerContext) GetLp() antlr.Token
func (*AtServerContext) GetParser ¶
func (s *AtServerContext) GetParser() antlr.Parser
func (*AtServerContext) GetRp ¶
func (s *AtServerContext) GetRp() antlr.Token
func (*AtServerContext) GetRuleContext ¶
func (s *AtServerContext) GetRuleContext() antlr.RuleContext
func (*AtServerContext) IsAtServerContext ¶
func (*AtServerContext) IsAtServerContext()
func (*AtServerContext) KvLit ¶
func (s *AtServerContext) KvLit(i int) IKvLitContext
func (*AtServerContext) SetLp ¶
func (s *AtServerContext) SetLp(v antlr.Token)
func (*AtServerContext) SetRp ¶
func (s *AtServerContext) SetRp(v antlr.Token)
func (*AtServerContext) ToStringTree ¶
func (s *AtServerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseApiParserVisitor ¶
type BaseApiParserVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseApiParserVisitor) VisitAnonymousFiled ¶
func (v *BaseApiParserVisitor) VisitAnonymousFiled(ctx *AnonymousFiledContext) interface{}
func (*BaseApiParserVisitor) VisitApi ¶
func (v *BaseApiParserVisitor) VisitApi(ctx *ApiContext) interface{}
func (*BaseApiParserVisitor) VisitArrayType ¶
func (v *BaseApiParserVisitor) VisitArrayType(ctx *ArrayTypeContext) interface{}
func (*BaseApiParserVisitor) VisitAtDoc ¶
func (v *BaseApiParserVisitor) VisitAtDoc(ctx *AtDocContext) interface{}
func (*BaseApiParserVisitor) VisitAtHandler ¶
func (v *BaseApiParserVisitor) VisitAtHandler(ctx *AtHandlerContext) interface{}
func (*BaseApiParserVisitor) VisitAtServer ¶
func (v *BaseApiParserVisitor) VisitAtServer(ctx *AtServerContext) interface{}
func (*BaseApiParserVisitor) VisitBody ¶
func (v *BaseApiParserVisitor) VisitBody(ctx *BodyContext) interface{}
func (*BaseApiParserVisitor) VisitDataType ¶
func (v *BaseApiParserVisitor) VisitDataType(ctx *DataTypeContext) interface{}
func (*BaseApiParserVisitor) VisitField ¶
func (v *BaseApiParserVisitor) VisitField(ctx *FieldContext) interface{}
func (*BaseApiParserVisitor) VisitImportBlock ¶
func (v *BaseApiParserVisitor) VisitImportBlock(ctx *ImportBlockContext) interface{}
func (*BaseApiParserVisitor) VisitImportBlockValue ¶
func (v *BaseApiParserVisitor) VisitImportBlockValue(ctx *ImportBlockValueContext) interface{}
func (*BaseApiParserVisitor) VisitImportLit ¶
func (v *BaseApiParserVisitor) VisitImportLit(ctx *ImportLitContext) interface{}
func (*BaseApiParserVisitor) VisitImportSpec ¶
func (v *BaseApiParserVisitor) VisitImportSpec(ctx *ImportSpecContext) interface{}
func (*BaseApiParserVisitor) VisitImportValue ¶
func (v *BaseApiParserVisitor) VisitImportValue(ctx *ImportValueContext) interface{}
func (*BaseApiParserVisitor) VisitInfoSpec ¶
func (v *BaseApiParserVisitor) VisitInfoSpec(ctx *InfoSpecContext) interface{}
func (*BaseApiParserVisitor) VisitKvLit ¶
func (v *BaseApiParserVisitor) VisitKvLit(ctx *KvLitContext) interface{}
func (*BaseApiParserVisitor) VisitMapType ¶
func (v *BaseApiParserVisitor) VisitMapType(ctx *MapTypeContext) interface{}
func (*BaseApiParserVisitor) VisitNormalField ¶
func (v *BaseApiParserVisitor) VisitNormalField(ctx *NormalFieldContext) interface{}
func (*BaseApiParserVisitor) VisitPath ¶
func (v *BaseApiParserVisitor) VisitPath(ctx *PathContext) interface{}
func (*BaseApiParserVisitor) VisitPointerType ¶
func (v *BaseApiParserVisitor) VisitPointerType(ctx *PointerTypeContext) interface{}
func (*BaseApiParserVisitor) VisitReplybody ¶
func (v *BaseApiParserVisitor) VisitReplybody(ctx *ReplybodyContext) interface{}
func (*BaseApiParserVisitor) VisitRoute ¶
func (v *BaseApiParserVisitor) VisitRoute(ctx *RouteContext) interface{}
func (*BaseApiParserVisitor) VisitServiceApi ¶
func (v *BaseApiParserVisitor) VisitServiceApi(ctx *ServiceApiContext) interface{}
func (*BaseApiParserVisitor) VisitServiceName ¶
func (v *BaseApiParserVisitor) VisitServiceName(ctx *ServiceNameContext) interface{}
func (*BaseApiParserVisitor) VisitServiceRoute ¶
func (v *BaseApiParserVisitor) VisitServiceRoute(ctx *ServiceRouteContext) interface{}
func (*BaseApiParserVisitor) VisitServiceSpec ¶
func (v *BaseApiParserVisitor) VisitServiceSpec(ctx *ServiceSpecContext) interface{}
func (*BaseApiParserVisitor) VisitSpec ¶
func (v *BaseApiParserVisitor) VisitSpec(ctx *SpecContext) interface{}
func (*BaseApiParserVisitor) VisitSyntaxLit ¶
func (v *BaseApiParserVisitor) VisitSyntaxLit(ctx *SyntaxLitContext) interface{}
func (*BaseApiParserVisitor) VisitTypeAlias ¶
func (v *BaseApiParserVisitor) VisitTypeAlias(ctx *TypeAliasContext) interface{}
func (*BaseApiParserVisitor) VisitTypeBlock ¶
func (v *BaseApiParserVisitor) VisitTypeBlock(ctx *TypeBlockContext) interface{}
func (*BaseApiParserVisitor) VisitTypeBlockAlias ¶
func (v *BaseApiParserVisitor) VisitTypeBlockAlias(ctx *TypeBlockAliasContext) interface{}
func (*BaseApiParserVisitor) VisitTypeBlockBody ¶
func (v *BaseApiParserVisitor) VisitTypeBlockBody(ctx *TypeBlockBodyContext) interface{}
func (*BaseApiParserVisitor) VisitTypeBlockStruct ¶
func (v *BaseApiParserVisitor) VisitTypeBlockStruct(ctx *TypeBlockStructContext) interface{}
func (*BaseApiParserVisitor) VisitTypeLit ¶
func (v *BaseApiParserVisitor) VisitTypeLit(ctx *TypeLitContext) interface{}
func (*BaseApiParserVisitor) VisitTypeLitBody ¶
func (v *BaseApiParserVisitor) VisitTypeLitBody(ctx *TypeLitBodyContext) interface{}
func (*BaseApiParserVisitor) VisitTypeSpec ¶
func (v *BaseApiParserVisitor) VisitTypeSpec(ctx *TypeSpecContext) interface{}
func (*BaseApiParserVisitor) VisitTypeStruct ¶
func (v *BaseApiParserVisitor) VisitTypeStruct(ctx *TypeStructContext) interface{}
type BodyContext ¶
type BodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBodyContext ¶
func NewBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BodyContext
func NewEmptyBodyContext ¶
func NewEmptyBodyContext() *BodyContext
func (*BodyContext) Accept ¶
func (s *BodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BodyContext) GetLp ¶
func (s *BodyContext) GetLp() antlr.Token
func (*BodyContext) GetParser ¶
func (s *BodyContext) GetParser() antlr.Parser
func (*BodyContext) GetRp ¶
func (s *BodyContext) GetRp() antlr.Token
func (*BodyContext) GetRuleContext ¶
func (s *BodyContext) GetRuleContext() antlr.RuleContext
func (*BodyContext) ID ¶
func (s *BodyContext) ID() antlr.TerminalNode
func (*BodyContext) IsBodyContext ¶
func (*BodyContext) IsBodyContext()
func (*BodyContext) SetLp ¶
func (s *BodyContext) SetLp(v antlr.Token)
func (*BodyContext) SetRp ¶
func (s *BodyContext) SetRp(v antlr.Token)
func (*BodyContext) ToStringTree ¶
func (s *BodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DataTypeContext ¶
type DataTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDataTypeContext ¶
func NewDataTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DataTypeContext
func NewEmptyDataTypeContext ¶
func NewEmptyDataTypeContext() *DataTypeContext
func (*DataTypeContext) Accept ¶
func (s *DataTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DataTypeContext) ArrayType ¶
func (s *DataTypeContext) ArrayType() IArrayTypeContext
func (*DataTypeContext) GetInter ¶
func (s *DataTypeContext) GetInter() antlr.Token
func (*DataTypeContext) GetParser ¶
func (s *DataTypeContext) GetParser() antlr.Parser
func (*DataTypeContext) GetRuleContext ¶
func (s *DataTypeContext) GetRuleContext() antlr.RuleContext
func (*DataTypeContext) GetTime ¶
func (s *DataTypeContext) GetTime() antlr.Token
func (*DataTypeContext) ID ¶
func (s *DataTypeContext) ID() antlr.TerminalNode
func (*DataTypeContext) INTERFACE ¶
func (s *DataTypeContext) INTERFACE() antlr.TerminalNode
func (*DataTypeContext) IsDataTypeContext ¶
func (*DataTypeContext) IsDataTypeContext()
func (*DataTypeContext) MapType ¶
func (s *DataTypeContext) MapType() IMapTypeContext
func (*DataTypeContext) PointerType ¶
func (s *DataTypeContext) PointerType() IPointerTypeContext
func (*DataTypeContext) SetInter ¶
func (s *DataTypeContext) SetInter(v antlr.Token)
func (*DataTypeContext) SetTime ¶
func (s *DataTypeContext) SetTime(v antlr.Token)
func (*DataTypeContext) ToStringTree ¶
func (s *DataTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DataTypeContext) TypeStruct ¶
func (s *DataTypeContext) TypeStruct() ITypeStructContext
type FieldContext ¶
type FieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldContext ¶
func NewEmptyFieldContext() *FieldContext
func NewFieldContext ¶
func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext
func (*FieldContext) Accept ¶
func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FieldContext) AnonymousFiled ¶
func (s *FieldContext) AnonymousFiled() IAnonymousFiledContext
func (*FieldContext) GetParser ¶
func (s *FieldContext) GetParser() antlr.Parser
func (*FieldContext) GetRuleContext ¶
func (s *FieldContext) GetRuleContext() antlr.RuleContext
func (*FieldContext) IsFieldContext ¶
func (*FieldContext) IsFieldContext()
func (*FieldContext) NormalField ¶
func (s *FieldContext) NormalField() INormalFieldContext
func (*FieldContext) ToStringTree ¶
func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAnonymousFiledContext ¶
type IAnonymousFiledContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetStar returns the star token. GetStar() antlr.Token // SetStar sets the star token. SetStar(antlr.Token) // IsAnonymousFiledContext differentiates from other interfaces. IsAnonymousFiledContext() }
IAnonymousFiledContext is an interface to support dynamic dispatch.
type IApiContext ¶
type IApiContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsApiContext differentiates from other interfaces. IsApiContext() }
IApiContext is an interface to support dynamic dispatch.
type IArrayTypeContext ¶
type IArrayTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLbrack returns the lbrack token. GetLbrack() antlr.Token // GetRbrack returns the rbrack token. GetRbrack() antlr.Token // SetLbrack sets the lbrack token. SetLbrack(antlr.Token) // SetRbrack sets the rbrack token. SetRbrack(antlr.Token) // IsArrayTypeContext differentiates from other interfaces. IsArrayTypeContext() }
IArrayTypeContext is an interface to support dynamic dispatch.
type IAtDocContext ¶
type IAtDocContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsAtDocContext differentiates from other interfaces. IsAtDocContext() }
IAtDocContext is an interface to support dynamic dispatch.
type IAtHandlerContext ¶
type IAtHandlerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAtHandlerContext differentiates from other interfaces. IsAtHandlerContext() }
IAtHandlerContext is an interface to support dynamic dispatch.
type IAtServerContext ¶
type IAtServerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsAtServerContext differentiates from other interfaces. IsAtServerContext() }
IAtServerContext is an interface to support dynamic dispatch.
type IBodyContext ¶
type IBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsBodyContext differentiates from other interfaces. IsBodyContext() }
IBodyContext is an interface to support dynamic dispatch.
type IDataTypeContext ¶
type IDataTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetInter returns the inter token. GetInter() antlr.Token // GetTime returns the time token. GetTime() antlr.Token // SetInter sets the inter token. SetInter(antlr.Token) // SetTime sets the time token. SetTime(antlr.Token) // IsDataTypeContext differentiates from other interfaces. IsDataTypeContext() }
IDataTypeContext is an interface to support dynamic dispatch.
type IFieldContext ¶
type IFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFieldContext differentiates from other interfaces. IsFieldContext() }
IFieldContext is an interface to support dynamic dispatch.
type IImportBlockContext ¶
type IImportBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetImportToken returns the importToken token. GetImportToken() antlr.Token // SetImportToken sets the importToken token. SetImportToken(antlr.Token) // IsImportBlockContext differentiates from other interfaces. IsImportBlockContext() }
IImportBlockContext is an interface to support dynamic dispatch.
type IImportBlockValueContext ¶
type IImportBlockValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportBlockValueContext differentiates from other interfaces. IsImportBlockValueContext() }
IImportBlockValueContext is an interface to support dynamic dispatch.
type IImportLitContext ¶
type IImportLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetImportToken returns the importToken token. GetImportToken() antlr.Token // SetImportToken sets the importToken token. SetImportToken(antlr.Token) // IsImportLitContext differentiates from other interfaces. IsImportLitContext() }
IImportLitContext is an interface to support dynamic dispatch.
type IImportSpecContext ¶
type IImportSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportSpecContext differentiates from other interfaces. IsImportSpecContext() }
IImportSpecContext is an interface to support dynamic dispatch.
type IImportValueContext ¶
type IImportValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImportValueContext differentiates from other interfaces. IsImportValueContext() }
IImportValueContext is an interface to support dynamic dispatch.
type IInfoSpecContext ¶
type IInfoSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetInfoToken returns the infoToken token. GetInfoToken() antlr.Token // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetInfoToken sets the infoToken token. SetInfoToken(antlr.Token) // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsInfoSpecContext differentiates from other interfaces. IsInfoSpecContext() }
IInfoSpecContext is an interface to support dynamic dispatch.
type IKvLitContext ¶
type IKvLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetKey returns the key token. GetKey() antlr.Token // GetValue returns the value token. GetValue() antlr.Token // SetKey sets the key token. SetKey(antlr.Token) // SetValue sets the value token. SetValue(antlr.Token) // IsKvLitContext differentiates from other interfaces. IsKvLitContext() }
IKvLitContext is an interface to support dynamic dispatch.
type IMapTypeContext ¶
type IMapTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetMapToken returns the mapToken token. GetMapToken() antlr.Token // GetLbrack returns the lbrack token. GetLbrack() antlr.Token // GetKey returns the key token. GetKey() antlr.Token // GetRbrack returns the rbrack token. GetRbrack() antlr.Token // SetMapToken sets the mapToken token. SetMapToken(antlr.Token) // SetLbrack sets the lbrack token. SetLbrack(antlr.Token) // SetKey sets the key token. SetKey(antlr.Token) // SetRbrack sets the rbrack token. SetRbrack(antlr.Token) // GetValue returns the value rule contexts. GetValue() IDataTypeContext // SetValue sets the value rule contexts. SetValue(IDataTypeContext) // IsMapTypeContext differentiates from other interfaces. IsMapTypeContext() }
IMapTypeContext is an interface to support dynamic dispatch.
type INormalFieldContext ¶
type INormalFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetFieldName returns the fieldName token. GetFieldName() antlr.Token // GetTag returns the tag token. GetTag() antlr.Token // SetFieldName sets the fieldName token. SetFieldName(antlr.Token) // SetTag sets the tag token. SetTag(antlr.Token) // IsNormalFieldContext differentiates from other interfaces. IsNormalFieldContext() }
INormalFieldContext is an interface to support dynamic dispatch.
type IPathContext ¶
type IPathContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPathContext differentiates from other interfaces. IsPathContext() }
IPathContext is an interface to support dynamic dispatch.
type IPointerTypeContext ¶
type IPointerTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetStar returns the star token. GetStar() antlr.Token // SetStar sets the star token. SetStar(antlr.Token) // IsPointerTypeContext differentiates from other interfaces. IsPointerTypeContext() }
IPointerTypeContext is an interface to support dynamic dispatch.
type IReplybodyContext ¶
type IReplybodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetReturnToken returns the returnToken token. GetReturnToken() antlr.Token // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetReturnToken sets the returnToken token. SetReturnToken(antlr.Token) // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsReplybodyContext differentiates from other interfaces. IsReplybodyContext() }
IReplybodyContext is an interface to support dynamic dispatch.
type IRouteContext ¶
type IRouteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetHttpMethod returns the httpMethod token. GetHttpMethod() antlr.Token // SetHttpMethod sets the httpMethod token. SetHttpMethod(antlr.Token) // GetRequest returns the request rule contexts. GetRequest() IBodyContext // GetResponse returns the response rule contexts. GetResponse() IReplybodyContext // SetRequest sets the request rule contexts. SetRequest(IBodyContext) // SetResponse sets the response rule contexts. SetResponse(IReplybodyContext) // IsRouteContext differentiates from other interfaces. IsRouteContext() }
IRouteContext is an interface to support dynamic dispatch.
type IServiceApiContext ¶
type IServiceApiContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetServiceToken returns the serviceToken token. GetServiceToken() antlr.Token // GetLbrace returns the lbrace token. GetLbrace() antlr.Token // GetRbrace returns the rbrace token. GetRbrace() antlr.Token // SetServiceToken sets the serviceToken token. SetServiceToken(antlr.Token) // SetLbrace sets the lbrace token. SetLbrace(antlr.Token) // SetRbrace sets the rbrace token. SetRbrace(antlr.Token) // IsServiceApiContext differentiates from other interfaces. IsServiceApiContext() }
IServiceApiContext is an interface to support dynamic dispatch.
type IServiceNameContext ¶
type IServiceNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsServiceNameContext differentiates from other interfaces. IsServiceNameContext() }
IServiceNameContext is an interface to support dynamic dispatch.
type IServiceRouteContext ¶
type IServiceRouteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsServiceRouteContext differentiates from other interfaces. IsServiceRouteContext() }
IServiceRouteContext is an interface to support dynamic dispatch.
type IServiceSpecContext ¶
type IServiceSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsServiceSpecContext differentiates from other interfaces. IsServiceSpecContext() }
IServiceSpecContext 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 ISyntaxLitContext ¶
type ISyntaxLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetSyntaxToken returns the syntaxToken token. GetSyntaxToken() antlr.Token // GetAssign returns the assign token. GetAssign() antlr.Token // GetVersion returns the version token. GetVersion() antlr.Token // SetSyntaxToken sets the syntaxToken token. SetSyntaxToken(antlr.Token) // SetAssign sets the assign token. SetAssign(antlr.Token) // SetVersion sets the version token. SetVersion(antlr.Token) // IsSyntaxLitContext differentiates from other interfaces. IsSyntaxLitContext() }
ISyntaxLitContext is an interface to support dynamic dispatch.
type ITypeAliasContext ¶
type ITypeAliasContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetAlias returns the alias token. GetAlias() antlr.Token // GetAssign returns the assign token. GetAssign() antlr.Token // SetAlias sets the alias token. SetAlias(antlr.Token) // SetAssign sets the assign token. SetAssign(antlr.Token) // IsTypeAliasContext differentiates from other interfaces. IsTypeAliasContext() }
ITypeAliasContext is an interface to support dynamic dispatch.
type ITypeBlockAliasContext ¶
type ITypeBlockAliasContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetAlias returns the alias token. GetAlias() antlr.Token // GetAssign returns the assign token. GetAssign() antlr.Token // SetAlias sets the alias token. SetAlias(antlr.Token) // SetAssign sets the assign token. SetAssign(antlr.Token) // IsTypeBlockAliasContext differentiates from other interfaces. IsTypeBlockAliasContext() }
ITypeBlockAliasContext is an interface to support dynamic dispatch.
type ITypeBlockBodyContext ¶
type ITypeBlockBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeBlockBodyContext differentiates from other interfaces. IsTypeBlockBodyContext() }
ITypeBlockBodyContext is an interface to support dynamic dispatch.
type ITypeBlockContext ¶
type ITypeBlockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetTypeToken returns the typeToken token. GetTypeToken() antlr.Token // GetLp returns the lp token. GetLp() antlr.Token // GetRp returns the rp token. GetRp() antlr.Token // SetTypeToken sets the typeToken token. SetTypeToken(antlr.Token) // SetLp sets the lp token. SetLp(antlr.Token) // SetRp sets the rp token. SetRp(antlr.Token) // IsTypeBlockContext differentiates from other interfaces. IsTypeBlockContext() }
ITypeBlockContext is an interface to support dynamic dispatch.
type ITypeBlockStructContext ¶
type ITypeBlockStructContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetStructName returns the structName token. GetStructName() antlr.Token // GetStructToken returns the structToken token. GetStructToken() antlr.Token // GetLbrace returns the lbrace token. GetLbrace() antlr.Token // GetRbrace returns the rbrace token. GetRbrace() antlr.Token // SetStructName sets the structName token. SetStructName(antlr.Token) // SetStructToken sets the structToken token. SetStructToken(antlr.Token) // SetLbrace sets the lbrace token. SetLbrace(antlr.Token) // SetRbrace sets the rbrace token. SetRbrace(antlr.Token) // IsTypeBlockStructContext differentiates from other interfaces. IsTypeBlockStructContext() }
ITypeBlockStructContext is an interface to support dynamic dispatch.
type ITypeLitBodyContext ¶
type ITypeLitBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeLitBodyContext differentiates from other interfaces. IsTypeLitBodyContext() }
ITypeLitBodyContext is an interface to support dynamic dispatch.
type ITypeLitContext ¶
type ITypeLitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetTypeToken returns the typeToken token. GetTypeToken() antlr.Token // SetTypeToken sets the typeToken token. SetTypeToken(antlr.Token) // IsTypeLitContext differentiates from other interfaces. IsTypeLitContext() }
ITypeLitContext is an interface to support dynamic dispatch.
type ITypeSpecContext ¶
type ITypeSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeSpecContext differentiates from other interfaces. IsTypeSpecContext() }
ITypeSpecContext is an interface to support dynamic dispatch.
type ITypeStructContext ¶
type ITypeStructContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetStructName returns the structName token. GetStructName() antlr.Token // GetStructToken returns the structToken token. GetStructToken() antlr.Token // GetLbrace returns the lbrace token. GetLbrace() antlr.Token // GetRbrace returns the rbrace token. GetRbrace() antlr.Token // SetStructName sets the structName token. SetStructName(antlr.Token) // SetStructToken sets the structToken token. SetStructToken(antlr.Token) // SetLbrace sets the lbrace token. SetLbrace(antlr.Token) // SetRbrace sets the rbrace token. SetRbrace(antlr.Token) // IsTypeStructContext differentiates from other interfaces. IsTypeStructContext() }
ITypeStructContext is an interface to support dynamic dispatch.
type ImportBlockContext ¶
type ImportBlockContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportBlockContext ¶
func NewEmptyImportBlockContext() *ImportBlockContext
func NewImportBlockContext ¶
func NewImportBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportBlockContext
func (*ImportBlockContext) Accept ¶
func (s *ImportBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportBlockContext) AllImportBlockValue ¶
func (s *ImportBlockContext) AllImportBlockValue() []IImportBlockValueContext
func (*ImportBlockContext) GetImportToken ¶
func (s *ImportBlockContext) GetImportToken() antlr.Token
func (*ImportBlockContext) GetParser ¶
func (s *ImportBlockContext) GetParser() antlr.Parser
func (*ImportBlockContext) GetRuleContext ¶
func (s *ImportBlockContext) GetRuleContext() antlr.RuleContext
func (*ImportBlockContext) ID ¶
func (s *ImportBlockContext) ID() antlr.TerminalNode
func (*ImportBlockContext) ImportBlockValue ¶
func (s *ImportBlockContext) ImportBlockValue(i int) IImportBlockValueContext
func (*ImportBlockContext) IsImportBlockContext ¶
func (*ImportBlockContext) IsImportBlockContext()
func (*ImportBlockContext) SetImportToken ¶
func (s *ImportBlockContext) SetImportToken(v antlr.Token)
func (*ImportBlockContext) ToStringTree ¶
func (s *ImportBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportBlockValueContext ¶
type ImportBlockValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportBlockValueContext ¶
func NewEmptyImportBlockValueContext() *ImportBlockValueContext
func NewImportBlockValueContext ¶
func NewImportBlockValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportBlockValueContext
func (*ImportBlockValueContext) Accept ¶
func (s *ImportBlockValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportBlockValueContext) GetParser ¶
func (s *ImportBlockValueContext) GetParser() antlr.Parser
func (*ImportBlockValueContext) GetRuleContext ¶
func (s *ImportBlockValueContext) GetRuleContext() antlr.RuleContext
func (*ImportBlockValueContext) ImportValue ¶
func (s *ImportBlockValueContext) ImportValue() IImportValueContext
func (*ImportBlockValueContext) IsImportBlockValueContext ¶
func (*ImportBlockValueContext) IsImportBlockValueContext()
func (*ImportBlockValueContext) ToStringTree ¶
func (s *ImportBlockValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportLitContext ¶
type ImportLitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportLitContext ¶
func NewEmptyImportLitContext() *ImportLitContext
func NewImportLitContext ¶
func NewImportLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportLitContext
func (*ImportLitContext) Accept ¶
func (s *ImportLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportLitContext) GetImportToken ¶
func (s *ImportLitContext) GetImportToken() antlr.Token
func (*ImportLitContext) GetParser ¶
func (s *ImportLitContext) GetParser() antlr.Parser
func (*ImportLitContext) GetRuleContext ¶
func (s *ImportLitContext) GetRuleContext() antlr.RuleContext
func (*ImportLitContext) ID ¶
func (s *ImportLitContext) ID() antlr.TerminalNode
func (*ImportLitContext) ImportValue ¶
func (s *ImportLitContext) ImportValue() IImportValueContext
func (*ImportLitContext) IsImportLitContext ¶
func (*ImportLitContext) IsImportLitContext()
func (*ImportLitContext) SetImportToken ¶
func (s *ImportLitContext) SetImportToken(v antlr.Token)
func (*ImportLitContext) ToStringTree ¶
func (s *ImportLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportSpecContext ¶
type ImportSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportSpecContext ¶
func NewEmptyImportSpecContext() *ImportSpecContext
func NewImportSpecContext ¶
func NewImportSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportSpecContext
func (*ImportSpecContext) Accept ¶
func (s *ImportSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportSpecContext) GetParser ¶
func (s *ImportSpecContext) GetParser() antlr.Parser
func (*ImportSpecContext) GetRuleContext ¶
func (s *ImportSpecContext) GetRuleContext() antlr.RuleContext
func (*ImportSpecContext) ImportBlock ¶
func (s *ImportSpecContext) ImportBlock() IImportBlockContext
func (*ImportSpecContext) ImportLit ¶
func (s *ImportSpecContext) ImportLit() IImportLitContext
func (*ImportSpecContext) IsImportSpecContext ¶
func (*ImportSpecContext) IsImportSpecContext()
func (*ImportSpecContext) ToStringTree ¶
func (s *ImportSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ImportValueContext ¶
type ImportValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportValueContext ¶
func NewEmptyImportValueContext() *ImportValueContext
func NewImportValueContext ¶
func NewImportValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportValueContext
func (*ImportValueContext) Accept ¶
func (s *ImportValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ImportValueContext) GetParser ¶
func (s *ImportValueContext) GetParser() antlr.Parser
func (*ImportValueContext) GetRuleContext ¶
func (s *ImportValueContext) GetRuleContext() antlr.RuleContext
func (*ImportValueContext) IsImportValueContext ¶
func (*ImportValueContext) IsImportValueContext()
func (*ImportValueContext) STRING ¶
func (s *ImportValueContext) STRING() antlr.TerminalNode
func (*ImportValueContext) ToStringTree ¶
func (s *ImportValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InfoSpecContext ¶
type InfoSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInfoSpecContext ¶
func NewEmptyInfoSpecContext() *InfoSpecContext
func NewInfoSpecContext ¶
func NewInfoSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InfoSpecContext
func (*InfoSpecContext) Accept ¶
func (s *InfoSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*InfoSpecContext) AllKvLit ¶
func (s *InfoSpecContext) AllKvLit() []IKvLitContext
func (*InfoSpecContext) GetInfoToken ¶
func (s *InfoSpecContext) GetInfoToken() antlr.Token
func (*InfoSpecContext) GetLp ¶
func (s *InfoSpecContext) GetLp() antlr.Token
func (*InfoSpecContext) GetParser ¶
func (s *InfoSpecContext) GetParser() antlr.Parser
func (*InfoSpecContext) GetRp ¶
func (s *InfoSpecContext) GetRp() antlr.Token
func (*InfoSpecContext) GetRuleContext ¶
func (s *InfoSpecContext) GetRuleContext() antlr.RuleContext
func (*InfoSpecContext) ID ¶
func (s *InfoSpecContext) ID() antlr.TerminalNode
func (*InfoSpecContext) IsInfoSpecContext ¶
func (*InfoSpecContext) IsInfoSpecContext()
func (*InfoSpecContext) KvLit ¶
func (s *InfoSpecContext) KvLit(i int) IKvLitContext
func (*InfoSpecContext) SetInfoToken ¶
func (s *InfoSpecContext) SetInfoToken(v antlr.Token)
func (*InfoSpecContext) SetLp ¶
func (s *InfoSpecContext) SetLp(v antlr.Token)
func (*InfoSpecContext) SetRp ¶
func (s *InfoSpecContext) SetRp(v antlr.Token)
func (*InfoSpecContext) ToStringTree ¶
func (s *InfoSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type KvLitContext ¶
type KvLitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKvLitContext ¶
func NewEmptyKvLitContext() *KvLitContext
func NewKvLitContext ¶
func NewKvLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KvLitContext
func (*KvLitContext) Accept ¶
func (s *KvLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*KvLitContext) GetKey ¶
func (s *KvLitContext) GetKey() antlr.Token
func (*KvLitContext) GetParser ¶
func (s *KvLitContext) GetParser() antlr.Parser
func (*KvLitContext) GetRuleContext ¶
func (s *KvLitContext) GetRuleContext() antlr.RuleContext
func (*KvLitContext) GetValue ¶
func (s *KvLitContext) GetValue() antlr.Token
func (*KvLitContext) ID ¶
func (s *KvLitContext) ID() antlr.TerminalNode
func (*KvLitContext) IsKvLitContext ¶
func (*KvLitContext) IsKvLitContext()
func (*KvLitContext) LINE_VALUE ¶
func (s *KvLitContext) LINE_VALUE() antlr.TerminalNode
func (*KvLitContext) SetKey ¶
func (s *KvLitContext) SetKey(v antlr.Token)
func (*KvLitContext) SetValue ¶
func (s *KvLitContext) SetValue(v antlr.Token)
func (*KvLitContext) ToStringTree ¶
func (s *KvLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MapTypeContext ¶
type MapTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMapTypeContext ¶
func NewEmptyMapTypeContext() *MapTypeContext
func NewMapTypeContext ¶
func NewMapTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapTypeContext
func (*MapTypeContext) Accept ¶
func (s *MapTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MapTypeContext) AllID ¶
func (s *MapTypeContext) AllID() []antlr.TerminalNode
func (*MapTypeContext) DataType ¶
func (s *MapTypeContext) DataType() IDataTypeContext
func (*MapTypeContext) GetKey ¶
func (s *MapTypeContext) GetKey() antlr.Token
func (*MapTypeContext) GetLbrack ¶
func (s *MapTypeContext) GetLbrack() antlr.Token
func (*MapTypeContext) GetMapToken ¶
func (s *MapTypeContext) GetMapToken() antlr.Token
func (*MapTypeContext) GetParser ¶
func (s *MapTypeContext) GetParser() antlr.Parser
func (*MapTypeContext) GetRbrack ¶
func (s *MapTypeContext) GetRbrack() antlr.Token
func (*MapTypeContext) GetRuleContext ¶
func (s *MapTypeContext) GetRuleContext() antlr.RuleContext
func (*MapTypeContext) GetValue ¶
func (s *MapTypeContext) GetValue() IDataTypeContext
func (*MapTypeContext) ID ¶
func (s *MapTypeContext) ID(i int) antlr.TerminalNode
func (*MapTypeContext) IsMapTypeContext ¶
func (*MapTypeContext) IsMapTypeContext()
func (*MapTypeContext) SetKey ¶
func (s *MapTypeContext) SetKey(v antlr.Token)
func (*MapTypeContext) SetLbrack ¶
func (s *MapTypeContext) SetLbrack(v antlr.Token)
func (*MapTypeContext) SetMapToken ¶
func (s *MapTypeContext) SetMapToken(v antlr.Token)
func (*MapTypeContext) SetRbrack ¶
func (s *MapTypeContext) SetRbrack(v antlr.Token)
func (*MapTypeContext) SetValue ¶
func (s *MapTypeContext) SetValue(v IDataTypeContext)
func (*MapTypeContext) ToStringTree ¶
func (s *MapTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NormalFieldContext ¶
type NormalFieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNormalFieldContext ¶
func NewEmptyNormalFieldContext() *NormalFieldContext
func NewNormalFieldContext ¶
func NewNormalFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NormalFieldContext
func (*NormalFieldContext) Accept ¶
func (s *NormalFieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NormalFieldContext) DataType ¶
func (s *NormalFieldContext) DataType() IDataTypeContext
func (*NormalFieldContext) GetFieldName ¶
func (s *NormalFieldContext) GetFieldName() antlr.Token
func (*NormalFieldContext) GetParser ¶
func (s *NormalFieldContext) GetParser() antlr.Parser
func (*NormalFieldContext) GetRuleContext ¶
func (s *NormalFieldContext) GetRuleContext() antlr.RuleContext
func (*NormalFieldContext) GetTag ¶
func (s *NormalFieldContext) GetTag() antlr.Token
func (*NormalFieldContext) ID ¶
func (s *NormalFieldContext) ID() antlr.TerminalNode
func (*NormalFieldContext) IsNormalFieldContext ¶
func (*NormalFieldContext) IsNormalFieldContext()
func (*NormalFieldContext) RAW_STRING ¶
func (s *NormalFieldContext) RAW_STRING() antlr.TerminalNode
func (*NormalFieldContext) SetFieldName ¶
func (s *NormalFieldContext) SetFieldName(v antlr.Token)
func (*NormalFieldContext) SetTag ¶
func (s *NormalFieldContext) SetTag(v antlr.Token)
func (*NormalFieldContext) ToStringTree ¶
func (s *NormalFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PathContext ¶
type PathContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPathContext ¶
func NewEmptyPathContext() *PathContext
func NewPathContext ¶
func NewPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathContext
func (*PathContext) Accept ¶
func (s *PathContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PathContext) AllID ¶
func (s *PathContext) AllID() []antlr.TerminalNode
func (*PathContext) GetParser ¶
func (s *PathContext) GetParser() antlr.Parser
func (*PathContext) GetRuleContext ¶
func (s *PathContext) GetRuleContext() antlr.RuleContext
func (*PathContext) ID ¶
func (s *PathContext) ID(i int) antlr.TerminalNode
func (*PathContext) IsPathContext ¶
func (*PathContext) IsPathContext()
func (*PathContext) ToStringTree ¶
func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PointerTypeContext ¶
type PointerTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPointerTypeContext ¶
func NewEmptyPointerTypeContext() *PointerTypeContext
func NewPointerTypeContext ¶
func NewPointerTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PointerTypeContext
func (*PointerTypeContext) Accept ¶
func (s *PointerTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PointerTypeContext) GetParser ¶
func (s *PointerTypeContext) GetParser() antlr.Parser
func (*PointerTypeContext) GetRuleContext ¶
func (s *PointerTypeContext) GetRuleContext() antlr.RuleContext
func (*PointerTypeContext) GetStar ¶
func (s *PointerTypeContext) GetStar() antlr.Token
func (*PointerTypeContext) ID ¶
func (s *PointerTypeContext) ID() antlr.TerminalNode
func (*PointerTypeContext) IsPointerTypeContext ¶
func (*PointerTypeContext) IsPointerTypeContext()
func (*PointerTypeContext) SetStar ¶
func (s *PointerTypeContext) SetStar(v antlr.Token)
func (*PointerTypeContext) ToStringTree ¶
func (s *PointerTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReplybodyContext ¶
type ReplybodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReplybodyContext ¶
func NewEmptyReplybodyContext() *ReplybodyContext
func NewReplybodyContext ¶
func NewReplybodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplybodyContext
func (*ReplybodyContext) Accept ¶
func (s *ReplybodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ReplybodyContext) DataType ¶
func (s *ReplybodyContext) DataType() IDataTypeContext
func (*ReplybodyContext) GetLp ¶
func (s *ReplybodyContext) GetLp() antlr.Token
func (*ReplybodyContext) GetParser ¶
func (s *ReplybodyContext) GetParser() antlr.Parser
func (*ReplybodyContext) GetReturnToken ¶
func (s *ReplybodyContext) GetReturnToken() antlr.Token
func (*ReplybodyContext) GetRp ¶
func (s *ReplybodyContext) GetRp() antlr.Token
func (*ReplybodyContext) GetRuleContext ¶
func (s *ReplybodyContext) GetRuleContext() antlr.RuleContext
func (*ReplybodyContext) IsReplybodyContext ¶
func (*ReplybodyContext) IsReplybodyContext()
func (*ReplybodyContext) SetLp ¶
func (s *ReplybodyContext) SetLp(v antlr.Token)
func (*ReplybodyContext) SetReturnToken ¶
func (s *ReplybodyContext) SetReturnToken(v antlr.Token)
func (*ReplybodyContext) SetRp ¶
func (s *ReplybodyContext) SetRp(v antlr.Token)
func (*ReplybodyContext) ToStringTree ¶
func (s *ReplybodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RouteContext ¶
type RouteContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRouteContext ¶
func NewEmptyRouteContext() *RouteContext
func NewRouteContext ¶
func NewRouteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RouteContext
func (*RouteContext) Accept ¶
func (s *RouteContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RouteContext) Body ¶
func (s *RouteContext) Body() IBodyContext
func (*RouteContext) GetHttpMethod ¶
func (s *RouteContext) GetHttpMethod() antlr.Token
func (*RouteContext) GetParser ¶
func (s *RouteContext) GetParser() antlr.Parser
func (*RouteContext) GetRequest ¶
func (s *RouteContext) GetRequest() IBodyContext
func (*RouteContext) GetResponse ¶
func (s *RouteContext) GetResponse() IReplybodyContext
func (*RouteContext) GetRuleContext ¶
func (s *RouteContext) GetRuleContext() antlr.RuleContext
func (*RouteContext) ID ¶
func (s *RouteContext) ID() antlr.TerminalNode
func (*RouteContext) IsRouteContext ¶
func (*RouteContext) IsRouteContext()
func (*RouteContext) Path ¶
func (s *RouteContext) Path() IPathContext
func (*RouteContext) Replybody ¶
func (s *RouteContext) Replybody() IReplybodyContext
func (*RouteContext) SetHttpMethod ¶
func (s *RouteContext) SetHttpMethod(v antlr.Token)
func (*RouteContext) SetRequest ¶
func (s *RouteContext) SetRequest(v IBodyContext)
func (*RouteContext) SetResponse ¶
func (s *RouteContext) SetResponse(v IReplybodyContext)
func (*RouteContext) ToStringTree ¶
func (s *RouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceApiContext ¶
type ServiceApiContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceApiContext ¶
func NewEmptyServiceApiContext() *ServiceApiContext
func NewServiceApiContext ¶
func NewServiceApiContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceApiContext
func (*ServiceApiContext) Accept ¶
func (s *ServiceApiContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ServiceApiContext) AllServiceRoute ¶
func (s *ServiceApiContext) AllServiceRoute() []IServiceRouteContext
func (*ServiceApiContext) GetLbrace ¶
func (s *ServiceApiContext) GetLbrace() antlr.Token
func (*ServiceApiContext) GetParser ¶
func (s *ServiceApiContext) GetParser() antlr.Parser
func (*ServiceApiContext) GetRbrace ¶
func (s *ServiceApiContext) GetRbrace() antlr.Token
func (*ServiceApiContext) GetRuleContext ¶
func (s *ServiceApiContext) GetRuleContext() antlr.RuleContext
func (*ServiceApiContext) GetServiceToken ¶
func (s *ServiceApiContext) GetServiceToken() antlr.Token
func (*ServiceApiContext) ID ¶
func (s *ServiceApiContext) ID() antlr.TerminalNode
func (*ServiceApiContext) IsServiceApiContext ¶
func (*ServiceApiContext) IsServiceApiContext()
func (*ServiceApiContext) ServiceName ¶
func (s *ServiceApiContext) ServiceName() IServiceNameContext
func (*ServiceApiContext) ServiceRoute ¶
func (s *ServiceApiContext) ServiceRoute(i int) IServiceRouteContext
func (*ServiceApiContext) SetLbrace ¶
func (s *ServiceApiContext) SetLbrace(v antlr.Token)
func (*ServiceApiContext) SetRbrace ¶
func (s *ServiceApiContext) SetRbrace(v antlr.Token)
func (*ServiceApiContext) SetServiceToken ¶
func (s *ServiceApiContext) SetServiceToken(v antlr.Token)
func (*ServiceApiContext) ToStringTree ¶
func (s *ServiceApiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceNameContext ¶
type ServiceNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceNameContext ¶
func NewEmptyServiceNameContext() *ServiceNameContext
func NewServiceNameContext ¶
func NewServiceNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceNameContext
func (*ServiceNameContext) Accept ¶
func (s *ServiceNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ServiceNameContext) AllID ¶
func (s *ServiceNameContext) AllID() []antlr.TerminalNode
func (*ServiceNameContext) GetParser ¶
func (s *ServiceNameContext) GetParser() antlr.Parser
func (*ServiceNameContext) GetRuleContext ¶
func (s *ServiceNameContext) GetRuleContext() antlr.RuleContext
func (*ServiceNameContext) ID ¶
func (s *ServiceNameContext) ID(i int) antlr.TerminalNode
func (*ServiceNameContext) IsServiceNameContext ¶
func (*ServiceNameContext) IsServiceNameContext()
func (*ServiceNameContext) ToStringTree ¶
func (s *ServiceNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceRouteContext ¶
type ServiceRouteContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceRouteContext ¶
func NewEmptyServiceRouteContext() *ServiceRouteContext
func NewServiceRouteContext ¶
func NewServiceRouteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceRouteContext
func (*ServiceRouteContext) Accept ¶
func (s *ServiceRouteContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ServiceRouteContext) AtDoc ¶
func (s *ServiceRouteContext) AtDoc() IAtDocContext
func (*ServiceRouteContext) AtHandler ¶
func (s *ServiceRouteContext) AtHandler() IAtHandlerContext
func (*ServiceRouteContext) AtServer ¶
func (s *ServiceRouteContext) AtServer() IAtServerContext
func (*ServiceRouteContext) GetParser ¶
func (s *ServiceRouteContext) GetParser() antlr.Parser
func (*ServiceRouteContext) GetRuleContext ¶
func (s *ServiceRouteContext) GetRuleContext() antlr.RuleContext
func (*ServiceRouteContext) IsServiceRouteContext ¶
func (*ServiceRouteContext) IsServiceRouteContext()
func (*ServiceRouteContext) Route ¶
func (s *ServiceRouteContext) Route() IRouteContext
func (*ServiceRouteContext) ToStringTree ¶
func (s *ServiceRouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceSpecContext ¶
type ServiceSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceSpecContext ¶
func NewEmptyServiceSpecContext() *ServiceSpecContext
func NewServiceSpecContext ¶
func NewServiceSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceSpecContext
func (*ServiceSpecContext) Accept ¶
func (s *ServiceSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ServiceSpecContext) AtServer ¶
func (s *ServiceSpecContext) AtServer() IAtServerContext
func (*ServiceSpecContext) GetParser ¶
func (s *ServiceSpecContext) GetParser() antlr.Parser
func (*ServiceSpecContext) GetRuleContext ¶
func (s *ServiceSpecContext) GetRuleContext() antlr.RuleContext
func (*ServiceSpecContext) IsServiceSpecContext ¶
func (*ServiceSpecContext) IsServiceSpecContext()
func (*ServiceSpecContext) ServiceApi ¶
func (s *ServiceSpecContext) ServiceApi() IServiceApiContext
func (*ServiceSpecContext) ToStringTree ¶
func (s *ServiceSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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) Accept ¶
func (s *SpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SpecContext) GetParser ¶
func (s *SpecContext) GetParser() antlr.Parser
func (*SpecContext) GetRuleContext ¶
func (s *SpecContext) GetRuleContext() antlr.RuleContext
func (*SpecContext) ImportSpec ¶
func (s *SpecContext) ImportSpec() IImportSpecContext
func (*SpecContext) InfoSpec ¶
func (s *SpecContext) InfoSpec() IInfoSpecContext
func (*SpecContext) IsSpecContext ¶
func (*SpecContext) IsSpecContext()
func (*SpecContext) ServiceSpec ¶
func (s *SpecContext) ServiceSpec() IServiceSpecContext
func (*SpecContext) SyntaxLit ¶
func (s *SpecContext) SyntaxLit() ISyntaxLitContext
func (*SpecContext) ToStringTree ¶
func (s *SpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SpecContext) TypeSpec ¶
func (s *SpecContext) TypeSpec() ITypeSpecContext
type SyntaxLitContext ¶
type SyntaxLitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySyntaxLitContext ¶
func NewEmptySyntaxLitContext() *SyntaxLitContext
func NewSyntaxLitContext ¶
func NewSyntaxLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SyntaxLitContext
func (*SyntaxLitContext) Accept ¶
func (s *SyntaxLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SyntaxLitContext) GetAssign ¶
func (s *SyntaxLitContext) GetAssign() antlr.Token
func (*SyntaxLitContext) GetParser ¶
func (s *SyntaxLitContext) GetParser() antlr.Parser
func (*SyntaxLitContext) GetRuleContext ¶
func (s *SyntaxLitContext) GetRuleContext() antlr.RuleContext
func (*SyntaxLitContext) GetSyntaxToken ¶
func (s *SyntaxLitContext) GetSyntaxToken() antlr.Token
func (*SyntaxLitContext) GetVersion ¶
func (s *SyntaxLitContext) GetVersion() antlr.Token
func (*SyntaxLitContext) ID ¶
func (s *SyntaxLitContext) ID() antlr.TerminalNode
func (*SyntaxLitContext) IsSyntaxLitContext ¶
func (*SyntaxLitContext) IsSyntaxLitContext()
func (*SyntaxLitContext) STRING ¶
func (s *SyntaxLitContext) STRING() antlr.TerminalNode
func (*SyntaxLitContext) SetAssign ¶
func (s *SyntaxLitContext) SetAssign(v antlr.Token)
func (*SyntaxLitContext) SetSyntaxToken ¶
func (s *SyntaxLitContext) SetSyntaxToken(v antlr.Token)
func (*SyntaxLitContext) SetVersion ¶
func (s *SyntaxLitContext) SetVersion(v antlr.Token)
func (*SyntaxLitContext) ToStringTree ¶
func (s *SyntaxLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeAliasContext ¶
type TypeAliasContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeAliasContext ¶
func NewEmptyTypeAliasContext() *TypeAliasContext
func NewTypeAliasContext ¶
func NewTypeAliasContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeAliasContext
func (*TypeAliasContext) Accept ¶
func (s *TypeAliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeAliasContext) DataType ¶
func (s *TypeAliasContext) DataType() IDataTypeContext
func (*TypeAliasContext) GetAlias ¶
func (s *TypeAliasContext) GetAlias() antlr.Token
func (*TypeAliasContext) GetAssign ¶
func (s *TypeAliasContext) GetAssign() antlr.Token
func (*TypeAliasContext) GetParser ¶
func (s *TypeAliasContext) GetParser() antlr.Parser
func (*TypeAliasContext) GetRuleContext ¶
func (s *TypeAliasContext) GetRuleContext() antlr.RuleContext
func (*TypeAliasContext) ID ¶
func (s *TypeAliasContext) ID() antlr.TerminalNode
func (*TypeAliasContext) IsTypeAliasContext ¶
func (*TypeAliasContext) IsTypeAliasContext()
func (*TypeAliasContext) SetAlias ¶
func (s *TypeAliasContext) SetAlias(v antlr.Token)
func (*TypeAliasContext) SetAssign ¶
func (s *TypeAliasContext) SetAssign(v antlr.Token)
func (*TypeAliasContext) ToStringTree ¶
func (s *TypeAliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeBlockAliasContext ¶
type TypeBlockAliasContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeBlockAliasContext ¶
func NewEmptyTypeBlockAliasContext() *TypeBlockAliasContext
func NewTypeBlockAliasContext ¶
func NewTypeBlockAliasContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeBlockAliasContext
func (*TypeBlockAliasContext) Accept ¶
func (s *TypeBlockAliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeBlockAliasContext) DataType ¶
func (s *TypeBlockAliasContext) DataType() IDataTypeContext
func (*TypeBlockAliasContext) GetAlias ¶
func (s *TypeBlockAliasContext) GetAlias() antlr.Token
func (*TypeBlockAliasContext) GetAssign ¶
func (s *TypeBlockAliasContext) GetAssign() antlr.Token
func (*TypeBlockAliasContext) GetParser ¶
func (s *TypeBlockAliasContext) GetParser() antlr.Parser
func (*TypeBlockAliasContext) GetRuleContext ¶
func (s *TypeBlockAliasContext) GetRuleContext() antlr.RuleContext
func (*TypeBlockAliasContext) ID ¶
func (s *TypeBlockAliasContext) ID() antlr.TerminalNode
func (*TypeBlockAliasContext) IsTypeBlockAliasContext ¶
func (*TypeBlockAliasContext) IsTypeBlockAliasContext()
func (*TypeBlockAliasContext) SetAlias ¶
func (s *TypeBlockAliasContext) SetAlias(v antlr.Token)
func (*TypeBlockAliasContext) SetAssign ¶
func (s *TypeBlockAliasContext) SetAssign(v antlr.Token)
func (*TypeBlockAliasContext) ToStringTree ¶
func (s *TypeBlockAliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeBlockBodyContext ¶
type TypeBlockBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeBlockBodyContext ¶
func NewEmptyTypeBlockBodyContext() *TypeBlockBodyContext
func NewTypeBlockBodyContext ¶
func NewTypeBlockBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeBlockBodyContext
func (*TypeBlockBodyContext) Accept ¶
func (s *TypeBlockBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeBlockBodyContext) GetParser ¶
func (s *TypeBlockBodyContext) GetParser() antlr.Parser
func (*TypeBlockBodyContext) GetRuleContext ¶
func (s *TypeBlockBodyContext) GetRuleContext() antlr.RuleContext
func (*TypeBlockBodyContext) IsTypeBlockBodyContext ¶
func (*TypeBlockBodyContext) IsTypeBlockBodyContext()
func (*TypeBlockBodyContext) ToStringTree ¶
func (s *TypeBlockBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeBlockBodyContext) TypeBlockAlias ¶
func (s *TypeBlockBodyContext) TypeBlockAlias() ITypeBlockAliasContext
func (*TypeBlockBodyContext) TypeBlockStruct ¶
func (s *TypeBlockBodyContext) TypeBlockStruct() ITypeBlockStructContext
type TypeBlockContext ¶
type TypeBlockContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeBlockContext ¶
func NewEmptyTypeBlockContext() *TypeBlockContext
func NewTypeBlockContext ¶
func NewTypeBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeBlockContext
func (*TypeBlockContext) Accept ¶
func (s *TypeBlockContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeBlockContext) AllTypeBlockBody ¶
func (s *TypeBlockContext) AllTypeBlockBody() []ITypeBlockBodyContext
func (*TypeBlockContext) GetLp ¶
func (s *TypeBlockContext) GetLp() antlr.Token
func (*TypeBlockContext) GetParser ¶
func (s *TypeBlockContext) GetParser() antlr.Parser
func (*TypeBlockContext) GetRp ¶
func (s *TypeBlockContext) GetRp() antlr.Token
func (*TypeBlockContext) GetRuleContext ¶
func (s *TypeBlockContext) GetRuleContext() antlr.RuleContext
func (*TypeBlockContext) GetTypeToken ¶
func (s *TypeBlockContext) GetTypeToken() antlr.Token
func (*TypeBlockContext) ID ¶
func (s *TypeBlockContext) ID() antlr.TerminalNode
func (*TypeBlockContext) IsTypeBlockContext ¶
func (*TypeBlockContext) IsTypeBlockContext()
func (*TypeBlockContext) SetLp ¶
func (s *TypeBlockContext) SetLp(v antlr.Token)
func (*TypeBlockContext) SetRp ¶
func (s *TypeBlockContext) SetRp(v antlr.Token)
func (*TypeBlockContext) SetTypeToken ¶
func (s *TypeBlockContext) SetTypeToken(v antlr.Token)
func (*TypeBlockContext) ToStringTree ¶
func (s *TypeBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeBlockContext) TypeBlockBody ¶
func (s *TypeBlockContext) TypeBlockBody(i int) ITypeBlockBodyContext
type TypeBlockStructContext ¶
type TypeBlockStructContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeBlockStructContext ¶
func NewEmptyTypeBlockStructContext() *TypeBlockStructContext
func NewTypeBlockStructContext ¶
func NewTypeBlockStructContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeBlockStructContext
func (*TypeBlockStructContext) Accept ¶
func (s *TypeBlockStructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeBlockStructContext) AllField ¶
func (s *TypeBlockStructContext) AllField() []IFieldContext
func (*TypeBlockStructContext) AllID ¶
func (s *TypeBlockStructContext) AllID() []antlr.TerminalNode
func (*TypeBlockStructContext) Field ¶
func (s *TypeBlockStructContext) Field(i int) IFieldContext
func (*TypeBlockStructContext) GetLbrace ¶
func (s *TypeBlockStructContext) GetLbrace() antlr.Token
func (*TypeBlockStructContext) GetParser ¶
func (s *TypeBlockStructContext) GetParser() antlr.Parser
func (*TypeBlockStructContext) GetRbrace ¶
func (s *TypeBlockStructContext) GetRbrace() antlr.Token
func (*TypeBlockStructContext) GetRuleContext ¶
func (s *TypeBlockStructContext) GetRuleContext() antlr.RuleContext
func (*TypeBlockStructContext) GetStructName ¶
func (s *TypeBlockStructContext) GetStructName() antlr.Token
func (*TypeBlockStructContext) GetStructToken ¶
func (s *TypeBlockStructContext) GetStructToken() antlr.Token
func (*TypeBlockStructContext) ID ¶
func (s *TypeBlockStructContext) ID(i int) antlr.TerminalNode
func (*TypeBlockStructContext) IsTypeBlockStructContext ¶
func (*TypeBlockStructContext) IsTypeBlockStructContext()
func (*TypeBlockStructContext) SetLbrace ¶
func (s *TypeBlockStructContext) SetLbrace(v antlr.Token)
func (*TypeBlockStructContext) SetRbrace ¶
func (s *TypeBlockStructContext) SetRbrace(v antlr.Token)
func (*TypeBlockStructContext) SetStructName ¶
func (s *TypeBlockStructContext) SetStructName(v antlr.Token)
func (*TypeBlockStructContext) SetStructToken ¶
func (s *TypeBlockStructContext) SetStructToken(v antlr.Token)
func (*TypeBlockStructContext) ToStringTree ¶
func (s *TypeBlockStructContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeLitBodyContext ¶
type TypeLitBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeLitBodyContext ¶
func NewEmptyTypeLitBodyContext() *TypeLitBodyContext
func NewTypeLitBodyContext ¶
func NewTypeLitBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeLitBodyContext
func (*TypeLitBodyContext) Accept ¶
func (s *TypeLitBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeLitBodyContext) GetParser ¶
func (s *TypeLitBodyContext) GetParser() antlr.Parser
func (*TypeLitBodyContext) GetRuleContext ¶
func (s *TypeLitBodyContext) GetRuleContext() antlr.RuleContext
func (*TypeLitBodyContext) IsTypeLitBodyContext ¶
func (*TypeLitBodyContext) IsTypeLitBodyContext()
func (*TypeLitBodyContext) ToStringTree ¶
func (s *TypeLitBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeLitBodyContext) TypeAlias ¶
func (s *TypeLitBodyContext) TypeAlias() ITypeAliasContext
func (*TypeLitBodyContext) TypeStruct ¶
func (s *TypeLitBodyContext) TypeStruct() ITypeStructContext
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) Accept ¶
func (s *TypeLitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeLitContext) GetParser ¶
func (s *TypeLitContext) GetParser() antlr.Parser
func (*TypeLitContext) GetRuleContext ¶
func (s *TypeLitContext) GetRuleContext() antlr.RuleContext
func (*TypeLitContext) GetTypeToken ¶
func (s *TypeLitContext) GetTypeToken() antlr.Token
func (*TypeLitContext) ID ¶
func (s *TypeLitContext) ID() antlr.TerminalNode
func (*TypeLitContext) IsTypeLitContext ¶
func (*TypeLitContext) IsTypeLitContext()
func (*TypeLitContext) SetTypeToken ¶
func (s *TypeLitContext) SetTypeToken(v antlr.Token)
func (*TypeLitContext) ToStringTree ¶
func (s *TypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeLitContext) TypeLitBody ¶
func (s *TypeLitContext) TypeLitBody() ITypeLitBodyContext
type TypeSpecContext ¶
type TypeSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeSpecContext ¶
func NewEmptyTypeSpecContext() *TypeSpecContext
func NewTypeSpecContext ¶
func NewTypeSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSpecContext
func (*TypeSpecContext) Accept ¶
func (s *TypeSpecContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeSpecContext) GetParser ¶
func (s *TypeSpecContext) GetParser() antlr.Parser
func (*TypeSpecContext) GetRuleContext ¶
func (s *TypeSpecContext) GetRuleContext() antlr.RuleContext
func (*TypeSpecContext) IsTypeSpecContext ¶
func (*TypeSpecContext) IsTypeSpecContext()
func (*TypeSpecContext) ToStringTree ¶
func (s *TypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeSpecContext) TypeBlock ¶
func (s *TypeSpecContext) TypeBlock() ITypeBlockContext
func (*TypeSpecContext) TypeLit ¶
func (s *TypeSpecContext) TypeLit() ITypeLitContext
type TypeStructContext ¶
type TypeStructContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeStructContext ¶
func NewEmptyTypeStructContext() *TypeStructContext
func NewTypeStructContext ¶
func NewTypeStructContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeStructContext
func (*TypeStructContext) Accept ¶
func (s *TypeStructContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeStructContext) AllField ¶
func (s *TypeStructContext) AllField() []IFieldContext
func (*TypeStructContext) AllID ¶
func (s *TypeStructContext) AllID() []antlr.TerminalNode
func (*TypeStructContext) Field ¶
func (s *TypeStructContext) Field(i int) IFieldContext
func (*TypeStructContext) GetLbrace ¶
func (s *TypeStructContext) GetLbrace() antlr.Token
func (*TypeStructContext) GetParser ¶
func (s *TypeStructContext) GetParser() antlr.Parser
func (*TypeStructContext) GetRbrace ¶
func (s *TypeStructContext) GetRbrace() antlr.Token
func (*TypeStructContext) GetRuleContext ¶
func (s *TypeStructContext) GetRuleContext() antlr.RuleContext
func (*TypeStructContext) GetStructName ¶
func (s *TypeStructContext) GetStructName() antlr.Token
func (*TypeStructContext) GetStructToken ¶
func (s *TypeStructContext) GetStructToken() antlr.Token
func (*TypeStructContext) ID ¶
func (s *TypeStructContext) ID(i int) antlr.TerminalNode
func (*TypeStructContext) IsTypeStructContext ¶
func (*TypeStructContext) IsTypeStructContext()
func (*TypeStructContext) SetLbrace ¶
func (s *TypeStructContext) SetLbrace(v antlr.Token)
func (*TypeStructContext) SetRbrace ¶
func (s *TypeStructContext) SetRbrace(v antlr.Token)
func (*TypeStructContext) SetStructName ¶
func (s *TypeStructContext) SetStructName(v antlr.Token)
func (*TypeStructContext) SetStructToken ¶
func (s *TypeStructContext) SetStructToken(v antlr.Token)
func (*TypeStructContext) ToStringTree ¶
func (s *TypeStructContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string