Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyArrayRuleContext(p *ArrayRuleContext)
- func InitEmptyDeclarationsRuleContext(p *DeclarationsRuleContext)
- func InitEmptyDocumentRuleContext(p *DocumentRuleContext)
- func InitEmptyEnumMemberRuleContext(p *EnumMemberRuleContext)
- func InitEmptyEnumRuleContext(p *EnumRuleContext)
- func InitEmptyExternRuleContext(p *ExternRuleContext)
- func InitEmptyHeaderRuleContext(p *HeaderRuleContext)
- func InitEmptyImportRuleContext(p *ImportRuleContext)
- func InitEmptyInterfaceMembersRuleContext(p *InterfaceMembersRuleContext)
- func InitEmptyInterfaceRuleContext(p *InterfaceRuleContext)
- func InitEmptyMetaRuleContext(p *MetaRuleContext)
- func InitEmptyModuleRuleContext(p *ModuleRuleContext)
- func InitEmptyOperationParamRuleContext(p *OperationParamRuleContext)
- func InitEmptyOperationReturnRuleContext(p *OperationReturnRuleContext)
- func InitEmptyOperationRuleContext(p *OperationRuleContext)
- func InitEmptyPrimitiveSchemaContext(p *PrimitiveSchemaContext)
- func InitEmptyPropertyRuleContext(p *PropertyRuleContext)
- func InitEmptySchemaRuleContext(p *SchemaRuleContext)
- func InitEmptySignalRuleContext(p *SignalRuleContext)
- func InitEmptyStructFieldRuleContext(p *StructFieldRuleContext)
- func InitEmptyStructRuleContext(p *StructRuleContext)
- func InitEmptySymbolSchemaContext(p *SymbolSchemaContext)
- func ObjectApiLexerInit()
- func ObjectApiParserInit()
- type ArrayRuleContext
- func (s *ArrayRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayRuleContext) GetParser() antlr.Parser
- func (s *ArrayRuleContext) GetRuleContext() antlr.RuleContext
- func (*ArrayRuleContext) IsArrayRuleContext()
- func (s *ArrayRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseObjectApiListener
- func (s *BaseObjectApiListener) EnterArrayRule(ctx *ArrayRuleContext)
- func (s *BaseObjectApiListener) EnterDeclarationsRule(ctx *DeclarationsRuleContext)
- func (s *BaseObjectApiListener) EnterDocumentRule(ctx *DocumentRuleContext)
- func (s *BaseObjectApiListener) EnterEnumMemberRule(ctx *EnumMemberRuleContext)
- func (s *BaseObjectApiListener) EnterEnumRule(ctx *EnumRuleContext)
- func (s *BaseObjectApiListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseObjectApiListener) EnterExternRule(ctx *ExternRuleContext)
- func (s *BaseObjectApiListener) EnterHeaderRule(ctx *HeaderRuleContext)
- func (s *BaseObjectApiListener) EnterImportRule(ctx *ImportRuleContext)
- func (s *BaseObjectApiListener) EnterInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
- func (s *BaseObjectApiListener) EnterInterfaceRule(ctx *InterfaceRuleContext)
- func (s *BaseObjectApiListener) EnterMetaRule(ctx *MetaRuleContext)
- func (s *BaseObjectApiListener) EnterModuleRule(ctx *ModuleRuleContext)
- func (s *BaseObjectApiListener) EnterOperationParamRule(ctx *OperationParamRuleContext)
- func (s *BaseObjectApiListener) EnterOperationReturnRule(ctx *OperationReturnRuleContext)
- func (s *BaseObjectApiListener) EnterOperationRule(ctx *OperationRuleContext)
- func (s *BaseObjectApiListener) EnterPrimitiveSchema(ctx *PrimitiveSchemaContext)
- func (s *BaseObjectApiListener) EnterPropertyRule(ctx *PropertyRuleContext)
- func (s *BaseObjectApiListener) EnterSchemaRule(ctx *SchemaRuleContext)
- func (s *BaseObjectApiListener) EnterSignalRule(ctx *SignalRuleContext)
- func (s *BaseObjectApiListener) EnterStructFieldRule(ctx *StructFieldRuleContext)
- func (s *BaseObjectApiListener) EnterStructRule(ctx *StructRuleContext)
- func (s *BaseObjectApiListener) EnterSymbolSchema(ctx *SymbolSchemaContext)
- func (s *BaseObjectApiListener) ExitArrayRule(ctx *ArrayRuleContext)
- func (s *BaseObjectApiListener) ExitDeclarationsRule(ctx *DeclarationsRuleContext)
- func (s *BaseObjectApiListener) ExitDocumentRule(ctx *DocumentRuleContext)
- func (s *BaseObjectApiListener) ExitEnumMemberRule(ctx *EnumMemberRuleContext)
- func (s *BaseObjectApiListener) ExitEnumRule(ctx *EnumRuleContext)
- func (s *BaseObjectApiListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseObjectApiListener) ExitExternRule(ctx *ExternRuleContext)
- func (s *BaseObjectApiListener) ExitHeaderRule(ctx *HeaderRuleContext)
- func (s *BaseObjectApiListener) ExitImportRule(ctx *ImportRuleContext)
- func (s *BaseObjectApiListener) ExitInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
- func (s *BaseObjectApiListener) ExitInterfaceRule(ctx *InterfaceRuleContext)
- func (s *BaseObjectApiListener) ExitMetaRule(ctx *MetaRuleContext)
- func (s *BaseObjectApiListener) ExitModuleRule(ctx *ModuleRuleContext)
- func (s *BaseObjectApiListener) ExitOperationParamRule(ctx *OperationParamRuleContext)
- func (s *BaseObjectApiListener) ExitOperationReturnRule(ctx *OperationReturnRuleContext)
- func (s *BaseObjectApiListener) ExitOperationRule(ctx *OperationRuleContext)
- func (s *BaseObjectApiListener) ExitPrimitiveSchema(ctx *PrimitiveSchemaContext)
- func (s *BaseObjectApiListener) ExitPropertyRule(ctx *PropertyRuleContext)
- func (s *BaseObjectApiListener) ExitSchemaRule(ctx *SchemaRuleContext)
- func (s *BaseObjectApiListener) ExitSignalRule(ctx *SignalRuleContext)
- func (s *BaseObjectApiListener) ExitStructFieldRule(ctx *StructFieldRuleContext)
- func (s *BaseObjectApiListener) ExitStructRule(ctx *StructRuleContext)
- func (s *BaseObjectApiListener) ExitSymbolSchema(ctx *SymbolSchemaContext)
- func (s *BaseObjectApiListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseObjectApiListener) VisitTerminal(node antlr.TerminalNode)
- type DeclarationsRuleContext
- func (s *DeclarationsRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclarationsRuleContext) EnumRule() IEnumRuleContext
- func (s *DeclarationsRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclarationsRuleContext) ExternRule() IExternRuleContext
- func (s *DeclarationsRuleContext) GetParser() antlr.Parser
- func (s *DeclarationsRuleContext) GetRuleContext() antlr.RuleContext
- func (s *DeclarationsRuleContext) InterfaceRule() IInterfaceRuleContext
- func (*DeclarationsRuleContext) IsDeclarationsRuleContext()
- func (s *DeclarationsRuleContext) StructRule() IStructRuleContext
- func (s *DeclarationsRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DocumentRuleContext
- func (s *DocumentRuleContext) AllDeclarationsRule() []IDeclarationsRuleContext
- func (s *DocumentRuleContext) DeclarationsRule(i int) IDeclarationsRuleContext
- func (s *DocumentRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DocumentRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DocumentRuleContext) GetParser() antlr.Parser
- func (s *DocumentRuleContext) GetRuleContext() antlr.RuleContext
- func (s *DocumentRuleContext) HeaderRule() IHeaderRuleContext
- func (*DocumentRuleContext) IsDocumentRuleContext()
- func (s *DocumentRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumMemberRuleContext
- func (s *EnumMemberRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *EnumMemberRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumMemberRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumMemberRuleContext) GetName() antlr.Token
- func (s *EnumMemberRuleContext) GetParser() antlr.Parser
- func (s *EnumMemberRuleContext) GetRuleContext() antlr.RuleContext
- func (s *EnumMemberRuleContext) GetValue() antlr.Token
- func (s *EnumMemberRuleContext) IDENTIFIER() antlr.TerminalNode
- func (s *EnumMemberRuleContext) INTEGER() antlr.TerminalNode
- func (*EnumMemberRuleContext) IsEnumMemberRuleContext()
- func (s *EnumMemberRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *EnumMemberRuleContext) SetName(v antlr.Token)
- func (s *EnumMemberRuleContext) SetValue(v antlr.Token)
- func (s *EnumMemberRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumRuleContext
- func (s *EnumRuleContext) AllEnumMemberRule() []IEnumMemberRuleContext
- func (s *EnumRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *EnumRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumRuleContext) EnumMemberRule(i int) IEnumMemberRuleContext
- func (s *EnumRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumRuleContext) GetName() antlr.Token
- func (s *EnumRuleContext) GetParser() antlr.Parser
- func (s *EnumRuleContext) GetRuleContext() antlr.RuleContext
- func (s *EnumRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*EnumRuleContext) IsEnumRuleContext()
- func (s *EnumRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *EnumRuleContext) SetName(v antlr.Token)
- func (s *EnumRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExternRuleContext
- func (s *ExternRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *ExternRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExternRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExternRuleContext) GetName() antlr.Token
- func (s *ExternRuleContext) GetParser() antlr.Parser
- func (s *ExternRuleContext) GetRuleContext() antlr.RuleContext
- func (s *ExternRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*ExternRuleContext) IsExternRuleContext()
- func (s *ExternRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *ExternRuleContext) SetName(v antlr.Token)
- func (s *ExternRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HeaderRuleContext
- func (s *HeaderRuleContext) AllImportRule() []IImportRuleContext
- func (s *HeaderRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HeaderRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HeaderRuleContext) GetParser() antlr.Parser
- func (s *HeaderRuleContext) GetRuleContext() antlr.RuleContext
- func (s *HeaderRuleContext) ImportRule(i int) IImportRuleContext
- func (*HeaderRuleContext) IsHeaderRuleContext()
- func (s *HeaderRuleContext) ModuleRule() IModuleRuleContext
- func (s *HeaderRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArrayRuleContext
- type IDeclarationsRuleContext
- type IDocumentRuleContext
- type IEnumMemberRuleContext
- type IEnumRuleContext
- type IExternRuleContext
- type IHeaderRuleContext
- type IImportRuleContext
- type IInterfaceMembersRuleContext
- type IInterfaceRuleContext
- type IMetaRuleContext
- type IModuleRuleContext
- type IOperationParamRuleContext
- type IOperationReturnRuleContext
- type IOperationRuleContext
- type IPrimitiveSchemaContext
- type IPropertyRuleContext
- type ISchemaRuleContext
- type ISignalRuleContext
- type IStructFieldRuleContext
- type IStructRuleContext
- type ISymbolSchemaContext
- type ImportRuleContext
- func (s *ImportRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImportRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImportRuleContext) GetName() antlr.Token
- func (s *ImportRuleContext) GetParser() antlr.Parser
- func (s *ImportRuleContext) GetRuleContext() antlr.RuleContext
- func (s *ImportRuleContext) GetVersion() antlr.Token
- func (s *ImportRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*ImportRuleContext) IsImportRuleContext()
- func (s *ImportRuleContext) SetName(v antlr.Token)
- func (s *ImportRuleContext) SetVersion(v antlr.Token)
- func (s *ImportRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ImportRuleContext) VERSION() antlr.TerminalNode
- type InterfaceMembersRuleContext
- func (s *InterfaceMembersRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InterfaceMembersRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InterfaceMembersRuleContext) GetParser() antlr.Parser
- func (s *InterfaceMembersRuleContext) GetRuleContext() antlr.RuleContext
- func (*InterfaceMembersRuleContext) IsInterfaceMembersRuleContext()
- func (s *InterfaceMembersRuleContext) OperationRule() IOperationRuleContext
- func (s *InterfaceMembersRuleContext) PropertyRule() IPropertyRuleContext
- func (s *InterfaceMembersRuleContext) SignalRule() ISignalRuleContext
- func (s *InterfaceMembersRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InterfaceRuleContext
- func (s *InterfaceRuleContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *InterfaceRuleContext) AllInterfaceMembersRule() []IInterfaceMembersRuleContext
- func (s *InterfaceRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *InterfaceRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InterfaceRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InterfaceRuleContext) GetExtends() antlr.Token
- func (s *InterfaceRuleContext) GetName() antlr.Token
- func (s *InterfaceRuleContext) GetParser() antlr.Parser
- func (s *InterfaceRuleContext) GetRuleContext() antlr.RuleContext
- func (s *InterfaceRuleContext) IDENTIFIER(i int) antlr.TerminalNode
- func (s *InterfaceRuleContext) InterfaceMembersRule(i int) IInterfaceMembersRuleContext
- func (*InterfaceRuleContext) IsInterfaceRuleContext()
- func (s *InterfaceRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *InterfaceRuleContext) SetExtends(v antlr.Token)
- func (s *InterfaceRuleContext) SetName(v antlr.Token)
- func (s *InterfaceRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MetaRuleContext
- func (s *MetaRuleContext) DOCLINE() antlr.TerminalNode
- func (s *MetaRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MetaRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MetaRuleContext) GetDocLine() antlr.Token
- func (s *MetaRuleContext) GetParser() antlr.Parser
- func (s *MetaRuleContext) GetRuleContext() antlr.RuleContext
- func (s *MetaRuleContext) GetTagLine() antlr.Token
- func (*MetaRuleContext) IsMetaRuleContext()
- func (s *MetaRuleContext) SetDocLine(v antlr.Token)
- func (s *MetaRuleContext) SetTagLine(v antlr.Token)
- func (s *MetaRuleContext) TAGLINE() antlr.TerminalNode
- func (s *MetaRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ModuleRuleContext
- func (s *ModuleRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *ModuleRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModuleRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModuleRuleContext) GetName() antlr.Token
- func (s *ModuleRuleContext) GetParser() antlr.Parser
- func (s *ModuleRuleContext) GetRuleContext() antlr.RuleContext
- func (s *ModuleRuleContext) GetVersion() antlr.Token
- func (s *ModuleRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*ModuleRuleContext) IsModuleRuleContext()
- func (s *ModuleRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *ModuleRuleContext) SetName(v antlr.Token)
- func (s *ModuleRuleContext) SetVersion(v antlr.Token)
- func (s *ModuleRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ModuleRuleContext) VERSION() antlr.TerminalNode
- type ObjectApiLexer
- type ObjectApiListener
- type ObjectApiParser
- func (p *ObjectApiParser) ArrayRule() (localctx IArrayRuleContext)
- func (p *ObjectApiParser) DeclarationsRule() (localctx IDeclarationsRuleContext)
- func (p *ObjectApiParser) DocumentRule() (localctx IDocumentRuleContext)
- func (p *ObjectApiParser) EnumMemberRule() (localctx IEnumMemberRuleContext)
- func (p *ObjectApiParser) EnumRule() (localctx IEnumRuleContext)
- func (p *ObjectApiParser) ExternRule() (localctx IExternRuleContext)
- func (p *ObjectApiParser) HeaderRule() (localctx IHeaderRuleContext)
- func (p *ObjectApiParser) ImportRule() (localctx IImportRuleContext)
- func (p *ObjectApiParser) InterfaceMembersRule() (localctx IInterfaceMembersRuleContext)
- func (p *ObjectApiParser) InterfaceRule() (localctx IInterfaceRuleContext)
- func (p *ObjectApiParser) MetaRule() (localctx IMetaRuleContext)
- func (p *ObjectApiParser) ModuleRule() (localctx IModuleRuleContext)
- func (p *ObjectApiParser) OperationParamRule() (localctx IOperationParamRuleContext)
- func (p *ObjectApiParser) OperationReturnRule() (localctx IOperationReturnRuleContext)
- func (p *ObjectApiParser) OperationRule() (localctx IOperationRuleContext)
- func (p *ObjectApiParser) PrimitiveSchema() (localctx IPrimitiveSchemaContext)
- func (p *ObjectApiParser) PropertyRule() (localctx IPropertyRuleContext)
- func (p *ObjectApiParser) SchemaRule() (localctx ISchemaRuleContext)
- func (p *ObjectApiParser) SignalRule() (localctx ISignalRuleContext)
- func (p *ObjectApiParser) StructFieldRule() (localctx IStructFieldRuleContext)
- func (p *ObjectApiParser) StructRule() (localctx IStructRuleContext)
- func (p *ObjectApiParser) SymbolSchema() (localctx ISymbolSchemaContext)
- type OperationParamRuleContext
- func (s *OperationParamRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OperationParamRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OperationParamRuleContext) GetName() antlr.Token
- func (s *OperationParamRuleContext) GetParser() antlr.Parser
- func (s *OperationParamRuleContext) GetRuleContext() antlr.RuleContext
- func (s *OperationParamRuleContext) GetSchema() ISchemaRuleContext
- func (s *OperationParamRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*OperationParamRuleContext) IsOperationParamRuleContext()
- func (s *OperationParamRuleContext) SchemaRule() ISchemaRuleContext
- func (s *OperationParamRuleContext) SetName(v antlr.Token)
- func (s *OperationParamRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *OperationParamRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OperationReturnRuleContext
- func (s *OperationReturnRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OperationReturnRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OperationReturnRuleContext) GetParser() antlr.Parser
- func (s *OperationReturnRuleContext) GetRuleContext() antlr.RuleContext
- func (s *OperationReturnRuleContext) GetSchema() ISchemaRuleContext
- func (*OperationReturnRuleContext) IsOperationReturnRuleContext()
- func (s *OperationReturnRuleContext) SchemaRule() ISchemaRuleContext
- func (s *OperationReturnRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *OperationReturnRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OperationRuleContext
- func (s *OperationRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *OperationRuleContext) AllOperationParamRule() []IOperationParamRuleContext
- func (s *OperationRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OperationRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OperationRuleContext) GetName() antlr.Token
- func (s *OperationRuleContext) GetParams() IOperationParamRuleContext
- func (s *OperationRuleContext) GetParser() antlr.Parser
- func (s *OperationRuleContext) GetRuleContext() antlr.RuleContext
- func (s *OperationRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*OperationRuleContext) IsOperationRuleContext()
- func (s *OperationRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *OperationRuleContext) OperationParamRule(i int) IOperationParamRuleContext
- func (s *OperationRuleContext) OperationReturnRule() IOperationReturnRuleContext
- func (s *OperationRuleContext) SetName(v antlr.Token)
- func (s *OperationRuleContext) SetParams(v IOperationParamRuleContext)
- func (s *OperationRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PrimitiveSchemaContext
- func (s *PrimitiveSchemaContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PrimitiveSchemaContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PrimitiveSchemaContext) GetName() antlr.Token
- func (s *PrimitiveSchemaContext) GetParser() antlr.Parser
- func (s *PrimitiveSchemaContext) GetRuleContext() antlr.RuleContext
- func (*PrimitiveSchemaContext) IsPrimitiveSchemaContext()
- func (s *PrimitiveSchemaContext) SetName(v antlr.Token)
- func (s *PrimitiveSchemaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PropertyRuleContext
- func (s *PropertyRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *PropertyRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PropertyRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PropertyRuleContext) GetName() antlr.Token
- func (s *PropertyRuleContext) GetParser() antlr.Parser
- func (s *PropertyRuleContext) GetReadonly() antlr.Token
- func (s *PropertyRuleContext) GetRuleContext() antlr.RuleContext
- func (s *PropertyRuleContext) GetSchema() ISchemaRuleContext
- func (s *PropertyRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*PropertyRuleContext) IsPropertyRuleContext()
- func (s *PropertyRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *PropertyRuleContext) SchemaRule() ISchemaRuleContext
- func (s *PropertyRuleContext) SetName(v antlr.Token)
- func (s *PropertyRuleContext) SetReadonly(v antlr.Token)
- func (s *PropertyRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *PropertyRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SchemaRuleContext
- func (s *SchemaRuleContext) ArrayRule() IArrayRuleContext
- func (s *SchemaRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SchemaRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SchemaRuleContext) GetParser() antlr.Parser
- func (s *SchemaRuleContext) GetRuleContext() antlr.RuleContext
- func (*SchemaRuleContext) IsSchemaRuleContext()
- func (s *SchemaRuleContext) PrimitiveSchema() IPrimitiveSchemaContext
- func (s *SchemaRuleContext) SymbolSchema() ISymbolSchemaContext
- func (s *SchemaRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SignalRuleContext
- func (s *SignalRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *SignalRuleContext) AllOperationParamRule() []IOperationParamRuleContext
- func (s *SignalRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SignalRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SignalRuleContext) GetName() antlr.Token
- func (s *SignalRuleContext) GetParams() IOperationParamRuleContext
- func (s *SignalRuleContext) GetParser() antlr.Parser
- func (s *SignalRuleContext) GetRuleContext() antlr.RuleContext
- func (s *SignalRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*SignalRuleContext) IsSignalRuleContext()
- func (s *SignalRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *SignalRuleContext) OperationParamRule(i int) IOperationParamRuleContext
- func (s *SignalRuleContext) SetName(v antlr.Token)
- func (s *SignalRuleContext) SetParams(v IOperationParamRuleContext)
- func (s *SignalRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructFieldRuleContext
- func (s *StructFieldRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *StructFieldRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructFieldRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructFieldRuleContext) GetName() antlr.Token
- func (s *StructFieldRuleContext) GetParser() antlr.Parser
- func (s *StructFieldRuleContext) GetReadonly() antlr.Token
- func (s *StructFieldRuleContext) GetRuleContext() antlr.RuleContext
- func (s *StructFieldRuleContext) GetSchema() ISchemaRuleContext
- func (s *StructFieldRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*StructFieldRuleContext) IsStructFieldRuleContext()
- func (s *StructFieldRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *StructFieldRuleContext) SchemaRule() ISchemaRuleContext
- func (s *StructFieldRuleContext) SetName(v antlr.Token)
- func (s *StructFieldRuleContext) SetReadonly(v antlr.Token)
- func (s *StructFieldRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *StructFieldRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructRuleContext
- func (s *StructRuleContext) AllMetaRule() []IMetaRuleContext
- func (s *StructRuleContext) AllStructFieldRule() []IStructFieldRuleContext
- func (s *StructRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructRuleContext) GetName() antlr.Token
- func (s *StructRuleContext) GetParser() antlr.Parser
- func (s *StructRuleContext) GetRuleContext() antlr.RuleContext
- func (s *StructRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*StructRuleContext) IsStructRuleContext()
- func (s *StructRuleContext) MetaRule(i int) IMetaRuleContext
- func (s *StructRuleContext) SetName(v antlr.Token)
- func (s *StructRuleContext) StructFieldRule(i int) IStructFieldRuleContext
- func (s *StructRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SymbolSchemaContext
- func (s *SymbolSchemaContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SymbolSchemaContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SymbolSchemaContext) GetName() antlr.Token
- func (s *SymbolSchemaContext) GetParser() antlr.Parser
- func (s *SymbolSchemaContext) GetRuleContext() antlr.RuleContext
- func (s *SymbolSchemaContext) IDENTIFIER() antlr.TerminalNode
- func (*SymbolSchemaContext) IsSymbolSchemaContext()
- func (s *SymbolSchemaContext) SetName(v antlr.Token)
- func (s *SymbolSchemaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( ObjectApiLexerT__0 = 1 ObjectApiLexerT__1 = 2 ObjectApiLexerT__2 = 3 ObjectApiLexerT__3 = 4 ObjectApiLexerT__4 = 5 ObjectApiLexerT__5 = 6 ObjectApiLexerT__6 = 7 ObjectApiLexerT__7 = 8 ObjectApiLexerT__8 = 9 ObjectApiLexerT__9 = 10 ObjectApiLexerT__10 = 11 ObjectApiLexerT__11 = 12 ObjectApiLexerT__12 = 13 ObjectApiLexerT__13 = 14 ObjectApiLexerT__14 = 15 ObjectApiLexerT__15 = 16 ObjectApiLexerT__16 = 17 ObjectApiLexerT__17 = 18 ObjectApiLexerT__18 = 19 ObjectApiLexerT__19 = 20 ObjectApiLexerT__20 = 21 ObjectApiLexerT__21 = 22 ObjectApiLexerT__22 = 23 ObjectApiLexerT__23 = 24 ObjectApiLexerT__24 = 25 ObjectApiLexerT__25 = 26 ObjectApiLexerWHITESPACE = 27 ObjectApiLexerINTEGER = 28 ObjectApiLexerHEX = 29 ObjectApiLexerTYPE_IDENTIFIER = 30 ObjectApiLexerIDENTIFIER = 31 ObjectApiLexerVERSION = 32 ObjectApiLexerDOCLINE = 33 ObjectApiLexerTAGLINE = 34 ObjectApiLexerCOMMENT = 35 )
ObjectApiLexer tokens.
const ( ObjectApiParserEOF = antlr.TokenEOF ObjectApiParserT__0 = 1 ObjectApiParserT__1 = 2 ObjectApiParserT__2 = 3 ObjectApiParserT__3 = 4 ObjectApiParserT__4 = 5 ObjectApiParserT__5 = 6 ObjectApiParserT__6 = 7 ObjectApiParserT__7 = 8 ObjectApiParserT__8 = 9 ObjectApiParserT__9 = 10 ObjectApiParserT__10 = 11 ObjectApiParserT__11 = 12 ObjectApiParserT__12 = 13 ObjectApiParserT__13 = 14 ObjectApiParserT__14 = 15 ObjectApiParserT__15 = 16 ObjectApiParserT__16 = 17 ObjectApiParserT__17 = 18 ObjectApiParserT__18 = 19 ObjectApiParserT__19 = 20 ObjectApiParserT__20 = 21 ObjectApiParserT__21 = 22 ObjectApiParserT__22 = 23 ObjectApiParserT__23 = 24 ObjectApiParserT__24 = 25 ObjectApiParserT__25 = 26 ObjectApiParserWHITESPACE = 27 ObjectApiParserINTEGER = 28 ObjectApiParserHEX = 29 ObjectApiParserTYPE_IDENTIFIER = 30 ObjectApiParserIDENTIFIER = 31 ObjectApiParserVERSION = 32 ObjectApiParserDOCLINE = 33 ObjectApiParserTAGLINE = 34 ObjectApiParserCOMMENT = 35 )
ObjectApiParser tokens.
const ( ObjectApiParserRULE_documentRule = 0 ObjectApiParserRULE_headerRule = 1 ObjectApiParserRULE_moduleRule = 2 ObjectApiParserRULE_importRule = 3 ObjectApiParserRULE_declarationsRule = 4 ObjectApiParserRULE_externRule = 5 ObjectApiParserRULE_interfaceRule = 6 ObjectApiParserRULE_interfaceMembersRule = 7 ObjectApiParserRULE_propertyRule = 8 ObjectApiParserRULE_operationRule = 9 ObjectApiParserRULE_operationReturnRule = 10 ObjectApiParserRULE_operationParamRule = 11 ObjectApiParserRULE_signalRule = 12 ObjectApiParserRULE_structRule = 13 ObjectApiParserRULE_structFieldRule = 14 ObjectApiParserRULE_enumRule = 15 ObjectApiParserRULE_enumMemberRule = 16 ObjectApiParserRULE_schemaRule = 17 ObjectApiParserRULE_arrayRule = 18 ObjectApiParserRULE_primitiveSchema = 19 ObjectApiParserRULE_symbolSchema = 20 ObjectApiParserRULE_metaRule = 21 )
ObjectApiParser rules.
Variables ¶
var ObjectApiLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var ObjectApiParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyArrayRuleContext ¶ added in v0.33.0
func InitEmptyArrayRuleContext(p *ArrayRuleContext)
func InitEmptyDeclarationsRuleContext ¶ added in v0.33.0
func InitEmptyDeclarationsRuleContext(p *DeclarationsRuleContext)
func InitEmptyDocumentRuleContext ¶ added in v0.33.0
func InitEmptyDocumentRuleContext(p *DocumentRuleContext)
func InitEmptyEnumMemberRuleContext ¶ added in v0.33.0
func InitEmptyEnumMemberRuleContext(p *EnumMemberRuleContext)
func InitEmptyEnumRuleContext ¶ added in v0.33.0
func InitEmptyEnumRuleContext(p *EnumRuleContext)
func InitEmptyExternRuleContext ¶ added in v0.38.0
func InitEmptyExternRuleContext(p *ExternRuleContext)
func InitEmptyHeaderRuleContext ¶ added in v0.33.0
func InitEmptyHeaderRuleContext(p *HeaderRuleContext)
func InitEmptyImportRuleContext ¶ added in v0.33.0
func InitEmptyImportRuleContext(p *ImportRuleContext)
func InitEmptyInterfaceMembersRuleContext ¶ added in v0.33.0
func InitEmptyInterfaceMembersRuleContext(p *InterfaceMembersRuleContext)
func InitEmptyInterfaceRuleContext ¶ added in v0.33.0
func InitEmptyInterfaceRuleContext(p *InterfaceRuleContext)
func InitEmptyMetaRuleContext ¶ added in v0.33.0
func InitEmptyMetaRuleContext(p *MetaRuleContext)
func InitEmptyModuleRuleContext ¶ added in v0.33.0
func InitEmptyModuleRuleContext(p *ModuleRuleContext)
func InitEmptyOperationParamRuleContext ¶ added in v0.33.0
func InitEmptyOperationParamRuleContext(p *OperationParamRuleContext)
func InitEmptyOperationReturnRuleContext ¶ added in v0.33.0
func InitEmptyOperationReturnRuleContext(p *OperationReturnRuleContext)
func InitEmptyOperationRuleContext ¶ added in v0.33.0
func InitEmptyOperationRuleContext(p *OperationRuleContext)
func InitEmptyPrimitiveSchemaContext ¶ added in v0.33.0
func InitEmptyPrimitiveSchemaContext(p *PrimitiveSchemaContext)
func InitEmptyPropertyRuleContext ¶ added in v0.33.0
func InitEmptyPropertyRuleContext(p *PropertyRuleContext)
func InitEmptySchemaRuleContext ¶ added in v0.33.0
func InitEmptySchemaRuleContext(p *SchemaRuleContext)
func InitEmptySignalRuleContext ¶ added in v0.33.0
func InitEmptySignalRuleContext(p *SignalRuleContext)
func InitEmptyStructFieldRuleContext ¶ added in v0.33.0
func InitEmptyStructFieldRuleContext(p *StructFieldRuleContext)
func InitEmptyStructRuleContext ¶ added in v0.33.0
func InitEmptyStructRuleContext(p *StructRuleContext)
func InitEmptySymbolSchemaContext ¶ added in v0.33.0
func InitEmptySymbolSchemaContext(p *SymbolSchemaContext)
func ObjectApiLexerInit ¶
func ObjectApiLexerInit()
ObjectApiLexerInit initializes any static state used to implement ObjectApiLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewObjectApiLexer(). You can call this function if you wish to initialize the static state ahead of time.
func ObjectApiParserInit ¶
func ObjectApiParserInit()
ObjectApiParserInit initializes any static state used to implement ObjectApiParser. By default the static state used to implement the parser is lazily initialized during the first call to NewObjectApiParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type ArrayRuleContext ¶
type ArrayRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayRuleContext ¶
func NewArrayRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayRuleContext
func NewEmptyArrayRuleContext ¶
func NewEmptyArrayRuleContext() *ArrayRuleContext
func (*ArrayRuleContext) EnterRule ¶
func (s *ArrayRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayRuleContext) ExitRule ¶
func (s *ArrayRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayRuleContext) GetParser ¶
func (s *ArrayRuleContext) GetParser() antlr.Parser
func (*ArrayRuleContext) GetRuleContext ¶
func (s *ArrayRuleContext) GetRuleContext() antlr.RuleContext
func (*ArrayRuleContext) IsArrayRuleContext ¶
func (*ArrayRuleContext) IsArrayRuleContext()
func (*ArrayRuleContext) ToStringTree ¶
func (s *ArrayRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseObjectApiListener ¶
type BaseObjectApiListener struct{}
BaseObjectApiListener is a complete listener for a parse tree produced by ObjectApiParser.
func (*BaseObjectApiListener) EnterArrayRule ¶
func (s *BaseObjectApiListener) EnterArrayRule(ctx *ArrayRuleContext)
EnterArrayRule is called when production arrayRule is entered.
func (*BaseObjectApiListener) EnterDeclarationsRule ¶
func (s *BaseObjectApiListener) EnterDeclarationsRule(ctx *DeclarationsRuleContext)
EnterDeclarationsRule is called when production declarationsRule is entered.
func (*BaseObjectApiListener) EnterDocumentRule ¶
func (s *BaseObjectApiListener) EnterDocumentRule(ctx *DocumentRuleContext)
EnterDocumentRule is called when production documentRule is entered.
func (*BaseObjectApiListener) EnterEnumMemberRule ¶
func (s *BaseObjectApiListener) EnterEnumMemberRule(ctx *EnumMemberRuleContext)
EnterEnumMemberRule is called when production enumMemberRule is entered.
func (*BaseObjectApiListener) EnterEnumRule ¶
func (s *BaseObjectApiListener) EnterEnumRule(ctx *EnumRuleContext)
EnterEnumRule is called when production enumRule is entered.
func (*BaseObjectApiListener) EnterEveryRule ¶
func (s *BaseObjectApiListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseObjectApiListener) EnterExternRule ¶ added in v0.38.0
func (s *BaseObjectApiListener) EnterExternRule(ctx *ExternRuleContext)
EnterExternRule is called when production externRule is entered.
func (*BaseObjectApiListener) EnterHeaderRule ¶
func (s *BaseObjectApiListener) EnterHeaderRule(ctx *HeaderRuleContext)
EnterHeaderRule is called when production headerRule is entered.
func (*BaseObjectApiListener) EnterImportRule ¶
func (s *BaseObjectApiListener) EnterImportRule(ctx *ImportRuleContext)
EnterImportRule is called when production importRule is entered.
func (*BaseObjectApiListener) EnterInterfaceMembersRule ¶
func (s *BaseObjectApiListener) EnterInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
EnterInterfaceMembersRule is called when production interfaceMembersRule is entered.
func (*BaseObjectApiListener) EnterInterfaceRule ¶
func (s *BaseObjectApiListener) EnterInterfaceRule(ctx *InterfaceRuleContext)
EnterInterfaceRule is called when production interfaceRule is entered.
func (*BaseObjectApiListener) EnterMetaRule ¶ added in v0.20.0
func (s *BaseObjectApiListener) EnterMetaRule(ctx *MetaRuleContext)
EnterMetaRule is called when production metaRule is entered.
func (*BaseObjectApiListener) EnterModuleRule ¶
func (s *BaseObjectApiListener) EnterModuleRule(ctx *ModuleRuleContext)
EnterModuleRule is called when production moduleRule is entered.
func (*BaseObjectApiListener) EnterOperationParamRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) EnterOperationParamRule(ctx *OperationParamRuleContext)
EnterOperationParamRule is called when production operationParamRule is entered.
func (*BaseObjectApiListener) EnterOperationReturnRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) EnterOperationReturnRule(ctx *OperationReturnRuleContext)
EnterOperationReturnRule is called when production operationReturnRule is entered.
func (*BaseObjectApiListener) EnterOperationRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) EnterOperationRule(ctx *OperationRuleContext)
EnterOperationRule is called when production operationRule is entered.
func (*BaseObjectApiListener) EnterPrimitiveSchema ¶
func (s *BaseObjectApiListener) EnterPrimitiveSchema(ctx *PrimitiveSchemaContext)
EnterPrimitiveSchema is called when production primitiveSchema is entered.
func (*BaseObjectApiListener) EnterPropertyRule ¶
func (s *BaseObjectApiListener) EnterPropertyRule(ctx *PropertyRuleContext)
EnterPropertyRule is called when production propertyRule is entered.
func (*BaseObjectApiListener) EnterSchemaRule ¶
func (s *BaseObjectApiListener) EnterSchemaRule(ctx *SchemaRuleContext)
EnterSchemaRule is called when production schemaRule is entered.
func (*BaseObjectApiListener) EnterSignalRule ¶
func (s *BaseObjectApiListener) EnterSignalRule(ctx *SignalRuleContext)
EnterSignalRule is called when production signalRule is entered.
func (*BaseObjectApiListener) EnterStructFieldRule ¶
func (s *BaseObjectApiListener) EnterStructFieldRule(ctx *StructFieldRuleContext)
EnterStructFieldRule is called when production structFieldRule is entered.
func (*BaseObjectApiListener) EnterStructRule ¶
func (s *BaseObjectApiListener) EnterStructRule(ctx *StructRuleContext)
EnterStructRule is called when production structRule is entered.
func (*BaseObjectApiListener) EnterSymbolSchema ¶
func (s *BaseObjectApiListener) EnterSymbolSchema(ctx *SymbolSchemaContext)
EnterSymbolSchema is called when production symbolSchema is entered.
func (*BaseObjectApiListener) ExitArrayRule ¶
func (s *BaseObjectApiListener) ExitArrayRule(ctx *ArrayRuleContext)
ExitArrayRule is called when production arrayRule is exited.
func (*BaseObjectApiListener) ExitDeclarationsRule ¶
func (s *BaseObjectApiListener) ExitDeclarationsRule(ctx *DeclarationsRuleContext)
ExitDeclarationsRule is called when production declarationsRule is exited.
func (*BaseObjectApiListener) ExitDocumentRule ¶
func (s *BaseObjectApiListener) ExitDocumentRule(ctx *DocumentRuleContext)
ExitDocumentRule is called when production documentRule is exited.
func (*BaseObjectApiListener) ExitEnumMemberRule ¶
func (s *BaseObjectApiListener) ExitEnumMemberRule(ctx *EnumMemberRuleContext)
ExitEnumMemberRule is called when production enumMemberRule is exited.
func (*BaseObjectApiListener) ExitEnumRule ¶
func (s *BaseObjectApiListener) ExitEnumRule(ctx *EnumRuleContext)
ExitEnumRule is called when production enumRule is exited.
func (*BaseObjectApiListener) ExitEveryRule ¶
func (s *BaseObjectApiListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseObjectApiListener) ExitExternRule ¶ added in v0.38.0
func (s *BaseObjectApiListener) ExitExternRule(ctx *ExternRuleContext)
ExitExternRule is called when production externRule is exited.
func (*BaseObjectApiListener) ExitHeaderRule ¶
func (s *BaseObjectApiListener) ExitHeaderRule(ctx *HeaderRuleContext)
ExitHeaderRule is called when production headerRule is exited.
func (*BaseObjectApiListener) ExitImportRule ¶
func (s *BaseObjectApiListener) ExitImportRule(ctx *ImportRuleContext)
ExitImportRule is called when production importRule is exited.
func (*BaseObjectApiListener) ExitInterfaceMembersRule ¶
func (s *BaseObjectApiListener) ExitInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
ExitInterfaceMembersRule is called when production interfaceMembersRule is exited.
func (*BaseObjectApiListener) ExitInterfaceRule ¶
func (s *BaseObjectApiListener) ExitInterfaceRule(ctx *InterfaceRuleContext)
ExitInterfaceRule is called when production interfaceRule is exited.
func (*BaseObjectApiListener) ExitMetaRule ¶ added in v0.20.0
func (s *BaseObjectApiListener) ExitMetaRule(ctx *MetaRuleContext)
ExitMetaRule is called when production metaRule is exited.
func (*BaseObjectApiListener) ExitModuleRule ¶
func (s *BaseObjectApiListener) ExitModuleRule(ctx *ModuleRuleContext)
ExitModuleRule is called when production moduleRule is exited.
func (*BaseObjectApiListener) ExitOperationParamRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) ExitOperationParamRule(ctx *OperationParamRuleContext)
ExitOperationParamRule is called when production operationParamRule is exited.
func (*BaseObjectApiListener) ExitOperationReturnRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) ExitOperationReturnRule(ctx *OperationReturnRuleContext)
ExitOperationReturnRule is called when production operationReturnRule is exited.
func (*BaseObjectApiListener) ExitOperationRule ¶ added in v0.6.0
func (s *BaseObjectApiListener) ExitOperationRule(ctx *OperationRuleContext)
ExitOperationRule is called when production operationRule is exited.
func (*BaseObjectApiListener) ExitPrimitiveSchema ¶
func (s *BaseObjectApiListener) ExitPrimitiveSchema(ctx *PrimitiveSchemaContext)
ExitPrimitiveSchema is called when production primitiveSchema is exited.
func (*BaseObjectApiListener) ExitPropertyRule ¶
func (s *BaseObjectApiListener) ExitPropertyRule(ctx *PropertyRuleContext)
ExitPropertyRule is called when production propertyRule is exited.
func (*BaseObjectApiListener) ExitSchemaRule ¶
func (s *BaseObjectApiListener) ExitSchemaRule(ctx *SchemaRuleContext)
ExitSchemaRule is called when production schemaRule is exited.
func (*BaseObjectApiListener) ExitSignalRule ¶
func (s *BaseObjectApiListener) ExitSignalRule(ctx *SignalRuleContext)
ExitSignalRule is called when production signalRule is exited.
func (*BaseObjectApiListener) ExitStructFieldRule ¶
func (s *BaseObjectApiListener) ExitStructFieldRule(ctx *StructFieldRuleContext)
ExitStructFieldRule is called when production structFieldRule is exited.
func (*BaseObjectApiListener) ExitStructRule ¶
func (s *BaseObjectApiListener) ExitStructRule(ctx *StructRuleContext)
ExitStructRule is called when production structRule is exited.
func (*BaseObjectApiListener) ExitSymbolSchema ¶
func (s *BaseObjectApiListener) ExitSymbolSchema(ctx *SymbolSchemaContext)
ExitSymbolSchema is called when production symbolSchema is exited.
func (*BaseObjectApiListener) VisitErrorNode ¶
func (s *BaseObjectApiListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseObjectApiListener) VisitTerminal ¶
func (s *BaseObjectApiListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type DeclarationsRuleContext ¶
type DeclarationsRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclarationsRuleContext ¶
func NewDeclarationsRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationsRuleContext
func NewEmptyDeclarationsRuleContext ¶
func NewEmptyDeclarationsRuleContext() *DeclarationsRuleContext
func (*DeclarationsRuleContext) EnterRule ¶
func (s *DeclarationsRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclarationsRuleContext) EnumRule ¶
func (s *DeclarationsRuleContext) EnumRule() IEnumRuleContext
func (*DeclarationsRuleContext) ExitRule ¶
func (s *DeclarationsRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclarationsRuleContext) ExternRule ¶ added in v0.38.0
func (s *DeclarationsRuleContext) ExternRule() IExternRuleContext
func (*DeclarationsRuleContext) GetParser ¶
func (s *DeclarationsRuleContext) GetParser() antlr.Parser
func (*DeclarationsRuleContext) GetRuleContext ¶
func (s *DeclarationsRuleContext) GetRuleContext() antlr.RuleContext
func (*DeclarationsRuleContext) InterfaceRule ¶
func (s *DeclarationsRuleContext) InterfaceRule() IInterfaceRuleContext
func (*DeclarationsRuleContext) IsDeclarationsRuleContext ¶
func (*DeclarationsRuleContext) IsDeclarationsRuleContext()
func (*DeclarationsRuleContext) StructRule ¶
func (s *DeclarationsRuleContext) StructRule() IStructRuleContext
func (*DeclarationsRuleContext) ToStringTree ¶
func (s *DeclarationsRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DocumentRuleContext ¶
type DocumentRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDocumentRuleContext ¶
func NewDocumentRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DocumentRuleContext
func NewEmptyDocumentRuleContext ¶
func NewEmptyDocumentRuleContext() *DocumentRuleContext
func (*DocumentRuleContext) AllDeclarationsRule ¶
func (s *DocumentRuleContext) AllDeclarationsRule() []IDeclarationsRuleContext
func (*DocumentRuleContext) DeclarationsRule ¶
func (s *DocumentRuleContext) DeclarationsRule(i int) IDeclarationsRuleContext
func (*DocumentRuleContext) EnterRule ¶
func (s *DocumentRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*DocumentRuleContext) ExitRule ¶
func (s *DocumentRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*DocumentRuleContext) GetParser ¶
func (s *DocumentRuleContext) GetParser() antlr.Parser
func (*DocumentRuleContext) GetRuleContext ¶
func (s *DocumentRuleContext) GetRuleContext() antlr.RuleContext
func (*DocumentRuleContext) HeaderRule ¶
func (s *DocumentRuleContext) HeaderRule() IHeaderRuleContext
func (*DocumentRuleContext) IsDocumentRuleContext ¶
func (*DocumentRuleContext) IsDocumentRuleContext()
func (*DocumentRuleContext) ToStringTree ¶
func (s *DocumentRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumMemberRuleContext ¶
type EnumMemberRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumMemberRuleContext ¶
func NewEmptyEnumMemberRuleContext() *EnumMemberRuleContext
func NewEnumMemberRuleContext ¶
func NewEnumMemberRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumMemberRuleContext
func (*EnumMemberRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *EnumMemberRuleContext) AllMetaRule() []IMetaRuleContext
func (*EnumMemberRuleContext) EnterRule ¶
func (s *EnumMemberRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumMemberRuleContext) ExitRule ¶
func (s *EnumMemberRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumMemberRuleContext) GetName ¶
func (s *EnumMemberRuleContext) GetName() antlr.Token
func (*EnumMemberRuleContext) GetParser ¶
func (s *EnumMemberRuleContext) GetParser() antlr.Parser
func (*EnumMemberRuleContext) GetRuleContext ¶
func (s *EnumMemberRuleContext) GetRuleContext() antlr.RuleContext
func (*EnumMemberRuleContext) GetValue ¶
func (s *EnumMemberRuleContext) GetValue() antlr.Token
func (*EnumMemberRuleContext) IDENTIFIER ¶
func (s *EnumMemberRuleContext) IDENTIFIER() antlr.TerminalNode
func (*EnumMemberRuleContext) INTEGER ¶
func (s *EnumMemberRuleContext) INTEGER() antlr.TerminalNode
func (*EnumMemberRuleContext) IsEnumMemberRuleContext ¶
func (*EnumMemberRuleContext) IsEnumMemberRuleContext()
func (*EnumMemberRuleContext) MetaRule ¶ added in v0.20.0
func (s *EnumMemberRuleContext) MetaRule(i int) IMetaRuleContext
func (*EnumMemberRuleContext) SetName ¶
func (s *EnumMemberRuleContext) SetName(v antlr.Token)
func (*EnumMemberRuleContext) SetValue ¶
func (s *EnumMemberRuleContext) SetValue(v antlr.Token)
func (*EnumMemberRuleContext) ToStringTree ¶
func (s *EnumMemberRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumRuleContext ¶
type EnumRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumRuleContext ¶
func NewEmptyEnumRuleContext() *EnumRuleContext
func NewEnumRuleContext ¶
func NewEnumRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumRuleContext
func (*EnumRuleContext) AllEnumMemberRule ¶
func (s *EnumRuleContext) AllEnumMemberRule() []IEnumMemberRuleContext
func (*EnumRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *EnumRuleContext) AllMetaRule() []IMetaRuleContext
func (*EnumRuleContext) EnterRule ¶
func (s *EnumRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumRuleContext) EnumMemberRule ¶
func (s *EnumRuleContext) EnumMemberRule(i int) IEnumMemberRuleContext
func (*EnumRuleContext) ExitRule ¶
func (s *EnumRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumRuleContext) GetName ¶
func (s *EnumRuleContext) GetName() antlr.Token
func (*EnumRuleContext) GetParser ¶
func (s *EnumRuleContext) GetParser() antlr.Parser
func (*EnumRuleContext) GetRuleContext ¶
func (s *EnumRuleContext) GetRuleContext() antlr.RuleContext
func (*EnumRuleContext) IDENTIFIER ¶
func (s *EnumRuleContext) IDENTIFIER() antlr.TerminalNode
func (*EnumRuleContext) IsEnumRuleContext ¶
func (*EnumRuleContext) IsEnumRuleContext()
func (*EnumRuleContext) MetaRule ¶ added in v0.20.0
func (s *EnumRuleContext) MetaRule(i int) IMetaRuleContext
func (*EnumRuleContext) SetName ¶
func (s *EnumRuleContext) SetName(v antlr.Token)
func (*EnumRuleContext) ToStringTree ¶
func (s *EnumRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExternRuleContext ¶ added in v0.38.0
type ExternRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExternRuleContext ¶ added in v0.38.0
func NewEmptyExternRuleContext() *ExternRuleContext
func NewExternRuleContext ¶ added in v0.38.0
func NewExternRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExternRuleContext
func (*ExternRuleContext) AllMetaRule ¶ added in v0.38.0
func (s *ExternRuleContext) AllMetaRule() []IMetaRuleContext
func (*ExternRuleContext) EnterRule ¶ added in v0.38.0
func (s *ExternRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExternRuleContext) ExitRule ¶ added in v0.38.0
func (s *ExternRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExternRuleContext) GetName ¶ added in v0.38.0
func (s *ExternRuleContext) GetName() antlr.Token
func (*ExternRuleContext) GetParser ¶ added in v0.38.0
func (s *ExternRuleContext) GetParser() antlr.Parser
func (*ExternRuleContext) GetRuleContext ¶ added in v0.38.0
func (s *ExternRuleContext) GetRuleContext() antlr.RuleContext
func (*ExternRuleContext) IDENTIFIER ¶ added in v0.38.0
func (s *ExternRuleContext) IDENTIFIER() antlr.TerminalNode
func (*ExternRuleContext) IsExternRuleContext ¶ added in v0.38.0
func (*ExternRuleContext) IsExternRuleContext()
func (*ExternRuleContext) MetaRule ¶ added in v0.38.0
func (s *ExternRuleContext) MetaRule(i int) IMetaRuleContext
func (*ExternRuleContext) SetName ¶ added in v0.38.0
func (s *ExternRuleContext) SetName(v antlr.Token)
func (*ExternRuleContext) ToStringTree ¶ added in v0.38.0
func (s *ExternRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HeaderRuleContext ¶
type HeaderRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHeaderRuleContext ¶
func NewEmptyHeaderRuleContext() *HeaderRuleContext
func NewHeaderRuleContext ¶
func NewHeaderRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HeaderRuleContext
func (*HeaderRuleContext) AllImportRule ¶
func (s *HeaderRuleContext) AllImportRule() []IImportRuleContext
func (*HeaderRuleContext) EnterRule ¶
func (s *HeaderRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*HeaderRuleContext) ExitRule ¶
func (s *HeaderRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*HeaderRuleContext) GetParser ¶
func (s *HeaderRuleContext) GetParser() antlr.Parser
func (*HeaderRuleContext) GetRuleContext ¶
func (s *HeaderRuleContext) GetRuleContext() antlr.RuleContext
func (*HeaderRuleContext) ImportRule ¶
func (s *HeaderRuleContext) ImportRule(i int) IImportRuleContext
func (*HeaderRuleContext) IsHeaderRuleContext ¶
func (*HeaderRuleContext) IsHeaderRuleContext()
func (*HeaderRuleContext) ModuleRule ¶
func (s *HeaderRuleContext) ModuleRule() IModuleRuleContext
func (*HeaderRuleContext) ToStringTree ¶
func (s *HeaderRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArrayRuleContext ¶
type IArrayRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArrayRuleContext differentiates from other interfaces. IsArrayRuleContext() }
IArrayRuleContext is an interface to support dynamic dispatch.
type IDeclarationsRuleContext ¶
type IDeclarationsRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ExternRule() IExternRuleContext InterfaceRule() IInterfaceRuleContext StructRule() IStructRuleContext EnumRule() IEnumRuleContext // IsDeclarationsRuleContext differentiates from other interfaces. IsDeclarationsRuleContext() }
IDeclarationsRuleContext is an interface to support dynamic dispatch.
type IDocumentRuleContext ¶
type IDocumentRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HeaderRule() IHeaderRuleContext AllDeclarationsRule() []IDeclarationsRuleContext DeclarationsRule(i int) IDeclarationsRuleContext // IsDocumentRuleContext differentiates from other interfaces. IsDocumentRuleContext() }
IDocumentRuleContext is an interface to support dynamic dispatch.
type IEnumMemberRuleContext ¶
type IEnumMemberRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // GetValue returns the value token. GetValue() antlr.Token // SetName sets the name token. SetName(antlr.Token) // SetValue sets the value token. SetValue(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext INTEGER() antlr.TerminalNode // IsEnumMemberRuleContext differentiates from other interfaces. IsEnumMemberRuleContext() }
IEnumMemberRuleContext is an interface to support dynamic dispatch.
type IEnumRuleContext ¶
type IEnumRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext AllEnumMemberRule() []IEnumMemberRuleContext EnumMemberRule(i int) IEnumMemberRuleContext // IsEnumRuleContext differentiates from other interfaces. IsEnumRuleContext() }
IEnumRuleContext is an interface to support dynamic dispatch.
type IExternRuleContext ¶ added in v0.38.0
type IExternRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext // IsExternRuleContext differentiates from other interfaces. IsExternRuleContext() }
IExternRuleContext is an interface to support dynamic dispatch.
type IHeaderRuleContext ¶
type IHeaderRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ModuleRule() IModuleRuleContext AllImportRule() []IImportRuleContext ImportRule(i int) IImportRuleContext // IsHeaderRuleContext differentiates from other interfaces. IsHeaderRuleContext() }
IHeaderRuleContext is an interface to support dynamic dispatch.
type IImportRuleContext ¶
type IImportRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // GetVersion returns the version token. GetVersion() antlr.Token // SetName sets the name token. SetName(antlr.Token) // SetVersion sets the version token. SetVersion(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode VERSION() antlr.TerminalNode // IsImportRuleContext differentiates from other interfaces. IsImportRuleContext() }
IImportRuleContext is an interface to support dynamic dispatch.
type IInterfaceMembersRuleContext ¶
type IInterfaceMembersRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PropertyRule() IPropertyRuleContext OperationRule() IOperationRuleContext SignalRule() ISignalRuleContext // IsInterfaceMembersRuleContext differentiates from other interfaces. IsInterfaceMembersRuleContext() }
IInterfaceMembersRuleContext is an interface to support dynamic dispatch.
type IInterfaceRuleContext ¶
type IInterfaceRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // GetExtends returns the extends token. GetExtends() antlr.Token // SetName sets the name token. SetName(antlr.Token) // SetExtends sets the extends token. SetExtends(antlr.Token) // Getter signatures AllIDENTIFIER() []antlr.TerminalNode IDENTIFIER(i int) antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext AllInterfaceMembersRule() []IInterfaceMembersRuleContext InterfaceMembersRule(i int) IInterfaceMembersRuleContext // IsInterfaceRuleContext differentiates from other interfaces. IsInterfaceRuleContext() }
IInterfaceRuleContext is an interface to support dynamic dispatch.
type IMetaRuleContext ¶ added in v0.20.0
type IMetaRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetTagLine returns the tagLine token. GetTagLine() antlr.Token // GetDocLine returns the docLine token. GetDocLine() antlr.Token // SetTagLine sets the tagLine token. SetTagLine(antlr.Token) // SetDocLine sets the docLine token. SetDocLine(antlr.Token) // Getter signatures TAGLINE() antlr.TerminalNode DOCLINE() antlr.TerminalNode // IsMetaRuleContext differentiates from other interfaces. IsMetaRuleContext() }
IMetaRuleContext is an interface to support dynamic dispatch.
type IModuleRuleContext ¶
type IModuleRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // GetVersion returns the version token. GetVersion() antlr.Token // SetName sets the name token. SetName(antlr.Token) // SetVersion sets the version token. SetVersion(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext VERSION() antlr.TerminalNode // IsModuleRuleContext differentiates from other interfaces. IsModuleRuleContext() }
IModuleRuleContext is an interface to support dynamic dispatch.
type IOperationParamRuleContext ¶ added in v0.6.0
type IOperationParamRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // GetSchema returns the schema rule contexts. GetSchema() ISchemaRuleContext // SetSchema sets the schema rule contexts. SetSchema(ISchemaRuleContext) // Getter signatures IDENTIFIER() antlr.TerminalNode SchemaRule() ISchemaRuleContext // IsOperationParamRuleContext differentiates from other interfaces. IsOperationParamRuleContext() }
IOperationParamRuleContext is an interface to support dynamic dispatch.
type IOperationReturnRuleContext ¶ added in v0.6.0
type IOperationReturnRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetSchema returns the schema rule contexts. GetSchema() ISchemaRuleContext // SetSchema sets the schema rule contexts. SetSchema(ISchemaRuleContext) // Getter signatures SchemaRule() ISchemaRuleContext // IsOperationReturnRuleContext differentiates from other interfaces. IsOperationReturnRuleContext() }
IOperationReturnRuleContext is an interface to support dynamic dispatch.
type IOperationRuleContext ¶ added in v0.6.0
type IOperationRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // GetParams returns the params rule contexts. GetParams() IOperationParamRuleContext // SetParams sets the params rule contexts. SetParams(IOperationParamRuleContext) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext OperationReturnRule() IOperationReturnRuleContext AllOperationParamRule() []IOperationParamRuleContext OperationParamRule(i int) IOperationParamRuleContext // IsOperationRuleContext differentiates from other interfaces. IsOperationRuleContext() }
IOperationRuleContext is an interface to support dynamic dispatch.
type IPrimitiveSchemaContext ¶
type IPrimitiveSchemaContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // IsPrimitiveSchemaContext differentiates from other interfaces. IsPrimitiveSchemaContext() }
IPrimitiveSchemaContext is an interface to support dynamic dispatch.
type IPropertyRuleContext ¶
type IPropertyRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetReadonly returns the readonly token. GetReadonly() antlr.Token // GetName returns the name token. GetName() antlr.Token // SetReadonly sets the readonly token. SetReadonly(antlr.Token) // SetName sets the name token. SetName(antlr.Token) // GetSchema returns the schema rule contexts. GetSchema() ISchemaRuleContext // SetSchema sets the schema rule contexts. SetSchema(ISchemaRuleContext) // Getter signatures IDENTIFIER() antlr.TerminalNode SchemaRule() ISchemaRuleContext AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext // IsPropertyRuleContext differentiates from other interfaces. IsPropertyRuleContext() }
IPropertyRuleContext is an interface to support dynamic dispatch.
type ISchemaRuleContext ¶
type ISchemaRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PrimitiveSchema() IPrimitiveSchemaContext SymbolSchema() ISymbolSchemaContext ArrayRule() IArrayRuleContext // IsSchemaRuleContext differentiates from other interfaces. IsSchemaRuleContext() }
ISchemaRuleContext is an interface to support dynamic dispatch.
type ISignalRuleContext ¶
type ISignalRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // GetParams returns the params rule contexts. GetParams() IOperationParamRuleContext // SetParams sets the params rule contexts. SetParams(IOperationParamRuleContext) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext AllOperationParamRule() []IOperationParamRuleContext OperationParamRule(i int) IOperationParamRuleContext // IsSignalRuleContext differentiates from other interfaces. IsSignalRuleContext() }
ISignalRuleContext is an interface to support dynamic dispatch.
type IStructFieldRuleContext ¶
type IStructFieldRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetReadonly returns the readonly token. GetReadonly() antlr.Token // GetName returns the name token. GetName() antlr.Token // SetReadonly sets the readonly token. SetReadonly(antlr.Token) // SetName sets the name token. SetName(antlr.Token) // GetSchema returns the schema rule contexts. GetSchema() ISchemaRuleContext // SetSchema sets the schema rule contexts. SetSchema(ISchemaRuleContext) // Getter signatures IDENTIFIER() antlr.TerminalNode SchemaRule() ISchemaRuleContext AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext // IsStructFieldRuleContext differentiates from other interfaces. IsStructFieldRuleContext() }
IStructFieldRuleContext is an interface to support dynamic dispatch.
type IStructRuleContext ¶
type IStructRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode AllMetaRule() []IMetaRuleContext MetaRule(i int) IMetaRuleContext AllStructFieldRule() []IStructFieldRuleContext StructFieldRule(i int) IStructFieldRuleContext // IsStructRuleContext differentiates from other interfaces. IsStructRuleContext() }
IStructRuleContext is an interface to support dynamic dispatch.
type ISymbolSchemaContext ¶
type ISymbolSchemaContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetName returns the name token. GetName() antlr.Token // SetName sets the name token. SetName(antlr.Token) // Getter signatures IDENTIFIER() antlr.TerminalNode // IsSymbolSchemaContext differentiates from other interfaces. IsSymbolSchemaContext() }
ISymbolSchemaContext is an interface to support dynamic dispatch.
type ImportRuleContext ¶
type ImportRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportRuleContext ¶
func NewEmptyImportRuleContext() *ImportRuleContext
func NewImportRuleContext ¶
func NewImportRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportRuleContext
func (*ImportRuleContext) EnterRule ¶
func (s *ImportRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImportRuleContext) ExitRule ¶
func (s *ImportRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImportRuleContext) GetName ¶
func (s *ImportRuleContext) GetName() antlr.Token
func (*ImportRuleContext) GetParser ¶
func (s *ImportRuleContext) GetParser() antlr.Parser
func (*ImportRuleContext) GetRuleContext ¶
func (s *ImportRuleContext) GetRuleContext() antlr.RuleContext
func (*ImportRuleContext) GetVersion ¶
func (s *ImportRuleContext) GetVersion() antlr.Token
func (*ImportRuleContext) IDENTIFIER ¶
func (s *ImportRuleContext) IDENTIFIER() antlr.TerminalNode
func (*ImportRuleContext) IsImportRuleContext ¶
func (*ImportRuleContext) IsImportRuleContext()
func (*ImportRuleContext) SetName ¶
func (s *ImportRuleContext) SetName(v antlr.Token)
func (*ImportRuleContext) SetVersion ¶
func (s *ImportRuleContext) SetVersion(v antlr.Token)
func (*ImportRuleContext) ToStringTree ¶
func (s *ImportRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ImportRuleContext) VERSION ¶
func (s *ImportRuleContext) VERSION() antlr.TerminalNode
type InterfaceMembersRuleContext ¶
type InterfaceMembersRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInterfaceMembersRuleContext ¶
func NewEmptyInterfaceMembersRuleContext() *InterfaceMembersRuleContext
func NewInterfaceMembersRuleContext ¶
func NewInterfaceMembersRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InterfaceMembersRuleContext
func (*InterfaceMembersRuleContext) EnterRule ¶
func (s *InterfaceMembersRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*InterfaceMembersRuleContext) ExitRule ¶
func (s *InterfaceMembersRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*InterfaceMembersRuleContext) GetParser ¶
func (s *InterfaceMembersRuleContext) GetParser() antlr.Parser
func (*InterfaceMembersRuleContext) GetRuleContext ¶
func (s *InterfaceMembersRuleContext) GetRuleContext() antlr.RuleContext
func (*InterfaceMembersRuleContext) IsInterfaceMembersRuleContext ¶
func (*InterfaceMembersRuleContext) IsInterfaceMembersRuleContext()
func (*InterfaceMembersRuleContext) OperationRule ¶ added in v0.6.0
func (s *InterfaceMembersRuleContext) OperationRule() IOperationRuleContext
func (*InterfaceMembersRuleContext) PropertyRule ¶
func (s *InterfaceMembersRuleContext) PropertyRule() IPropertyRuleContext
func (*InterfaceMembersRuleContext) SignalRule ¶
func (s *InterfaceMembersRuleContext) SignalRule() ISignalRuleContext
func (*InterfaceMembersRuleContext) ToStringTree ¶
func (s *InterfaceMembersRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InterfaceRuleContext ¶
type InterfaceRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInterfaceRuleContext ¶
func NewEmptyInterfaceRuleContext() *InterfaceRuleContext
func NewInterfaceRuleContext ¶
func NewInterfaceRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InterfaceRuleContext
func (*InterfaceRuleContext) AllIDENTIFIER ¶ added in v0.38.0
func (s *InterfaceRuleContext) AllIDENTIFIER() []antlr.TerminalNode
func (*InterfaceRuleContext) AllInterfaceMembersRule ¶
func (s *InterfaceRuleContext) AllInterfaceMembersRule() []IInterfaceMembersRuleContext
func (*InterfaceRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *InterfaceRuleContext) AllMetaRule() []IMetaRuleContext
func (*InterfaceRuleContext) EnterRule ¶
func (s *InterfaceRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*InterfaceRuleContext) ExitRule ¶
func (s *InterfaceRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*InterfaceRuleContext) GetExtends ¶ added in v0.38.0
func (s *InterfaceRuleContext) GetExtends() antlr.Token
func (*InterfaceRuleContext) GetName ¶
func (s *InterfaceRuleContext) GetName() antlr.Token
func (*InterfaceRuleContext) GetParser ¶
func (s *InterfaceRuleContext) GetParser() antlr.Parser
func (*InterfaceRuleContext) GetRuleContext ¶
func (s *InterfaceRuleContext) GetRuleContext() antlr.RuleContext
func (*InterfaceRuleContext) IDENTIFIER ¶
func (s *InterfaceRuleContext) IDENTIFIER(i int) antlr.TerminalNode
func (*InterfaceRuleContext) InterfaceMembersRule ¶
func (s *InterfaceRuleContext) InterfaceMembersRule(i int) IInterfaceMembersRuleContext
func (*InterfaceRuleContext) IsInterfaceRuleContext ¶
func (*InterfaceRuleContext) IsInterfaceRuleContext()
func (*InterfaceRuleContext) MetaRule ¶ added in v0.20.0
func (s *InterfaceRuleContext) MetaRule(i int) IMetaRuleContext
func (*InterfaceRuleContext) SetExtends ¶ added in v0.38.0
func (s *InterfaceRuleContext) SetExtends(v antlr.Token)
func (*InterfaceRuleContext) SetName ¶
func (s *InterfaceRuleContext) SetName(v antlr.Token)
func (*InterfaceRuleContext) ToStringTree ¶
func (s *InterfaceRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MetaRuleContext ¶ added in v0.20.0
type MetaRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMetaRuleContext ¶ added in v0.20.0
func NewEmptyMetaRuleContext() *MetaRuleContext
func NewMetaRuleContext ¶ added in v0.20.0
func NewMetaRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MetaRuleContext
func (*MetaRuleContext) DOCLINE ¶ added in v0.20.0
func (s *MetaRuleContext) DOCLINE() antlr.TerminalNode
func (*MetaRuleContext) EnterRule ¶ added in v0.20.0
func (s *MetaRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*MetaRuleContext) ExitRule ¶ added in v0.20.0
func (s *MetaRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*MetaRuleContext) GetDocLine ¶ added in v0.20.0
func (s *MetaRuleContext) GetDocLine() antlr.Token
func (*MetaRuleContext) GetParser ¶ added in v0.20.0
func (s *MetaRuleContext) GetParser() antlr.Parser
func (*MetaRuleContext) GetRuleContext ¶ added in v0.20.0
func (s *MetaRuleContext) GetRuleContext() antlr.RuleContext
func (*MetaRuleContext) GetTagLine ¶ added in v0.20.0
func (s *MetaRuleContext) GetTagLine() antlr.Token
func (*MetaRuleContext) IsMetaRuleContext ¶ added in v0.20.0
func (*MetaRuleContext) IsMetaRuleContext()
func (*MetaRuleContext) SetDocLine ¶ added in v0.20.0
func (s *MetaRuleContext) SetDocLine(v antlr.Token)
func (*MetaRuleContext) SetTagLine ¶ added in v0.20.0
func (s *MetaRuleContext) SetTagLine(v antlr.Token)
func (*MetaRuleContext) TAGLINE ¶ added in v0.20.0
func (s *MetaRuleContext) TAGLINE() antlr.TerminalNode
func (*MetaRuleContext) ToStringTree ¶ added in v0.20.0
func (s *MetaRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ModuleRuleContext ¶
type ModuleRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModuleRuleContext ¶
func NewEmptyModuleRuleContext() *ModuleRuleContext
func NewModuleRuleContext ¶
func NewModuleRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModuleRuleContext
func (*ModuleRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *ModuleRuleContext) AllMetaRule() []IMetaRuleContext
func (*ModuleRuleContext) EnterRule ¶
func (s *ModuleRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*ModuleRuleContext) ExitRule ¶
func (s *ModuleRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModuleRuleContext) GetName ¶
func (s *ModuleRuleContext) GetName() antlr.Token
func (*ModuleRuleContext) GetParser ¶
func (s *ModuleRuleContext) GetParser() antlr.Parser
func (*ModuleRuleContext) GetRuleContext ¶
func (s *ModuleRuleContext) GetRuleContext() antlr.RuleContext
func (*ModuleRuleContext) GetVersion ¶
func (s *ModuleRuleContext) GetVersion() antlr.Token
func (*ModuleRuleContext) IDENTIFIER ¶
func (s *ModuleRuleContext) IDENTIFIER() antlr.TerminalNode
func (*ModuleRuleContext) IsModuleRuleContext ¶
func (*ModuleRuleContext) IsModuleRuleContext()
func (*ModuleRuleContext) MetaRule ¶ added in v0.20.0
func (s *ModuleRuleContext) MetaRule(i int) IMetaRuleContext
func (*ModuleRuleContext) SetName ¶
func (s *ModuleRuleContext) SetName(v antlr.Token)
func (*ModuleRuleContext) SetVersion ¶
func (s *ModuleRuleContext) SetVersion(v antlr.Token)
func (*ModuleRuleContext) ToStringTree ¶
func (s *ModuleRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ModuleRuleContext) VERSION ¶
func (s *ModuleRuleContext) VERSION() antlr.TerminalNode
type ObjectApiLexer ¶
type ObjectApiLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewObjectApiLexer ¶
func NewObjectApiLexer(input antlr.CharStream) *ObjectApiLexer
NewObjectApiLexer produces a new lexer instance for the optional input antlr.CharStream.
type ObjectApiListener ¶
type ObjectApiListener interface { antlr.ParseTreeListener // EnterDocumentRule is called when entering the documentRule production. EnterDocumentRule(c *DocumentRuleContext) // EnterHeaderRule is called when entering the headerRule production. EnterHeaderRule(c *HeaderRuleContext) // EnterModuleRule is called when entering the moduleRule production. EnterModuleRule(c *ModuleRuleContext) // EnterImportRule is called when entering the importRule production. EnterImportRule(c *ImportRuleContext) // EnterDeclarationsRule is called when entering the declarationsRule production. EnterDeclarationsRule(c *DeclarationsRuleContext) // EnterExternRule is called when entering the externRule production. EnterExternRule(c *ExternRuleContext) // EnterInterfaceRule is called when entering the interfaceRule production. EnterInterfaceRule(c *InterfaceRuleContext) // EnterInterfaceMembersRule is called when entering the interfaceMembersRule production. EnterInterfaceMembersRule(c *InterfaceMembersRuleContext) // EnterPropertyRule is called when entering the propertyRule production. EnterPropertyRule(c *PropertyRuleContext) // EnterOperationRule is called when entering the operationRule production. EnterOperationRule(c *OperationRuleContext) // EnterOperationReturnRule is called when entering the operationReturnRule production. EnterOperationReturnRule(c *OperationReturnRuleContext) // EnterOperationParamRule is called when entering the operationParamRule production. EnterOperationParamRule(c *OperationParamRuleContext) // EnterSignalRule is called when entering the signalRule production. EnterSignalRule(c *SignalRuleContext) // EnterStructRule is called when entering the structRule production. EnterStructRule(c *StructRuleContext) // EnterStructFieldRule is called when entering the structFieldRule production. EnterStructFieldRule(c *StructFieldRuleContext) // EnterEnumRule is called when entering the enumRule production. EnterEnumRule(c *EnumRuleContext) // EnterEnumMemberRule is called when entering the enumMemberRule production. EnterEnumMemberRule(c *EnumMemberRuleContext) // EnterSchemaRule is called when entering the schemaRule production. EnterSchemaRule(c *SchemaRuleContext) // EnterArrayRule is called when entering the arrayRule production. EnterArrayRule(c *ArrayRuleContext) // EnterPrimitiveSchema is called when entering the primitiveSchema production. EnterPrimitiveSchema(c *PrimitiveSchemaContext) // EnterSymbolSchema is called when entering the symbolSchema production. EnterSymbolSchema(c *SymbolSchemaContext) // EnterMetaRule is called when entering the metaRule production. EnterMetaRule(c *MetaRuleContext) // ExitDocumentRule is called when exiting the documentRule production. ExitDocumentRule(c *DocumentRuleContext) // ExitHeaderRule is called when exiting the headerRule production. ExitHeaderRule(c *HeaderRuleContext) // ExitModuleRule is called when exiting the moduleRule production. ExitModuleRule(c *ModuleRuleContext) // ExitImportRule is called when exiting the importRule production. ExitImportRule(c *ImportRuleContext) // ExitDeclarationsRule is called when exiting the declarationsRule production. ExitDeclarationsRule(c *DeclarationsRuleContext) // ExitExternRule is called when exiting the externRule production. ExitExternRule(c *ExternRuleContext) // ExitInterfaceRule is called when exiting the interfaceRule production. ExitInterfaceRule(c *InterfaceRuleContext) // ExitInterfaceMembersRule is called when exiting the interfaceMembersRule production. ExitInterfaceMembersRule(c *InterfaceMembersRuleContext) // ExitPropertyRule is called when exiting the propertyRule production. ExitPropertyRule(c *PropertyRuleContext) // ExitOperationRule is called when exiting the operationRule production. ExitOperationRule(c *OperationRuleContext) // ExitOperationReturnRule is called when exiting the operationReturnRule production. ExitOperationReturnRule(c *OperationReturnRuleContext) // ExitOperationParamRule is called when exiting the operationParamRule production. ExitOperationParamRule(c *OperationParamRuleContext) // ExitSignalRule is called when exiting the signalRule production. ExitSignalRule(c *SignalRuleContext) // ExitStructRule is called when exiting the structRule production. ExitStructRule(c *StructRuleContext) // ExitStructFieldRule is called when exiting the structFieldRule production. ExitStructFieldRule(c *StructFieldRuleContext) // ExitEnumRule is called when exiting the enumRule production. ExitEnumRule(c *EnumRuleContext) // ExitEnumMemberRule is called when exiting the enumMemberRule production. ExitEnumMemberRule(c *EnumMemberRuleContext) // ExitSchemaRule is called when exiting the schemaRule production. ExitSchemaRule(c *SchemaRuleContext) // ExitArrayRule is called when exiting the arrayRule production. ExitArrayRule(c *ArrayRuleContext) // ExitPrimitiveSchema is called when exiting the primitiveSchema production. ExitPrimitiveSchema(c *PrimitiveSchemaContext) // ExitSymbolSchema is called when exiting the symbolSchema production. ExitSymbolSchema(c *SymbolSchemaContext) // ExitMetaRule is called when exiting the metaRule production. ExitMetaRule(c *MetaRuleContext) }
ObjectApiListener is a complete listener for a parse tree produced by ObjectApiParser.
type ObjectApiParser ¶
type ObjectApiParser struct {
*antlr.BaseParser
}
func NewObjectApiParser ¶
func NewObjectApiParser(input antlr.TokenStream) *ObjectApiParser
NewObjectApiParser produces a new parser instance for the optional input antlr.TokenStream.
func (*ObjectApiParser) ArrayRule ¶
func (p *ObjectApiParser) ArrayRule() (localctx IArrayRuleContext)
func (*ObjectApiParser) DeclarationsRule ¶
func (p *ObjectApiParser) DeclarationsRule() (localctx IDeclarationsRuleContext)
func (*ObjectApiParser) DocumentRule ¶
func (p *ObjectApiParser) DocumentRule() (localctx IDocumentRuleContext)
func (*ObjectApiParser) EnumMemberRule ¶
func (p *ObjectApiParser) EnumMemberRule() (localctx IEnumMemberRuleContext)
func (*ObjectApiParser) EnumRule ¶
func (p *ObjectApiParser) EnumRule() (localctx IEnumRuleContext)
func (*ObjectApiParser) ExternRule ¶ added in v0.38.0
func (p *ObjectApiParser) ExternRule() (localctx IExternRuleContext)
func (*ObjectApiParser) HeaderRule ¶
func (p *ObjectApiParser) HeaderRule() (localctx IHeaderRuleContext)
func (*ObjectApiParser) ImportRule ¶
func (p *ObjectApiParser) ImportRule() (localctx IImportRuleContext)
func (*ObjectApiParser) InterfaceMembersRule ¶
func (p *ObjectApiParser) InterfaceMembersRule() (localctx IInterfaceMembersRuleContext)
func (*ObjectApiParser) InterfaceRule ¶
func (p *ObjectApiParser) InterfaceRule() (localctx IInterfaceRuleContext)
func (*ObjectApiParser) MetaRule ¶ added in v0.20.0
func (p *ObjectApiParser) MetaRule() (localctx IMetaRuleContext)
func (*ObjectApiParser) ModuleRule ¶
func (p *ObjectApiParser) ModuleRule() (localctx IModuleRuleContext)
func (*ObjectApiParser) OperationParamRule ¶ added in v0.6.0
func (p *ObjectApiParser) OperationParamRule() (localctx IOperationParamRuleContext)
func (*ObjectApiParser) OperationReturnRule ¶ added in v0.6.0
func (p *ObjectApiParser) OperationReturnRule() (localctx IOperationReturnRuleContext)
func (*ObjectApiParser) OperationRule ¶ added in v0.6.0
func (p *ObjectApiParser) OperationRule() (localctx IOperationRuleContext)
func (*ObjectApiParser) PrimitiveSchema ¶
func (p *ObjectApiParser) PrimitiveSchema() (localctx IPrimitiveSchemaContext)
func (*ObjectApiParser) PropertyRule ¶
func (p *ObjectApiParser) PropertyRule() (localctx IPropertyRuleContext)
func (*ObjectApiParser) SchemaRule ¶
func (p *ObjectApiParser) SchemaRule() (localctx ISchemaRuleContext)
func (*ObjectApiParser) SignalRule ¶
func (p *ObjectApiParser) SignalRule() (localctx ISignalRuleContext)
func (*ObjectApiParser) StructFieldRule ¶
func (p *ObjectApiParser) StructFieldRule() (localctx IStructFieldRuleContext)
func (*ObjectApiParser) StructRule ¶
func (p *ObjectApiParser) StructRule() (localctx IStructRuleContext)
func (*ObjectApiParser) SymbolSchema ¶
func (p *ObjectApiParser) SymbolSchema() (localctx ISymbolSchemaContext)
type OperationParamRuleContext ¶ added in v0.6.0
type OperationParamRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperationParamRuleContext ¶ added in v0.6.0
func NewEmptyOperationParamRuleContext() *OperationParamRuleContext
func NewOperationParamRuleContext ¶ added in v0.6.0
func NewOperationParamRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperationParamRuleContext
func (*OperationParamRuleContext) EnterRule ¶ added in v0.6.0
func (s *OperationParamRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*OperationParamRuleContext) ExitRule ¶ added in v0.6.0
func (s *OperationParamRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*OperationParamRuleContext) GetName ¶ added in v0.6.0
func (s *OperationParamRuleContext) GetName() antlr.Token
func (*OperationParamRuleContext) GetParser ¶ added in v0.6.0
func (s *OperationParamRuleContext) GetParser() antlr.Parser
func (*OperationParamRuleContext) GetRuleContext ¶ added in v0.6.0
func (s *OperationParamRuleContext) GetRuleContext() antlr.RuleContext
func (*OperationParamRuleContext) GetSchema ¶ added in v0.6.0
func (s *OperationParamRuleContext) GetSchema() ISchemaRuleContext
func (*OperationParamRuleContext) IDENTIFIER ¶ added in v0.6.0
func (s *OperationParamRuleContext) IDENTIFIER() antlr.TerminalNode
func (*OperationParamRuleContext) IsOperationParamRuleContext ¶ added in v0.6.0
func (*OperationParamRuleContext) IsOperationParamRuleContext()
func (*OperationParamRuleContext) SchemaRule ¶ added in v0.6.0
func (s *OperationParamRuleContext) SchemaRule() ISchemaRuleContext
func (*OperationParamRuleContext) SetName ¶ added in v0.6.0
func (s *OperationParamRuleContext) SetName(v antlr.Token)
func (*OperationParamRuleContext) SetSchema ¶ added in v0.6.0
func (s *OperationParamRuleContext) SetSchema(v ISchemaRuleContext)
func (*OperationParamRuleContext) ToStringTree ¶ added in v0.6.0
func (s *OperationParamRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OperationReturnRuleContext ¶ added in v0.6.0
type OperationReturnRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperationReturnRuleContext ¶ added in v0.6.0
func NewEmptyOperationReturnRuleContext() *OperationReturnRuleContext
func NewOperationReturnRuleContext ¶ added in v0.6.0
func NewOperationReturnRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperationReturnRuleContext
func (*OperationReturnRuleContext) EnterRule ¶ added in v0.6.0
func (s *OperationReturnRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*OperationReturnRuleContext) ExitRule ¶ added in v0.6.0
func (s *OperationReturnRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*OperationReturnRuleContext) GetParser ¶ added in v0.6.0
func (s *OperationReturnRuleContext) GetParser() antlr.Parser
func (*OperationReturnRuleContext) GetRuleContext ¶ added in v0.6.0
func (s *OperationReturnRuleContext) GetRuleContext() antlr.RuleContext
func (*OperationReturnRuleContext) GetSchema ¶ added in v0.6.0
func (s *OperationReturnRuleContext) GetSchema() ISchemaRuleContext
func (*OperationReturnRuleContext) IsOperationReturnRuleContext ¶ added in v0.6.0
func (*OperationReturnRuleContext) IsOperationReturnRuleContext()
func (*OperationReturnRuleContext) SchemaRule ¶ added in v0.6.0
func (s *OperationReturnRuleContext) SchemaRule() ISchemaRuleContext
func (*OperationReturnRuleContext) SetSchema ¶ added in v0.6.0
func (s *OperationReturnRuleContext) SetSchema(v ISchemaRuleContext)
func (*OperationReturnRuleContext) ToStringTree ¶ added in v0.6.0
func (s *OperationReturnRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OperationRuleContext ¶ added in v0.6.0
type OperationRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperationRuleContext ¶ added in v0.6.0
func NewEmptyOperationRuleContext() *OperationRuleContext
func NewOperationRuleContext ¶ added in v0.6.0
func NewOperationRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperationRuleContext
func (*OperationRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *OperationRuleContext) AllMetaRule() []IMetaRuleContext
func (*OperationRuleContext) AllOperationParamRule ¶ added in v0.6.0
func (s *OperationRuleContext) AllOperationParamRule() []IOperationParamRuleContext
func (*OperationRuleContext) EnterRule ¶ added in v0.6.0
func (s *OperationRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*OperationRuleContext) ExitRule ¶ added in v0.6.0
func (s *OperationRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*OperationRuleContext) GetName ¶ added in v0.6.0
func (s *OperationRuleContext) GetName() antlr.Token
func (*OperationRuleContext) GetParams ¶ added in v0.6.0
func (s *OperationRuleContext) GetParams() IOperationParamRuleContext
func (*OperationRuleContext) GetParser ¶ added in v0.6.0
func (s *OperationRuleContext) GetParser() antlr.Parser
func (*OperationRuleContext) GetRuleContext ¶ added in v0.6.0
func (s *OperationRuleContext) GetRuleContext() antlr.RuleContext
func (*OperationRuleContext) IDENTIFIER ¶ added in v0.6.0
func (s *OperationRuleContext) IDENTIFIER() antlr.TerminalNode
func (*OperationRuleContext) IsOperationRuleContext ¶ added in v0.6.0
func (*OperationRuleContext) IsOperationRuleContext()
func (*OperationRuleContext) MetaRule ¶ added in v0.20.0
func (s *OperationRuleContext) MetaRule(i int) IMetaRuleContext
func (*OperationRuleContext) OperationParamRule ¶ added in v0.6.0
func (s *OperationRuleContext) OperationParamRule(i int) IOperationParamRuleContext
func (*OperationRuleContext) OperationReturnRule ¶ added in v0.6.0
func (s *OperationRuleContext) OperationReturnRule() IOperationReturnRuleContext
func (*OperationRuleContext) SetName ¶ added in v0.6.0
func (s *OperationRuleContext) SetName(v antlr.Token)
func (*OperationRuleContext) SetParams ¶ added in v0.6.0
func (s *OperationRuleContext) SetParams(v IOperationParamRuleContext)
func (*OperationRuleContext) ToStringTree ¶ added in v0.6.0
func (s *OperationRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PrimitiveSchemaContext ¶
type PrimitiveSchemaContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPrimitiveSchemaContext ¶
func NewEmptyPrimitiveSchemaContext() *PrimitiveSchemaContext
func NewPrimitiveSchemaContext ¶
func NewPrimitiveSchemaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimitiveSchemaContext
func (*PrimitiveSchemaContext) EnterRule ¶
func (s *PrimitiveSchemaContext) EnterRule(listener antlr.ParseTreeListener)
func (*PrimitiveSchemaContext) ExitRule ¶
func (s *PrimitiveSchemaContext) ExitRule(listener antlr.ParseTreeListener)
func (*PrimitiveSchemaContext) GetName ¶
func (s *PrimitiveSchemaContext) GetName() antlr.Token
func (*PrimitiveSchemaContext) GetParser ¶
func (s *PrimitiveSchemaContext) GetParser() antlr.Parser
func (*PrimitiveSchemaContext) GetRuleContext ¶
func (s *PrimitiveSchemaContext) GetRuleContext() antlr.RuleContext
func (*PrimitiveSchemaContext) IsPrimitiveSchemaContext ¶
func (*PrimitiveSchemaContext) IsPrimitiveSchemaContext()
func (*PrimitiveSchemaContext) SetName ¶
func (s *PrimitiveSchemaContext) SetName(v antlr.Token)
func (*PrimitiveSchemaContext) ToStringTree ¶
func (s *PrimitiveSchemaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PropertyRuleContext ¶
type PropertyRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPropertyRuleContext ¶
func NewEmptyPropertyRuleContext() *PropertyRuleContext
func NewPropertyRuleContext ¶
func NewPropertyRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyRuleContext
func (*PropertyRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *PropertyRuleContext) AllMetaRule() []IMetaRuleContext
func (*PropertyRuleContext) EnterRule ¶
func (s *PropertyRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*PropertyRuleContext) ExitRule ¶
func (s *PropertyRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*PropertyRuleContext) GetName ¶
func (s *PropertyRuleContext) GetName() antlr.Token
func (*PropertyRuleContext) GetParser ¶
func (s *PropertyRuleContext) GetParser() antlr.Parser
func (*PropertyRuleContext) GetReadonly ¶ added in v0.29.0
func (s *PropertyRuleContext) GetReadonly() antlr.Token
func (*PropertyRuleContext) GetRuleContext ¶
func (s *PropertyRuleContext) GetRuleContext() antlr.RuleContext
func (*PropertyRuleContext) GetSchema ¶
func (s *PropertyRuleContext) GetSchema() ISchemaRuleContext
func (*PropertyRuleContext) IDENTIFIER ¶
func (s *PropertyRuleContext) IDENTIFIER() antlr.TerminalNode
func (*PropertyRuleContext) IsPropertyRuleContext ¶
func (*PropertyRuleContext) IsPropertyRuleContext()
func (*PropertyRuleContext) MetaRule ¶ added in v0.20.0
func (s *PropertyRuleContext) MetaRule(i int) IMetaRuleContext
func (*PropertyRuleContext) SchemaRule ¶
func (s *PropertyRuleContext) SchemaRule() ISchemaRuleContext
func (*PropertyRuleContext) SetName ¶
func (s *PropertyRuleContext) SetName(v antlr.Token)
func (*PropertyRuleContext) SetReadonly ¶ added in v0.29.0
func (s *PropertyRuleContext) SetReadonly(v antlr.Token)
func (*PropertyRuleContext) SetSchema ¶
func (s *PropertyRuleContext) SetSchema(v ISchemaRuleContext)
func (*PropertyRuleContext) ToStringTree ¶
func (s *PropertyRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SchemaRuleContext ¶
type SchemaRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySchemaRuleContext ¶
func NewEmptySchemaRuleContext() *SchemaRuleContext
func NewSchemaRuleContext ¶
func NewSchemaRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SchemaRuleContext
func (*SchemaRuleContext) ArrayRule ¶
func (s *SchemaRuleContext) ArrayRule() IArrayRuleContext
func (*SchemaRuleContext) EnterRule ¶
func (s *SchemaRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*SchemaRuleContext) ExitRule ¶
func (s *SchemaRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*SchemaRuleContext) GetParser ¶
func (s *SchemaRuleContext) GetParser() antlr.Parser
func (*SchemaRuleContext) GetRuleContext ¶
func (s *SchemaRuleContext) GetRuleContext() antlr.RuleContext
func (*SchemaRuleContext) IsSchemaRuleContext ¶
func (*SchemaRuleContext) IsSchemaRuleContext()
func (*SchemaRuleContext) PrimitiveSchema ¶
func (s *SchemaRuleContext) PrimitiveSchema() IPrimitiveSchemaContext
func (*SchemaRuleContext) SymbolSchema ¶
func (s *SchemaRuleContext) SymbolSchema() ISymbolSchemaContext
func (*SchemaRuleContext) ToStringTree ¶
func (s *SchemaRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SignalRuleContext ¶
type SignalRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySignalRuleContext ¶
func NewEmptySignalRuleContext() *SignalRuleContext
func NewSignalRuleContext ¶
func NewSignalRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SignalRuleContext
func (*SignalRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *SignalRuleContext) AllMetaRule() []IMetaRuleContext
func (*SignalRuleContext) AllOperationParamRule ¶ added in v0.6.0
func (s *SignalRuleContext) AllOperationParamRule() []IOperationParamRuleContext
func (*SignalRuleContext) EnterRule ¶
func (s *SignalRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*SignalRuleContext) ExitRule ¶
func (s *SignalRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*SignalRuleContext) GetName ¶
func (s *SignalRuleContext) GetName() antlr.Token
func (*SignalRuleContext) GetParams ¶ added in v0.6.0
func (s *SignalRuleContext) GetParams() IOperationParamRuleContext
func (*SignalRuleContext) GetParser ¶
func (s *SignalRuleContext) GetParser() antlr.Parser
func (*SignalRuleContext) GetRuleContext ¶
func (s *SignalRuleContext) GetRuleContext() antlr.RuleContext
func (*SignalRuleContext) IDENTIFIER ¶
func (s *SignalRuleContext) IDENTIFIER() antlr.TerminalNode
func (*SignalRuleContext) IsSignalRuleContext ¶
func (*SignalRuleContext) IsSignalRuleContext()
func (*SignalRuleContext) MetaRule ¶ added in v0.20.0
func (s *SignalRuleContext) MetaRule(i int) IMetaRuleContext
func (*SignalRuleContext) OperationParamRule ¶ added in v0.6.0
func (s *SignalRuleContext) OperationParamRule(i int) IOperationParamRuleContext
func (*SignalRuleContext) SetName ¶
func (s *SignalRuleContext) SetName(v antlr.Token)
func (*SignalRuleContext) SetParams ¶ added in v0.6.0
func (s *SignalRuleContext) SetParams(v IOperationParamRuleContext)
func (*SignalRuleContext) ToStringTree ¶
func (s *SignalRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StructFieldRuleContext ¶
type StructFieldRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStructFieldRuleContext ¶
func NewEmptyStructFieldRuleContext() *StructFieldRuleContext
func NewStructFieldRuleContext ¶
func NewStructFieldRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructFieldRuleContext
func (*StructFieldRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *StructFieldRuleContext) AllMetaRule() []IMetaRuleContext
func (*StructFieldRuleContext) EnterRule ¶
func (s *StructFieldRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructFieldRuleContext) ExitRule ¶
func (s *StructFieldRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructFieldRuleContext) GetName ¶
func (s *StructFieldRuleContext) GetName() antlr.Token
func (*StructFieldRuleContext) GetParser ¶
func (s *StructFieldRuleContext) GetParser() antlr.Parser
func (*StructFieldRuleContext) GetReadonly ¶ added in v0.29.0
func (s *StructFieldRuleContext) GetReadonly() antlr.Token
func (*StructFieldRuleContext) GetRuleContext ¶
func (s *StructFieldRuleContext) GetRuleContext() antlr.RuleContext
func (*StructFieldRuleContext) GetSchema ¶
func (s *StructFieldRuleContext) GetSchema() ISchemaRuleContext
func (*StructFieldRuleContext) IDENTIFIER ¶
func (s *StructFieldRuleContext) IDENTIFIER() antlr.TerminalNode
func (*StructFieldRuleContext) IsStructFieldRuleContext ¶
func (*StructFieldRuleContext) IsStructFieldRuleContext()
func (*StructFieldRuleContext) MetaRule ¶ added in v0.20.0
func (s *StructFieldRuleContext) MetaRule(i int) IMetaRuleContext
func (*StructFieldRuleContext) SchemaRule ¶
func (s *StructFieldRuleContext) SchemaRule() ISchemaRuleContext
func (*StructFieldRuleContext) SetName ¶
func (s *StructFieldRuleContext) SetName(v antlr.Token)
func (*StructFieldRuleContext) SetReadonly ¶ added in v0.29.0
func (s *StructFieldRuleContext) SetReadonly(v antlr.Token)
func (*StructFieldRuleContext) SetSchema ¶
func (s *StructFieldRuleContext) SetSchema(v ISchemaRuleContext)
func (*StructFieldRuleContext) ToStringTree ¶
func (s *StructFieldRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StructRuleContext ¶
type StructRuleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStructRuleContext ¶
func NewEmptyStructRuleContext() *StructRuleContext
func NewStructRuleContext ¶
func NewStructRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructRuleContext
func (*StructRuleContext) AllMetaRule ¶ added in v0.20.0
func (s *StructRuleContext) AllMetaRule() []IMetaRuleContext
func (*StructRuleContext) AllStructFieldRule ¶
func (s *StructRuleContext) AllStructFieldRule() []IStructFieldRuleContext
func (*StructRuleContext) EnterRule ¶
func (s *StructRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructRuleContext) ExitRule ¶
func (s *StructRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructRuleContext) GetName ¶
func (s *StructRuleContext) GetName() antlr.Token
func (*StructRuleContext) GetParser ¶
func (s *StructRuleContext) GetParser() antlr.Parser
func (*StructRuleContext) GetRuleContext ¶
func (s *StructRuleContext) GetRuleContext() antlr.RuleContext
func (*StructRuleContext) IDENTIFIER ¶
func (s *StructRuleContext) IDENTIFIER() antlr.TerminalNode
func (*StructRuleContext) IsStructRuleContext ¶
func (*StructRuleContext) IsStructRuleContext()
func (*StructRuleContext) MetaRule ¶ added in v0.20.0
func (s *StructRuleContext) MetaRule(i int) IMetaRuleContext
func (*StructRuleContext) SetName ¶
func (s *StructRuleContext) SetName(v antlr.Token)
func (*StructRuleContext) StructFieldRule ¶
func (s *StructRuleContext) StructFieldRule(i int) IStructFieldRuleContext
func (*StructRuleContext) ToStringTree ¶
func (s *StructRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SymbolSchemaContext ¶
type SymbolSchemaContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySymbolSchemaContext ¶
func NewEmptySymbolSchemaContext() *SymbolSchemaContext
func NewSymbolSchemaContext ¶
func NewSymbolSchemaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SymbolSchemaContext
func (*SymbolSchemaContext) EnterRule ¶
func (s *SymbolSchemaContext) EnterRule(listener antlr.ParseTreeListener)
func (*SymbolSchemaContext) ExitRule ¶
func (s *SymbolSchemaContext) ExitRule(listener antlr.ParseTreeListener)
func (*SymbolSchemaContext) GetName ¶
func (s *SymbolSchemaContext) GetName() antlr.Token
func (*SymbolSchemaContext) GetParser ¶
func (s *SymbolSchemaContext) GetParser() antlr.Parser
func (*SymbolSchemaContext) GetRuleContext ¶
func (s *SymbolSchemaContext) GetRuleContext() antlr.RuleContext
func (*SymbolSchemaContext) IDENTIFIER ¶
func (s *SymbolSchemaContext) IDENTIFIER() antlr.TerminalNode
func (*SymbolSchemaContext) IsSymbolSchemaContext ¶
func (*SymbolSchemaContext) IsSymbolSchemaContext()
func (*SymbolSchemaContext) SetName ¶
func (s *SymbolSchemaContext) SetName(v antlr.Token)
func (*SymbolSchemaContext) ToStringTree ¶
func (s *SymbolSchemaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string