Documentation ¶
Index ¶
- Constants
- 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) EnterHeaderRule(ctx *HeaderRuleContext)
- func (s *BaseObjectApiListener) EnterImportRule(ctx *ImportRuleContext)
- func (s *BaseObjectApiListener) EnterInputRule(ctx *InputRuleContext)
- func (s *BaseObjectApiListener) EnterInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
- func (s *BaseObjectApiListener) EnterInterfaceRule(ctx *InterfaceRuleContext)
- func (s *BaseObjectApiListener) EnterMethodRule(ctx *MethodRuleContext)
- func (s *BaseObjectApiListener) EnterModuleRule(ctx *ModuleRuleContext)
- func (s *BaseObjectApiListener) EnterOutputRule(ctx *OutputRuleContext)
- 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) ExitHeaderRule(ctx *HeaderRuleContext)
- func (s *BaseObjectApiListener) ExitImportRule(ctx *ImportRuleContext)
- func (s *BaseObjectApiListener) ExitInputRule(ctx *InputRuleContext)
- func (s *BaseObjectApiListener) ExitInterfaceMembersRule(ctx *InterfaceMembersRuleContext)
- func (s *BaseObjectApiListener) ExitInterfaceRule(ctx *InterfaceRuleContext)
- func (s *BaseObjectApiListener) ExitMethodRule(ctx *MethodRuleContext)
- func (s *BaseObjectApiListener) ExitModuleRule(ctx *ModuleRuleContext)
- func (s *BaseObjectApiListener) ExitOutputRule(ctx *OutputRuleContext)
- 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) 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) 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) 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) 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) SetName(v antlr.Token)
- func (s *EnumRuleContext) 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 IHeaderRuleContext
- type IImportRuleContext
- type IInputRuleContext
- type IInterfaceMembersRuleContext
- type IInterfaceRuleContext
- type IMethodRuleContext
- type IModuleRuleContext
- type IOutputRuleContext
- 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 InputRuleContext
- func (s *InputRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InputRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InputRuleContext) GetName() antlr.Token
- func (s *InputRuleContext) GetParser() antlr.Parser
- func (s *InputRuleContext) GetRuleContext() antlr.RuleContext
- func (s *InputRuleContext) GetSchema() ISchemaRuleContext
- func (s *InputRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*InputRuleContext) IsInputRuleContext()
- func (s *InputRuleContext) SchemaRule() ISchemaRuleContext
- func (s *InputRuleContext) SetName(v antlr.Token)
- func (s *InputRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *InputRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- 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) MethodRule() IMethodRuleContext
- 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) AllInterfaceMembersRule() []IInterfaceMembersRuleContext
- func (s *InterfaceRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InterfaceRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InterfaceRuleContext) GetName() antlr.Token
- func (s *InterfaceRuleContext) GetParser() antlr.Parser
- func (s *InterfaceRuleContext) GetRuleContext() antlr.RuleContext
- func (s *InterfaceRuleContext) IDENTIFIER() antlr.TerminalNode
- func (s *InterfaceRuleContext) InterfaceMembersRule(i int) IInterfaceMembersRuleContext
- func (*InterfaceRuleContext) IsInterfaceRuleContext()
- func (s *InterfaceRuleContext) SetName(v antlr.Token)
- func (s *InterfaceRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MethodRuleContext
- func (s *MethodRuleContext) AllInputRule() []IInputRuleContext
- func (s *MethodRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MethodRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MethodRuleContext) GetInputs() IInputRuleContext
- func (s *MethodRuleContext) GetName() antlr.Token
- func (s *MethodRuleContext) GetParser() antlr.Parser
- func (s *MethodRuleContext) GetRuleContext() antlr.RuleContext
- func (s *MethodRuleContext) IDENTIFIER() antlr.TerminalNode
- func (s *MethodRuleContext) InputRule(i int) IInputRuleContext
- func (*MethodRuleContext) IsMethodRuleContext()
- func (s *MethodRuleContext) OutputRule() IOutputRuleContext
- func (s *MethodRuleContext) SetInputs(v IInputRuleContext)
- func (s *MethodRuleContext) SetName(v antlr.Token)
- func (s *MethodRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ModuleRuleContext
- 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) 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) HeaderRule() (localctx IHeaderRuleContext)
- func (p *ObjectApiParser) ImportRule() (localctx IImportRuleContext)
- func (p *ObjectApiParser) InputRule() (localctx IInputRuleContext)
- func (p *ObjectApiParser) InterfaceMembersRule() (localctx IInterfaceMembersRuleContext)
- func (p *ObjectApiParser) InterfaceRule() (localctx IInterfaceRuleContext)
- func (p *ObjectApiParser) MethodRule() (localctx IMethodRuleContext)
- func (p *ObjectApiParser) ModuleRule() (localctx IModuleRuleContext)
- func (p *ObjectApiParser) OutputRule() (localctx IOutputRuleContext)
- 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 OutputRuleContext
- func (s *OutputRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OutputRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OutputRuleContext) GetParser() antlr.Parser
- func (s *OutputRuleContext) GetRuleContext() antlr.RuleContext
- func (s *OutputRuleContext) GetSchema() ISchemaRuleContext
- func (*OutputRuleContext) IsOutputRuleContext()
- func (s *OutputRuleContext) SchemaRule() ISchemaRuleContext
- func (s *OutputRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *OutputRuleContext) 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) 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) GetRuleContext() antlr.RuleContext
- func (s *PropertyRuleContext) GetSchema() ISchemaRuleContext
- func (s *PropertyRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*PropertyRuleContext) IsPropertyRuleContext()
- func (s *PropertyRuleContext) SchemaRule() ISchemaRuleContext
- func (s *PropertyRuleContext) SetName(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) AllInputRule() []IInputRuleContext
- func (s *SignalRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SignalRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SignalRuleContext) GetInputs() IInputRuleContext
- func (s *SignalRuleContext) GetName() antlr.Token
- func (s *SignalRuleContext) GetParser() antlr.Parser
- func (s *SignalRuleContext) GetRuleContext() antlr.RuleContext
- func (s *SignalRuleContext) IDENTIFIER() antlr.TerminalNode
- func (s *SignalRuleContext) InputRule(i int) IInputRuleContext
- func (*SignalRuleContext) IsSignalRuleContext()
- func (s *SignalRuleContext) SetInputs(v IInputRuleContext)
- func (s *SignalRuleContext) SetName(v antlr.Token)
- func (s *SignalRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructFieldRuleContext
- 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) GetRuleContext() antlr.RuleContext
- func (s *StructFieldRuleContext) GetSchema() ISchemaRuleContext
- func (s *StructFieldRuleContext) IDENTIFIER() antlr.TerminalNode
- func (*StructFieldRuleContext) IsStructFieldRuleContext()
- func (s *StructFieldRuleContext) SchemaRule() ISchemaRuleContext
- func (s *StructFieldRuleContext) SetName(v antlr.Token)
- func (s *StructFieldRuleContext) SetSchema(v ISchemaRuleContext)
- func (s *StructFieldRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructRuleContext
- 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) 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 ObjectApiLexerWHITESPACE = 20 ObjectApiLexerINTEGER = 21 ObjectApiLexerHEX = 22 ObjectApiLexerTYPE_IDENTIFIER = 23 ObjectApiLexerIDENTIFIER = 24 ObjectApiLexerVERSION = 25 )
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 ObjectApiParserWHITESPACE = 20 ObjectApiParserINTEGER = 21 ObjectApiParserHEX = 22 ObjectApiParserTYPE_IDENTIFIER = 23 ObjectApiParserIDENTIFIER = 24 ObjectApiParserVERSION = 25 )
ObjectApiParser tokens.
const ( ObjectApiParserRULE_documentRule = 0 ObjectApiParserRULE_headerRule = 1 ObjectApiParserRULE_moduleRule = 2 ObjectApiParserRULE_importRule = 3 ObjectApiParserRULE_declarationsRule = 4 ObjectApiParserRULE_interfaceRule = 5 ObjectApiParserRULE_interfaceMembersRule = 6 ObjectApiParserRULE_propertyRule = 7 ObjectApiParserRULE_methodRule = 8 ObjectApiParserRULE_outputRule = 9 ObjectApiParserRULE_inputRule = 10 ObjectApiParserRULE_signalRule = 11 ObjectApiParserRULE_structRule = 12 ObjectApiParserRULE_structFieldRule = 13 ObjectApiParserRULE_enumRule = 14 ObjectApiParserRULE_enumMemberRule = 15 ObjectApiParserRULE_schemaRule = 16 ObjectApiParserRULE_arrayRule = 17 ObjectApiParserRULE_primitiveSchema = 18 ObjectApiParserRULE_symbolSchema = 19 )
ObjectApiParser rules.
Variables ¶
This section is empty.
Functions ¶
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) 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) EnterInputRule ¶
func (s *BaseObjectApiListener) EnterInputRule(ctx *InputRuleContext)
EnterInputRule is called when production inputRule 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) EnterMethodRule ¶
func (s *BaseObjectApiListener) EnterMethodRule(ctx *MethodRuleContext)
EnterMethodRule is called when production methodRule is entered.
func (*BaseObjectApiListener) EnterModuleRule ¶
func (s *BaseObjectApiListener) EnterModuleRule(ctx *ModuleRuleContext)
EnterModuleRule is called when production moduleRule is entered.
func (*BaseObjectApiListener) EnterOutputRule ¶
func (s *BaseObjectApiListener) EnterOutputRule(ctx *OutputRuleContext)
EnterOutputRule is called when production outputRule 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) 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) ExitInputRule ¶
func (s *BaseObjectApiListener) ExitInputRule(ctx *InputRuleContext)
ExitInputRule is called when production inputRule 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) ExitMethodRule ¶
func (s *BaseObjectApiListener) ExitMethodRule(ctx *MethodRuleContext)
ExitMethodRule is called when production methodRule is exited.
func (*BaseObjectApiListener) ExitModuleRule ¶
func (s *BaseObjectApiListener) ExitModuleRule(ctx *ModuleRuleContext)
ExitModuleRule is called when production moduleRule is exited.
func (*BaseObjectApiListener) ExitOutputRule ¶
func (s *BaseObjectApiListener) ExitOutputRule(ctx *OutputRuleContext)
ExitOutputRule is called when production outputRule 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) 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) 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) 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) 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) SetName ¶
func (s *EnumRuleContext) SetName(v antlr.Token)
func (*EnumRuleContext) ToStringTree ¶
func (s *EnumRuleContext) 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 // 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 // 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) // 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) // IsEnumRuleContext differentiates from other interfaces. IsEnumRuleContext() }
IEnumRuleContext is an interface to support dynamic dispatch.
type IHeaderRuleContext ¶
type IHeaderRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // 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) // IsImportRuleContext differentiates from other interfaces. IsImportRuleContext() }
IImportRuleContext is an interface to support dynamic dispatch.
type IInputRuleContext ¶
type IInputRuleContext 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) // IsInputRuleContext differentiates from other interfaces. IsInputRuleContext() }
IInputRuleContext is an interface to support dynamic dispatch.
type IInterfaceMembersRuleContext ¶
type IInterfaceMembersRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // 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 // SetName sets the name token. SetName(antlr.Token) // IsInterfaceRuleContext differentiates from other interfaces. IsInterfaceRuleContext() }
IInterfaceRuleContext is an interface to support dynamic dispatch.
type IMethodRuleContext ¶
type IMethodRuleContext 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) // GetInputs returns the inputs rule contexts. GetInputs() IInputRuleContext // SetInputs sets the inputs rule contexts. SetInputs(IInputRuleContext) // IsMethodRuleContext differentiates from other interfaces. IsMethodRuleContext() }
IMethodRuleContext 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) // IsModuleRuleContext differentiates from other interfaces. IsModuleRuleContext() }
IModuleRuleContext is an interface to support dynamic dispatch.
type IOutputRuleContext ¶
type IOutputRuleContext 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) // IsOutputRuleContext differentiates from other interfaces. IsOutputRuleContext() }
IOutputRuleContext 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 // 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) // 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 // 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) // GetInputs returns the inputs rule contexts. GetInputs() IInputRuleContext // SetInputs sets the inputs rule contexts. SetInputs(IInputRuleContext) // 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 // 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) // 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) // 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) // 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 InputRuleContext ¶
type InputRuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInputRuleContext ¶
func NewEmptyInputRuleContext() *InputRuleContext
func NewInputRuleContext ¶
func NewInputRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InputRuleContext
func (*InputRuleContext) EnterRule ¶
func (s *InputRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*InputRuleContext) ExitRule ¶
func (s *InputRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*InputRuleContext) GetName ¶
func (s *InputRuleContext) GetName() antlr.Token
func (*InputRuleContext) GetParser ¶
func (s *InputRuleContext) GetParser() antlr.Parser
func (*InputRuleContext) GetRuleContext ¶
func (s *InputRuleContext) GetRuleContext() antlr.RuleContext
func (*InputRuleContext) GetSchema ¶
func (s *InputRuleContext) GetSchema() ISchemaRuleContext
func (*InputRuleContext) IDENTIFIER ¶
func (s *InputRuleContext) IDENTIFIER() antlr.TerminalNode
func (*InputRuleContext) IsInputRuleContext ¶
func (*InputRuleContext) IsInputRuleContext()
func (*InputRuleContext) SchemaRule ¶
func (s *InputRuleContext) SchemaRule() ISchemaRuleContext
func (*InputRuleContext) SetName ¶
func (s *InputRuleContext) SetName(v antlr.Token)
func (*InputRuleContext) SetSchema ¶
func (s *InputRuleContext) SetSchema(v ISchemaRuleContext)
func (*InputRuleContext) ToStringTree ¶
func (s *InputRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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) MethodRule ¶
func (s *InterfaceMembersRuleContext) MethodRule() IMethodRuleContext
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) AllInterfaceMembersRule ¶
func (s *InterfaceRuleContext) AllInterfaceMembersRule() []IInterfaceMembersRuleContext
func (*InterfaceRuleContext) EnterRule ¶
func (s *InterfaceRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*InterfaceRuleContext) ExitRule ¶
func (s *InterfaceRuleContext) ExitRule(listener antlr.ParseTreeListener)
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() antlr.TerminalNode
func (*InterfaceRuleContext) InterfaceMembersRule ¶
func (s *InterfaceRuleContext) InterfaceMembersRule(i int) IInterfaceMembersRuleContext
func (*InterfaceRuleContext) IsInterfaceRuleContext ¶
func (*InterfaceRuleContext) IsInterfaceRuleContext()
func (*InterfaceRuleContext) SetName ¶
func (s *InterfaceRuleContext) SetName(v antlr.Token)
func (*InterfaceRuleContext) ToStringTree ¶
func (s *InterfaceRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MethodRuleContext ¶
type MethodRuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMethodRuleContext ¶
func NewEmptyMethodRuleContext() *MethodRuleContext
func NewMethodRuleContext ¶
func NewMethodRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodRuleContext
func (*MethodRuleContext) AllInputRule ¶
func (s *MethodRuleContext) AllInputRule() []IInputRuleContext
func (*MethodRuleContext) EnterRule ¶
func (s *MethodRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*MethodRuleContext) ExitRule ¶
func (s *MethodRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*MethodRuleContext) GetInputs ¶
func (s *MethodRuleContext) GetInputs() IInputRuleContext
func (*MethodRuleContext) GetName ¶
func (s *MethodRuleContext) GetName() antlr.Token
func (*MethodRuleContext) GetParser ¶
func (s *MethodRuleContext) GetParser() antlr.Parser
func (*MethodRuleContext) GetRuleContext ¶
func (s *MethodRuleContext) GetRuleContext() antlr.RuleContext
func (*MethodRuleContext) IDENTIFIER ¶
func (s *MethodRuleContext) IDENTIFIER() antlr.TerminalNode
func (*MethodRuleContext) InputRule ¶
func (s *MethodRuleContext) InputRule(i int) IInputRuleContext
func (*MethodRuleContext) IsMethodRuleContext ¶
func (*MethodRuleContext) IsMethodRuleContext()
func (*MethodRuleContext) OutputRule ¶
func (s *MethodRuleContext) OutputRule() IOutputRuleContext
func (*MethodRuleContext) SetInputs ¶
func (s *MethodRuleContext) SetInputs(v IInputRuleContext)
func (*MethodRuleContext) SetName ¶
func (s *MethodRuleContext) SetName(v antlr.Token)
func (*MethodRuleContext) ToStringTree ¶
func (s *MethodRuleContext) 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) 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) 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 ¶
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) // 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) // EnterMethodRule is called when entering the methodRule production. EnterMethodRule(c *MethodRuleContext) // EnterOutputRule is called when entering the outputRule production. EnterOutputRule(c *OutputRuleContext) // EnterInputRule is called when entering the inputRule production. EnterInputRule(c *InputRuleContext) // 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) // 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) // 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) // ExitMethodRule is called when exiting the methodRule production. ExitMethodRule(c *MethodRuleContext) // ExitOutputRule is called when exiting the outputRule production. ExitOutputRule(c *OutputRuleContext) // ExitInputRule is called when exiting the inputRule production. ExitInputRule(c *InputRuleContext) // 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) }
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) HeaderRule ¶
func (p *ObjectApiParser) HeaderRule() (localctx IHeaderRuleContext)
func (*ObjectApiParser) ImportRule ¶
func (p *ObjectApiParser) ImportRule() (localctx IImportRuleContext)
func (*ObjectApiParser) InputRule ¶
func (p *ObjectApiParser) InputRule() (localctx IInputRuleContext)
func (*ObjectApiParser) InterfaceMembersRule ¶
func (p *ObjectApiParser) InterfaceMembersRule() (localctx IInterfaceMembersRuleContext)
func (*ObjectApiParser) InterfaceRule ¶
func (p *ObjectApiParser) InterfaceRule() (localctx IInterfaceRuleContext)
func (*ObjectApiParser) MethodRule ¶
func (p *ObjectApiParser) MethodRule() (localctx IMethodRuleContext)
func (*ObjectApiParser) ModuleRule ¶
func (p *ObjectApiParser) ModuleRule() (localctx IModuleRuleContext)
func (*ObjectApiParser) OutputRule ¶
func (p *ObjectApiParser) OutputRule() (localctx IOutputRuleContext)
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 OutputRuleContext ¶
type OutputRuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOutputRuleContext ¶
func NewEmptyOutputRuleContext() *OutputRuleContext
func NewOutputRuleContext ¶
func NewOutputRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OutputRuleContext
func (*OutputRuleContext) EnterRule ¶
func (s *OutputRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*OutputRuleContext) ExitRule ¶
func (s *OutputRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*OutputRuleContext) GetParser ¶
func (s *OutputRuleContext) GetParser() antlr.Parser
func (*OutputRuleContext) GetRuleContext ¶
func (s *OutputRuleContext) GetRuleContext() antlr.RuleContext
func (*OutputRuleContext) GetSchema ¶
func (s *OutputRuleContext) GetSchema() ISchemaRuleContext
func (*OutputRuleContext) IsOutputRuleContext ¶
func (*OutputRuleContext) IsOutputRuleContext()
func (*OutputRuleContext) SchemaRule ¶
func (s *OutputRuleContext) SchemaRule() ISchemaRuleContext
func (*OutputRuleContext) SetSchema ¶
func (s *OutputRuleContext) SetSchema(v ISchemaRuleContext)
func (*OutputRuleContext) ToStringTree ¶
func (s *OutputRuleContext) 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) 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) 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) SchemaRule ¶
func (s *PropertyRuleContext) SchemaRule() ISchemaRuleContext
func (*PropertyRuleContext) SetName ¶
func (s *PropertyRuleContext) SetName(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) AllInputRule ¶
func (s *SignalRuleContext) AllInputRule() []IInputRuleContext
func (*SignalRuleContext) EnterRule ¶
func (s *SignalRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*SignalRuleContext) ExitRule ¶
func (s *SignalRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*SignalRuleContext) GetInputs ¶
func (s *SignalRuleContext) GetInputs() IInputRuleContext
func (*SignalRuleContext) GetName ¶
func (s *SignalRuleContext) GetName() antlr.Token
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) InputRule ¶
func (s *SignalRuleContext) InputRule(i int) IInputRuleContext
func (*SignalRuleContext) IsSignalRuleContext ¶
func (*SignalRuleContext) IsSignalRuleContext()
func (*SignalRuleContext) SetInputs ¶
func (s *SignalRuleContext) SetInputs(v IInputRuleContext)
func (*SignalRuleContext) SetName ¶
func (s *SignalRuleContext) SetName(v antlr.Token)
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) 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) 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) SchemaRule ¶
func (s *StructFieldRuleContext) SchemaRule() ISchemaRuleContext
func (*StructFieldRuleContext) SetName ¶
func (s *StructFieldRuleContext) SetName(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) 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) 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