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) any
- 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) any
- 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) PathItem() (localctx IPathItemContext)
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- func (v *BaseApiParserVisitor) VisitApi(ctx *ApiContext) any
- func (v *BaseApiParserVisitor) VisitArrayType(ctx *ArrayTypeContext) any
- func (v *BaseApiParserVisitor) VisitAtDoc(ctx *AtDocContext) any
- func (v *BaseApiParserVisitor) VisitAtHandler(ctx *AtHandlerContext) any
- func (v *BaseApiParserVisitor) VisitAtServer(ctx *AtServerContext) any
- func (v *BaseApiParserVisitor) VisitBody(ctx *BodyContext) any
- func (v *BaseApiParserVisitor) VisitDataType(ctx *DataTypeContext) any
- func (v *BaseApiParserVisitor) VisitField(ctx *FieldContext) any
- func (v *BaseApiParserVisitor) VisitImportBlock(ctx *ImportBlockContext) any
- func (v *BaseApiParserVisitor) VisitImportBlockValue(ctx *ImportBlockValueContext) any
- func (v *BaseApiParserVisitor) VisitImportLit(ctx *ImportLitContext) any
- func (v *BaseApiParserVisitor) VisitImportSpec(ctx *ImportSpecContext) any
- func (v *BaseApiParserVisitor) VisitImportValue(ctx *ImportValueContext) any
- func (v *BaseApiParserVisitor) VisitInfoSpec(ctx *InfoSpecContext) any
- func (v *BaseApiParserVisitor) VisitKvLit(ctx *KvLitContext) any
- func (v *BaseApiParserVisitor) VisitMapType(ctx *MapTypeContext) any
- func (v *BaseApiParserVisitor) VisitNormalField(ctx *NormalFieldContext) any
- func (v *BaseApiParserVisitor) VisitPath(ctx *PathContext) any
- func (v *BaseApiParserVisitor) VisitPathItem(ctx *PathItemContext) any
- func (v *BaseApiParserVisitor) VisitPointerType(ctx *PointerTypeContext) any
- func (v *BaseApiParserVisitor) VisitReplybody(ctx *ReplybodyContext) any
- func (v *BaseApiParserVisitor) VisitRoute(ctx *RouteContext) any
- func (v *BaseApiParserVisitor) VisitServiceApi(ctx *ServiceApiContext) any
- func (v *BaseApiParserVisitor) VisitServiceName(ctx *ServiceNameContext) any
- func (v *BaseApiParserVisitor) VisitServiceRoute(ctx *ServiceRouteContext) any
- func (v *BaseApiParserVisitor) VisitServiceSpec(ctx *ServiceSpecContext) any
- func (v *BaseApiParserVisitor) VisitSpec(ctx *SpecContext) any
- func (v *BaseApiParserVisitor) VisitSyntaxLit(ctx *SyntaxLitContext) any
- func (v *BaseApiParserVisitor) VisitTypeAlias(ctx *TypeAliasContext) any
- func (v *BaseApiParserVisitor) VisitTypeBlock(ctx *TypeBlockContext) any
- func (v *BaseApiParserVisitor) VisitTypeBlockAlias(ctx *TypeBlockAliasContext) any
- func (v *BaseApiParserVisitor) VisitTypeBlockBody(ctx *TypeBlockBodyContext) any
- func (v *BaseApiParserVisitor) VisitTypeBlockStruct(ctx *TypeBlockStructContext) any
- func (v *BaseApiParserVisitor) VisitTypeLit(ctx *TypeLitContext) any
- func (v *BaseApiParserVisitor) VisitTypeLitBody(ctx *TypeLitBodyContext) any
- func (v *BaseApiParserVisitor) VisitTypeSpec(ctx *TypeSpecContext) any
- func (v *BaseApiParserVisitor) VisitTypeStruct(ctx *TypeStructContext) any
- type BodyContext
- func (s *BodyContext) Accept(visitor antlr.ParseTreeVisitor) any
- 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) any
- 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) any
- 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 IPathItemContext
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- func (s *PathContext) AllPathItem() []IPathItemContext
- func (s *PathContext) GetParser() antlr.Parser
- func (s *PathContext) GetRuleContext() antlr.RuleContext
- func (*PathContext) IsPathContext()
- func (s *PathContext) PathItem(i int) IPathItemContext
- func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PathItemContext
- func (s *PathItemContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *PathItemContext) AllID() []antlr.TerminalNode
- func (s *PathItemContext) AllLetterOrDigit() []antlr.TerminalNode
- func (s *PathItemContext) GetParser() antlr.Parser
- func (s *PathItemContext) GetRuleContext() antlr.RuleContext
- func (s *PathItemContext) ID(i int) antlr.TerminalNode
- func (*PathItemContext) IsPathItemContext()
- func (s *PathItemContext) LetterOrDigit(i int) antlr.TerminalNode
- func (s *PathItemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PointerTypeContext
- func (s *PointerTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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) any
- 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 ApiParserLexerLetterOrDigit = 25 )
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 ApiParserParserLetterOrDigit = 25 )
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 ApiParserParserRULE_pathItem = 37 )
ApiParserParser rules.
const COMMENTS = 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) any
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) any
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) PathItem ¶
func (p *ApiParserParser) PathItem() (localctx IPathItemContext)
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 // Visit a parse tree produced by ApiParserParser#api. VisitApi(ctx *ApiContext) any // Visit a parse tree produced by ApiParserParser#spec. VisitSpec(ctx *SpecContext) any // Visit a parse tree produced by ApiParserParser#syntaxLit. VisitSyntaxLit(ctx *SyntaxLitContext) any // Visit a parse tree produced by ApiParserParser#importSpec. VisitImportSpec(ctx *ImportSpecContext) any // Visit a parse tree produced by ApiParserParser#importLit. VisitImportLit(ctx *ImportLitContext) any // Visit a parse tree produced by ApiParserParser#importBlock. VisitImportBlock(ctx *ImportBlockContext) any // Visit a parse tree produced by ApiParserParser#importBlockValue. VisitImportBlockValue(ctx *ImportBlockValueContext) any // Visit a parse tree produced by ApiParserParser#importValue. VisitImportValue(ctx *ImportValueContext) any // Visit a parse tree produced by ApiParserParser#infoSpec. VisitInfoSpec(ctx *InfoSpecContext) any // Visit a parse tree produced by ApiParserParser#typeSpec. VisitTypeSpec(ctx *TypeSpecContext) any // Visit a parse tree produced by ApiParserParser#typeLit. VisitTypeLit(ctx *TypeLitContext) any // Visit a parse tree produced by ApiParserParser#typeBlock. VisitTypeBlock(ctx *TypeBlockContext) any // Visit a parse tree produced by ApiParserParser#typeLitBody. VisitTypeLitBody(ctx *TypeLitBodyContext) any // Visit a parse tree produced by ApiParserParser#typeBlockBody. VisitTypeBlockBody(ctx *TypeBlockBodyContext) any // Visit a parse tree produced by ApiParserParser#typeStruct. VisitTypeStruct(ctx *TypeStructContext) any // Visit a parse tree produced by ApiParserParser#typeAlias. VisitTypeAlias(ctx *TypeAliasContext) any // Visit a parse tree produced by ApiParserParser#typeBlockStruct. VisitTypeBlockStruct(ctx *TypeBlockStructContext) any // Visit a parse tree produced by ApiParserParser#typeBlockAlias. VisitTypeBlockAlias(ctx *TypeBlockAliasContext) any // Visit a parse tree produced by ApiParserParser#field. VisitField(ctx *FieldContext) any // Visit a parse tree produced by ApiParserParser#normalField. VisitNormalField(ctx *NormalFieldContext) any // Visit a parse tree produced by ApiParserParser#anonymousFiled. VisitAnonymousFiled(ctx *AnonymousFiledContext) any // Visit a parse tree produced by ApiParserParser#dataType. VisitDataType(ctx *DataTypeContext) any // Visit a parse tree produced by ApiParserParser#pointerType. VisitPointerType(ctx *PointerTypeContext) any // Visit a parse tree produced by ApiParserParser#mapType. VisitMapType(ctx *MapTypeContext) any // Visit a parse tree produced by ApiParserParser#arrayType. VisitArrayType(ctx *ArrayTypeContext) any // Visit a parse tree produced by ApiParserParser#serviceSpec. VisitServiceSpec(ctx *ServiceSpecContext) any // Visit a parse tree produced by ApiParserParser#atServer. VisitAtServer(ctx *AtServerContext) any // Visit a parse tree produced by ApiParserParser#serviceApi. VisitServiceApi(ctx *ServiceApiContext) any // Visit a parse tree produced by ApiParserParser#serviceRoute. VisitServiceRoute(ctx *ServiceRouteContext) any // Visit a parse tree produced by ApiParserParser#atDoc. VisitAtDoc(ctx *AtDocContext) any // Visit a parse tree produced by ApiParserParser#atHandler. VisitAtHandler(ctx *AtHandlerContext) any // Visit a parse tree produced by ApiParserParser#route. VisitRoute(ctx *RouteContext) any // Visit a parse tree produced by ApiParserParser#body. VisitBody(ctx *BodyContext) any // Visit a parse tree produced by ApiParserParser#replybody. VisitReplybody(ctx *ReplybodyContext) any // Visit a parse tree produced by ApiParserParser#kvLit. VisitKvLit(ctx *KvLitContext) any // Visit a parse tree produced by ApiParserParser#serviceName. VisitServiceName(ctx *ServiceNameContext) any // Visit a parse tree produced by ApiParserParser#path. VisitPath(ctx *PathContext) any // Visit a parse tree produced by ApiParserParser#pathItem. VisitPathItem(ctx *PathItemContext) any }
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) any
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) any
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) any
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) any
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) any
func (*BaseApiParserVisitor) VisitApi ¶
func (v *BaseApiParserVisitor) VisitApi(ctx *ApiContext) any
func (*BaseApiParserVisitor) VisitArrayType ¶
func (v *BaseApiParserVisitor) VisitArrayType(ctx *ArrayTypeContext) any
func (*BaseApiParserVisitor) VisitAtDoc ¶
func (v *BaseApiParserVisitor) VisitAtDoc(ctx *AtDocContext) any
func (*BaseApiParserVisitor) VisitAtHandler ¶
func (v *BaseApiParserVisitor) VisitAtHandler(ctx *AtHandlerContext) any
func (*BaseApiParserVisitor) VisitAtServer ¶
func (v *BaseApiParserVisitor) VisitAtServer(ctx *AtServerContext) any
func (*BaseApiParserVisitor) VisitBody ¶
func (v *BaseApiParserVisitor) VisitBody(ctx *BodyContext) any
func (*BaseApiParserVisitor) VisitDataType ¶
func (v *BaseApiParserVisitor) VisitDataType(ctx *DataTypeContext) any
func (*BaseApiParserVisitor) VisitField ¶
func (v *BaseApiParserVisitor) VisitField(ctx *FieldContext) any
func (*BaseApiParserVisitor) VisitImportBlock ¶
func (v *BaseApiParserVisitor) VisitImportBlock(ctx *ImportBlockContext) any
func (*BaseApiParserVisitor) VisitImportBlockValue ¶
func (v *BaseApiParserVisitor) VisitImportBlockValue(ctx *ImportBlockValueContext) any
func (*BaseApiParserVisitor) VisitImportLit ¶
func (v *BaseApiParserVisitor) VisitImportLit(ctx *ImportLitContext) any
func (*BaseApiParserVisitor) VisitImportSpec ¶
func (v *BaseApiParserVisitor) VisitImportSpec(ctx *ImportSpecContext) any
func (*BaseApiParserVisitor) VisitImportValue ¶
func (v *BaseApiParserVisitor) VisitImportValue(ctx *ImportValueContext) any
func (*BaseApiParserVisitor) VisitInfoSpec ¶
func (v *BaseApiParserVisitor) VisitInfoSpec(ctx *InfoSpecContext) any
func (*BaseApiParserVisitor) VisitKvLit ¶
func (v *BaseApiParserVisitor) VisitKvLit(ctx *KvLitContext) any
func (*BaseApiParserVisitor) VisitMapType ¶
func (v *BaseApiParserVisitor) VisitMapType(ctx *MapTypeContext) any
func (*BaseApiParserVisitor) VisitNormalField ¶
func (v *BaseApiParserVisitor) VisitNormalField(ctx *NormalFieldContext) any
func (*BaseApiParserVisitor) VisitPath ¶
func (v *BaseApiParserVisitor) VisitPath(ctx *PathContext) any
func (*BaseApiParserVisitor) VisitPathItem ¶
func (v *BaseApiParserVisitor) VisitPathItem(ctx *PathItemContext) any
func (*BaseApiParserVisitor) VisitPointerType ¶
func (v *BaseApiParserVisitor) VisitPointerType(ctx *PointerTypeContext) any
func (*BaseApiParserVisitor) VisitReplybody ¶
func (v *BaseApiParserVisitor) VisitReplybody(ctx *ReplybodyContext) any
func (*BaseApiParserVisitor) VisitRoute ¶
func (v *BaseApiParserVisitor) VisitRoute(ctx *RouteContext) any
func (*BaseApiParserVisitor) VisitServiceApi ¶
func (v *BaseApiParserVisitor) VisitServiceApi(ctx *ServiceApiContext) any
func (*BaseApiParserVisitor) VisitServiceName ¶
func (v *BaseApiParserVisitor) VisitServiceName(ctx *ServiceNameContext) any
func (*BaseApiParserVisitor) VisitServiceRoute ¶
func (v *BaseApiParserVisitor) VisitServiceRoute(ctx *ServiceRouteContext) any
func (*BaseApiParserVisitor) VisitServiceSpec ¶
func (v *BaseApiParserVisitor) VisitServiceSpec(ctx *ServiceSpecContext) any
func (*BaseApiParserVisitor) VisitSpec ¶
func (v *BaseApiParserVisitor) VisitSpec(ctx *SpecContext) any
func (*BaseApiParserVisitor) VisitSyntaxLit ¶
func (v *BaseApiParserVisitor) VisitSyntaxLit(ctx *SyntaxLitContext) any
func (*BaseApiParserVisitor) VisitTypeAlias ¶
func (v *BaseApiParserVisitor) VisitTypeAlias(ctx *TypeAliasContext) any
func (*BaseApiParserVisitor) VisitTypeBlock ¶
func (v *BaseApiParserVisitor) VisitTypeBlock(ctx *TypeBlockContext) any
func (*BaseApiParserVisitor) VisitTypeBlockAlias ¶
func (v *BaseApiParserVisitor) VisitTypeBlockAlias(ctx *TypeBlockAliasContext) any
func (*BaseApiParserVisitor) VisitTypeBlockBody ¶
func (v *BaseApiParserVisitor) VisitTypeBlockBody(ctx *TypeBlockBodyContext) any
func (*BaseApiParserVisitor) VisitTypeBlockStruct ¶
func (v *BaseApiParserVisitor) VisitTypeBlockStruct(ctx *TypeBlockStructContext) any
func (*BaseApiParserVisitor) VisitTypeLit ¶
func (v *BaseApiParserVisitor) VisitTypeLit(ctx *TypeLitContext) any
func (*BaseApiParserVisitor) VisitTypeLitBody ¶
func (v *BaseApiParserVisitor) VisitTypeLitBody(ctx *TypeLitBodyContext) any
func (*BaseApiParserVisitor) VisitTypeSpec ¶
func (v *BaseApiParserVisitor) VisitTypeSpec(ctx *TypeSpecContext) any
func (*BaseApiParserVisitor) VisitTypeStruct ¶
func (v *BaseApiParserVisitor) VisitTypeStruct(ctx *TypeStructContext) any
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) any
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) any
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) any
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 IPathItemContext ¶
type IPathItemContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPathItemContext differentiates from other interfaces. IsPathItemContext() }
IPathItemContext 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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
func (*PathContext) AllPathItem ¶
func (s *PathContext) AllPathItem() []IPathItemContext
func (*PathContext) GetParser ¶
func (s *PathContext) GetParser() antlr.Parser
func (*PathContext) GetRuleContext ¶
func (s *PathContext) GetRuleContext() antlr.RuleContext
func (*PathContext) IsPathContext ¶
func (*PathContext) IsPathContext()
func (*PathContext) PathItem ¶
func (s *PathContext) PathItem(i int) IPathItemContext
func (*PathContext) ToStringTree ¶
func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PathItemContext ¶
type PathItemContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPathItemContext ¶
func NewEmptyPathItemContext() *PathItemContext
func NewPathItemContext ¶
func NewPathItemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathItemContext
func (*PathItemContext) Accept ¶
func (s *PathItemContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*PathItemContext) AllID ¶
func (s *PathItemContext) AllID() []antlr.TerminalNode
func (*PathItemContext) AllLetterOrDigit ¶
func (s *PathItemContext) AllLetterOrDigit() []antlr.TerminalNode
func (*PathItemContext) GetParser ¶
func (s *PathItemContext) GetParser() antlr.Parser
func (*PathItemContext) GetRuleContext ¶
func (s *PathItemContext) GetRuleContext() antlr.RuleContext
func (*PathItemContext) ID ¶
func (s *PathItemContext) ID(i int) antlr.TerminalNode
func (*PathItemContext) IsPathItemContext ¶
func (*PathItemContext) IsPathItemContext()
func (*PathItemContext) LetterOrDigit ¶
func (s *PathItemContext) LetterOrDigit(i int) antlr.TerminalNode
func (*PathItemContext) ToStringTree ¶
func (s *PathItemContext) 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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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) any
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