Documentation ¶
Index ¶
- Constants
- func XDRLexerInit()
- func XDRParserInit()
- type BaseXDRListener
- func (s *BaseXDRListener) EnterCaseSpec(ctx *CaseSpecContext)
- func (s *BaseXDRListener) EnterConstant(ctx *ConstantContext)
- func (s *BaseXDRListener) EnterConstantDef(ctx *ConstantDefContext)
- func (s *BaseXDRListener) EnterDeclaration(ctx *DeclarationContext)
- func (s *BaseXDRListener) EnterDefinition(ctx *DefinitionContext)
- func (s *BaseXDRListener) EnterEnumBody(ctx *EnumBodyContext)
- func (s *BaseXDRListener) EnterEnumTypeSpec(ctx *EnumTypeSpecContext)
- func (s *BaseXDRListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseXDRListener) EnterImports(ctx *ImportsContext)
- func (s *BaseXDRListener) EnterNamedDeclaration(ctx *NamedDeclarationContext)
- func (s *BaseXDRListener) EnterProcFirstArg(ctx *ProcFirstArgContext)
- func (s *BaseXDRListener) EnterProcReturn(ctx *ProcReturnContext)
- func (s *BaseXDRListener) EnterProcedureDef(ctx *ProcedureDefContext)
- func (s *BaseXDRListener) EnterProgramDef(ctx *ProgramDefContext)
- func (s *BaseXDRListener) EnterSpecification(ctx *SpecificationContext)
- func (s *BaseXDRListener) EnterStringConstant(ctx *StringConstantContext)
- func (s *BaseXDRListener) EnterStructBody(ctx *StructBodyContext)
- func (s *BaseXDRListener) EnterStructTypeSpec(ctx *StructTypeSpecContext)
- func (s *BaseXDRListener) EnterTopLevel(ctx *TopLevelContext)
- func (s *BaseXDRListener) EnterTypeDef(ctx *TypeDefContext)
- func (s *BaseXDRListener) EnterTypeSpecifier(ctx *TypeSpecifierContext)
- func (s *BaseXDRListener) EnterUnionBody(ctx *UnionBodyContext)
- func (s *BaseXDRListener) EnterUnionTypeSpec(ctx *UnionTypeSpecContext)
- func (s *BaseXDRListener) EnterValue(ctx *ValueContext)
- func (s *BaseXDRListener) EnterVersionDef(ctx *VersionDefContext)
- func (s *BaseXDRListener) ExitCaseSpec(ctx *CaseSpecContext)
- func (s *BaseXDRListener) ExitConstant(ctx *ConstantContext)
- func (s *BaseXDRListener) ExitConstantDef(ctx *ConstantDefContext)
- func (s *BaseXDRListener) ExitDeclaration(ctx *DeclarationContext)
- func (s *BaseXDRListener) ExitDefinition(ctx *DefinitionContext)
- func (s *BaseXDRListener) ExitEnumBody(ctx *EnumBodyContext)
- func (s *BaseXDRListener) ExitEnumTypeSpec(ctx *EnumTypeSpecContext)
- func (s *BaseXDRListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseXDRListener) ExitImports(ctx *ImportsContext)
- func (s *BaseXDRListener) ExitNamedDeclaration(ctx *NamedDeclarationContext)
- func (s *BaseXDRListener) ExitProcFirstArg(ctx *ProcFirstArgContext)
- func (s *BaseXDRListener) ExitProcReturn(ctx *ProcReturnContext)
- func (s *BaseXDRListener) ExitProcedureDef(ctx *ProcedureDefContext)
- func (s *BaseXDRListener) ExitProgramDef(ctx *ProgramDefContext)
- func (s *BaseXDRListener) ExitSpecification(ctx *SpecificationContext)
- func (s *BaseXDRListener) ExitStringConstant(ctx *StringConstantContext)
- func (s *BaseXDRListener) ExitStructBody(ctx *StructBodyContext)
- func (s *BaseXDRListener) ExitStructTypeSpec(ctx *StructTypeSpecContext)
- func (s *BaseXDRListener) ExitTopLevel(ctx *TopLevelContext)
- func (s *BaseXDRListener) ExitTypeDef(ctx *TypeDefContext)
- func (s *BaseXDRListener) ExitTypeSpecifier(ctx *TypeSpecifierContext)
- func (s *BaseXDRListener) ExitUnionBody(ctx *UnionBodyContext)
- func (s *BaseXDRListener) ExitUnionTypeSpec(ctx *UnionTypeSpecContext)
- func (s *BaseXDRListener) ExitValue(ctx *ValueContext)
- func (s *BaseXDRListener) ExitVersionDef(ctx *VersionDefContext)
- func (s *BaseXDRListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseXDRListener) VisitTerminal(node antlr.TerminalNode)
- type CaseSpecContext
- func (s *CaseSpecContext) AllValue() []IValueContext
- func (s *CaseSpecContext) Declaration() IDeclarationContext
- func (s *CaseSpecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CaseSpecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CaseSpecContext) GetParser() antlr.Parser
- func (s *CaseSpecContext) GetRuleContext() antlr.RuleContext
- func (s *CaseSpecContext) GetV() model.CaseSpec
- func (s *CaseSpecContext) GetValues() []model.Value
- func (s *CaseSpecContext) Get_declaration() IDeclarationContext
- func (s *CaseSpecContext) Get_value() IValueContext
- func (*CaseSpecContext) IsCaseSpecContext()
- func (s *CaseSpecContext) SetV(v model.CaseSpec)
- func (s *CaseSpecContext) SetValues(v []model.Value)
- func (s *CaseSpecContext) Set_declaration(v IDeclarationContext)
- func (s *CaseSpecContext) Set_value(v IValueContext)
- func (s *CaseSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CaseSpecContext) Value(i int) IValueContext
- type ConstantContext
- func (s *ConstantContext) DECIMAL_CONSTANT() antlr.TerminalNode
- func (s *ConstantContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstantContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstantContext) GetParser() antlr.Parser
- func (s *ConstantContext) GetRuleContext() antlr.RuleContext
- func (s *ConstantContext) GetS() antlr.Token
- func (s *ConstantContext) GetV() *big.Int
- func (s *ConstantContext) HEXADECIMAL_CONSTANT() antlr.TerminalNode
- func (*ConstantContext) IsConstantContext()
- func (s *ConstantContext) OCTAL_CONSTANT() antlr.TerminalNode
- func (s *ConstantContext) SetS(v antlr.Token)
- func (s *ConstantContext) SetV(v *big.Int)
- func (s *ConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConstantDefContext
- func (s *ConstantDefContext) Constant() IConstantContext
- func (s *ConstantDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstantDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstantDefContext) GetParser() antlr.Parser
- func (s *ConstantDefContext) GetRuleContext() antlr.RuleContext
- func (s *ConstantDefContext) GetV() model.Definition
- func (s *ConstantDefContext) Get_IDENTIFIER() antlr.Token
- func (s *ConstantDefContext) Get_constant() IConstantContext
- func (s *ConstantDefContext) IDENTIFIER() antlr.TerminalNode
- func (*ConstantDefContext) IsConstantDefContext()
- func (s *ConstantDefContext) SetV(v model.Definition)
- func (s *ConstantDefContext) Set_IDENTIFIER(v antlr.Token)
- func (s *ConstantDefContext) Set_constant(v IConstantContext)
- func (s *ConstantDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeclarationContext
- func (s *DeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclarationContext) GetParser() antlr.Parser
- func (s *DeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *DeclarationContext) GetV() model.Declaration
- func (s *DeclarationContext) Get_namedDeclaration() INamedDeclarationContext
- func (*DeclarationContext) IsDeclarationContext()
- func (s *DeclarationContext) NamedDeclaration() INamedDeclarationContext
- func (s *DeclarationContext) SetV(v model.Declaration)
- func (s *DeclarationContext) Set_namedDeclaration(v INamedDeclarationContext)
- func (s *DeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefinitionContext
- func (s *DefinitionContext) ConstantDef() IConstantDefContext
- func (s *DefinitionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefinitionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefinitionContext) GetParser() antlr.Parser
- func (s *DefinitionContext) GetRuleContext() antlr.RuleContext
- func (s *DefinitionContext) GetV() model.Definition
- func (s *DefinitionContext) Get_constantDef() IConstantDefContext
- func (s *DefinitionContext) Get_programDef() IProgramDefContext
- func (s *DefinitionContext) Get_typeDef() ITypeDefContext
- func (*DefinitionContext) IsDefinitionContext()
- func (s *DefinitionContext) ProgramDef() IProgramDefContext
- func (s *DefinitionContext) SetV(v model.Definition)
- func (s *DefinitionContext) Set_constantDef(v IConstantDefContext)
- func (s *DefinitionContext) Set_programDef(v IProgramDefContext)
- func (s *DefinitionContext) Set_typeDef(v ITypeDefContext)
- func (s *DefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DefinitionContext) TypeDef() ITypeDefContext
- type EnumBodyContext
- func (s *EnumBodyContext) AllIDENTIFIER() []antlr.TerminalNode
- func (s *EnumBodyContext) AllValue() []IValueContext
- func (s *EnumBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumBodyContext) GetElements() map[string]model.Value
- func (s *EnumBodyContext) GetParser() antlr.Parser
- func (s *EnumBodyContext) GetRuleContext() antlr.RuleContext
- func (s *EnumBodyContext) GetV() model.Type
- func (s *EnumBodyContext) Get_IDENTIFIER() antlr.Token
- func (s *EnumBodyContext) Get_value() IValueContext
- func (s *EnumBodyContext) IDENTIFIER(i int) antlr.TerminalNode
- func (*EnumBodyContext) IsEnumBodyContext()
- func (s *EnumBodyContext) SetElements(v map[string]model.Value)
- func (s *EnumBodyContext) SetV(v model.Type)
- func (s *EnumBodyContext) Set_IDENTIFIER(v antlr.Token)
- func (s *EnumBodyContext) Set_value(v IValueContext)
- func (s *EnumBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EnumBodyContext) Value(i int) IValueContext
- type EnumTypeSpecContext
- func (s *EnumTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumTypeSpecContext) EnumBody() IEnumBodyContext
- func (s *EnumTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumTypeSpecContext) GetParser() antlr.Parser
- func (s *EnumTypeSpecContext) GetRuleContext() antlr.RuleContext
- func (s *EnumTypeSpecContext) GetV() model.Type
- func (s *EnumTypeSpecContext) Get_enumBody() IEnumBodyContext
- func (*EnumTypeSpecContext) IsEnumTypeSpecContext()
- func (s *EnumTypeSpecContext) SetV(v model.Type)
- func (s *EnumTypeSpecContext) Set_enumBody(v IEnumBodyContext)
- func (s *EnumTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ICaseSpecContext
- type IConstantContext
- type IConstantDefContext
- type IDeclarationContext
- type IDefinitionContext
- type IEnumBodyContext
- type IEnumTypeSpecContext
- type IImportsContext
- type INamedDeclarationContext
- type IProcFirstArgContext
- type IProcReturnContext
- type IProcedureDefContext
- type IProgramDefContext
- type ISpecificationContext
- type IStringConstantContext
- type IStructBodyContext
- type IStructTypeSpecContext
- type ITopLevelContext
- type ITypeDefContext
- type ITypeSpecifierContext
- type IUnionBodyContext
- type IUnionTypeSpecContext
- type IValueContext
- type IVersionDefContext
- type ImportsContext
- func (s *ImportsContext) AllStringConstant() []IStringConstantContext
- func (s *ImportsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImportsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImportsContext) GetParser() antlr.Parser
- func (s *ImportsContext) GetRuleContext() antlr.RuleContext
- func (s *ImportsContext) GetV() []string
- func (s *ImportsContext) Get_stringConstant() IStringConstantContext
- func (*ImportsContext) IsImportsContext()
- func (s *ImportsContext) SetV(v []string)
- func (s *ImportsContext) Set_stringConstant(v IStringConstantContext)
- func (s *ImportsContext) StringConstant(i int) IStringConstantContext
- func (s *ImportsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NamedDeclarationContext
- func (s *NamedDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NamedDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NamedDeclarationContext) GetParser() antlr.Parser
- func (s *NamedDeclarationContext) GetRuleContext() antlr.RuleContext
- func (s *NamedDeclarationContext) GetV() model.NamedDeclaration
- func (s *NamedDeclarationContext) Get_IDENTIFIER() antlr.Token
- func (s *NamedDeclarationContext) Get_typeSpecifier() ITypeSpecifierContext
- func (s *NamedDeclarationContext) Get_value() IValueContext
- func (s *NamedDeclarationContext) IDENTIFIER() antlr.TerminalNode
- func (*NamedDeclarationContext) IsNamedDeclarationContext()
- func (s *NamedDeclarationContext) SetV(v model.NamedDeclaration)
- func (s *NamedDeclarationContext) Set_IDENTIFIER(v antlr.Token)
- func (s *NamedDeclarationContext) Set_typeSpecifier(v ITypeSpecifierContext)
- func (s *NamedDeclarationContext) Set_value(v IValueContext)
- func (s *NamedDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *NamedDeclarationContext) TypeSpecifier() ITypeSpecifierContext
- func (s *NamedDeclarationContext) Value() IValueContext
- type ProcFirstArgContext
- func (s *ProcFirstArgContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProcFirstArgContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProcFirstArgContext) GetParser() antlr.Parser
- func (s *ProcFirstArgContext) GetRuleContext() antlr.RuleContext
- func (s *ProcFirstArgContext) GetV() model.Type
- func (s *ProcFirstArgContext) Get_typeSpecifier() ITypeSpecifierContext
- func (*ProcFirstArgContext) IsProcFirstArgContext()
- func (s *ProcFirstArgContext) SetV(v model.Type)
- func (s *ProcFirstArgContext) Set_typeSpecifier(v ITypeSpecifierContext)
- func (s *ProcFirstArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProcFirstArgContext) TypeSpecifier() ITypeSpecifierContext
- type ProcReturnContext
- func (s *ProcReturnContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProcReturnContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProcReturnContext) GetParser() antlr.Parser
- func (s *ProcReturnContext) GetRuleContext() antlr.RuleContext
- func (s *ProcReturnContext) GetV() model.Type
- func (s *ProcReturnContext) Get_typeSpecifier() ITypeSpecifierContext
- func (*ProcReturnContext) IsProcReturnContext()
- func (s *ProcReturnContext) SetV(v model.Type)
- func (s *ProcReturnContext) Set_typeSpecifier(v ITypeSpecifierContext)
- func (s *ProcReturnContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProcReturnContext) TypeSpecifier() ITypeSpecifierContext
- type ProcedureDefContext
- func (s *ProcedureDefContext) AllTypeSpecifier() []ITypeSpecifierContext
- func (s *ProcedureDefContext) Constant() IConstantContext
- func (s *ProcedureDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProcedureDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProcedureDefContext) GetArguments() []model.Type
- func (s *ProcedureDefContext) GetParser() antlr.Parser
- func (s *ProcedureDefContext) GetRuleContext() antlr.RuleContext
- func (s *ProcedureDefContext) GetV() model.Procedure
- func (s *ProcedureDefContext) Get_IDENTIFIER() antlr.Token
- func (s *ProcedureDefContext) Get_constant() IConstantContext
- func (s *ProcedureDefContext) Get_procFirstArg() IProcFirstArgContext
- func (s *ProcedureDefContext) Get_procReturn() IProcReturnContext
- func (s *ProcedureDefContext) Get_typeSpecifier() ITypeSpecifierContext
- func (s *ProcedureDefContext) IDENTIFIER() antlr.TerminalNode
- func (*ProcedureDefContext) IsProcedureDefContext()
- func (s *ProcedureDefContext) ProcFirstArg() IProcFirstArgContext
- func (s *ProcedureDefContext) ProcReturn() IProcReturnContext
- func (s *ProcedureDefContext) SetArguments(v []model.Type)
- func (s *ProcedureDefContext) SetV(v model.Procedure)
- func (s *ProcedureDefContext) Set_IDENTIFIER(v antlr.Token)
- func (s *ProcedureDefContext) Set_constant(v IConstantContext)
- func (s *ProcedureDefContext) Set_procFirstArg(v IProcFirstArgContext)
- func (s *ProcedureDefContext) Set_procReturn(v IProcReturnContext)
- func (s *ProcedureDefContext) Set_typeSpecifier(v ITypeSpecifierContext)
- func (s *ProcedureDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProcedureDefContext) TypeSpecifier(i int) ITypeSpecifierContext
- type ProgramDefContext
- func (s *ProgramDefContext) AllVersionDef() []IVersionDefContext
- func (s *ProgramDefContext) Constant() IConstantContext
- func (s *ProgramDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgramDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgramDefContext) GetParser() antlr.Parser
- func (s *ProgramDefContext) GetRuleContext() antlr.RuleContext
- func (s *ProgramDefContext) GetV() model.Definition
- func (s *ProgramDefContext) GetVersions() []model.Version
- func (s *ProgramDefContext) Get_IDENTIFIER() antlr.Token
- func (s *ProgramDefContext) Get_constant() IConstantContext
- func (s *ProgramDefContext) Get_versionDef() IVersionDefContext
- func (s *ProgramDefContext) IDENTIFIER() antlr.TerminalNode
- func (*ProgramDefContext) IsProgramDefContext()
- func (s *ProgramDefContext) SetV(v model.Definition)
- func (s *ProgramDefContext) SetVersions(v []model.Version)
- func (s *ProgramDefContext) Set_IDENTIFIER(v antlr.Token)
- func (s *ProgramDefContext) Set_constant(v IConstantContext)
- func (s *ProgramDefContext) Set_versionDef(v IVersionDefContext)
- func (s *ProgramDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProgramDefContext) VersionDef(i int) IVersionDefContext
- type SpecificationContext
- func (s *SpecificationContext) AllDefinition() []IDefinitionContext
- func (s *SpecificationContext) Definition(i int) IDefinitionContext
- func (s *SpecificationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SpecificationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SpecificationContext) GetParser() antlr.Parser
- func (s *SpecificationContext) GetRuleContext() antlr.RuleContext
- func (s *SpecificationContext) GetV() []model.Definition
- func (s *SpecificationContext) Get_definition() IDefinitionContext
- func (*SpecificationContext) IsSpecificationContext()
- func (s *SpecificationContext) SetV(v []model.Definition)
- func (s *SpecificationContext) Set_definition(v IDefinitionContext)
- func (s *SpecificationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringConstantContext
- func (s *StringConstantContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringConstantContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringConstantContext) GetParser() antlr.Parser
- func (s *StringConstantContext) GetRuleContext() antlr.RuleContext
- func (s *StringConstantContext) GetV() string
- func (s *StringConstantContext) Get_STRING_CONSTANT() antlr.Token
- func (*StringConstantContext) IsStringConstantContext()
- func (s *StringConstantContext) STRING_CONSTANT() antlr.TerminalNode
- func (s *StringConstantContext) SetV(v string)
- func (s *StringConstantContext) Set_STRING_CONSTANT(v antlr.Token)
- func (s *StringConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructBodyContext
- func (s *StructBodyContext) AllNamedDeclaration() []INamedDeclarationContext
- func (s *StructBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructBodyContext) GetDeclarations() []model.NamedDeclaration
- func (s *StructBodyContext) GetParser() antlr.Parser
- func (s *StructBodyContext) GetRuleContext() antlr.RuleContext
- func (s *StructBodyContext) GetV() model.Type
- func (s *StructBodyContext) Get_namedDeclaration() INamedDeclarationContext
- func (*StructBodyContext) IsStructBodyContext()
- func (s *StructBodyContext) NamedDeclaration(i int) INamedDeclarationContext
- func (s *StructBodyContext) SetDeclarations(v []model.NamedDeclaration)
- func (s *StructBodyContext) SetV(v model.Type)
- func (s *StructBodyContext) Set_namedDeclaration(v INamedDeclarationContext)
- func (s *StructBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StructTypeSpecContext
- func (s *StructTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StructTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StructTypeSpecContext) GetParser() antlr.Parser
- func (s *StructTypeSpecContext) GetRuleContext() antlr.RuleContext
- func (s *StructTypeSpecContext) GetV() model.Type
- func (s *StructTypeSpecContext) Get_structBody() IStructBodyContext
- func (*StructTypeSpecContext) IsStructTypeSpecContext()
- func (s *StructTypeSpecContext) SetV(v model.Type)
- func (s *StructTypeSpecContext) Set_structBody(v IStructBodyContext)
- func (s *StructTypeSpecContext) StructBody() IStructBodyContext
- func (s *StructTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TopLevelContext
- func (s *TopLevelContext) EOF() antlr.TerminalNode
- func (s *TopLevelContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TopLevelContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TopLevelContext) GetParser() antlr.Parser
- func (s *TopLevelContext) GetRuleContext() antlr.RuleContext
- func (s *TopLevelContext) GetV() model.TopLevel
- func (s *TopLevelContext) Get_imports() IImportsContext
- func (s *TopLevelContext) Get_specification() ISpecificationContext
- func (s *TopLevelContext) Get_stringConstant() IStringConstantContext
- func (s *TopLevelContext) Imports() IImportsContext
- func (*TopLevelContext) IsTopLevelContext()
- func (s *TopLevelContext) SetV(v model.TopLevel)
- func (s *TopLevelContext) Set_imports(v IImportsContext)
- func (s *TopLevelContext) Set_specification(v ISpecificationContext)
- func (s *TopLevelContext) Set_stringConstant(v IStringConstantContext)
- func (s *TopLevelContext) Specification() ISpecificationContext
- func (s *TopLevelContext) StringConstant() IStringConstantContext
- func (s *TopLevelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeDefContext
- func (s *TypeDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeDefContext) EnumBody() IEnumBodyContext
- func (s *TypeDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeDefContext) GetParser() antlr.Parser
- func (s *TypeDefContext) GetRuleContext() antlr.RuleContext
- func (s *TypeDefContext) GetV() model.NamedDeclaration
- func (s *TypeDefContext) Get_IDENTIFIER() antlr.Token
- func (s *TypeDefContext) Get_enumBody() IEnumBodyContext
- func (s *TypeDefContext) Get_namedDeclaration() INamedDeclarationContext
- func (s *TypeDefContext) Get_structBody() IStructBodyContext
- func (s *TypeDefContext) Get_unionBody() IUnionBodyContext
- func (s *TypeDefContext) IDENTIFIER() antlr.TerminalNode
- func (*TypeDefContext) IsTypeDefContext()
- func (s *TypeDefContext) NamedDeclaration() INamedDeclarationContext
- func (s *TypeDefContext) SetV(v model.NamedDeclaration)
- func (s *TypeDefContext) Set_IDENTIFIER(v antlr.Token)
- func (s *TypeDefContext) Set_enumBody(v IEnumBodyContext)
- func (s *TypeDefContext) Set_namedDeclaration(v INamedDeclarationContext)
- func (s *TypeDefContext) Set_structBody(v IStructBodyContext)
- func (s *TypeDefContext) Set_unionBody(v IUnionBodyContext)
- func (s *TypeDefContext) StructBody() IStructBodyContext
- func (s *TypeDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeDefContext) UnionBody() IUnionBodyContext
- type TypeSpecifierContext
- func (s *TypeSpecifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeSpecifierContext) EnumTypeSpec() IEnumTypeSpecContext
- func (s *TypeSpecifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeSpecifierContext) GetParser() antlr.Parser
- func (s *TypeSpecifierContext) GetRuleContext() antlr.RuleContext
- func (s *TypeSpecifierContext) GetV() model.Type
- func (s *TypeSpecifierContext) Get_IDENTIFIER() antlr.Token
- func (s *TypeSpecifierContext) Get_enumTypeSpec() IEnumTypeSpecContext
- func (s *TypeSpecifierContext) Get_structTypeSpec() IStructTypeSpecContext
- func (s *TypeSpecifierContext) Get_unionTypeSpec() IUnionTypeSpecContext
- func (s *TypeSpecifierContext) IDENTIFIER() antlr.TerminalNode
- func (*TypeSpecifierContext) IsTypeSpecifierContext()
- func (s *TypeSpecifierContext) SetV(v model.Type)
- func (s *TypeSpecifierContext) Set_IDENTIFIER(v antlr.Token)
- func (s *TypeSpecifierContext) Set_enumTypeSpec(v IEnumTypeSpecContext)
- func (s *TypeSpecifierContext) Set_structTypeSpec(v IStructTypeSpecContext)
- func (s *TypeSpecifierContext) Set_unionTypeSpec(v IUnionTypeSpecContext)
- func (s *TypeSpecifierContext) StructTypeSpec() IStructTypeSpecContext
- func (s *TypeSpecifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeSpecifierContext) UnionTypeSpec() IUnionTypeSpecContext
- type UnionBodyContext
- func (s *UnionBodyContext) AllCaseSpec() []ICaseSpecContext
- func (s *UnionBodyContext) CaseSpec(i int) ICaseSpecContext
- func (s *UnionBodyContext) Declaration() IDeclarationContext
- func (s *UnionBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnionBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnionBodyContext) GetCases() []model.CaseSpec
- func (s *UnionBodyContext) GetDefaultCase() model.Declaration
- func (s *UnionBodyContext) GetParser() antlr.Parser
- func (s *UnionBodyContext) GetRuleContext() antlr.RuleContext
- func (s *UnionBodyContext) GetV() model.Type
- func (s *UnionBodyContext) Get_caseSpec() ICaseSpecContext
- func (s *UnionBodyContext) Get_declaration() IDeclarationContext
- func (s *UnionBodyContext) Get_namedDeclaration() INamedDeclarationContext
- func (*UnionBodyContext) IsUnionBodyContext()
- func (s *UnionBodyContext) NamedDeclaration() INamedDeclarationContext
- func (s *UnionBodyContext) SetCases(v []model.CaseSpec)
- func (s *UnionBodyContext) SetDefaultCase(v model.Declaration)
- func (s *UnionBodyContext) SetV(v model.Type)
- func (s *UnionBodyContext) Set_caseSpec(v ICaseSpecContext)
- func (s *UnionBodyContext) Set_declaration(v IDeclarationContext)
- func (s *UnionBodyContext) Set_namedDeclaration(v INamedDeclarationContext)
- func (s *UnionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UnionTypeSpecContext
- func (s *UnionTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnionTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnionTypeSpecContext) GetParser() antlr.Parser
- func (s *UnionTypeSpecContext) GetRuleContext() antlr.RuleContext
- func (s *UnionTypeSpecContext) GetV() model.Type
- func (s *UnionTypeSpecContext) Get_unionBody() IUnionBodyContext
- func (*UnionTypeSpecContext) IsUnionTypeSpecContext()
- func (s *UnionTypeSpecContext) SetV(v model.Type)
- func (s *UnionTypeSpecContext) Set_unionBody(v IUnionBodyContext)
- func (s *UnionTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UnionTypeSpecContext) UnionBody() IUnionBodyContext
- type ValueContext
- func (s *ValueContext) Constant() IConstantContext
- func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (s *ValueContext) GetV() model.Value
- func (s *ValueContext) Get_IDENTIFIER() antlr.Token
- func (s *ValueContext) Get_constant() IConstantContext
- func (s *ValueContext) IDENTIFIER() antlr.TerminalNode
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) SetV(v model.Value)
- func (s *ValueContext) Set_IDENTIFIER(v antlr.Token)
- func (s *ValueContext) Set_constant(v IConstantContext)
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VersionDefContext
- func (s *VersionDefContext) AllProcedureDef() []IProcedureDefContext
- func (s *VersionDefContext) Constant() IConstantContext
- func (s *VersionDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VersionDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VersionDefContext) GetParser() antlr.Parser
- func (s *VersionDefContext) GetProcedures() []model.Procedure
- func (s *VersionDefContext) GetRuleContext() antlr.RuleContext
- func (s *VersionDefContext) GetV() model.Version
- func (s *VersionDefContext) Get_IDENTIFIER() antlr.Token
- func (s *VersionDefContext) Get_constant() IConstantContext
- func (s *VersionDefContext) Get_procedureDef() IProcedureDefContext
- func (s *VersionDefContext) IDENTIFIER() antlr.TerminalNode
- func (*VersionDefContext) IsVersionDefContext()
- func (s *VersionDefContext) ProcedureDef(i int) IProcedureDefContext
- func (s *VersionDefContext) SetProcedures(v []model.Procedure)
- func (s *VersionDefContext) SetV(v model.Version)
- func (s *VersionDefContext) Set_IDENTIFIER(v antlr.Token)
- func (s *VersionDefContext) Set_constant(v IConstantContext)
- func (s *VersionDefContext) Set_procedureDef(v IProcedureDefContext)
- func (s *VersionDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type XDRLexer
- type XDRListener
- type XDRParser
- func (p *XDRParser) CaseSpec() (localctx ICaseSpecContext)
- func (p *XDRParser) Constant() (localctx IConstantContext)
- func (p *XDRParser) ConstantDef() (localctx IConstantDefContext)
- func (p *XDRParser) Declaration() (localctx IDeclarationContext)
- func (p *XDRParser) Definition() (localctx IDefinitionContext)
- func (p *XDRParser) EnumBody() (localctx IEnumBodyContext)
- func (p *XDRParser) EnumTypeSpec() (localctx IEnumTypeSpecContext)
- func (p *XDRParser) Imports() (localctx IImportsContext)
- func (p *XDRParser) NamedDeclaration() (localctx INamedDeclarationContext)
- func (p *XDRParser) ProcFirstArg() (localctx IProcFirstArgContext)
- func (p *XDRParser) ProcReturn() (localctx IProcReturnContext)
- func (p *XDRParser) ProcedureDef() (localctx IProcedureDefContext)
- func (p *XDRParser) ProgramDef() (localctx IProgramDefContext)
- func (p *XDRParser) Specification() (localctx ISpecificationContext)
- func (p *XDRParser) StringConstant() (localctx IStringConstantContext)
- func (p *XDRParser) StructBody() (localctx IStructBodyContext)
- func (p *XDRParser) StructTypeSpec() (localctx IStructTypeSpecContext)
- func (p *XDRParser) TopLevel() (localctx ITopLevelContext)
- func (p *XDRParser) TypeDef() (localctx ITypeDefContext)
- func (p *XDRParser) TypeSpecifier() (localctx ITypeSpecifierContext)
- func (p *XDRParser) UnionBody() (localctx IUnionBodyContext)
- func (p *XDRParser) UnionTypeSpec() (localctx IUnionTypeSpecContext)
- func (p *XDRParser) Value() (localctx IValueContext)
- func (p *XDRParser) VersionDef() (localctx IVersionDefContext)
Constants ¶
const ( XDRLexerT__0 = 1 XDRLexerT__1 = 2 XDRLexerT__2 = 3 XDRLexerT__3 = 4 XDRLexerT__4 = 5 XDRLexerT__5 = 6 XDRLexerT__6 = 7 XDRLexerT__7 = 8 XDRLexerT__8 = 9 XDRLexerT__9 = 10 XDRLexerT__10 = 11 XDRLexerT__11 = 12 XDRLexerT__12 = 13 XDRLexerT__13 = 14 XDRLexerT__14 = 15 XDRLexerT__15 = 16 XDRLexerT__16 = 17 XDRLexerT__17 = 18 XDRLexerT__18 = 19 XDRLexerT__19 = 20 XDRLexerT__20 = 21 XDRLexerT__21 = 22 XDRLexerT__22 = 23 XDRLexerT__23 = 24 XDRLexerT__24 = 25 XDRLexerT__25 = 26 XDRLexerT__26 = 27 XDRLexerT__27 = 28 XDRLexerT__28 = 29 XDRLexerT__29 = 30 XDRLexerT__30 = 31 XDRLexerT__31 = 32 XDRLexerT__32 = 33 XDRLexerT__33 = 34 XDRLexerT__34 = 35 XDRLexerT__35 = 36 XDRLexerCOMMENT = 37 XDRLexerWHITE_SPACE = 38 XDRLexerC_DIRECTIVE = 39 XDRLexerIDENTIFIER = 40 XDRLexerDECIMAL_CONSTANT = 41 XDRLexerHEXADECIMAL_CONSTANT = 42 XDRLexerOCTAL_CONSTANT = 43 XDRLexerSTRING_CONSTANT = 44 )
XDRLexer tokens.
const ( XDRParserEOF = antlr.TokenEOF XDRParserT__0 = 1 XDRParserT__1 = 2 XDRParserT__2 = 3 XDRParserT__3 = 4 XDRParserT__4 = 5 XDRParserT__5 = 6 XDRParserT__6 = 7 XDRParserT__7 = 8 XDRParserT__8 = 9 XDRParserT__9 = 10 XDRParserT__10 = 11 XDRParserT__11 = 12 XDRParserT__12 = 13 XDRParserT__13 = 14 XDRParserT__14 = 15 XDRParserT__15 = 16 XDRParserT__16 = 17 XDRParserT__17 = 18 XDRParserT__18 = 19 XDRParserT__19 = 20 XDRParserT__20 = 21 XDRParserT__21 = 22 XDRParserT__22 = 23 XDRParserT__23 = 24 XDRParserT__24 = 25 XDRParserT__25 = 26 XDRParserT__26 = 27 XDRParserT__27 = 28 XDRParserT__28 = 29 XDRParserT__29 = 30 XDRParserT__30 = 31 XDRParserT__31 = 32 XDRParserT__32 = 33 XDRParserT__33 = 34 XDRParserT__34 = 35 XDRParserT__35 = 36 XDRParserCOMMENT = 37 XDRParserWHITE_SPACE = 38 XDRParserC_DIRECTIVE = 39 XDRParserIDENTIFIER = 40 XDRParserDECIMAL_CONSTANT = 41 XDRParserHEXADECIMAL_CONSTANT = 42 XDRParserOCTAL_CONSTANT = 43 XDRParserSTRING_CONSTANT = 44 )
XDRParser tokens.
const ( XDRParserRULE_topLevel = 0 XDRParserRULE_imports = 1 XDRParserRULE_stringConstant = 2 XDRParserRULE_namedDeclaration = 3 XDRParserRULE_declaration = 4 XDRParserRULE_value = 5 XDRParserRULE_constant = 6 XDRParserRULE_typeSpecifier = 7 XDRParserRULE_enumTypeSpec = 8 XDRParserRULE_enumBody = 9 XDRParserRULE_structTypeSpec = 10 XDRParserRULE_structBody = 11 XDRParserRULE_unionTypeSpec = 12 XDRParserRULE_unionBody = 13 XDRParserRULE_caseSpec = 14 XDRParserRULE_constantDef = 15 XDRParserRULE_typeDef = 16 XDRParserRULE_definition = 17 XDRParserRULE_specification = 18 XDRParserRULE_programDef = 19 XDRParserRULE_versionDef = 20 XDRParserRULE_procedureDef = 21 XDRParserRULE_procReturn = 22 XDRParserRULE_procFirstArg = 23 )
XDRParser rules.
Variables ¶
This section is empty.
Functions ¶
func XDRLexerInit ¶
func XDRLexerInit()
XDRLexerInit initializes any static state used to implement XDRLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewXDRLexer(). You can call this function if you wish to initialize the static state ahead of time.
func XDRParserInit ¶
func XDRParserInit()
XDRParserInit initializes any static state used to implement XDRParser. By default the static state used to implement the parser is lazily initialized during the first call to NewXDRParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BaseXDRListener ¶
type BaseXDRListener struct{}
BaseXDRListener is a complete listener for a parse tree produced by XDRParser.
func (*BaseXDRListener) EnterCaseSpec ¶
func (s *BaseXDRListener) EnterCaseSpec(ctx *CaseSpecContext)
EnterCaseSpec is called when production caseSpec is entered.
func (*BaseXDRListener) EnterConstant ¶
func (s *BaseXDRListener) EnterConstant(ctx *ConstantContext)
EnterConstant is called when production constant is entered.
func (*BaseXDRListener) EnterConstantDef ¶
func (s *BaseXDRListener) EnterConstantDef(ctx *ConstantDefContext)
EnterConstantDef is called when production constantDef is entered.
func (*BaseXDRListener) EnterDeclaration ¶
func (s *BaseXDRListener) EnterDeclaration(ctx *DeclarationContext)
EnterDeclaration is called when production declaration is entered.
func (*BaseXDRListener) EnterDefinition ¶
func (s *BaseXDRListener) EnterDefinition(ctx *DefinitionContext)
EnterDefinition is called when production definition is entered.
func (*BaseXDRListener) EnterEnumBody ¶
func (s *BaseXDRListener) EnterEnumBody(ctx *EnumBodyContext)
EnterEnumBody is called when production enumBody is entered.
func (*BaseXDRListener) EnterEnumTypeSpec ¶
func (s *BaseXDRListener) EnterEnumTypeSpec(ctx *EnumTypeSpecContext)
EnterEnumTypeSpec is called when production enumTypeSpec is entered.
func (*BaseXDRListener) EnterEveryRule ¶
func (s *BaseXDRListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseXDRListener) EnterImports ¶
func (s *BaseXDRListener) EnterImports(ctx *ImportsContext)
EnterImports is called when production imports is entered.
func (*BaseXDRListener) EnterNamedDeclaration ¶
func (s *BaseXDRListener) EnterNamedDeclaration(ctx *NamedDeclarationContext)
EnterNamedDeclaration is called when production namedDeclaration is entered.
func (*BaseXDRListener) EnterProcFirstArg ¶
func (s *BaseXDRListener) EnterProcFirstArg(ctx *ProcFirstArgContext)
EnterProcFirstArg is called when production procFirstArg is entered.
func (*BaseXDRListener) EnterProcReturn ¶
func (s *BaseXDRListener) EnterProcReturn(ctx *ProcReturnContext)
EnterProcReturn is called when production procReturn is entered.
func (*BaseXDRListener) EnterProcedureDef ¶
func (s *BaseXDRListener) EnterProcedureDef(ctx *ProcedureDefContext)
EnterProcedureDef is called when production procedureDef is entered.
func (*BaseXDRListener) EnterProgramDef ¶
func (s *BaseXDRListener) EnterProgramDef(ctx *ProgramDefContext)
EnterProgramDef is called when production programDef is entered.
func (*BaseXDRListener) EnterSpecification ¶
func (s *BaseXDRListener) EnterSpecification(ctx *SpecificationContext)
EnterSpecification is called when production specification is entered.
func (*BaseXDRListener) EnterStringConstant ¶
func (s *BaseXDRListener) EnterStringConstant(ctx *StringConstantContext)
EnterStringConstant is called when production stringConstant is entered.
func (*BaseXDRListener) EnterStructBody ¶
func (s *BaseXDRListener) EnterStructBody(ctx *StructBodyContext)
EnterStructBody is called when production structBody is entered.
func (*BaseXDRListener) EnterStructTypeSpec ¶
func (s *BaseXDRListener) EnterStructTypeSpec(ctx *StructTypeSpecContext)
EnterStructTypeSpec is called when production structTypeSpec is entered.
func (*BaseXDRListener) EnterTopLevel ¶
func (s *BaseXDRListener) EnterTopLevel(ctx *TopLevelContext)
EnterTopLevel is called when production topLevel is entered.
func (*BaseXDRListener) EnterTypeDef ¶
func (s *BaseXDRListener) EnterTypeDef(ctx *TypeDefContext)
EnterTypeDef is called when production typeDef is entered.
func (*BaseXDRListener) EnterTypeSpecifier ¶
func (s *BaseXDRListener) EnterTypeSpecifier(ctx *TypeSpecifierContext)
EnterTypeSpecifier is called when production typeSpecifier is entered.
func (*BaseXDRListener) EnterUnionBody ¶
func (s *BaseXDRListener) EnterUnionBody(ctx *UnionBodyContext)
EnterUnionBody is called when production unionBody is entered.
func (*BaseXDRListener) EnterUnionTypeSpec ¶
func (s *BaseXDRListener) EnterUnionTypeSpec(ctx *UnionTypeSpecContext)
EnterUnionTypeSpec is called when production unionTypeSpec is entered.
func (*BaseXDRListener) EnterValue ¶
func (s *BaseXDRListener) EnterValue(ctx *ValueContext)
EnterValue is called when production value is entered.
func (*BaseXDRListener) EnterVersionDef ¶
func (s *BaseXDRListener) EnterVersionDef(ctx *VersionDefContext)
EnterVersionDef is called when production versionDef is entered.
func (*BaseXDRListener) ExitCaseSpec ¶
func (s *BaseXDRListener) ExitCaseSpec(ctx *CaseSpecContext)
ExitCaseSpec is called when production caseSpec is exited.
func (*BaseXDRListener) ExitConstant ¶
func (s *BaseXDRListener) ExitConstant(ctx *ConstantContext)
ExitConstant is called when production constant is exited.
func (*BaseXDRListener) ExitConstantDef ¶
func (s *BaseXDRListener) ExitConstantDef(ctx *ConstantDefContext)
ExitConstantDef is called when production constantDef is exited.
func (*BaseXDRListener) ExitDeclaration ¶
func (s *BaseXDRListener) ExitDeclaration(ctx *DeclarationContext)
ExitDeclaration is called when production declaration is exited.
func (*BaseXDRListener) ExitDefinition ¶
func (s *BaseXDRListener) ExitDefinition(ctx *DefinitionContext)
ExitDefinition is called when production definition is exited.
func (*BaseXDRListener) ExitEnumBody ¶
func (s *BaseXDRListener) ExitEnumBody(ctx *EnumBodyContext)
ExitEnumBody is called when production enumBody is exited.
func (*BaseXDRListener) ExitEnumTypeSpec ¶
func (s *BaseXDRListener) ExitEnumTypeSpec(ctx *EnumTypeSpecContext)
ExitEnumTypeSpec is called when production enumTypeSpec is exited.
func (*BaseXDRListener) ExitEveryRule ¶
func (s *BaseXDRListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseXDRListener) ExitImports ¶
func (s *BaseXDRListener) ExitImports(ctx *ImportsContext)
ExitImports is called when production imports is exited.
func (*BaseXDRListener) ExitNamedDeclaration ¶
func (s *BaseXDRListener) ExitNamedDeclaration(ctx *NamedDeclarationContext)
ExitNamedDeclaration is called when production namedDeclaration is exited.
func (*BaseXDRListener) ExitProcFirstArg ¶
func (s *BaseXDRListener) ExitProcFirstArg(ctx *ProcFirstArgContext)
ExitProcFirstArg is called when production procFirstArg is exited.
func (*BaseXDRListener) ExitProcReturn ¶
func (s *BaseXDRListener) ExitProcReturn(ctx *ProcReturnContext)
ExitProcReturn is called when production procReturn is exited.
func (*BaseXDRListener) ExitProcedureDef ¶
func (s *BaseXDRListener) ExitProcedureDef(ctx *ProcedureDefContext)
ExitProcedureDef is called when production procedureDef is exited.
func (*BaseXDRListener) ExitProgramDef ¶
func (s *BaseXDRListener) ExitProgramDef(ctx *ProgramDefContext)
ExitProgramDef is called when production programDef is exited.
func (*BaseXDRListener) ExitSpecification ¶
func (s *BaseXDRListener) ExitSpecification(ctx *SpecificationContext)
ExitSpecification is called when production specification is exited.
func (*BaseXDRListener) ExitStringConstant ¶
func (s *BaseXDRListener) ExitStringConstant(ctx *StringConstantContext)
ExitStringConstant is called when production stringConstant is exited.
func (*BaseXDRListener) ExitStructBody ¶
func (s *BaseXDRListener) ExitStructBody(ctx *StructBodyContext)
ExitStructBody is called when production structBody is exited.
func (*BaseXDRListener) ExitStructTypeSpec ¶
func (s *BaseXDRListener) ExitStructTypeSpec(ctx *StructTypeSpecContext)
ExitStructTypeSpec is called when production structTypeSpec is exited.
func (*BaseXDRListener) ExitTopLevel ¶
func (s *BaseXDRListener) ExitTopLevel(ctx *TopLevelContext)
ExitTopLevel is called when production topLevel is exited.
func (*BaseXDRListener) ExitTypeDef ¶
func (s *BaseXDRListener) ExitTypeDef(ctx *TypeDefContext)
ExitTypeDef is called when production typeDef is exited.
func (*BaseXDRListener) ExitTypeSpecifier ¶
func (s *BaseXDRListener) ExitTypeSpecifier(ctx *TypeSpecifierContext)
ExitTypeSpecifier is called when production typeSpecifier is exited.
func (*BaseXDRListener) ExitUnionBody ¶
func (s *BaseXDRListener) ExitUnionBody(ctx *UnionBodyContext)
ExitUnionBody is called when production unionBody is exited.
func (*BaseXDRListener) ExitUnionTypeSpec ¶
func (s *BaseXDRListener) ExitUnionTypeSpec(ctx *UnionTypeSpecContext)
ExitUnionTypeSpec is called when production unionTypeSpec is exited.
func (*BaseXDRListener) ExitValue ¶
func (s *BaseXDRListener) ExitValue(ctx *ValueContext)
ExitValue is called when production value is exited.
func (*BaseXDRListener) ExitVersionDef ¶
func (s *BaseXDRListener) ExitVersionDef(ctx *VersionDefContext)
ExitVersionDef is called when production versionDef is exited.
func (*BaseXDRListener) VisitErrorNode ¶
func (s *BaseXDRListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseXDRListener) VisitTerminal ¶
func (s *BaseXDRListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type CaseSpecContext ¶
type CaseSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCaseSpecContext ¶
func NewCaseSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CaseSpecContext
func NewEmptyCaseSpecContext ¶
func NewEmptyCaseSpecContext() *CaseSpecContext
func (*CaseSpecContext) AllValue ¶
func (s *CaseSpecContext) AllValue() []IValueContext
func (*CaseSpecContext) Declaration ¶
func (s *CaseSpecContext) Declaration() IDeclarationContext
func (*CaseSpecContext) EnterRule ¶
func (s *CaseSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*CaseSpecContext) ExitRule ¶
func (s *CaseSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*CaseSpecContext) GetParser ¶
func (s *CaseSpecContext) GetParser() antlr.Parser
func (*CaseSpecContext) GetRuleContext ¶
func (s *CaseSpecContext) GetRuleContext() antlr.RuleContext
func (*CaseSpecContext) GetV ¶
func (s *CaseSpecContext) GetV() model.CaseSpec
func (*CaseSpecContext) GetValues ¶
func (s *CaseSpecContext) GetValues() []model.Value
func (*CaseSpecContext) Get_declaration ¶
func (s *CaseSpecContext) Get_declaration() IDeclarationContext
func (*CaseSpecContext) Get_value ¶
func (s *CaseSpecContext) Get_value() IValueContext
func (*CaseSpecContext) IsCaseSpecContext ¶
func (*CaseSpecContext) IsCaseSpecContext()
func (*CaseSpecContext) SetV ¶
func (s *CaseSpecContext) SetV(v model.CaseSpec)
func (*CaseSpecContext) SetValues ¶
func (s *CaseSpecContext) SetValues(v []model.Value)
func (*CaseSpecContext) Set_declaration ¶
func (s *CaseSpecContext) Set_declaration(v IDeclarationContext)
func (*CaseSpecContext) Set_value ¶
func (s *CaseSpecContext) Set_value(v IValueContext)
func (*CaseSpecContext) ToStringTree ¶
func (s *CaseSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CaseSpecContext) Value ¶
func (s *CaseSpecContext) Value(i int) IValueContext
type ConstantContext ¶
type ConstantContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConstantContext ¶
func NewConstantContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstantContext
func NewEmptyConstantContext ¶
func NewEmptyConstantContext() *ConstantContext
func (*ConstantContext) DECIMAL_CONSTANT ¶
func (s *ConstantContext) DECIMAL_CONSTANT() antlr.TerminalNode
func (*ConstantContext) EnterRule ¶
func (s *ConstantContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstantContext) ExitRule ¶
func (s *ConstantContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstantContext) GetParser ¶
func (s *ConstantContext) GetParser() antlr.Parser
func (*ConstantContext) GetRuleContext ¶
func (s *ConstantContext) GetRuleContext() antlr.RuleContext
func (*ConstantContext) GetS ¶
func (s *ConstantContext) GetS() antlr.Token
func (*ConstantContext) GetV ¶
func (s *ConstantContext) GetV() *big.Int
func (*ConstantContext) HEXADECIMAL_CONSTANT ¶
func (s *ConstantContext) HEXADECIMAL_CONSTANT() antlr.TerminalNode
func (*ConstantContext) IsConstantContext ¶
func (*ConstantContext) IsConstantContext()
func (*ConstantContext) OCTAL_CONSTANT ¶
func (s *ConstantContext) OCTAL_CONSTANT() antlr.TerminalNode
func (*ConstantContext) SetS ¶
func (s *ConstantContext) SetS(v antlr.Token)
func (*ConstantContext) SetV ¶
func (s *ConstantContext) SetV(v *big.Int)
func (*ConstantContext) ToStringTree ¶
func (s *ConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ConstantDefContext ¶
type ConstantDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConstantDefContext ¶
func NewConstantDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstantDefContext
func NewEmptyConstantDefContext ¶
func NewEmptyConstantDefContext() *ConstantDefContext
func (*ConstantDefContext) Constant ¶
func (s *ConstantDefContext) Constant() IConstantContext
func (*ConstantDefContext) EnterRule ¶
func (s *ConstantDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstantDefContext) ExitRule ¶
func (s *ConstantDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstantDefContext) GetParser ¶
func (s *ConstantDefContext) GetParser() antlr.Parser
func (*ConstantDefContext) GetRuleContext ¶
func (s *ConstantDefContext) GetRuleContext() antlr.RuleContext
func (*ConstantDefContext) GetV ¶
func (s *ConstantDefContext) GetV() model.Definition
func (*ConstantDefContext) Get_IDENTIFIER ¶
func (s *ConstantDefContext) Get_IDENTIFIER() antlr.Token
func (*ConstantDefContext) Get_constant ¶
func (s *ConstantDefContext) Get_constant() IConstantContext
func (*ConstantDefContext) IDENTIFIER ¶
func (s *ConstantDefContext) IDENTIFIER() antlr.TerminalNode
func (*ConstantDefContext) IsConstantDefContext ¶
func (*ConstantDefContext) IsConstantDefContext()
func (*ConstantDefContext) SetV ¶
func (s *ConstantDefContext) SetV(v model.Definition)
func (*ConstantDefContext) Set_IDENTIFIER ¶
func (s *ConstantDefContext) Set_IDENTIFIER(v antlr.Token)
func (*ConstantDefContext) Set_constant ¶
func (s *ConstantDefContext) Set_constant(v IConstantContext)
func (*ConstantDefContext) ToStringTree ¶
func (s *ConstantDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeclarationContext ¶
type DeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclarationContext ¶
func NewDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationContext
func NewEmptyDeclarationContext ¶
func NewEmptyDeclarationContext() *DeclarationContext
func (*DeclarationContext) EnterRule ¶
func (s *DeclarationContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclarationContext) ExitRule ¶
func (s *DeclarationContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclarationContext) GetParser ¶
func (s *DeclarationContext) GetParser() antlr.Parser
func (*DeclarationContext) GetRuleContext ¶
func (s *DeclarationContext) GetRuleContext() antlr.RuleContext
func (*DeclarationContext) GetV ¶
func (s *DeclarationContext) GetV() model.Declaration
func (*DeclarationContext) Get_namedDeclaration ¶
func (s *DeclarationContext) Get_namedDeclaration() INamedDeclarationContext
func (*DeclarationContext) IsDeclarationContext ¶
func (*DeclarationContext) IsDeclarationContext()
func (*DeclarationContext) NamedDeclaration ¶
func (s *DeclarationContext) NamedDeclaration() INamedDeclarationContext
func (*DeclarationContext) SetV ¶
func (s *DeclarationContext) SetV(v model.Declaration)
func (*DeclarationContext) Set_namedDeclaration ¶
func (s *DeclarationContext) Set_namedDeclaration(v INamedDeclarationContext)
func (*DeclarationContext) ToStringTree ¶
func (s *DeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefinitionContext ¶
type DefinitionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefinitionContext ¶
func NewDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefinitionContext
func NewEmptyDefinitionContext ¶
func NewEmptyDefinitionContext() *DefinitionContext
func (*DefinitionContext) ConstantDef ¶
func (s *DefinitionContext) ConstantDef() IConstantDefContext
func (*DefinitionContext) EnterRule ¶
func (s *DefinitionContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefinitionContext) ExitRule ¶
func (s *DefinitionContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefinitionContext) GetParser ¶
func (s *DefinitionContext) GetParser() antlr.Parser
func (*DefinitionContext) GetRuleContext ¶
func (s *DefinitionContext) GetRuleContext() antlr.RuleContext
func (*DefinitionContext) GetV ¶
func (s *DefinitionContext) GetV() model.Definition
func (*DefinitionContext) Get_constantDef ¶
func (s *DefinitionContext) Get_constantDef() IConstantDefContext
func (*DefinitionContext) Get_programDef ¶
func (s *DefinitionContext) Get_programDef() IProgramDefContext
func (*DefinitionContext) Get_typeDef ¶
func (s *DefinitionContext) Get_typeDef() ITypeDefContext
func (*DefinitionContext) IsDefinitionContext ¶
func (*DefinitionContext) IsDefinitionContext()
func (*DefinitionContext) ProgramDef ¶
func (s *DefinitionContext) ProgramDef() IProgramDefContext
func (*DefinitionContext) SetV ¶
func (s *DefinitionContext) SetV(v model.Definition)
func (*DefinitionContext) Set_constantDef ¶
func (s *DefinitionContext) Set_constantDef(v IConstantDefContext)
func (*DefinitionContext) Set_programDef ¶
func (s *DefinitionContext) Set_programDef(v IProgramDefContext)
func (*DefinitionContext) Set_typeDef ¶
func (s *DefinitionContext) Set_typeDef(v ITypeDefContext)
func (*DefinitionContext) ToStringTree ¶
func (s *DefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DefinitionContext) TypeDef ¶
func (s *DefinitionContext) TypeDef() ITypeDefContext
type EnumBodyContext ¶
type EnumBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumBodyContext ¶
func NewEmptyEnumBodyContext() *EnumBodyContext
func NewEnumBodyContext ¶
func NewEnumBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumBodyContext
func (*EnumBodyContext) AllIDENTIFIER ¶
func (s *EnumBodyContext) AllIDENTIFIER() []antlr.TerminalNode
func (*EnumBodyContext) AllValue ¶
func (s *EnumBodyContext) AllValue() []IValueContext
func (*EnumBodyContext) EnterRule ¶
func (s *EnumBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumBodyContext) ExitRule ¶
func (s *EnumBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumBodyContext) GetElements ¶
func (s *EnumBodyContext) GetElements() map[string]model.Value
func (*EnumBodyContext) GetParser ¶
func (s *EnumBodyContext) GetParser() antlr.Parser
func (*EnumBodyContext) GetRuleContext ¶
func (s *EnumBodyContext) GetRuleContext() antlr.RuleContext
func (*EnumBodyContext) GetV ¶
func (s *EnumBodyContext) GetV() model.Type
func (*EnumBodyContext) Get_IDENTIFIER ¶
func (s *EnumBodyContext) Get_IDENTIFIER() antlr.Token
func (*EnumBodyContext) Get_value ¶
func (s *EnumBodyContext) Get_value() IValueContext
func (*EnumBodyContext) IDENTIFIER ¶
func (s *EnumBodyContext) IDENTIFIER(i int) antlr.TerminalNode
func (*EnumBodyContext) IsEnumBodyContext ¶
func (*EnumBodyContext) IsEnumBodyContext()
func (*EnumBodyContext) SetElements ¶
func (s *EnumBodyContext) SetElements(v map[string]model.Value)
func (*EnumBodyContext) SetV ¶
func (s *EnumBodyContext) SetV(v model.Type)
func (*EnumBodyContext) Set_IDENTIFIER ¶
func (s *EnumBodyContext) Set_IDENTIFIER(v antlr.Token)
func (*EnumBodyContext) Set_value ¶
func (s *EnumBodyContext) Set_value(v IValueContext)
func (*EnumBodyContext) ToStringTree ¶
func (s *EnumBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EnumBodyContext) Value ¶
func (s *EnumBodyContext) Value(i int) IValueContext
type EnumTypeSpecContext ¶
type EnumTypeSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumTypeSpecContext ¶
func NewEmptyEnumTypeSpecContext() *EnumTypeSpecContext
func NewEnumTypeSpecContext ¶
func NewEnumTypeSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumTypeSpecContext
func (*EnumTypeSpecContext) EnterRule ¶
func (s *EnumTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumTypeSpecContext) EnumBody ¶
func (s *EnumTypeSpecContext) EnumBody() IEnumBodyContext
func (*EnumTypeSpecContext) ExitRule ¶
func (s *EnumTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumTypeSpecContext) GetParser ¶
func (s *EnumTypeSpecContext) GetParser() antlr.Parser
func (*EnumTypeSpecContext) GetRuleContext ¶
func (s *EnumTypeSpecContext) GetRuleContext() antlr.RuleContext
func (*EnumTypeSpecContext) GetV ¶
func (s *EnumTypeSpecContext) GetV() model.Type
func (*EnumTypeSpecContext) Get_enumBody ¶
func (s *EnumTypeSpecContext) Get_enumBody() IEnumBodyContext
func (*EnumTypeSpecContext) IsEnumTypeSpecContext ¶
func (*EnumTypeSpecContext) IsEnumTypeSpecContext()
func (*EnumTypeSpecContext) SetV ¶
func (s *EnumTypeSpecContext) SetV(v model.Type)
func (*EnumTypeSpecContext) Set_enumBody ¶
func (s *EnumTypeSpecContext) Set_enumBody(v IEnumBodyContext)
func (*EnumTypeSpecContext) ToStringTree ¶
func (s *EnumTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ICaseSpecContext ¶
type ICaseSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_value returns the _value rule contexts. Get_value() IValueContext // Get_declaration returns the _declaration rule contexts. Get_declaration() IDeclarationContext // Set_value sets the _value rule contexts. Set_value(IValueContext) // Set_declaration sets the _declaration rule contexts. Set_declaration(IDeclarationContext) // GetV returns the v attribute. GetV() model.CaseSpec // GetValues returns the values attribute. GetValues() []model.Value // SetV sets the v attribute. SetV(model.CaseSpec) // SetValues sets the values attribute. SetValues([]model.Value) // IsCaseSpecContext differentiates from other interfaces. IsCaseSpecContext() }
ICaseSpecContext is an interface to support dynamic dispatch.
type IConstantContext ¶
type IConstantContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetS returns the s token. GetS() antlr.Token // SetS sets the s token. SetS(antlr.Token) // GetV returns the v attribute. GetV() *big.Int // SetV sets the v attribute. SetV(*big.Int) // IsConstantContext differentiates from other interfaces. IsConstantContext() }
IConstantContext is an interface to support dynamic dispatch.
type IConstantDefContext ¶
type IConstantDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_constant returns the _constant rule contexts. Get_constant() IConstantContext // Set_constant sets the _constant rule contexts. Set_constant(IConstantContext) // GetV returns the v attribute. GetV() model.Definition // SetV sets the v attribute. SetV(model.Definition) // IsConstantDefContext differentiates from other interfaces. IsConstantDefContext() }
IConstantDefContext is an interface to support dynamic dispatch.
type IDeclarationContext ¶
type IDeclarationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_namedDeclaration returns the _namedDeclaration rule contexts. Get_namedDeclaration() INamedDeclarationContext // Set_namedDeclaration sets the _namedDeclaration rule contexts. Set_namedDeclaration(INamedDeclarationContext) // GetV returns the v attribute. GetV() model.Declaration // SetV sets the v attribute. SetV(model.Declaration) // IsDeclarationContext differentiates from other interfaces. IsDeclarationContext() }
IDeclarationContext is an interface to support dynamic dispatch.
type IDefinitionContext ¶
type IDefinitionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_typeDef returns the _typeDef rule contexts. Get_typeDef() ITypeDefContext // Get_constantDef returns the _constantDef rule contexts. Get_constantDef() IConstantDefContext // Get_programDef returns the _programDef rule contexts. Get_programDef() IProgramDefContext // Set_typeDef sets the _typeDef rule contexts. Set_typeDef(ITypeDefContext) // Set_constantDef sets the _constantDef rule contexts. Set_constantDef(IConstantDefContext) // Set_programDef sets the _programDef rule contexts. Set_programDef(IProgramDefContext) // GetV returns the v attribute. GetV() model.Definition // SetV sets the v attribute. SetV(model.Definition) // IsDefinitionContext differentiates from other interfaces. IsDefinitionContext() }
IDefinitionContext is an interface to support dynamic dispatch.
type IEnumBodyContext ¶
type IEnumBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_value returns the _value rule contexts. Get_value() IValueContext // Set_value sets the _value rule contexts. Set_value(IValueContext) // GetV returns the v attribute. GetV() model.Type // GetElements returns the elements attribute. GetElements() map[string]model.Value // SetV sets the v attribute. SetV(model.Type) // SetElements sets the elements attribute. SetElements(map[string]model.Value) // IsEnumBodyContext differentiates from other interfaces. IsEnumBodyContext() }
IEnumBodyContext is an interface to support dynamic dispatch.
type IEnumTypeSpecContext ¶
type IEnumTypeSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_enumBody returns the _enumBody rule contexts. Get_enumBody() IEnumBodyContext // Set_enumBody sets the _enumBody rule contexts. Set_enumBody(IEnumBodyContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsEnumTypeSpecContext differentiates from other interfaces. IsEnumTypeSpecContext() }
IEnumTypeSpecContext is an interface to support dynamic dispatch.
type IImportsContext ¶
type IImportsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_stringConstant returns the _stringConstant rule contexts. Get_stringConstant() IStringConstantContext // Set_stringConstant sets the _stringConstant rule contexts. Set_stringConstant(IStringConstantContext) // GetV returns the v attribute. GetV() []string // SetV sets the v attribute. SetV([]string) // IsImportsContext differentiates from other interfaces. IsImportsContext() }
IImportsContext is an interface to support dynamic dispatch.
type INamedDeclarationContext ¶
type INamedDeclarationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_typeSpecifier returns the _typeSpecifier rule contexts. Get_typeSpecifier() ITypeSpecifierContext // Get_value returns the _value rule contexts. Get_value() IValueContext // Set_typeSpecifier sets the _typeSpecifier rule contexts. Set_typeSpecifier(ITypeSpecifierContext) // Set_value sets the _value rule contexts. Set_value(IValueContext) // GetV returns the v attribute. GetV() model.NamedDeclaration // SetV sets the v attribute. SetV(model.NamedDeclaration) // IsNamedDeclarationContext differentiates from other interfaces. IsNamedDeclarationContext() }
INamedDeclarationContext is an interface to support dynamic dispatch.
type IProcFirstArgContext ¶
type IProcFirstArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_typeSpecifier returns the _typeSpecifier rule contexts. Get_typeSpecifier() ITypeSpecifierContext // Set_typeSpecifier sets the _typeSpecifier rule contexts. Set_typeSpecifier(ITypeSpecifierContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsProcFirstArgContext differentiates from other interfaces. IsProcFirstArgContext() }
IProcFirstArgContext is an interface to support dynamic dispatch.
type IProcReturnContext ¶
type IProcReturnContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_typeSpecifier returns the _typeSpecifier rule contexts. Get_typeSpecifier() ITypeSpecifierContext // Set_typeSpecifier sets the _typeSpecifier rule contexts. Set_typeSpecifier(ITypeSpecifierContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsProcReturnContext differentiates from other interfaces. IsProcReturnContext() }
IProcReturnContext is an interface to support dynamic dispatch.
type IProcedureDefContext ¶
type IProcedureDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_procReturn returns the _procReturn rule contexts. Get_procReturn() IProcReturnContext // Get_procFirstArg returns the _procFirstArg rule contexts. Get_procFirstArg() IProcFirstArgContext // Get_typeSpecifier returns the _typeSpecifier rule contexts. Get_typeSpecifier() ITypeSpecifierContext // Get_constant returns the _constant rule contexts. Get_constant() IConstantContext // Set_procReturn sets the _procReturn rule contexts. Set_procReturn(IProcReturnContext) // Set_procFirstArg sets the _procFirstArg rule contexts. Set_procFirstArg(IProcFirstArgContext) // Set_typeSpecifier sets the _typeSpecifier rule contexts. Set_typeSpecifier(ITypeSpecifierContext) // Set_constant sets the _constant rule contexts. Set_constant(IConstantContext) // GetV returns the v attribute. GetV() model.Procedure // GetArguments returns the arguments attribute. GetArguments() []model.Type // SetV sets the v attribute. SetV(model.Procedure) // SetArguments sets the arguments attribute. SetArguments([]model.Type) // IsProcedureDefContext differentiates from other interfaces. IsProcedureDefContext() }
IProcedureDefContext is an interface to support dynamic dispatch.
type IProgramDefContext ¶
type IProgramDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_versionDef returns the _versionDef rule contexts. Get_versionDef() IVersionDefContext // Get_constant returns the _constant rule contexts. Get_constant() IConstantContext // Set_versionDef sets the _versionDef rule contexts. Set_versionDef(IVersionDefContext) // Set_constant sets the _constant rule contexts. Set_constant(IConstantContext) // GetV returns the v attribute. GetV() model.Definition // GetVersions returns the versions attribute. GetVersions() []model.Version // SetV sets the v attribute. SetV(model.Definition) // SetVersions sets the versions attribute. SetVersions([]model.Version) // IsProgramDefContext differentiates from other interfaces. IsProgramDefContext() }
IProgramDefContext is an interface to support dynamic dispatch.
type ISpecificationContext ¶
type ISpecificationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_definition returns the _definition rule contexts. Get_definition() IDefinitionContext // Set_definition sets the _definition rule contexts. Set_definition(IDefinitionContext) // GetV returns the v attribute. GetV() []model.Definition // SetV sets the v attribute. SetV([]model.Definition) // IsSpecificationContext differentiates from other interfaces. IsSpecificationContext() }
ISpecificationContext is an interface to support dynamic dispatch.
type IStringConstantContext ¶
type IStringConstantContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_STRING_CONSTANT returns the _STRING_CONSTANT token. Get_STRING_CONSTANT() antlr.Token // Set_STRING_CONSTANT sets the _STRING_CONSTANT token. Set_STRING_CONSTANT(antlr.Token) // GetV returns the v attribute. GetV() string // SetV sets the v attribute. SetV(string) // IsStringConstantContext differentiates from other interfaces. IsStringConstantContext() }
IStringConstantContext is an interface to support dynamic dispatch.
type IStructBodyContext ¶
type IStructBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_namedDeclaration returns the _namedDeclaration rule contexts. Get_namedDeclaration() INamedDeclarationContext // Set_namedDeclaration sets the _namedDeclaration rule contexts. Set_namedDeclaration(INamedDeclarationContext) // GetV returns the v attribute. GetV() model.Type // GetDeclarations returns the declarations attribute. GetDeclarations() []model.NamedDeclaration // SetV sets the v attribute. SetV(model.Type) // SetDeclarations sets the declarations attribute. SetDeclarations([]model.NamedDeclaration) // IsStructBodyContext differentiates from other interfaces. IsStructBodyContext() }
IStructBodyContext is an interface to support dynamic dispatch.
type IStructTypeSpecContext ¶
type IStructTypeSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_structBody returns the _structBody rule contexts. Get_structBody() IStructBodyContext // Set_structBody sets the _structBody rule contexts. Set_structBody(IStructBodyContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsStructTypeSpecContext differentiates from other interfaces. IsStructTypeSpecContext() }
IStructTypeSpecContext is an interface to support dynamic dispatch.
type ITopLevelContext ¶
type ITopLevelContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_stringConstant returns the _stringConstant rule contexts. Get_stringConstant() IStringConstantContext // Get_imports returns the _imports rule contexts. Get_imports() IImportsContext // Get_specification returns the _specification rule contexts. Get_specification() ISpecificationContext // Set_stringConstant sets the _stringConstant rule contexts. Set_stringConstant(IStringConstantContext) // Set_imports sets the _imports rule contexts. Set_imports(IImportsContext) // Set_specification sets the _specification rule contexts. Set_specification(ISpecificationContext) // GetV returns the v attribute. GetV() model.TopLevel // SetV sets the v attribute. SetV(model.TopLevel) // IsTopLevelContext differentiates from other interfaces. IsTopLevelContext() }
ITopLevelContext is an interface to support dynamic dispatch.
type ITypeDefContext ¶
type ITypeDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_namedDeclaration returns the _namedDeclaration rule contexts. Get_namedDeclaration() INamedDeclarationContext // Get_enumBody returns the _enumBody rule contexts. Get_enumBody() IEnumBodyContext // Get_structBody returns the _structBody rule contexts. Get_structBody() IStructBodyContext // Get_unionBody returns the _unionBody rule contexts. Get_unionBody() IUnionBodyContext // Set_namedDeclaration sets the _namedDeclaration rule contexts. Set_namedDeclaration(INamedDeclarationContext) // Set_enumBody sets the _enumBody rule contexts. Set_enumBody(IEnumBodyContext) // Set_structBody sets the _structBody rule contexts. Set_structBody(IStructBodyContext) // Set_unionBody sets the _unionBody rule contexts. Set_unionBody(IUnionBodyContext) // GetV returns the v attribute. GetV() model.NamedDeclaration // SetV sets the v attribute. SetV(model.NamedDeclaration) // IsTypeDefContext differentiates from other interfaces. IsTypeDefContext() }
ITypeDefContext is an interface to support dynamic dispatch.
type ITypeSpecifierContext ¶
type ITypeSpecifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_enumTypeSpec returns the _enumTypeSpec rule contexts. Get_enumTypeSpec() IEnumTypeSpecContext // Get_structTypeSpec returns the _structTypeSpec rule contexts. Get_structTypeSpec() IStructTypeSpecContext // Get_unionTypeSpec returns the _unionTypeSpec rule contexts. Get_unionTypeSpec() IUnionTypeSpecContext // Set_enumTypeSpec sets the _enumTypeSpec rule contexts. Set_enumTypeSpec(IEnumTypeSpecContext) // Set_structTypeSpec sets the _structTypeSpec rule contexts. Set_structTypeSpec(IStructTypeSpecContext) // Set_unionTypeSpec sets the _unionTypeSpec rule contexts. Set_unionTypeSpec(IUnionTypeSpecContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsTypeSpecifierContext differentiates from other interfaces. IsTypeSpecifierContext() }
ITypeSpecifierContext is an interface to support dynamic dispatch.
type IUnionBodyContext ¶
type IUnionBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_namedDeclaration returns the _namedDeclaration rule contexts. Get_namedDeclaration() INamedDeclarationContext // Get_caseSpec returns the _caseSpec rule contexts. Get_caseSpec() ICaseSpecContext // Get_declaration returns the _declaration rule contexts. Get_declaration() IDeclarationContext // Set_namedDeclaration sets the _namedDeclaration rule contexts. Set_namedDeclaration(INamedDeclarationContext) // Set_caseSpec sets the _caseSpec rule contexts. Set_caseSpec(ICaseSpecContext) // Set_declaration sets the _declaration rule contexts. Set_declaration(IDeclarationContext) // GetV returns the v attribute. GetV() model.Type // GetCases returns the cases attribute. GetCases() []model.CaseSpec // GetDefaultCase returns the defaultCase attribute. GetDefaultCase() model.Declaration // SetV sets the v attribute. SetV(model.Type) // SetCases sets the cases attribute. SetCases([]model.CaseSpec) // SetDefaultCase sets the defaultCase attribute. SetDefaultCase(model.Declaration) // IsUnionBodyContext differentiates from other interfaces. IsUnionBodyContext() }
IUnionBodyContext is an interface to support dynamic dispatch.
type IUnionTypeSpecContext ¶
type IUnionTypeSpecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_unionBody returns the _unionBody rule contexts. Get_unionBody() IUnionBodyContext // Set_unionBody sets the _unionBody rule contexts. Set_unionBody(IUnionBodyContext) // GetV returns the v attribute. GetV() model.Type // SetV sets the v attribute. SetV(model.Type) // IsUnionTypeSpecContext differentiates from other interfaces. IsUnionTypeSpecContext() }
IUnionTypeSpecContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_constant returns the _constant rule contexts. Get_constant() IConstantContext // Set_constant sets the _constant rule contexts. Set_constant(IConstantContext) // GetV returns the v attribute. GetV() model.Value // SetV sets the v attribute. SetV(model.Value) // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type IVersionDefContext ¶
type IVersionDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_IDENTIFIER returns the _IDENTIFIER token. Get_IDENTIFIER() antlr.Token // Set_IDENTIFIER sets the _IDENTIFIER token. Set_IDENTIFIER(antlr.Token) // Get_procedureDef returns the _procedureDef rule contexts. Get_procedureDef() IProcedureDefContext // Get_constant returns the _constant rule contexts. Get_constant() IConstantContext // Set_procedureDef sets the _procedureDef rule contexts. Set_procedureDef(IProcedureDefContext) // Set_constant sets the _constant rule contexts. Set_constant(IConstantContext) // GetV returns the v attribute. GetV() model.Version // GetProcedures returns the procedures attribute. GetProcedures() []model.Procedure // SetV sets the v attribute. SetV(model.Version) // SetProcedures sets the procedures attribute. SetProcedures([]model.Procedure) // IsVersionDefContext differentiates from other interfaces. IsVersionDefContext() }
IVersionDefContext is an interface to support dynamic dispatch.
type ImportsContext ¶
type ImportsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportsContext ¶
func NewEmptyImportsContext() *ImportsContext
func NewImportsContext ¶
func NewImportsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportsContext
func (*ImportsContext) AllStringConstant ¶
func (s *ImportsContext) AllStringConstant() []IStringConstantContext
func (*ImportsContext) EnterRule ¶
func (s *ImportsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImportsContext) ExitRule ¶
func (s *ImportsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImportsContext) GetParser ¶
func (s *ImportsContext) GetParser() antlr.Parser
func (*ImportsContext) GetRuleContext ¶
func (s *ImportsContext) GetRuleContext() antlr.RuleContext
func (*ImportsContext) GetV ¶
func (s *ImportsContext) GetV() []string
func (*ImportsContext) Get_stringConstant ¶
func (s *ImportsContext) Get_stringConstant() IStringConstantContext
func (*ImportsContext) IsImportsContext ¶
func (*ImportsContext) IsImportsContext()
func (*ImportsContext) SetV ¶
func (s *ImportsContext) SetV(v []string)
func (*ImportsContext) Set_stringConstant ¶
func (s *ImportsContext) Set_stringConstant(v IStringConstantContext)
func (*ImportsContext) StringConstant ¶
func (s *ImportsContext) StringConstant(i int) IStringConstantContext
func (*ImportsContext) ToStringTree ¶
func (s *ImportsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NamedDeclarationContext ¶
type NamedDeclarationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNamedDeclarationContext ¶
func NewEmptyNamedDeclarationContext() *NamedDeclarationContext
func NewNamedDeclarationContext ¶
func NewNamedDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NamedDeclarationContext
func (*NamedDeclarationContext) EnterRule ¶
func (s *NamedDeclarationContext) EnterRule(listener antlr.ParseTreeListener)
func (*NamedDeclarationContext) ExitRule ¶
func (s *NamedDeclarationContext) ExitRule(listener antlr.ParseTreeListener)
func (*NamedDeclarationContext) GetParser ¶
func (s *NamedDeclarationContext) GetParser() antlr.Parser
func (*NamedDeclarationContext) GetRuleContext ¶
func (s *NamedDeclarationContext) GetRuleContext() antlr.RuleContext
func (*NamedDeclarationContext) GetV ¶
func (s *NamedDeclarationContext) GetV() model.NamedDeclaration
func (*NamedDeclarationContext) Get_IDENTIFIER ¶
func (s *NamedDeclarationContext) Get_IDENTIFIER() antlr.Token
func (*NamedDeclarationContext) Get_typeSpecifier ¶
func (s *NamedDeclarationContext) Get_typeSpecifier() ITypeSpecifierContext
func (*NamedDeclarationContext) Get_value ¶
func (s *NamedDeclarationContext) Get_value() IValueContext
func (*NamedDeclarationContext) IDENTIFIER ¶
func (s *NamedDeclarationContext) IDENTIFIER() antlr.TerminalNode
func (*NamedDeclarationContext) IsNamedDeclarationContext ¶
func (*NamedDeclarationContext) IsNamedDeclarationContext()
func (*NamedDeclarationContext) SetV ¶
func (s *NamedDeclarationContext) SetV(v model.NamedDeclaration)
func (*NamedDeclarationContext) Set_IDENTIFIER ¶
func (s *NamedDeclarationContext) Set_IDENTIFIER(v antlr.Token)
func (*NamedDeclarationContext) Set_typeSpecifier ¶
func (s *NamedDeclarationContext) Set_typeSpecifier(v ITypeSpecifierContext)
func (*NamedDeclarationContext) Set_value ¶
func (s *NamedDeclarationContext) Set_value(v IValueContext)
func (*NamedDeclarationContext) ToStringTree ¶
func (s *NamedDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*NamedDeclarationContext) TypeSpecifier ¶
func (s *NamedDeclarationContext) TypeSpecifier() ITypeSpecifierContext
func (*NamedDeclarationContext) Value ¶
func (s *NamedDeclarationContext) Value() IValueContext
type ProcFirstArgContext ¶
type ProcFirstArgContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProcFirstArgContext ¶
func NewEmptyProcFirstArgContext() *ProcFirstArgContext
func NewProcFirstArgContext ¶
func NewProcFirstArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProcFirstArgContext
func (*ProcFirstArgContext) EnterRule ¶
func (s *ProcFirstArgContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProcFirstArgContext) ExitRule ¶
func (s *ProcFirstArgContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProcFirstArgContext) GetParser ¶
func (s *ProcFirstArgContext) GetParser() antlr.Parser
func (*ProcFirstArgContext) GetRuleContext ¶
func (s *ProcFirstArgContext) GetRuleContext() antlr.RuleContext
func (*ProcFirstArgContext) GetV ¶
func (s *ProcFirstArgContext) GetV() model.Type
func (*ProcFirstArgContext) Get_typeSpecifier ¶
func (s *ProcFirstArgContext) Get_typeSpecifier() ITypeSpecifierContext
func (*ProcFirstArgContext) IsProcFirstArgContext ¶
func (*ProcFirstArgContext) IsProcFirstArgContext()
func (*ProcFirstArgContext) SetV ¶
func (s *ProcFirstArgContext) SetV(v model.Type)
func (*ProcFirstArgContext) Set_typeSpecifier ¶
func (s *ProcFirstArgContext) Set_typeSpecifier(v ITypeSpecifierContext)
func (*ProcFirstArgContext) ToStringTree ¶
func (s *ProcFirstArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProcFirstArgContext) TypeSpecifier ¶
func (s *ProcFirstArgContext) TypeSpecifier() ITypeSpecifierContext
type ProcReturnContext ¶
type ProcReturnContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProcReturnContext ¶
func NewEmptyProcReturnContext() *ProcReturnContext
func NewProcReturnContext ¶
func NewProcReturnContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProcReturnContext
func (*ProcReturnContext) EnterRule ¶
func (s *ProcReturnContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProcReturnContext) ExitRule ¶
func (s *ProcReturnContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProcReturnContext) GetParser ¶
func (s *ProcReturnContext) GetParser() antlr.Parser
func (*ProcReturnContext) GetRuleContext ¶
func (s *ProcReturnContext) GetRuleContext() antlr.RuleContext
func (*ProcReturnContext) GetV ¶
func (s *ProcReturnContext) GetV() model.Type
func (*ProcReturnContext) Get_typeSpecifier ¶
func (s *ProcReturnContext) Get_typeSpecifier() ITypeSpecifierContext
func (*ProcReturnContext) IsProcReturnContext ¶
func (*ProcReturnContext) IsProcReturnContext()
func (*ProcReturnContext) SetV ¶
func (s *ProcReturnContext) SetV(v model.Type)
func (*ProcReturnContext) Set_typeSpecifier ¶
func (s *ProcReturnContext) Set_typeSpecifier(v ITypeSpecifierContext)
func (*ProcReturnContext) ToStringTree ¶
func (s *ProcReturnContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProcReturnContext) TypeSpecifier ¶
func (s *ProcReturnContext) TypeSpecifier() ITypeSpecifierContext
type ProcedureDefContext ¶
type ProcedureDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProcedureDefContext ¶
func NewEmptyProcedureDefContext() *ProcedureDefContext
func NewProcedureDefContext ¶
func NewProcedureDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProcedureDefContext
func (*ProcedureDefContext) AllTypeSpecifier ¶
func (s *ProcedureDefContext) AllTypeSpecifier() []ITypeSpecifierContext
func (*ProcedureDefContext) Constant ¶
func (s *ProcedureDefContext) Constant() IConstantContext
func (*ProcedureDefContext) EnterRule ¶
func (s *ProcedureDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProcedureDefContext) ExitRule ¶
func (s *ProcedureDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProcedureDefContext) GetArguments ¶
func (s *ProcedureDefContext) GetArguments() []model.Type
func (*ProcedureDefContext) GetParser ¶
func (s *ProcedureDefContext) GetParser() antlr.Parser
func (*ProcedureDefContext) GetRuleContext ¶
func (s *ProcedureDefContext) GetRuleContext() antlr.RuleContext
func (*ProcedureDefContext) GetV ¶
func (s *ProcedureDefContext) GetV() model.Procedure
func (*ProcedureDefContext) Get_IDENTIFIER ¶
func (s *ProcedureDefContext) Get_IDENTIFIER() antlr.Token
func (*ProcedureDefContext) Get_constant ¶
func (s *ProcedureDefContext) Get_constant() IConstantContext
func (*ProcedureDefContext) Get_procFirstArg ¶
func (s *ProcedureDefContext) Get_procFirstArg() IProcFirstArgContext
func (*ProcedureDefContext) Get_procReturn ¶
func (s *ProcedureDefContext) Get_procReturn() IProcReturnContext
func (*ProcedureDefContext) Get_typeSpecifier ¶
func (s *ProcedureDefContext) Get_typeSpecifier() ITypeSpecifierContext
func (*ProcedureDefContext) IDENTIFIER ¶
func (s *ProcedureDefContext) IDENTIFIER() antlr.TerminalNode
func (*ProcedureDefContext) IsProcedureDefContext ¶
func (*ProcedureDefContext) IsProcedureDefContext()
func (*ProcedureDefContext) ProcFirstArg ¶
func (s *ProcedureDefContext) ProcFirstArg() IProcFirstArgContext
func (*ProcedureDefContext) ProcReturn ¶
func (s *ProcedureDefContext) ProcReturn() IProcReturnContext
func (*ProcedureDefContext) SetArguments ¶
func (s *ProcedureDefContext) SetArguments(v []model.Type)
func (*ProcedureDefContext) SetV ¶
func (s *ProcedureDefContext) SetV(v model.Procedure)
func (*ProcedureDefContext) Set_IDENTIFIER ¶
func (s *ProcedureDefContext) Set_IDENTIFIER(v antlr.Token)
func (*ProcedureDefContext) Set_constant ¶
func (s *ProcedureDefContext) Set_constant(v IConstantContext)
func (*ProcedureDefContext) Set_procFirstArg ¶
func (s *ProcedureDefContext) Set_procFirstArg(v IProcFirstArgContext)
func (*ProcedureDefContext) Set_procReturn ¶
func (s *ProcedureDefContext) Set_procReturn(v IProcReturnContext)
func (*ProcedureDefContext) Set_typeSpecifier ¶
func (s *ProcedureDefContext) Set_typeSpecifier(v ITypeSpecifierContext)
func (*ProcedureDefContext) ToStringTree ¶
func (s *ProcedureDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProcedureDefContext) TypeSpecifier ¶
func (s *ProcedureDefContext) TypeSpecifier(i int) ITypeSpecifierContext
type ProgramDefContext ¶
type ProgramDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramDefContext ¶
func NewEmptyProgramDefContext() *ProgramDefContext
func NewProgramDefContext ¶
func NewProgramDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramDefContext
func (*ProgramDefContext) AllVersionDef ¶
func (s *ProgramDefContext) AllVersionDef() []IVersionDefContext
func (*ProgramDefContext) Constant ¶
func (s *ProgramDefContext) Constant() IConstantContext
func (*ProgramDefContext) EnterRule ¶
func (s *ProgramDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgramDefContext) ExitRule ¶
func (s *ProgramDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgramDefContext) GetParser ¶
func (s *ProgramDefContext) GetParser() antlr.Parser
func (*ProgramDefContext) GetRuleContext ¶
func (s *ProgramDefContext) GetRuleContext() antlr.RuleContext
func (*ProgramDefContext) GetV ¶
func (s *ProgramDefContext) GetV() model.Definition
func (*ProgramDefContext) GetVersions ¶
func (s *ProgramDefContext) GetVersions() []model.Version
func (*ProgramDefContext) Get_IDENTIFIER ¶
func (s *ProgramDefContext) Get_IDENTIFIER() antlr.Token
func (*ProgramDefContext) Get_constant ¶
func (s *ProgramDefContext) Get_constant() IConstantContext
func (*ProgramDefContext) Get_versionDef ¶
func (s *ProgramDefContext) Get_versionDef() IVersionDefContext
func (*ProgramDefContext) IDENTIFIER ¶
func (s *ProgramDefContext) IDENTIFIER() antlr.TerminalNode
func (*ProgramDefContext) IsProgramDefContext ¶
func (*ProgramDefContext) IsProgramDefContext()
func (*ProgramDefContext) SetV ¶
func (s *ProgramDefContext) SetV(v model.Definition)
func (*ProgramDefContext) SetVersions ¶
func (s *ProgramDefContext) SetVersions(v []model.Version)
func (*ProgramDefContext) Set_IDENTIFIER ¶
func (s *ProgramDefContext) Set_IDENTIFIER(v antlr.Token)
func (*ProgramDefContext) Set_constant ¶
func (s *ProgramDefContext) Set_constant(v IConstantContext)
func (*ProgramDefContext) Set_versionDef ¶
func (s *ProgramDefContext) Set_versionDef(v IVersionDefContext)
func (*ProgramDefContext) ToStringTree ¶
func (s *ProgramDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProgramDefContext) VersionDef ¶
func (s *ProgramDefContext) VersionDef(i int) IVersionDefContext
type SpecificationContext ¶
type SpecificationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySpecificationContext ¶
func NewEmptySpecificationContext() *SpecificationContext
func NewSpecificationContext ¶
func NewSpecificationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpecificationContext
func (*SpecificationContext) AllDefinition ¶
func (s *SpecificationContext) AllDefinition() []IDefinitionContext
func (*SpecificationContext) Definition ¶
func (s *SpecificationContext) Definition(i int) IDefinitionContext
func (*SpecificationContext) EnterRule ¶
func (s *SpecificationContext) EnterRule(listener antlr.ParseTreeListener)
func (*SpecificationContext) ExitRule ¶
func (s *SpecificationContext) ExitRule(listener antlr.ParseTreeListener)
func (*SpecificationContext) GetParser ¶
func (s *SpecificationContext) GetParser() antlr.Parser
func (*SpecificationContext) GetRuleContext ¶
func (s *SpecificationContext) GetRuleContext() antlr.RuleContext
func (*SpecificationContext) GetV ¶
func (s *SpecificationContext) GetV() []model.Definition
func (*SpecificationContext) Get_definition ¶
func (s *SpecificationContext) Get_definition() IDefinitionContext
func (*SpecificationContext) IsSpecificationContext ¶
func (*SpecificationContext) IsSpecificationContext()
func (*SpecificationContext) SetV ¶
func (s *SpecificationContext) SetV(v []model.Definition)
func (*SpecificationContext) Set_definition ¶
func (s *SpecificationContext) Set_definition(v IDefinitionContext)
func (*SpecificationContext) ToStringTree ¶
func (s *SpecificationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringConstantContext ¶
type StringConstantContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStringConstantContext ¶
func NewEmptyStringConstantContext() *StringConstantContext
func NewStringConstantContext ¶
func NewStringConstantContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringConstantContext
func (*StringConstantContext) EnterRule ¶
func (s *StringConstantContext) EnterRule(listener antlr.ParseTreeListener)
func (*StringConstantContext) ExitRule ¶
func (s *StringConstantContext) ExitRule(listener antlr.ParseTreeListener)
func (*StringConstantContext) GetParser ¶
func (s *StringConstantContext) GetParser() antlr.Parser
func (*StringConstantContext) GetRuleContext ¶
func (s *StringConstantContext) GetRuleContext() antlr.RuleContext
func (*StringConstantContext) GetV ¶
func (s *StringConstantContext) GetV() string
func (*StringConstantContext) Get_STRING_CONSTANT ¶
func (s *StringConstantContext) Get_STRING_CONSTANT() antlr.Token
func (*StringConstantContext) IsStringConstantContext ¶
func (*StringConstantContext) IsStringConstantContext()
func (*StringConstantContext) STRING_CONSTANT ¶
func (s *StringConstantContext) STRING_CONSTANT() antlr.TerminalNode
func (*StringConstantContext) SetV ¶
func (s *StringConstantContext) SetV(v string)
func (*StringConstantContext) Set_STRING_CONSTANT ¶
func (s *StringConstantContext) Set_STRING_CONSTANT(v antlr.Token)
func (*StringConstantContext) ToStringTree ¶
func (s *StringConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StructBodyContext ¶
type StructBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStructBodyContext ¶
func NewEmptyStructBodyContext() *StructBodyContext
func NewStructBodyContext ¶
func NewStructBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructBodyContext
func (*StructBodyContext) AllNamedDeclaration ¶
func (s *StructBodyContext) AllNamedDeclaration() []INamedDeclarationContext
func (*StructBodyContext) EnterRule ¶
func (s *StructBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructBodyContext) ExitRule ¶
func (s *StructBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructBodyContext) GetDeclarations ¶
func (s *StructBodyContext) GetDeclarations() []model.NamedDeclaration
func (*StructBodyContext) GetParser ¶
func (s *StructBodyContext) GetParser() antlr.Parser
func (*StructBodyContext) GetRuleContext ¶
func (s *StructBodyContext) GetRuleContext() antlr.RuleContext
func (*StructBodyContext) GetV ¶
func (s *StructBodyContext) GetV() model.Type
func (*StructBodyContext) Get_namedDeclaration ¶
func (s *StructBodyContext) Get_namedDeclaration() INamedDeclarationContext
func (*StructBodyContext) IsStructBodyContext ¶
func (*StructBodyContext) IsStructBodyContext()
func (*StructBodyContext) NamedDeclaration ¶
func (s *StructBodyContext) NamedDeclaration(i int) INamedDeclarationContext
func (*StructBodyContext) SetDeclarations ¶
func (s *StructBodyContext) SetDeclarations(v []model.NamedDeclaration)
func (*StructBodyContext) SetV ¶
func (s *StructBodyContext) SetV(v model.Type)
func (*StructBodyContext) Set_namedDeclaration ¶
func (s *StructBodyContext) Set_namedDeclaration(v INamedDeclarationContext)
func (*StructBodyContext) ToStringTree ¶
func (s *StructBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StructTypeSpecContext ¶
type StructTypeSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStructTypeSpecContext ¶
func NewEmptyStructTypeSpecContext() *StructTypeSpecContext
func NewStructTypeSpecContext ¶
func NewStructTypeSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructTypeSpecContext
func (*StructTypeSpecContext) EnterRule ¶
func (s *StructTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*StructTypeSpecContext) ExitRule ¶
func (s *StructTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*StructTypeSpecContext) GetParser ¶
func (s *StructTypeSpecContext) GetParser() antlr.Parser
func (*StructTypeSpecContext) GetRuleContext ¶
func (s *StructTypeSpecContext) GetRuleContext() antlr.RuleContext
func (*StructTypeSpecContext) GetV ¶
func (s *StructTypeSpecContext) GetV() model.Type
func (*StructTypeSpecContext) Get_structBody ¶
func (s *StructTypeSpecContext) Get_structBody() IStructBodyContext
func (*StructTypeSpecContext) IsStructTypeSpecContext ¶
func (*StructTypeSpecContext) IsStructTypeSpecContext()
func (*StructTypeSpecContext) SetV ¶
func (s *StructTypeSpecContext) SetV(v model.Type)
func (*StructTypeSpecContext) Set_structBody ¶
func (s *StructTypeSpecContext) Set_structBody(v IStructBodyContext)
func (*StructTypeSpecContext) StructBody ¶
func (s *StructTypeSpecContext) StructBody() IStructBodyContext
func (*StructTypeSpecContext) ToStringTree ¶
func (s *StructTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TopLevelContext ¶
type TopLevelContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTopLevelContext ¶
func NewEmptyTopLevelContext() *TopLevelContext
func NewTopLevelContext ¶
func NewTopLevelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TopLevelContext
func (*TopLevelContext) EOF ¶
func (s *TopLevelContext) EOF() antlr.TerminalNode
func (*TopLevelContext) EnterRule ¶
func (s *TopLevelContext) EnterRule(listener antlr.ParseTreeListener)
func (*TopLevelContext) ExitRule ¶
func (s *TopLevelContext) ExitRule(listener antlr.ParseTreeListener)
func (*TopLevelContext) GetParser ¶
func (s *TopLevelContext) GetParser() antlr.Parser
func (*TopLevelContext) GetRuleContext ¶
func (s *TopLevelContext) GetRuleContext() antlr.RuleContext
func (*TopLevelContext) GetV ¶
func (s *TopLevelContext) GetV() model.TopLevel
func (*TopLevelContext) Get_imports ¶
func (s *TopLevelContext) Get_imports() IImportsContext
func (*TopLevelContext) Get_specification ¶
func (s *TopLevelContext) Get_specification() ISpecificationContext
func (*TopLevelContext) Get_stringConstant ¶
func (s *TopLevelContext) Get_stringConstant() IStringConstantContext
func (*TopLevelContext) Imports ¶
func (s *TopLevelContext) Imports() IImportsContext
func (*TopLevelContext) IsTopLevelContext ¶
func (*TopLevelContext) IsTopLevelContext()
func (*TopLevelContext) SetV ¶
func (s *TopLevelContext) SetV(v model.TopLevel)
func (*TopLevelContext) Set_imports ¶
func (s *TopLevelContext) Set_imports(v IImportsContext)
func (*TopLevelContext) Set_specification ¶
func (s *TopLevelContext) Set_specification(v ISpecificationContext)
func (*TopLevelContext) Set_stringConstant ¶
func (s *TopLevelContext) Set_stringConstant(v IStringConstantContext)
func (*TopLevelContext) Specification ¶
func (s *TopLevelContext) Specification() ISpecificationContext
func (*TopLevelContext) StringConstant ¶
func (s *TopLevelContext) StringConstant() IStringConstantContext
func (*TopLevelContext) ToStringTree ¶
func (s *TopLevelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeDefContext ¶
type TypeDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeDefContext ¶
func NewEmptyTypeDefContext() *TypeDefContext
func NewTypeDefContext ¶
func NewTypeDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDefContext
func (*TypeDefContext) EnterRule ¶
func (s *TypeDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeDefContext) EnumBody ¶
func (s *TypeDefContext) EnumBody() IEnumBodyContext
func (*TypeDefContext) ExitRule ¶
func (s *TypeDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeDefContext) GetParser ¶
func (s *TypeDefContext) GetParser() antlr.Parser
func (*TypeDefContext) GetRuleContext ¶
func (s *TypeDefContext) GetRuleContext() antlr.RuleContext
func (*TypeDefContext) GetV ¶
func (s *TypeDefContext) GetV() model.NamedDeclaration
func (*TypeDefContext) Get_IDENTIFIER ¶
func (s *TypeDefContext) Get_IDENTIFIER() antlr.Token
func (*TypeDefContext) Get_enumBody ¶
func (s *TypeDefContext) Get_enumBody() IEnumBodyContext
func (*TypeDefContext) Get_namedDeclaration ¶
func (s *TypeDefContext) Get_namedDeclaration() INamedDeclarationContext
func (*TypeDefContext) Get_structBody ¶
func (s *TypeDefContext) Get_structBody() IStructBodyContext
func (*TypeDefContext) Get_unionBody ¶
func (s *TypeDefContext) Get_unionBody() IUnionBodyContext
func (*TypeDefContext) IDENTIFIER ¶
func (s *TypeDefContext) IDENTIFIER() antlr.TerminalNode
func (*TypeDefContext) IsTypeDefContext ¶
func (*TypeDefContext) IsTypeDefContext()
func (*TypeDefContext) NamedDeclaration ¶
func (s *TypeDefContext) NamedDeclaration() INamedDeclarationContext
func (*TypeDefContext) SetV ¶
func (s *TypeDefContext) SetV(v model.NamedDeclaration)
func (*TypeDefContext) Set_IDENTIFIER ¶
func (s *TypeDefContext) Set_IDENTIFIER(v antlr.Token)
func (*TypeDefContext) Set_enumBody ¶
func (s *TypeDefContext) Set_enumBody(v IEnumBodyContext)
func (*TypeDefContext) Set_namedDeclaration ¶
func (s *TypeDefContext) Set_namedDeclaration(v INamedDeclarationContext)
func (*TypeDefContext) Set_structBody ¶
func (s *TypeDefContext) Set_structBody(v IStructBodyContext)
func (*TypeDefContext) Set_unionBody ¶
func (s *TypeDefContext) Set_unionBody(v IUnionBodyContext)
func (*TypeDefContext) StructBody ¶
func (s *TypeDefContext) StructBody() IStructBodyContext
func (*TypeDefContext) ToStringTree ¶
func (s *TypeDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeDefContext) UnionBody ¶
func (s *TypeDefContext) UnionBody() IUnionBodyContext
type TypeSpecifierContext ¶
type TypeSpecifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeSpecifierContext ¶
func NewEmptyTypeSpecifierContext() *TypeSpecifierContext
func NewTypeSpecifierContext ¶
func NewTypeSpecifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeSpecifierContext
func (*TypeSpecifierContext) EnterRule ¶
func (s *TypeSpecifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeSpecifierContext) EnumTypeSpec ¶
func (s *TypeSpecifierContext) EnumTypeSpec() IEnumTypeSpecContext
func (*TypeSpecifierContext) ExitRule ¶
func (s *TypeSpecifierContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeSpecifierContext) GetParser ¶
func (s *TypeSpecifierContext) GetParser() antlr.Parser
func (*TypeSpecifierContext) GetRuleContext ¶
func (s *TypeSpecifierContext) GetRuleContext() antlr.RuleContext
func (*TypeSpecifierContext) GetV ¶
func (s *TypeSpecifierContext) GetV() model.Type
func (*TypeSpecifierContext) Get_IDENTIFIER ¶
func (s *TypeSpecifierContext) Get_IDENTIFIER() antlr.Token
func (*TypeSpecifierContext) Get_enumTypeSpec ¶
func (s *TypeSpecifierContext) Get_enumTypeSpec() IEnumTypeSpecContext
func (*TypeSpecifierContext) Get_structTypeSpec ¶
func (s *TypeSpecifierContext) Get_structTypeSpec() IStructTypeSpecContext
func (*TypeSpecifierContext) Get_unionTypeSpec ¶
func (s *TypeSpecifierContext) Get_unionTypeSpec() IUnionTypeSpecContext
func (*TypeSpecifierContext) IDENTIFIER ¶
func (s *TypeSpecifierContext) IDENTIFIER() antlr.TerminalNode
func (*TypeSpecifierContext) IsTypeSpecifierContext ¶
func (*TypeSpecifierContext) IsTypeSpecifierContext()
func (*TypeSpecifierContext) SetV ¶
func (s *TypeSpecifierContext) SetV(v model.Type)
func (*TypeSpecifierContext) Set_IDENTIFIER ¶
func (s *TypeSpecifierContext) Set_IDENTIFIER(v antlr.Token)
func (*TypeSpecifierContext) Set_enumTypeSpec ¶
func (s *TypeSpecifierContext) Set_enumTypeSpec(v IEnumTypeSpecContext)
func (*TypeSpecifierContext) Set_structTypeSpec ¶
func (s *TypeSpecifierContext) Set_structTypeSpec(v IStructTypeSpecContext)
func (*TypeSpecifierContext) Set_unionTypeSpec ¶
func (s *TypeSpecifierContext) Set_unionTypeSpec(v IUnionTypeSpecContext)
func (*TypeSpecifierContext) StructTypeSpec ¶
func (s *TypeSpecifierContext) StructTypeSpec() IStructTypeSpecContext
func (*TypeSpecifierContext) ToStringTree ¶
func (s *TypeSpecifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeSpecifierContext) UnionTypeSpec ¶
func (s *TypeSpecifierContext) UnionTypeSpec() IUnionTypeSpecContext
type UnionBodyContext ¶
type UnionBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnionBodyContext ¶
func NewEmptyUnionBodyContext() *UnionBodyContext
func NewUnionBodyContext ¶
func NewUnionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnionBodyContext
func (*UnionBodyContext) AllCaseSpec ¶
func (s *UnionBodyContext) AllCaseSpec() []ICaseSpecContext
func (*UnionBodyContext) CaseSpec ¶
func (s *UnionBodyContext) CaseSpec(i int) ICaseSpecContext
func (*UnionBodyContext) Declaration ¶
func (s *UnionBodyContext) Declaration() IDeclarationContext
func (*UnionBodyContext) EnterRule ¶
func (s *UnionBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnionBodyContext) ExitRule ¶
func (s *UnionBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnionBodyContext) GetCases ¶
func (s *UnionBodyContext) GetCases() []model.CaseSpec
func (*UnionBodyContext) GetDefaultCase ¶
func (s *UnionBodyContext) GetDefaultCase() model.Declaration
func (*UnionBodyContext) GetParser ¶
func (s *UnionBodyContext) GetParser() antlr.Parser
func (*UnionBodyContext) GetRuleContext ¶
func (s *UnionBodyContext) GetRuleContext() antlr.RuleContext
func (*UnionBodyContext) GetV ¶
func (s *UnionBodyContext) GetV() model.Type
func (*UnionBodyContext) Get_caseSpec ¶
func (s *UnionBodyContext) Get_caseSpec() ICaseSpecContext
func (*UnionBodyContext) Get_declaration ¶
func (s *UnionBodyContext) Get_declaration() IDeclarationContext
func (*UnionBodyContext) Get_namedDeclaration ¶
func (s *UnionBodyContext) Get_namedDeclaration() INamedDeclarationContext
func (*UnionBodyContext) IsUnionBodyContext ¶
func (*UnionBodyContext) IsUnionBodyContext()
func (*UnionBodyContext) NamedDeclaration ¶
func (s *UnionBodyContext) NamedDeclaration() INamedDeclarationContext
func (*UnionBodyContext) SetCases ¶
func (s *UnionBodyContext) SetCases(v []model.CaseSpec)
func (*UnionBodyContext) SetDefaultCase ¶
func (s *UnionBodyContext) SetDefaultCase(v model.Declaration)
func (*UnionBodyContext) SetV ¶
func (s *UnionBodyContext) SetV(v model.Type)
func (*UnionBodyContext) Set_caseSpec ¶
func (s *UnionBodyContext) Set_caseSpec(v ICaseSpecContext)
func (*UnionBodyContext) Set_declaration ¶
func (s *UnionBodyContext) Set_declaration(v IDeclarationContext)
func (*UnionBodyContext) Set_namedDeclaration ¶
func (s *UnionBodyContext) Set_namedDeclaration(v INamedDeclarationContext)
func (*UnionBodyContext) ToStringTree ¶
func (s *UnionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UnionTypeSpecContext ¶
type UnionTypeSpecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnionTypeSpecContext ¶
func NewEmptyUnionTypeSpecContext() *UnionTypeSpecContext
func NewUnionTypeSpecContext ¶
func NewUnionTypeSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnionTypeSpecContext
func (*UnionTypeSpecContext) EnterRule ¶
func (s *UnionTypeSpecContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnionTypeSpecContext) ExitRule ¶
func (s *UnionTypeSpecContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnionTypeSpecContext) GetParser ¶
func (s *UnionTypeSpecContext) GetParser() antlr.Parser
func (*UnionTypeSpecContext) GetRuleContext ¶
func (s *UnionTypeSpecContext) GetRuleContext() antlr.RuleContext
func (*UnionTypeSpecContext) GetV ¶
func (s *UnionTypeSpecContext) GetV() model.Type
func (*UnionTypeSpecContext) Get_unionBody ¶
func (s *UnionTypeSpecContext) Get_unionBody() IUnionBodyContext
func (*UnionTypeSpecContext) IsUnionTypeSpecContext ¶
func (*UnionTypeSpecContext) IsUnionTypeSpecContext()
func (*UnionTypeSpecContext) SetV ¶
func (s *UnionTypeSpecContext) SetV(v model.Type)
func (*UnionTypeSpecContext) Set_unionBody ¶
func (s *UnionTypeSpecContext) Set_unionBody(v IUnionBodyContext)
func (*UnionTypeSpecContext) ToStringTree ¶
func (s *UnionTypeSpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UnionTypeSpecContext) UnionBody ¶
func (s *UnionTypeSpecContext) UnionBody() IUnionBodyContext
type ValueContext ¶
type ValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) Constant ¶
func (s *ValueContext) Constant() IConstantContext
func (*ValueContext) EnterRule ¶
func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ValueContext) ExitRule ¶
func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) GetV ¶
func (s *ValueContext) GetV() model.Value
func (*ValueContext) Get_IDENTIFIER ¶
func (s *ValueContext) Get_IDENTIFIER() antlr.Token
func (*ValueContext) Get_constant ¶
func (s *ValueContext) Get_constant() IConstantContext
func (*ValueContext) IDENTIFIER ¶
func (s *ValueContext) IDENTIFIER() antlr.TerminalNode
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) SetV ¶
func (s *ValueContext) SetV(v model.Value)
func (*ValueContext) Set_IDENTIFIER ¶
func (s *ValueContext) Set_IDENTIFIER(v antlr.Token)
func (*ValueContext) Set_constant ¶
func (s *ValueContext) Set_constant(v IConstantContext)
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type VersionDefContext ¶
type VersionDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVersionDefContext ¶
func NewEmptyVersionDefContext() *VersionDefContext
func NewVersionDefContext ¶
func NewVersionDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VersionDefContext
func (*VersionDefContext) AllProcedureDef ¶
func (s *VersionDefContext) AllProcedureDef() []IProcedureDefContext
func (*VersionDefContext) Constant ¶
func (s *VersionDefContext) Constant() IConstantContext
func (*VersionDefContext) EnterRule ¶
func (s *VersionDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*VersionDefContext) ExitRule ¶
func (s *VersionDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*VersionDefContext) GetParser ¶
func (s *VersionDefContext) GetParser() antlr.Parser
func (*VersionDefContext) GetProcedures ¶
func (s *VersionDefContext) GetProcedures() []model.Procedure
func (*VersionDefContext) GetRuleContext ¶
func (s *VersionDefContext) GetRuleContext() antlr.RuleContext
func (*VersionDefContext) GetV ¶
func (s *VersionDefContext) GetV() model.Version
func (*VersionDefContext) Get_IDENTIFIER ¶
func (s *VersionDefContext) Get_IDENTIFIER() antlr.Token
func (*VersionDefContext) Get_constant ¶
func (s *VersionDefContext) Get_constant() IConstantContext
func (*VersionDefContext) Get_procedureDef ¶
func (s *VersionDefContext) Get_procedureDef() IProcedureDefContext
func (*VersionDefContext) IDENTIFIER ¶
func (s *VersionDefContext) IDENTIFIER() antlr.TerminalNode
func (*VersionDefContext) IsVersionDefContext ¶
func (*VersionDefContext) IsVersionDefContext()
func (*VersionDefContext) ProcedureDef ¶
func (s *VersionDefContext) ProcedureDef(i int) IProcedureDefContext
func (*VersionDefContext) SetProcedures ¶
func (s *VersionDefContext) SetProcedures(v []model.Procedure)
func (*VersionDefContext) SetV ¶
func (s *VersionDefContext) SetV(v model.Version)
func (*VersionDefContext) Set_IDENTIFIER ¶
func (s *VersionDefContext) Set_IDENTIFIER(v antlr.Token)
func (*VersionDefContext) Set_constant ¶
func (s *VersionDefContext) Set_constant(v IConstantContext)
func (*VersionDefContext) Set_procedureDef ¶
func (s *VersionDefContext) Set_procedureDef(v IProcedureDefContext)
func (*VersionDefContext) ToStringTree ¶
func (s *VersionDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type XDRLexer ¶
func NewXDRLexer ¶
func NewXDRLexer(input antlr.CharStream) *XDRLexer
NewXDRLexer produces a new lexer instance for the optional input antlr.CharStream.
type XDRListener ¶
type XDRListener interface { antlr.ParseTreeListener // EnterTopLevel is called when entering the topLevel production. EnterTopLevel(c *TopLevelContext) // EnterImports is called when entering the imports production. EnterImports(c *ImportsContext) // EnterStringConstant is called when entering the stringConstant production. EnterStringConstant(c *StringConstantContext) // EnterNamedDeclaration is called when entering the namedDeclaration production. EnterNamedDeclaration(c *NamedDeclarationContext) // EnterDeclaration is called when entering the declaration production. EnterDeclaration(c *DeclarationContext) // EnterValue is called when entering the value production. EnterValue(c *ValueContext) // EnterConstant is called when entering the constant production. EnterConstant(c *ConstantContext) // EnterTypeSpecifier is called when entering the typeSpecifier production. EnterTypeSpecifier(c *TypeSpecifierContext) // EnterEnumTypeSpec is called when entering the enumTypeSpec production. EnterEnumTypeSpec(c *EnumTypeSpecContext) // EnterEnumBody is called when entering the enumBody production. EnterEnumBody(c *EnumBodyContext) // EnterStructTypeSpec is called when entering the structTypeSpec production. EnterStructTypeSpec(c *StructTypeSpecContext) // EnterStructBody is called when entering the structBody production. EnterStructBody(c *StructBodyContext) // EnterUnionTypeSpec is called when entering the unionTypeSpec production. EnterUnionTypeSpec(c *UnionTypeSpecContext) // EnterUnionBody is called when entering the unionBody production. EnterUnionBody(c *UnionBodyContext) // EnterCaseSpec is called when entering the caseSpec production. EnterCaseSpec(c *CaseSpecContext) // EnterConstantDef is called when entering the constantDef production. EnterConstantDef(c *ConstantDefContext) // EnterTypeDef is called when entering the typeDef production. EnterTypeDef(c *TypeDefContext) // EnterDefinition is called when entering the definition production. EnterDefinition(c *DefinitionContext) // EnterSpecification is called when entering the specification production. EnterSpecification(c *SpecificationContext) // EnterProgramDef is called when entering the programDef production. EnterProgramDef(c *ProgramDefContext) // EnterVersionDef is called when entering the versionDef production. EnterVersionDef(c *VersionDefContext) // EnterProcedureDef is called when entering the procedureDef production. EnterProcedureDef(c *ProcedureDefContext) // EnterProcReturn is called when entering the procReturn production. EnterProcReturn(c *ProcReturnContext) // EnterProcFirstArg is called when entering the procFirstArg production. EnterProcFirstArg(c *ProcFirstArgContext) // ExitTopLevel is called when exiting the topLevel production. ExitTopLevel(c *TopLevelContext) // ExitImports is called when exiting the imports production. ExitImports(c *ImportsContext) // ExitStringConstant is called when exiting the stringConstant production. ExitStringConstant(c *StringConstantContext) // ExitNamedDeclaration is called when exiting the namedDeclaration production. ExitNamedDeclaration(c *NamedDeclarationContext) // ExitDeclaration is called when exiting the declaration production. ExitDeclaration(c *DeclarationContext) // ExitValue is called when exiting the value production. ExitValue(c *ValueContext) // ExitConstant is called when exiting the constant production. ExitConstant(c *ConstantContext) // ExitTypeSpecifier is called when exiting the typeSpecifier production. ExitTypeSpecifier(c *TypeSpecifierContext) // ExitEnumTypeSpec is called when exiting the enumTypeSpec production. ExitEnumTypeSpec(c *EnumTypeSpecContext) // ExitEnumBody is called when exiting the enumBody production. ExitEnumBody(c *EnumBodyContext) // ExitStructTypeSpec is called when exiting the structTypeSpec production. ExitStructTypeSpec(c *StructTypeSpecContext) // ExitStructBody is called when exiting the structBody production. ExitStructBody(c *StructBodyContext) // ExitUnionTypeSpec is called when exiting the unionTypeSpec production. ExitUnionTypeSpec(c *UnionTypeSpecContext) // ExitUnionBody is called when exiting the unionBody production. ExitUnionBody(c *UnionBodyContext) // ExitCaseSpec is called when exiting the caseSpec production. ExitCaseSpec(c *CaseSpecContext) // ExitConstantDef is called when exiting the constantDef production. ExitConstantDef(c *ConstantDefContext) // ExitTypeDef is called when exiting the typeDef production. ExitTypeDef(c *TypeDefContext) // ExitDefinition is called when exiting the definition production. ExitDefinition(c *DefinitionContext) // ExitSpecification is called when exiting the specification production. ExitSpecification(c *SpecificationContext) // ExitProgramDef is called when exiting the programDef production. ExitProgramDef(c *ProgramDefContext) // ExitVersionDef is called when exiting the versionDef production. ExitVersionDef(c *VersionDefContext) // ExitProcedureDef is called when exiting the procedureDef production. ExitProcedureDef(c *ProcedureDefContext) // ExitProcReturn is called when exiting the procReturn production. ExitProcReturn(c *ProcReturnContext) // ExitProcFirstArg is called when exiting the procFirstArg production. ExitProcFirstArg(c *ProcFirstArgContext) }
XDRListener is a complete listener for a parse tree produced by XDRParser.
type XDRParser ¶
type XDRParser struct {
*antlr.BaseParser
}
func NewXDRParser ¶
func NewXDRParser(input antlr.TokenStream) *XDRParser
NewXDRParser produces a new parser instance for the optional input antlr.TokenStream.
func (*XDRParser) CaseSpec ¶
func (p *XDRParser) CaseSpec() (localctx ICaseSpecContext)
func (*XDRParser) Constant ¶
func (p *XDRParser) Constant() (localctx IConstantContext)
func (*XDRParser) ConstantDef ¶
func (p *XDRParser) ConstantDef() (localctx IConstantDefContext)
func (*XDRParser) Declaration ¶
func (p *XDRParser) Declaration() (localctx IDeclarationContext)
func (*XDRParser) Definition ¶
func (p *XDRParser) Definition() (localctx IDefinitionContext)
func (*XDRParser) EnumBody ¶
func (p *XDRParser) EnumBody() (localctx IEnumBodyContext)
func (*XDRParser) EnumTypeSpec ¶
func (p *XDRParser) EnumTypeSpec() (localctx IEnumTypeSpecContext)
func (*XDRParser) Imports ¶
func (p *XDRParser) Imports() (localctx IImportsContext)
func (*XDRParser) NamedDeclaration ¶
func (p *XDRParser) NamedDeclaration() (localctx INamedDeclarationContext)
func (*XDRParser) ProcFirstArg ¶
func (p *XDRParser) ProcFirstArg() (localctx IProcFirstArgContext)
func (*XDRParser) ProcReturn ¶
func (p *XDRParser) ProcReturn() (localctx IProcReturnContext)
func (*XDRParser) ProcedureDef ¶
func (p *XDRParser) ProcedureDef() (localctx IProcedureDefContext)
func (*XDRParser) ProgramDef ¶
func (p *XDRParser) ProgramDef() (localctx IProgramDefContext)
func (*XDRParser) Specification ¶
func (p *XDRParser) Specification() (localctx ISpecificationContext)
func (*XDRParser) StringConstant ¶
func (p *XDRParser) StringConstant() (localctx IStringConstantContext)
func (*XDRParser) StructBody ¶
func (p *XDRParser) StructBody() (localctx IStructBodyContext)
func (*XDRParser) StructTypeSpec ¶
func (p *XDRParser) StructTypeSpec() (localctx IStructTypeSpecContext)
func (*XDRParser) TopLevel ¶
func (p *XDRParser) TopLevel() (localctx ITopLevelContext)
func (*XDRParser) TypeDef ¶
func (p *XDRParser) TypeDef() (localctx ITypeDefContext)
func (*XDRParser) TypeSpecifier ¶
func (p *XDRParser) TypeSpecifier() (localctx ITypeSpecifierContext)
func (*XDRParser) UnionBody ¶
func (p *XDRParser) UnionBody() (localctx IUnionBodyContext)
func (*XDRParser) UnionTypeSpec ¶
func (p *XDRParser) UnionTypeSpec() (localctx IUnionTypeSpecContext)
func (*XDRParser) Value ¶
func (p *XDRParser) Value() (localctx IValueContext)
func (*XDRParser) VersionDef ¶
func (p *XDRParser) VersionDef() (localctx IVersionDefContext)