Documentation ¶
Index ¶
- func IsNil(v any)
- func IsNotNil(v any)
- func IsWordOnly(s string) bool
- func LoadIdlFromFiles(name string, files []string) (*model.System, error)
- func LoadIdlFromString(name string, content string) (*model.System, error)
- func NewObjectApiListener(system *model.System) parser.ObjectApiListener
- type ObjectApiListener
- func (o *ObjectApiListener) EnterArrayRule(c *parser.ArrayRuleContext)
- func (o *ObjectApiListener) EnterDeclarationsRule(c *parser.DeclarationsRuleContext)
- func (o *ObjectApiListener) EnterDocumentRule(c *parser.DocumentRuleContext)
- func (o *ObjectApiListener) EnterEnumMemberRule(c *parser.EnumMemberRuleContext)
- func (o *ObjectApiListener) EnterEnumRule(c *parser.EnumRuleContext)
- func (o *ObjectApiListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (o *ObjectApiListener) EnterHeaderRule(c *parser.HeaderRuleContext)
- func (o *ObjectApiListener) EnterImportRule(c *parser.ImportRuleContext)
- func (o *ObjectApiListener) EnterInterfaceMembersRule(c *parser.InterfaceMembersRuleContext)
- func (o *ObjectApiListener) EnterInterfaceRule(c *parser.InterfaceRuleContext)
- func (o *ObjectApiListener) EnterMetaRule(c *parser.MetaRuleContext)
- func (o *ObjectApiListener) EnterModuleRule(c *parser.ModuleRuleContext)
- func (o *ObjectApiListener) EnterOperationParamRule(c *parser.OperationParamRuleContext)
- func (o *ObjectApiListener) EnterOperationReturnRule(c *parser.OperationReturnRuleContext)
- func (o *ObjectApiListener) EnterOperationRule(c *parser.OperationRuleContext)
- func (o *ObjectApiListener) EnterPrimitiveSchema(c *parser.PrimitiveSchemaContext)
- func (o *ObjectApiListener) EnterPropertyRule(c *parser.PropertyRuleContext)
- func (o *ObjectApiListener) EnterSchemaRule(c *parser.SchemaRuleContext)
- func (o *ObjectApiListener) EnterSignalRule(c *parser.SignalRuleContext)
- func (o *ObjectApiListener) EnterStructFieldRule(c *parser.StructFieldRuleContext)
- func (o *ObjectApiListener) EnterStructRule(c *parser.StructRuleContext)
- func (o *ObjectApiListener) EnterSymbolSchema(c *parser.SymbolSchemaContext)
- func (o *ObjectApiListener) ExitArrayRule(c *parser.ArrayRuleContext)
- func (o *ObjectApiListener) ExitDeclarationsRule(c *parser.DeclarationsRuleContext)
- func (o *ObjectApiListener) ExitDocumentRule(c *parser.DocumentRuleContext)
- func (o *ObjectApiListener) ExitEnumMemberRule(c *parser.EnumMemberRuleContext)
- func (o *ObjectApiListener) ExitEnumRule(c *parser.EnumRuleContext)
- func (o *ObjectApiListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (o *ObjectApiListener) ExitHeaderRule(c *parser.HeaderRuleContext)
- func (o *ObjectApiListener) ExitImportRule(c *parser.ImportRuleContext)
- func (o *ObjectApiListener) ExitInterfaceMembersRule(c *parser.InterfaceMembersRuleContext)
- func (o *ObjectApiListener) ExitInterfaceRule(c *parser.InterfaceRuleContext)
- func (o *ObjectApiListener) ExitMetaRule(c *parser.MetaRuleContext)
- func (o *ObjectApiListener) ExitModuleRule(c *parser.ModuleRuleContext)
- func (o *ObjectApiListener) ExitOperationParamRule(c *parser.OperationParamRuleContext)
- func (o *ObjectApiListener) ExitOperationReturnRule(c *parser.OperationReturnRuleContext)
- func (o *ObjectApiListener) ExitOperationRule(c *parser.OperationRuleContext)
- func (o *ObjectApiListener) ExitPrimitiveSchema(c *parser.PrimitiveSchemaContext)
- func (o *ObjectApiListener) ExitPropertyRule(c *parser.PropertyRuleContext)
- func (o *ObjectApiListener) ExitSchemaRule(c *parser.SchemaRuleContext)
- func (o *ObjectApiListener) ExitSignalRule(c *parser.SignalRuleContext)
- func (o *ObjectApiListener) ExitStructFieldRule(c *parser.StructFieldRuleContext)
- func (o *ObjectApiListener) ExitStructRule(c *parser.StructRuleContext)
- func (o *ObjectApiListener) ExitSymbolSchema(c *parser.SymbolSchemaContext)
- func (o *ObjectApiListener) VisitErrorNode(node antlr.ErrorNode)
- func (o *ObjectApiListener) VisitTerminal(node antlr.TerminalNode)
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWordOnly ¶ added in v0.20.0
func LoadIdlFromFiles ¶ added in v0.31.0
func LoadIdlFromString ¶ added in v0.31.0
func NewObjectApiListener ¶
func NewObjectApiListener(system *model.System) parser.ObjectApiListener
Types ¶
type ObjectApiListener ¶
type ObjectApiListener struct { antlr.ParseTreeListener System *model.System // contains filtered or unexported fields }
func (*ObjectApiListener) EnterArrayRule ¶
func (o *ObjectApiListener) EnterArrayRule(c *parser.ArrayRuleContext)
EnterArraySchema is called when entering the arraySchema production.
func (*ObjectApiListener) EnterDeclarationsRule ¶
func (o *ObjectApiListener) EnterDeclarationsRule(c *parser.DeclarationsRuleContext)
EnterDeclarationsRule is called when entering the declarationsRule production.
func (*ObjectApiListener) EnterDocumentRule ¶
func (o *ObjectApiListener) EnterDocumentRule(c *parser.DocumentRuleContext)
EnterDocumentRule is called when entering the documentRule production.
func (*ObjectApiListener) EnterEnumMemberRule ¶
func (o *ObjectApiListener) EnterEnumMemberRule(c *parser.EnumMemberRuleContext)
EnterEnumMemberRule is called when entering the enumMemberRule production.
func (*ObjectApiListener) EnterEnumRule ¶
func (o *ObjectApiListener) EnterEnumRule(c *parser.EnumRuleContext)
EnterEnumRule is called when entering the enumRule production.
func (*ObjectApiListener) EnterEveryRule ¶
func (o *ObjectApiListener) EnterEveryRule(ctx antlr.ParserRuleContext)
func (*ObjectApiListener) EnterHeaderRule ¶
func (o *ObjectApiListener) EnterHeaderRule(c *parser.HeaderRuleContext)
EnterHeaderRule is called when entering the headerRule production.
func (*ObjectApiListener) EnterImportRule ¶
func (o *ObjectApiListener) EnterImportRule(c *parser.ImportRuleContext)
EnterImportRule is called when entering the importRule production.
func (*ObjectApiListener) EnterInterfaceMembersRule ¶
func (o *ObjectApiListener) EnterInterfaceMembersRule(c *parser.InterfaceMembersRuleContext)
EnterInterfaceMembersRule is called when entering the interfaceMembersRule production.
func (*ObjectApiListener) EnterInterfaceRule ¶
func (o *ObjectApiListener) EnterInterfaceRule(c *parser.InterfaceRuleContext)
EnterInterfaceRule is called when entering the InterfaceRule production.
func (*ObjectApiListener) EnterMetaRule ¶ added in v0.20.0
func (o *ObjectApiListener) EnterMetaRule(c *parser.MetaRuleContext)
func (*ObjectApiListener) EnterModuleRule ¶
func (o *ObjectApiListener) EnterModuleRule(c *parser.ModuleRuleContext)
EnterModuleRule is called when entering the moduleRule production.
func (*ObjectApiListener) EnterOperationParamRule ¶ added in v0.6.0
func (o *ObjectApiListener) EnterOperationParamRule(c *parser.OperationParamRuleContext)
EnterOperationParamRule is called when entering the operationArgRule production.
func (*ObjectApiListener) EnterOperationReturnRule ¶ added in v0.6.0
func (o *ObjectApiListener) EnterOperationReturnRule(c *parser.OperationReturnRuleContext)
EnterOperationReturnRule is called when entering the operationReturnRule production.
func (*ObjectApiListener) EnterOperationRule ¶ added in v0.6.0
func (o *ObjectApiListener) EnterOperationRule(c *parser.OperationRuleContext)
EnterMethodRule is called when entering the methodRule production.
func (*ObjectApiListener) EnterPrimitiveSchema ¶
func (o *ObjectApiListener) EnterPrimitiveSchema(c *parser.PrimitiveSchemaContext)
EnterPrimitiveSchema is called when entering the primitiveSchema production.
func (*ObjectApiListener) EnterPropertyRule ¶
func (o *ObjectApiListener) EnterPropertyRule(c *parser.PropertyRuleContext)
EnterPropertyRule is called when entering the propertyRule production.
func (*ObjectApiListener) EnterSchemaRule ¶
func (o *ObjectApiListener) EnterSchemaRule(c *parser.SchemaRuleContext)
EnterSchemaRule is called when entering the schemaRule production.
func (*ObjectApiListener) EnterSignalRule ¶
func (o *ObjectApiListener) EnterSignalRule(c *parser.SignalRuleContext)
EnterSignalRule is called when entering the signalRule production.
func (*ObjectApiListener) EnterStructFieldRule ¶
func (o *ObjectApiListener) EnterStructFieldRule(c *parser.StructFieldRuleContext)
EnterStructFieldRule is called when entering the structFieldRule production.
func (*ObjectApiListener) EnterStructRule ¶
func (o *ObjectApiListener) EnterStructRule(c *parser.StructRuleContext)
EnterStructRule is called when entering the structRule production.
func (*ObjectApiListener) EnterSymbolSchema ¶
func (o *ObjectApiListener) EnterSymbolSchema(c *parser.SymbolSchemaContext)
EnterReferenceSchema is called when entering the referenceSchema production.
func (*ObjectApiListener) ExitArrayRule ¶
func (o *ObjectApiListener) ExitArrayRule(c *parser.ArrayRuleContext)
ExitArraySchema is called when exiting the arraySchema production.
func (*ObjectApiListener) ExitDeclarationsRule ¶
func (o *ObjectApiListener) ExitDeclarationsRule(c *parser.DeclarationsRuleContext)
ExitDeclarationsRule is called when exiting the declarationsRule production.
func (*ObjectApiListener) ExitDocumentRule ¶
func (o *ObjectApiListener) ExitDocumentRule(c *parser.DocumentRuleContext)
ExitDocumentRule is called when exiting the documentRule production.
func (*ObjectApiListener) ExitEnumMemberRule ¶
func (o *ObjectApiListener) ExitEnumMemberRule(c *parser.EnumMemberRuleContext)
ExitEnumMemberRule is called when exiting the enumMemberRule production.
func (*ObjectApiListener) ExitEnumRule ¶
func (o *ObjectApiListener) ExitEnumRule(c *parser.EnumRuleContext)
ExitEnumRule is called when exiting the enumRule production.
func (*ObjectApiListener) ExitEveryRule ¶
func (o *ObjectApiListener) ExitEveryRule(ctx antlr.ParserRuleContext)
func (*ObjectApiListener) ExitHeaderRule ¶
func (o *ObjectApiListener) ExitHeaderRule(c *parser.HeaderRuleContext)
ExitHeaderRule is called when exiting the headerRule production.
func (*ObjectApiListener) ExitImportRule ¶
func (o *ObjectApiListener) ExitImportRule(c *parser.ImportRuleContext)
ExitImportRule is called when exiting the importRule production.
func (*ObjectApiListener) ExitInterfaceMembersRule ¶
func (o *ObjectApiListener) ExitInterfaceMembersRule(c *parser.InterfaceMembersRuleContext)
ExitInterfaceMembersRule is called when exiting the interfaceMembersRule production.
func (*ObjectApiListener) ExitInterfaceRule ¶
func (o *ObjectApiListener) ExitInterfaceRule(c *parser.InterfaceRuleContext)
ExitInterfaceRule is called when exiting the interfaceRule production.
func (*ObjectApiListener) ExitMetaRule ¶ added in v0.20.0
func (o *ObjectApiListener) ExitMetaRule(c *parser.MetaRuleContext)
func (*ObjectApiListener) ExitModuleRule ¶
func (o *ObjectApiListener) ExitModuleRule(c *parser.ModuleRuleContext)
ExitModuleRule is called when exiting the moduleRule production.
func (*ObjectApiListener) ExitOperationParamRule ¶ added in v0.6.0
func (o *ObjectApiListener) ExitOperationParamRule(c *parser.OperationParamRuleContext)
ExitOperationParamRule is called when exiting the operationArgRule production.
func (*ObjectApiListener) ExitOperationReturnRule ¶ added in v0.6.0
func (o *ObjectApiListener) ExitOperationReturnRule(c *parser.OperationReturnRuleContext)
ExitOperationReturnRule is called when exiting the operationReturnRule production.
func (*ObjectApiListener) ExitOperationRule ¶ added in v0.6.0
func (o *ObjectApiListener) ExitOperationRule(c *parser.OperationRuleContext)
ExitOperationRule is called when exiting the operationRule production.
func (*ObjectApiListener) ExitPrimitiveSchema ¶
func (o *ObjectApiListener) ExitPrimitiveSchema(c *parser.PrimitiveSchemaContext)
ExitPrimitiveSchema is called when exiting the primitiveSchema production.
func (*ObjectApiListener) ExitPropertyRule ¶
func (o *ObjectApiListener) ExitPropertyRule(c *parser.PropertyRuleContext)
ExitPropertyRule is called when exiting the propertyRule production.
func (*ObjectApiListener) ExitSchemaRule ¶
func (o *ObjectApiListener) ExitSchemaRule(c *parser.SchemaRuleContext)
ExitSchemaRule is called when exiting the schemaRule production.
func (*ObjectApiListener) ExitSignalRule ¶
func (o *ObjectApiListener) ExitSignalRule(c *parser.SignalRuleContext)
ExitSignalRule is called when exiting the signalRule production.
func (*ObjectApiListener) ExitStructFieldRule ¶
func (o *ObjectApiListener) ExitStructFieldRule(c *parser.StructFieldRuleContext)
ExitStructFieldRule is called when exiting the structFieldRule production.
func (*ObjectApiListener) ExitStructRule ¶
func (o *ObjectApiListener) ExitStructRule(c *parser.StructRuleContext)
ExitStructRule is called when exiting the structRule production.
func (*ObjectApiListener) ExitSymbolSchema ¶
func (o *ObjectApiListener) ExitSymbolSchema(c *parser.SymbolSchemaContext)
ExitReferenceSchema is called when exiting the referenceSchema production.
func (*ObjectApiListener) VisitErrorNode ¶
func (o *ObjectApiListener) VisitErrorNode(node antlr.ErrorNode)
func (*ObjectApiListener) VisitTerminal ¶
func (o *ObjectApiListener) VisitTerminal(node antlr.TerminalNode)