language

package
v0.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package language contains the objects that now how to read and write models from and to files.

Index

Constants

View Source
const (
	ModelLexerATTRIBUTE            = 1
	ModelLexerCLASS                = 2
	ModelLexerCODE                 = 3
	ModelLexerENUM                 = 4
	ModelLexerERROR                = 5
	ModelLexerFALSE                = 6
	ModelLexerIN                   = 7
	ModelLexerLINK                 = 8
	ModelLexerLOCATOR              = 9
	ModelLexerMETHOD               = 10
	ModelLexerOUT                  = 11
	ModelLexerPARAMETER            = 12
	ModelLexerRESOURCE             = 13
	ModelLexerSTRUCT               = 14
	ModelLexerTARGET               = 15
	ModelLexerTRUE                 = 16
	ModelLexerVALUE                = 17
	ModelLexerVARIABLE             = 18
	ModelLexerAT_SIGN              = 19
	ModelLexerLEFT_CURLY_BRACKET   = 20
	ModelLexerRIGHT_CURLY_BRACKET  = 21
	ModelLexerLEFT_SQUARE_BRACKET  = 22
	ModelLexerRIGHT_SQUARE_BRACKET = 23
	ModelLexerLEFT_PARENTHESIS     = 24
	ModelLexerRIGHT_PARENTHESIS    = 25
	ModelLexerEQUALS_SIGN          = 26
	ModelLexerINTEGER_LITERAL      = 27
	ModelLexerSTRING_LITERAL       = 28
	ModelLexerIDENTIFIER           = 29
	ModelLexerLINE_COMMENT         = 30
	ModelLexerBLOCK_COMMENT        = 31
	ModelLexerWS                   = 32
)

ModelLexer tokens.

View Source
const (
	ModelParserEOF                  = antlr.TokenEOF
	ModelParserATTRIBUTE            = 1
	ModelParserCLASS                = 2
	ModelParserCODE                 = 3
	ModelParserENUM                 = 4
	ModelParserERROR                = 5
	ModelParserFALSE                = 6
	ModelParserIN                   = 7
	ModelParserLINK                 = 8
	ModelParserLOCATOR              = 9
	ModelParserMETHOD               = 10
	ModelParserOUT                  = 11
	ModelParserPARAMETER            = 12
	ModelParserRESOURCE             = 13
	ModelParserSTRUCT               = 14
	ModelParserTARGET               = 15
	ModelParserTRUE                 = 16
	ModelParserVALUE                = 17
	ModelParserVARIABLE             = 18
	ModelParserAT_SIGN              = 19
	ModelParserLEFT_CURLY_BRACKET   = 20
	ModelParserRIGHT_CURLY_BRACKET  = 21
	ModelParserLEFT_SQUARE_BRACKET  = 22
	ModelParserRIGHT_SQUARE_BRACKET = 23
	ModelParserLEFT_PARENTHESIS     = 24
	ModelParserRIGHT_PARENTHESIS    = 25
	ModelParserEQUALS_SIGN          = 26
	ModelParserINTEGER_LITERAL      = 27
	ModelParserSTRING_LITERAL       = 28
	ModelParserIDENTIFIER           = 29
	ModelParserLINE_COMMENT         = 30
	ModelParserBLOCK_COMMENT        = 31
	ModelParserWS                   = 32
)

ModelParser tokens.

View Source
const (
	ModelParserRULE_file                 = 0
	ModelParserRULE_declaration          = 1
	ModelParserRULE_typeDecl             = 2
	ModelParserRULE_enumDecl             = 3
	ModelParserRULE_enumMemberDecl       = 4
	ModelParserRULE_classDecl            = 5
	ModelParserRULE_structDecl           = 6
	ModelParserRULE_structMemberDecl     = 7
	ModelParserRULE_attributeKind        = 8
	ModelParserRULE_typeReference        = 9
	ModelParserRULE_plainTypeReference   = 10
	ModelParserRULE_listTypeReference    = 11
	ModelParserRULE_mapTypeReference     = 12
	ModelParserRULE_resourceDecl         = 13
	ModelParserRULE_resourceMemberDecl   = 14
	ModelParserRULE_methodDecl           = 15
	ModelParserRULE_methodMemberDecl     = 16
	ModelParserRULE_methodParameterDecl  = 17
	ModelParserRULE_parameterDirection   = 18
	ModelParserRULE_locatorDecl          = 19
	ModelParserRULE_locatorMemberDecl    = 20
	ModelParserRULE_locatorTargetDecl    = 21
	ModelParserRULE_locatorVariableDecl  = 22
	ModelParserRULE_resourceReference    = 23
	ModelParserRULE_errorDecl            = 24
	ModelParserRULE_errorMemberDecl      = 25
	ModelParserRULE_errorCodeDecl        = 26
	ModelParserRULE_annotation           = 27
	ModelParserRULE_annotationParameters = 28
	ModelParserRULE_annotationParameter  = 29
	ModelParserRULE_literal              = 30
	ModelParserRULE_booleanLiteral       = 31
	ModelParserRULE_integerLiteral       = 32
	ModelParserRULE_stringLiteral        = 33
	ModelParserRULE_identifier           = 34
)

ModelParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationContext added in v0.0.52

type AnnotationContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAnnotationContext added in v0.0.52

func NewAnnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnotationContext

func NewEmptyAnnotationContext added in v0.0.52

func NewEmptyAnnotationContext() *AnnotationContext

func (*AnnotationContext) AT_SIGN added in v0.0.52

func (s *AnnotationContext) AT_SIGN() antlr.TerminalNode

func (*AnnotationContext) AnnotationParameters added in v0.0.52

func (s *AnnotationContext) AnnotationParameters() IAnnotationParametersContext

func (*AnnotationContext) EnterRule added in v0.0.52

func (s *AnnotationContext) EnterRule(listener antlr.ParseTreeListener)

func (*AnnotationContext) ExitRule added in v0.0.52

func (s *AnnotationContext) ExitRule(listener antlr.ParseTreeListener)

func (*AnnotationContext) GetName added in v0.0.52

func (*AnnotationContext) GetParameters added in v0.0.52

func (*AnnotationContext) GetParser added in v0.0.52

func (s *AnnotationContext) GetParser() antlr.Parser

func (*AnnotationContext) GetResult added in v0.0.52

func (s *AnnotationContext) GetResult() *concepts.Annotation

func (*AnnotationContext) GetRuleContext added in v0.0.52

func (s *AnnotationContext) GetRuleContext() antlr.RuleContext

func (*AnnotationContext) Identifier added in v0.0.52

func (s *AnnotationContext) Identifier() IIdentifierContext

func (*AnnotationContext) IsAnnotationContext added in v0.0.52

func (*AnnotationContext) IsAnnotationContext()

func (*AnnotationContext) SetName added in v0.0.52

func (s *AnnotationContext) SetName(v IIdentifierContext)

func (*AnnotationContext) SetParameters added in v0.0.52

func (s *AnnotationContext) SetParameters(v IAnnotationParametersContext)

func (*AnnotationContext) SetResult added in v0.0.52

func (s *AnnotationContext) SetResult(v *concepts.Annotation)

func (*AnnotationContext) ToStringTree added in v0.0.52

func (s *AnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AnnotationParameterContext added in v0.0.52

type AnnotationParameterContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAnnotationParameterContext added in v0.0.52

func NewAnnotationParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnotationParameterContext

func NewEmptyAnnotationParameterContext added in v0.0.52

func NewEmptyAnnotationParameterContext() *AnnotationParameterContext

func (*AnnotationParameterContext) EQUALS_SIGN added in v0.0.52

func (*AnnotationParameterContext) EnterRule added in v0.0.52

func (s *AnnotationParameterContext) EnterRule(listener antlr.ParseTreeListener)

func (*AnnotationParameterContext) ExitRule added in v0.0.52

func (s *AnnotationParameterContext) ExitRule(listener antlr.ParseTreeListener)

func (*AnnotationParameterContext) GetName added in v0.0.52

func (s *AnnotationParameterContext) GetName() string

func (*AnnotationParameterContext) GetParser added in v0.0.52

func (s *AnnotationParameterContext) GetParser() antlr.Parser

func (*AnnotationParameterContext) GetRuleContext added in v0.0.52

func (s *AnnotationParameterContext) GetRuleContext() antlr.RuleContext

func (*AnnotationParameterContext) GetValue added in v0.0.52

func (s *AnnotationParameterContext) GetValue() interface{}

func (*AnnotationParameterContext) Identifier added in v0.0.52

func (*AnnotationParameterContext) IsAnnotationParameterContext added in v0.0.52

func (*AnnotationParameterContext) IsAnnotationParameterContext()

func (*AnnotationParameterContext) Literal added in v0.0.52

func (*AnnotationParameterContext) SetName added in v0.0.52

func (s *AnnotationParameterContext) SetName(v string)

func (*AnnotationParameterContext) SetValue added in v0.0.52

func (s *AnnotationParameterContext) SetValue(v interface{})

func (*AnnotationParameterContext) ToStringTree added in v0.0.52

func (s *AnnotationParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AnnotationParametersContext added in v0.0.52

type AnnotationParametersContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAnnotationParametersContext added in v0.0.52

func NewAnnotationParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnotationParametersContext

func NewEmptyAnnotationParametersContext added in v0.0.52

func NewEmptyAnnotationParametersContext() *AnnotationParametersContext

func (*AnnotationParametersContext) AllAnnotationParameter added in v0.0.52

func (s *AnnotationParametersContext) AllAnnotationParameter() []IAnnotationParameterContext

func (*AnnotationParametersContext) AnnotationParameter added in v0.0.52

func (*AnnotationParametersContext) EnterRule added in v0.0.52

func (s *AnnotationParametersContext) EnterRule(listener antlr.ParseTreeListener)

func (*AnnotationParametersContext) ExitRule added in v0.0.52

func (s *AnnotationParametersContext) ExitRule(listener antlr.ParseTreeListener)

func (*AnnotationParametersContext) GetParameters added in v0.0.52

func (*AnnotationParametersContext) GetParser added in v0.0.52

func (s *AnnotationParametersContext) GetParser() antlr.Parser

func (*AnnotationParametersContext) GetResult added in v0.0.52

func (s *AnnotationParametersContext) GetResult() map[string]interface{}

func (*AnnotationParametersContext) GetRuleContext added in v0.0.52

func (s *AnnotationParametersContext) GetRuleContext() antlr.RuleContext

func (*AnnotationParametersContext) Get_annotationParameter added in v0.0.52

func (s *AnnotationParametersContext) Get_annotationParameter() IAnnotationParameterContext

func (*AnnotationParametersContext) IsAnnotationParametersContext added in v0.0.52

func (*AnnotationParametersContext) IsAnnotationParametersContext()

func (*AnnotationParametersContext) LEFT_PARENTHESIS added in v0.0.52

func (s *AnnotationParametersContext) LEFT_PARENTHESIS() antlr.TerminalNode

func (*AnnotationParametersContext) RIGHT_PARENTHESIS added in v0.0.52

func (s *AnnotationParametersContext) RIGHT_PARENTHESIS() antlr.TerminalNode

func (*AnnotationParametersContext) SetParameters added in v0.0.52

func (*AnnotationParametersContext) SetResult added in v0.0.52

func (s *AnnotationParametersContext) SetResult(v map[string]interface{})

func (*AnnotationParametersContext) Set_annotationParameter added in v0.0.52

func (s *AnnotationParametersContext) Set_annotationParameter(v IAnnotationParameterContext)

func (*AnnotationParametersContext) ToStringTree added in v0.0.52

func (s *AnnotationParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttributeKindContext added in v0.0.49

type AttributeKindContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttributeKindContext added in v0.0.49

func NewAttributeKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeKindContext

func NewEmptyAttributeKindContext added in v0.0.49

func NewEmptyAttributeKindContext() *AttributeKindContext

func (*AttributeKindContext) ATTRIBUTE added in v0.0.49

func (s *AttributeKindContext) ATTRIBUTE() antlr.TerminalNode

func (*AttributeKindContext) EnterRule added in v0.0.49

func (s *AttributeKindContext) EnterRule(listener antlr.ParseTreeListener)

func (*AttributeKindContext) ExitRule added in v0.0.49

func (s *AttributeKindContext) ExitRule(listener antlr.ParseTreeListener)

func (*AttributeKindContext) GetParser added in v0.0.49

func (s *AttributeKindContext) GetParser() antlr.Parser

func (*AttributeKindContext) GetResult added in v0.0.49

func (s *AttributeKindContext) GetResult() int

func (*AttributeKindContext) GetRuleContext added in v0.0.49

func (s *AttributeKindContext) GetRuleContext() antlr.RuleContext

func (*AttributeKindContext) IsAttributeKindContext added in v0.0.49

func (*AttributeKindContext) IsAttributeKindContext()

func (*AttributeKindContext) SetResult added in v0.0.49

func (s *AttributeKindContext) SetResult(v int)

func (*AttributeKindContext) ToStringTree added in v0.0.49

func (s *AttributeKindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BaseModelParserListener added in v0.0.49

type BaseModelParserListener struct{}

BaseModelParserListener is a complete listener for a parse tree produced by ModelParser.

func (*BaseModelParserListener) EnterAnnotation added in v0.0.52

func (s *BaseModelParserListener) EnterAnnotation(ctx *AnnotationContext)

EnterAnnotation is called when production annotation is entered.

func (*BaseModelParserListener) EnterAnnotationParameter added in v0.0.52

func (s *BaseModelParserListener) EnterAnnotationParameter(ctx *AnnotationParameterContext)

EnterAnnotationParameter is called when production annotationParameter is entered.

func (*BaseModelParserListener) EnterAnnotationParameters added in v0.0.52

func (s *BaseModelParserListener) EnterAnnotationParameters(ctx *AnnotationParametersContext)

EnterAnnotationParameters is called when production annotationParameters is entered.

func (*BaseModelParserListener) EnterAttributeKind added in v0.0.49

func (s *BaseModelParserListener) EnterAttributeKind(ctx *AttributeKindContext)

EnterAttributeKind is called when production attributeKind is entered.

func (*BaseModelParserListener) EnterBooleanLiteral added in v0.0.49

func (s *BaseModelParserListener) EnterBooleanLiteral(ctx *BooleanLiteralContext)

EnterBooleanLiteral is called when production booleanLiteral is entered.

func (*BaseModelParserListener) EnterClassDecl added in v0.0.49

func (s *BaseModelParserListener) EnterClassDecl(ctx *ClassDeclContext)

EnterClassDecl is called when production classDecl is entered.

func (*BaseModelParserListener) EnterDeclaration added in v0.0.49

func (s *BaseModelParserListener) EnterDeclaration(ctx *DeclarationContext)

EnterDeclaration is called when production declaration is entered.

func (*BaseModelParserListener) EnterEnumDecl added in v0.0.49

func (s *BaseModelParserListener) EnterEnumDecl(ctx *EnumDeclContext)

EnterEnumDecl is called when production enumDecl is entered.

func (*BaseModelParserListener) EnterEnumMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterEnumMemberDecl(ctx *EnumMemberDeclContext)

EnterEnumMemberDecl is called when production enumMemberDecl is entered.

func (*BaseModelParserListener) EnterErrorCodeDecl added in v0.0.49

func (s *BaseModelParserListener) EnterErrorCodeDecl(ctx *ErrorCodeDeclContext)

EnterErrorCodeDecl is called when production errorCodeDecl is entered.

func (*BaseModelParserListener) EnterErrorDecl added in v0.0.49

func (s *BaseModelParserListener) EnterErrorDecl(ctx *ErrorDeclContext)

EnterErrorDecl is called when production errorDecl is entered.

func (*BaseModelParserListener) EnterErrorMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterErrorMemberDecl(ctx *ErrorMemberDeclContext)

EnterErrorMemberDecl is called when production errorMemberDecl is entered.

func (*BaseModelParserListener) EnterEveryRule added in v0.0.49

func (s *BaseModelParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseModelParserListener) EnterFile added in v0.0.49

func (s *BaseModelParserListener) EnterFile(ctx *FileContext)

EnterFile is called when production file is entered.

func (*BaseModelParserListener) EnterIdentifier added in v0.0.49

func (s *BaseModelParserListener) EnterIdentifier(ctx *IdentifierContext)

EnterIdentifier is called when production identifier is entered.

func (*BaseModelParserListener) EnterIntegerLiteral added in v0.0.49

func (s *BaseModelParserListener) EnterIntegerLiteral(ctx *IntegerLiteralContext)

EnterIntegerLiteral is called when production integerLiteral is entered.

func (*BaseModelParserListener) EnterListTypeReference added in v0.0.49

func (s *BaseModelParserListener) EnterListTypeReference(ctx *ListTypeReferenceContext)

EnterListTypeReference is called when production listTypeReference is entered.

func (*BaseModelParserListener) EnterLiteral added in v0.0.49

func (s *BaseModelParserListener) EnterLiteral(ctx *LiteralContext)

EnterLiteral is called when production literal is entered.

func (*BaseModelParserListener) EnterLocatorDecl added in v0.0.49

func (s *BaseModelParserListener) EnterLocatorDecl(ctx *LocatorDeclContext)

EnterLocatorDecl is called when production locatorDecl is entered.

func (*BaseModelParserListener) EnterLocatorMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterLocatorMemberDecl(ctx *LocatorMemberDeclContext)

EnterLocatorMemberDecl is called when production locatorMemberDecl is entered.

func (*BaseModelParserListener) EnterLocatorTargetDecl added in v0.0.49

func (s *BaseModelParserListener) EnterLocatorTargetDecl(ctx *LocatorTargetDeclContext)

EnterLocatorTargetDecl is called when production locatorTargetDecl is entered.

func (*BaseModelParserListener) EnterLocatorVariableDecl added in v0.0.49

func (s *BaseModelParserListener) EnterLocatorVariableDecl(ctx *LocatorVariableDeclContext)

EnterLocatorVariableDecl is called when production locatorVariableDecl is entered.

func (*BaseModelParserListener) EnterMapTypeReference added in v0.0.49

func (s *BaseModelParserListener) EnterMapTypeReference(ctx *MapTypeReferenceContext)

EnterMapTypeReference is called when production mapTypeReference is entered.

func (*BaseModelParserListener) EnterMethodDecl added in v0.0.49

func (s *BaseModelParserListener) EnterMethodDecl(ctx *MethodDeclContext)

EnterMethodDecl is called when production methodDecl is entered.

func (*BaseModelParserListener) EnterMethodMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterMethodMemberDecl(ctx *MethodMemberDeclContext)

EnterMethodMemberDecl is called when production methodMemberDecl is entered.

func (*BaseModelParserListener) EnterMethodParameterDecl added in v0.0.49

func (s *BaseModelParserListener) EnterMethodParameterDecl(ctx *MethodParameterDeclContext)

EnterMethodParameterDecl is called when production methodParameterDecl is entered.

func (*BaseModelParserListener) EnterParameterDirection added in v0.0.49

func (s *BaseModelParserListener) EnterParameterDirection(ctx *ParameterDirectionContext)

EnterParameterDirection is called when production parameterDirection is entered.

func (*BaseModelParserListener) EnterPlainTypeReference added in v0.0.49

func (s *BaseModelParserListener) EnterPlainTypeReference(ctx *PlainTypeReferenceContext)

EnterPlainTypeReference is called when production plainTypeReference is entered.

func (*BaseModelParserListener) EnterResourceDecl added in v0.0.49

func (s *BaseModelParserListener) EnterResourceDecl(ctx *ResourceDeclContext)

EnterResourceDecl is called when production resourceDecl is entered.

func (*BaseModelParserListener) EnterResourceMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterResourceMemberDecl(ctx *ResourceMemberDeclContext)

EnterResourceMemberDecl is called when production resourceMemberDecl is entered.

func (*BaseModelParserListener) EnterResourceReference added in v0.0.49

func (s *BaseModelParserListener) EnterResourceReference(ctx *ResourceReferenceContext)

EnterResourceReference is called when production resourceReference is entered.

func (*BaseModelParserListener) EnterStringLiteral added in v0.0.49

func (s *BaseModelParserListener) EnterStringLiteral(ctx *StringLiteralContext)

EnterStringLiteral is called when production stringLiteral is entered.

func (*BaseModelParserListener) EnterStructDecl added in v0.0.49

func (s *BaseModelParserListener) EnterStructDecl(ctx *StructDeclContext)

EnterStructDecl is called when production structDecl is entered.

func (*BaseModelParserListener) EnterStructMemberDecl added in v0.0.49

func (s *BaseModelParserListener) EnterStructMemberDecl(ctx *StructMemberDeclContext)

EnterStructMemberDecl is called when production structMemberDecl is entered.

func (*BaseModelParserListener) EnterTypeDecl added in v0.0.49

func (s *BaseModelParserListener) EnterTypeDecl(ctx *TypeDeclContext)

EnterTypeDecl is called when production typeDecl is entered.

func (*BaseModelParserListener) EnterTypeReference added in v0.0.49

func (s *BaseModelParserListener) EnterTypeReference(ctx *TypeReferenceContext)

EnterTypeReference is called when production typeReference is entered.

func (*BaseModelParserListener) ExitAnnotation added in v0.0.52

func (s *BaseModelParserListener) ExitAnnotation(ctx *AnnotationContext)

ExitAnnotation is called when production annotation is exited.

func (*BaseModelParserListener) ExitAnnotationParameter added in v0.0.52

func (s *BaseModelParserListener) ExitAnnotationParameter(ctx *AnnotationParameterContext)

ExitAnnotationParameter is called when production annotationParameter is exited.

func (*BaseModelParserListener) ExitAnnotationParameters added in v0.0.52

func (s *BaseModelParserListener) ExitAnnotationParameters(ctx *AnnotationParametersContext)

ExitAnnotationParameters is called when production annotationParameters is exited.

func (*BaseModelParserListener) ExitAttributeKind added in v0.0.49

func (s *BaseModelParserListener) ExitAttributeKind(ctx *AttributeKindContext)

ExitAttributeKind is called when production attributeKind is exited.

func (*BaseModelParserListener) ExitBooleanLiteral added in v0.0.49

func (s *BaseModelParserListener) ExitBooleanLiteral(ctx *BooleanLiteralContext)

ExitBooleanLiteral is called when production booleanLiteral is exited.

func (*BaseModelParserListener) ExitClassDecl added in v0.0.49

func (s *BaseModelParserListener) ExitClassDecl(ctx *ClassDeclContext)

ExitClassDecl is called when production classDecl is exited.

func (*BaseModelParserListener) ExitDeclaration added in v0.0.49

func (s *BaseModelParserListener) ExitDeclaration(ctx *DeclarationContext)

ExitDeclaration is called when production declaration is exited.

func (*BaseModelParserListener) ExitEnumDecl added in v0.0.49

func (s *BaseModelParserListener) ExitEnumDecl(ctx *EnumDeclContext)

ExitEnumDecl is called when production enumDecl is exited.

func (*BaseModelParserListener) ExitEnumMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitEnumMemberDecl(ctx *EnumMemberDeclContext)

ExitEnumMemberDecl is called when production enumMemberDecl is exited.

func (*BaseModelParserListener) ExitErrorCodeDecl added in v0.0.49

func (s *BaseModelParserListener) ExitErrorCodeDecl(ctx *ErrorCodeDeclContext)

ExitErrorCodeDecl is called when production errorCodeDecl is exited.

func (*BaseModelParserListener) ExitErrorDecl added in v0.0.49

func (s *BaseModelParserListener) ExitErrorDecl(ctx *ErrorDeclContext)

ExitErrorDecl is called when production errorDecl is exited.

func (*BaseModelParserListener) ExitErrorMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitErrorMemberDecl(ctx *ErrorMemberDeclContext)

ExitErrorMemberDecl is called when production errorMemberDecl is exited.

func (*BaseModelParserListener) ExitEveryRule added in v0.0.49

func (s *BaseModelParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseModelParserListener) ExitFile added in v0.0.49

func (s *BaseModelParserListener) ExitFile(ctx *FileContext)

ExitFile is called when production file is exited.

func (*BaseModelParserListener) ExitIdentifier added in v0.0.49

func (s *BaseModelParserListener) ExitIdentifier(ctx *IdentifierContext)

ExitIdentifier is called when production identifier is exited.

func (*BaseModelParserListener) ExitIntegerLiteral added in v0.0.49

func (s *BaseModelParserListener) ExitIntegerLiteral(ctx *IntegerLiteralContext)

ExitIntegerLiteral is called when production integerLiteral is exited.

func (*BaseModelParserListener) ExitListTypeReference added in v0.0.49

func (s *BaseModelParserListener) ExitListTypeReference(ctx *ListTypeReferenceContext)

ExitListTypeReference is called when production listTypeReference is exited.

func (*BaseModelParserListener) ExitLiteral added in v0.0.49

func (s *BaseModelParserListener) ExitLiteral(ctx *LiteralContext)

ExitLiteral is called when production literal is exited.

func (*BaseModelParserListener) ExitLocatorDecl added in v0.0.49

func (s *BaseModelParserListener) ExitLocatorDecl(ctx *LocatorDeclContext)

ExitLocatorDecl is called when production locatorDecl is exited.

func (*BaseModelParserListener) ExitLocatorMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitLocatorMemberDecl(ctx *LocatorMemberDeclContext)

ExitLocatorMemberDecl is called when production locatorMemberDecl is exited.

func (*BaseModelParserListener) ExitLocatorTargetDecl added in v0.0.49

func (s *BaseModelParserListener) ExitLocatorTargetDecl(ctx *LocatorTargetDeclContext)

ExitLocatorTargetDecl is called when production locatorTargetDecl is exited.

func (*BaseModelParserListener) ExitLocatorVariableDecl added in v0.0.49

func (s *BaseModelParserListener) ExitLocatorVariableDecl(ctx *LocatorVariableDeclContext)

ExitLocatorVariableDecl is called when production locatorVariableDecl is exited.

func (*BaseModelParserListener) ExitMapTypeReference added in v0.0.49

func (s *BaseModelParserListener) ExitMapTypeReference(ctx *MapTypeReferenceContext)

ExitMapTypeReference is called when production mapTypeReference is exited.

func (*BaseModelParserListener) ExitMethodDecl added in v0.0.49

func (s *BaseModelParserListener) ExitMethodDecl(ctx *MethodDeclContext)

ExitMethodDecl is called when production methodDecl is exited.

func (*BaseModelParserListener) ExitMethodMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitMethodMemberDecl(ctx *MethodMemberDeclContext)

ExitMethodMemberDecl is called when production methodMemberDecl is exited.

func (*BaseModelParserListener) ExitMethodParameterDecl added in v0.0.49

func (s *BaseModelParserListener) ExitMethodParameterDecl(ctx *MethodParameterDeclContext)

ExitMethodParameterDecl is called when production methodParameterDecl is exited.

func (*BaseModelParserListener) ExitParameterDirection added in v0.0.49

func (s *BaseModelParserListener) ExitParameterDirection(ctx *ParameterDirectionContext)

ExitParameterDirection is called when production parameterDirection is exited.

func (*BaseModelParserListener) ExitPlainTypeReference added in v0.0.49

func (s *BaseModelParserListener) ExitPlainTypeReference(ctx *PlainTypeReferenceContext)

ExitPlainTypeReference is called when production plainTypeReference is exited.

func (*BaseModelParserListener) ExitResourceDecl added in v0.0.49

func (s *BaseModelParserListener) ExitResourceDecl(ctx *ResourceDeclContext)

ExitResourceDecl is called when production resourceDecl is exited.

func (*BaseModelParserListener) ExitResourceMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitResourceMemberDecl(ctx *ResourceMemberDeclContext)

ExitResourceMemberDecl is called when production resourceMemberDecl is exited.

func (*BaseModelParserListener) ExitResourceReference added in v0.0.49

func (s *BaseModelParserListener) ExitResourceReference(ctx *ResourceReferenceContext)

ExitResourceReference is called when production resourceReference is exited.

func (*BaseModelParserListener) ExitStringLiteral added in v0.0.49

func (s *BaseModelParserListener) ExitStringLiteral(ctx *StringLiteralContext)

ExitStringLiteral is called when production stringLiteral is exited.

func (*BaseModelParserListener) ExitStructDecl added in v0.0.49

func (s *BaseModelParserListener) ExitStructDecl(ctx *StructDeclContext)

ExitStructDecl is called when production structDecl is exited.

func (*BaseModelParserListener) ExitStructMemberDecl added in v0.0.49

func (s *BaseModelParserListener) ExitStructMemberDecl(ctx *StructMemberDeclContext)

ExitStructMemberDecl is called when production structMemberDecl is exited.

func (*BaseModelParserListener) ExitTypeDecl added in v0.0.49

func (s *BaseModelParserListener) ExitTypeDecl(ctx *TypeDeclContext)

ExitTypeDecl is called when production typeDecl is exited.

func (*BaseModelParserListener) ExitTypeReference added in v0.0.49

func (s *BaseModelParserListener) ExitTypeReference(ctx *TypeReferenceContext)

ExitTypeReference is called when production typeReference is exited.

func (*BaseModelParserListener) VisitErrorNode added in v0.0.49

func (s *BaseModelParserListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseModelParserListener) VisitTerminal added in v0.0.49

func (s *BaseModelParserListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BooleanLiteralContext added in v0.0.49

type BooleanLiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBooleanLiteralContext added in v0.0.49

func NewBooleanLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanLiteralContext

func NewEmptyBooleanLiteralContext added in v0.0.49

func NewEmptyBooleanLiteralContext() *BooleanLiteralContext

func (*BooleanLiteralContext) EnterRule added in v0.0.49

func (s *BooleanLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*BooleanLiteralContext) ExitRule added in v0.0.49

func (s *BooleanLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*BooleanLiteralContext) FALSE added in v0.0.49

func (*BooleanLiteralContext) GetParser added in v0.0.49

func (s *BooleanLiteralContext) GetParser() antlr.Parser

func (*BooleanLiteralContext) GetResult added in v0.0.49

func (s *BooleanLiteralContext) GetResult() bool

func (*BooleanLiteralContext) GetRuleContext added in v0.0.49

func (s *BooleanLiteralContext) GetRuleContext() antlr.RuleContext

func (*BooleanLiteralContext) IsBooleanLiteralContext added in v0.0.49

func (*BooleanLiteralContext) IsBooleanLiteralContext()

func (*BooleanLiteralContext) SetResult added in v0.0.49

func (s *BooleanLiteralContext) SetResult(v bool)

func (*BooleanLiteralContext) TRUE added in v0.0.49

func (*BooleanLiteralContext) ToStringTree added in v0.0.49

func (s *BooleanLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ClassDeclContext added in v0.0.49

type ClassDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewClassDeclContext added in v0.0.49

func NewClassDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassDeclContext

func NewEmptyClassDeclContext added in v0.0.49

func NewEmptyClassDeclContext() *ClassDeclContext

func (*ClassDeclContext) AllAnnotation added in v0.0.52

func (s *ClassDeclContext) AllAnnotation() []IAnnotationContext

func (*ClassDeclContext) AllStructMemberDecl added in v0.0.49

func (s *ClassDeclContext) AllStructMemberDecl() []IStructMemberDeclContext

func (*ClassDeclContext) Annotation added in v0.0.52

func (s *ClassDeclContext) Annotation(i int) IAnnotationContext

func (*ClassDeclContext) CLASS added in v0.0.49

func (s *ClassDeclContext) CLASS() antlr.TerminalNode

func (*ClassDeclContext) EnterRule added in v0.0.49

func (s *ClassDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ClassDeclContext) ExitRule added in v0.0.49

func (s *ClassDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ClassDeclContext) GetAnnotations added in v0.0.52

func (s *ClassDeclContext) GetAnnotations() []IAnnotationContext

func (*ClassDeclContext) GetMembers added in v0.0.49

func (s *ClassDeclContext) GetMembers() []IStructMemberDeclContext

func (*ClassDeclContext) GetName added in v0.0.49

func (s *ClassDeclContext) GetName() IIdentifierContext

func (*ClassDeclContext) GetParser added in v0.0.49

func (s *ClassDeclContext) GetParser() antlr.Parser

func (*ClassDeclContext) GetResult added in v0.0.49

func (s *ClassDeclContext) GetResult() *concepts.Type

func (*ClassDeclContext) GetRuleContext added in v0.0.49

func (s *ClassDeclContext) GetRuleContext() antlr.RuleContext

func (*ClassDeclContext) Get_annotation added in v0.0.52

func (s *ClassDeclContext) Get_annotation() IAnnotationContext

func (*ClassDeclContext) Get_structMemberDecl added in v0.0.49

func (s *ClassDeclContext) Get_structMemberDecl() IStructMemberDeclContext

func (*ClassDeclContext) Identifier added in v0.0.49

func (s *ClassDeclContext) Identifier() IIdentifierContext

func (*ClassDeclContext) IsClassDeclContext added in v0.0.49

func (*ClassDeclContext) IsClassDeclContext()

func (*ClassDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *ClassDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*ClassDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *ClassDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*ClassDeclContext) SetAnnotations added in v0.0.52

func (s *ClassDeclContext) SetAnnotations(v []IAnnotationContext)

func (*ClassDeclContext) SetMembers added in v0.0.49

func (s *ClassDeclContext) SetMembers(v []IStructMemberDeclContext)

func (*ClassDeclContext) SetName added in v0.0.49

func (s *ClassDeclContext) SetName(v IIdentifierContext)

func (*ClassDeclContext) SetResult added in v0.0.49

func (s *ClassDeclContext) SetResult(v *concepts.Type)

func (*ClassDeclContext) Set_annotation added in v0.0.52

func (s *ClassDeclContext) Set_annotation(v IAnnotationContext)

func (*ClassDeclContext) Set_structMemberDecl added in v0.0.49

func (s *ClassDeclContext) Set_structMemberDecl(v IStructMemberDeclContext)

func (*ClassDeclContext) StructMemberDecl added in v0.0.49

func (s *ClassDeclContext) StructMemberDecl(i int) IStructMemberDeclContext

func (*ClassDeclContext) ToStringTree added in v0.0.49

func (s *ClassDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DeclarationContext added in v0.0.49

type DeclarationContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDeclarationContext added in v0.0.49

func NewDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationContext

func NewEmptyDeclarationContext added in v0.0.49

func NewEmptyDeclarationContext() *DeclarationContext

func (*DeclarationContext) EnterRule added in v0.0.49

func (s *DeclarationContext) EnterRule(listener antlr.ParseTreeListener)

func (*DeclarationContext) ExitRule added in v0.0.49

func (s *DeclarationContext) ExitRule(listener antlr.ParseTreeListener)

func (*DeclarationContext) GetParser added in v0.0.49

func (s *DeclarationContext) GetParser() antlr.Parser

func (*DeclarationContext) GetRuleContext added in v0.0.49

func (s *DeclarationContext) GetRuleContext() antlr.RuleContext

func (*DeclarationContext) IsDeclarationContext added in v0.0.49

func (*DeclarationContext) IsDeclarationContext()

func (*DeclarationContext) ResourceDecl added in v0.0.49

func (s *DeclarationContext) ResourceDecl() IResourceDeclContext

func (*DeclarationContext) ToStringTree added in v0.0.49

func (s *DeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*DeclarationContext) TypeDecl added in v0.0.49

func (s *DeclarationContext) TypeDecl() ITypeDeclContext

type EnumDeclContext added in v0.0.49

type EnumDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyEnumDeclContext added in v0.0.49

func NewEmptyEnumDeclContext() *EnumDeclContext

func NewEnumDeclContext added in v0.0.49

func NewEnumDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumDeclContext

func (*EnumDeclContext) AllAnnotation added in v0.0.52

func (s *EnumDeclContext) AllAnnotation() []IAnnotationContext

func (*EnumDeclContext) AllEnumMemberDecl added in v0.0.49

func (s *EnumDeclContext) AllEnumMemberDecl() []IEnumMemberDeclContext

func (*EnumDeclContext) Annotation added in v0.0.52

func (s *EnumDeclContext) Annotation(i int) IAnnotationContext

func (*EnumDeclContext) ENUM added in v0.0.49

func (*EnumDeclContext) EnterRule added in v0.0.49

func (s *EnumDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*EnumDeclContext) EnumMemberDecl added in v0.0.49

func (s *EnumDeclContext) EnumMemberDecl(i int) IEnumMemberDeclContext

func (*EnumDeclContext) ExitRule added in v0.0.49

func (s *EnumDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*EnumDeclContext) GetAnnotations added in v0.0.52

func (s *EnumDeclContext) GetAnnotations() []IAnnotationContext

func (*EnumDeclContext) GetMembers added in v0.0.49

func (s *EnumDeclContext) GetMembers() []IEnumMemberDeclContext

func (*EnumDeclContext) GetName added in v0.0.49

func (s *EnumDeclContext) GetName() IIdentifierContext

func (*EnumDeclContext) GetParser added in v0.0.49

func (s *EnumDeclContext) GetParser() antlr.Parser

func (*EnumDeclContext) GetResult added in v0.0.49

func (s *EnumDeclContext) GetResult() *concepts.Type

func (*EnumDeclContext) GetRuleContext added in v0.0.49

func (s *EnumDeclContext) GetRuleContext() antlr.RuleContext

func (*EnumDeclContext) Get_annotation added in v0.0.52

func (s *EnumDeclContext) Get_annotation() IAnnotationContext

func (*EnumDeclContext) Get_enumMemberDecl added in v0.0.49

func (s *EnumDeclContext) Get_enumMemberDecl() IEnumMemberDeclContext

func (*EnumDeclContext) Identifier added in v0.0.49

func (s *EnumDeclContext) Identifier() IIdentifierContext

func (*EnumDeclContext) IsEnumDeclContext added in v0.0.49

func (*EnumDeclContext) IsEnumDeclContext()

func (*EnumDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *EnumDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*EnumDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *EnumDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*EnumDeclContext) SetAnnotations added in v0.0.52

func (s *EnumDeclContext) SetAnnotations(v []IAnnotationContext)

func (*EnumDeclContext) SetMembers added in v0.0.49

func (s *EnumDeclContext) SetMembers(v []IEnumMemberDeclContext)

func (*EnumDeclContext) SetName added in v0.0.49

func (s *EnumDeclContext) SetName(v IIdentifierContext)

func (*EnumDeclContext) SetResult added in v0.0.49

func (s *EnumDeclContext) SetResult(v *concepts.Type)

func (*EnumDeclContext) Set_annotation added in v0.0.52

func (s *EnumDeclContext) Set_annotation(v IAnnotationContext)

func (*EnumDeclContext) Set_enumMemberDecl added in v0.0.49

func (s *EnumDeclContext) Set_enumMemberDecl(v IEnumMemberDeclContext)

func (*EnumDeclContext) ToStringTree added in v0.0.49

func (s *EnumDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EnumMemberDeclContext added in v0.0.49

type EnumMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyEnumMemberDeclContext added in v0.0.49

func NewEmptyEnumMemberDeclContext() *EnumMemberDeclContext

func NewEnumMemberDeclContext added in v0.0.49

func NewEnumMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumMemberDeclContext

func (*EnumMemberDeclContext) AllAnnotation added in v0.0.52

func (s *EnumMemberDeclContext) AllAnnotation() []IAnnotationContext

func (*EnumMemberDeclContext) Annotation added in v0.0.52

func (s *EnumMemberDeclContext) Annotation(i int) IAnnotationContext

func (*EnumMemberDeclContext) EnterRule added in v0.0.49

func (s *EnumMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*EnumMemberDeclContext) ExitRule added in v0.0.49

func (s *EnumMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*EnumMemberDeclContext) GetAnnotations added in v0.0.52

func (s *EnumMemberDeclContext) GetAnnotations() []IAnnotationContext

func (*EnumMemberDeclContext) GetName added in v0.0.49

func (*EnumMemberDeclContext) GetParser added in v0.0.49

func (s *EnumMemberDeclContext) GetParser() antlr.Parser

func (*EnumMemberDeclContext) GetResult added in v0.0.49

func (s *EnumMemberDeclContext) GetResult() *concepts.EnumValue

func (*EnumMemberDeclContext) GetRuleContext added in v0.0.49

func (s *EnumMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*EnumMemberDeclContext) Get_annotation added in v0.0.52

func (s *EnumMemberDeclContext) Get_annotation() IAnnotationContext

func (*EnumMemberDeclContext) Identifier added in v0.0.49

func (s *EnumMemberDeclContext) Identifier() IIdentifierContext

func (*EnumMemberDeclContext) IsEnumMemberDeclContext added in v0.0.49

func (*EnumMemberDeclContext) IsEnumMemberDeclContext()

func (*EnumMemberDeclContext) SetAnnotations added in v0.0.52

func (s *EnumMemberDeclContext) SetAnnotations(v []IAnnotationContext)

func (*EnumMemberDeclContext) SetName added in v0.0.49

func (*EnumMemberDeclContext) SetResult added in v0.0.49

func (s *EnumMemberDeclContext) SetResult(v *concepts.EnumValue)

func (*EnumMemberDeclContext) Set_annotation added in v0.0.52

func (s *EnumMemberDeclContext) Set_annotation(v IAnnotationContext)

func (*EnumMemberDeclContext) ToStringTree added in v0.0.49

func (s *EnumMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*EnumMemberDeclContext) VALUE added in v0.0.49

type ErrorCodeDeclContext added in v0.0.49

type ErrorCodeDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyErrorCodeDeclContext added in v0.0.49

func NewEmptyErrorCodeDeclContext() *ErrorCodeDeclContext

func NewErrorCodeDeclContext added in v0.0.49

func NewErrorCodeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ErrorCodeDeclContext

func (*ErrorCodeDeclContext) CODE added in v0.0.49

func (*ErrorCodeDeclContext) EnterRule added in v0.0.49

func (s *ErrorCodeDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ErrorCodeDeclContext) ExitRule added in v0.0.49

func (s *ErrorCodeDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ErrorCodeDeclContext) GetCode added in v0.0.49

func (s *ErrorCodeDeclContext) GetCode() antlr.Token

func (*ErrorCodeDeclContext) GetParser added in v0.0.49

func (s *ErrorCodeDeclContext) GetParser() antlr.Parser

func (*ErrorCodeDeclContext) GetResult added in v0.0.49

func (s *ErrorCodeDeclContext) GetResult() int

func (*ErrorCodeDeclContext) GetRuleContext added in v0.0.49

func (s *ErrorCodeDeclContext) GetRuleContext() antlr.RuleContext

func (*ErrorCodeDeclContext) INTEGER_LITERAL added in v0.0.49

func (s *ErrorCodeDeclContext) INTEGER_LITERAL() antlr.TerminalNode

func (*ErrorCodeDeclContext) IsErrorCodeDeclContext added in v0.0.49

func (*ErrorCodeDeclContext) IsErrorCodeDeclContext()

func (*ErrorCodeDeclContext) SetCode added in v0.0.49

func (s *ErrorCodeDeclContext) SetCode(v antlr.Token)

func (*ErrorCodeDeclContext) SetResult added in v0.0.49

func (s *ErrorCodeDeclContext) SetResult(v int)

func (*ErrorCodeDeclContext) ToStringTree added in v0.0.49

func (s *ErrorCodeDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ErrorDeclContext added in v0.0.49

type ErrorDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyErrorDeclContext added in v0.0.49

func NewEmptyErrorDeclContext() *ErrorDeclContext

func NewErrorDeclContext added in v0.0.49

func NewErrorDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ErrorDeclContext

func (*ErrorDeclContext) AllAnnotation added in v0.0.52

func (s *ErrorDeclContext) AllAnnotation() []IAnnotationContext

func (*ErrorDeclContext) AllErrorMemberDecl added in v0.0.49

func (s *ErrorDeclContext) AllErrorMemberDecl() []IErrorMemberDeclContext

func (*ErrorDeclContext) Annotation added in v0.0.52

func (s *ErrorDeclContext) Annotation(i int) IAnnotationContext

func (*ErrorDeclContext) ERROR added in v0.0.49

func (s *ErrorDeclContext) ERROR() antlr.TerminalNode

func (*ErrorDeclContext) EnterRule added in v0.0.49

func (s *ErrorDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ErrorDeclContext) ErrorMemberDecl added in v0.0.49

func (s *ErrorDeclContext) ErrorMemberDecl(i int) IErrorMemberDeclContext

func (*ErrorDeclContext) ExitRule added in v0.0.49

func (s *ErrorDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ErrorDeclContext) GetAnnotations added in v0.0.52

func (s *ErrorDeclContext) GetAnnotations() []IAnnotationContext

func (*ErrorDeclContext) GetMembers added in v0.0.49

func (s *ErrorDeclContext) GetMembers() []IErrorMemberDeclContext

func (*ErrorDeclContext) GetName added in v0.0.49

func (s *ErrorDeclContext) GetName() IIdentifierContext

func (*ErrorDeclContext) GetParser added in v0.0.49

func (s *ErrorDeclContext) GetParser() antlr.Parser

func (*ErrorDeclContext) GetResult added in v0.0.49

func (s *ErrorDeclContext) GetResult() *concepts.Error

func (*ErrorDeclContext) GetRuleContext added in v0.0.49

func (s *ErrorDeclContext) GetRuleContext() antlr.RuleContext

func (*ErrorDeclContext) Get_annotation added in v0.0.52

func (s *ErrorDeclContext) Get_annotation() IAnnotationContext

func (*ErrorDeclContext) Get_errorMemberDecl added in v0.0.49

func (s *ErrorDeclContext) Get_errorMemberDecl() IErrorMemberDeclContext

func (*ErrorDeclContext) Identifier added in v0.0.49

func (s *ErrorDeclContext) Identifier() IIdentifierContext

func (*ErrorDeclContext) IsErrorDeclContext added in v0.0.49

func (*ErrorDeclContext) IsErrorDeclContext()

func (*ErrorDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *ErrorDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*ErrorDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *ErrorDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*ErrorDeclContext) SetAnnotations added in v0.0.52

func (s *ErrorDeclContext) SetAnnotations(v []IAnnotationContext)

func (*ErrorDeclContext) SetMembers added in v0.0.49

func (s *ErrorDeclContext) SetMembers(v []IErrorMemberDeclContext)

func (*ErrorDeclContext) SetName added in v0.0.49

func (s *ErrorDeclContext) SetName(v IIdentifierContext)

func (*ErrorDeclContext) SetResult added in v0.0.49

func (s *ErrorDeclContext) SetResult(v *concepts.Error)

func (*ErrorDeclContext) Set_annotation added in v0.0.52

func (s *ErrorDeclContext) Set_annotation(v IAnnotationContext)

func (*ErrorDeclContext) Set_errorMemberDecl added in v0.0.49

func (s *ErrorDeclContext) Set_errorMemberDecl(v IErrorMemberDeclContext)

func (*ErrorDeclContext) ToStringTree added in v0.0.49

func (s *ErrorDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ErrorListener

type ErrorListener struct {
	// contains filtered or unexported fields
}

ErrorListener is used to report errors detected while scanning and parsing the model files.

func (*ErrorListener) ReportAmbiguity

func (l *ErrorListener) ReportAmbiguity(parser antlr.Parser, dfa *antlr.DFA, start, stop int,
	exact bool, alts *antlr.BitSet, configs antlr.ATNConfigSet)

func (*ErrorListener) ReportAttemptingFullContext

func (l *ErrorListener) ReportAttemptingFullContext(parser antlr.Parser, dfa *antlr.DFA, start,
	stop int, alts *antlr.BitSet, configs antlr.ATNConfigSet)

func (*ErrorListener) ReportContextSensitivity

func (l *ErrorListener) ReportContextSensitivity(parser antlr.Parser, dfa *antlr.DFA, start, stop,
	prediction int, configs antlr.ATNConfigSet)

func (*ErrorListener) SyntaxError

func (l *ErrorListener) SyntaxError(parser antlr.Recognizer, symbol interface{}, line, column int,
	msg string, exception antlr.RecognitionException)

Syntax error is callend when the ANTLR runtime needs to report an error detected by the scanner or by the parser of the model language.

type ErrorListenerBuilder

type ErrorListenerBuilder struct {
	// contains filtered or unexported fields
}

ErrorListenerBuilder is used to build error listeners.

func NewErrorListener

func NewErrorListener() *ErrorListenerBuilder

NewErrorListener creates a new builder of error listeners.

func (*ErrorListenerBuilder) Build

func (b *ErrorListenerBuilder) Build() (listener *ErrorListener, err error)

Builde creates a new error listener using the configuration stored in the builder.

func (*ErrorListenerBuilder) Reporter

Reporter sets the object that will be used by the created error listeners to report errors.

type ErrorMemberDeclContext added in v0.0.49

type ErrorMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyErrorMemberDeclContext added in v0.0.49

func NewEmptyErrorMemberDeclContext() *ErrorMemberDeclContext

func NewErrorMemberDeclContext added in v0.0.49

func NewErrorMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ErrorMemberDeclContext

func (*ErrorMemberDeclContext) EnterRule added in v0.0.49

func (s *ErrorMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ErrorMemberDeclContext) ErrorCodeDecl added in v0.0.49

func (s *ErrorMemberDeclContext) ErrorCodeDecl() IErrorCodeDeclContext

func (*ErrorMemberDeclContext) ExitRule added in v0.0.49

func (s *ErrorMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ErrorMemberDeclContext) GetParser added in v0.0.49

func (s *ErrorMemberDeclContext) GetParser() antlr.Parser

func (*ErrorMemberDeclContext) GetResult added in v0.0.49

func (s *ErrorMemberDeclContext) GetResult() interface{}

func (*ErrorMemberDeclContext) GetRuleContext added in v0.0.49

func (s *ErrorMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*ErrorMemberDeclContext) IsErrorMemberDeclContext added in v0.0.49

func (*ErrorMemberDeclContext) IsErrorMemberDeclContext()

func (*ErrorMemberDeclContext) SetResult added in v0.0.49

func (s *ErrorMemberDeclContext) SetResult(v interface{})

func (*ErrorMemberDeclContext) ToStringTree added in v0.0.49

func (s *ErrorMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FileContext added in v0.0.49

type FileContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFileContext added in v0.0.49

func NewEmptyFileContext() *FileContext

func NewFileContext added in v0.0.49

func NewFileContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FileContext

func (*FileContext) AllDeclaration added in v0.0.49

func (s *FileContext) AllDeclaration() []IDeclarationContext

func (*FileContext) Declaration added in v0.0.49

func (s *FileContext) Declaration(i int) IDeclarationContext

func (*FileContext) EnterRule added in v0.0.49

func (s *FileContext) EnterRule(listener antlr.ParseTreeListener)

func (*FileContext) ExitRule added in v0.0.49

func (s *FileContext) ExitRule(listener antlr.ParseTreeListener)

func (*FileContext) GetParser added in v0.0.49

func (s *FileContext) GetParser() antlr.Parser

func (*FileContext) GetRuleContext added in v0.0.49

func (s *FileContext) GetRuleContext() antlr.RuleContext

func (*FileContext) IsFileContext added in v0.0.49

func (*FileContext) IsFileContext()

func (*FileContext) ToStringTree added in v0.0.49

func (s *FileContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IAnnotationContext added in v0.0.52

type IAnnotationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// GetParameters returns the parameters rule contexts.
	GetParameters() IAnnotationParametersContext

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// SetParameters sets the parameters rule contexts.
	SetParameters(IAnnotationParametersContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Annotation

	// SetResult sets the result attribute.
	SetResult(*concepts.Annotation)

	// IsAnnotationContext differentiates from other interfaces.
	IsAnnotationContext()
}

IAnnotationContext is an interface to support dynamic dispatch.

type IAnnotationParameterContext added in v0.0.52

type IAnnotationParameterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetName returns the name attribute.
	GetName() string

	// GetValue returns the value attribute.
	GetValue() interface{}

	// SetName sets the name attribute.
	SetName(string)

	// SetValue sets the value attribute.
	SetValue(interface{})

	// IsAnnotationParameterContext differentiates from other interfaces.
	IsAnnotationParameterContext()
}

IAnnotationParameterContext is an interface to support dynamic dispatch.

type IAnnotationParametersContext added in v0.0.52

type IAnnotationParametersContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotationParameter returns the _annotationParameter rule contexts.
	Get_annotationParameter() IAnnotationParameterContext

	// Set_annotationParameter sets the _annotationParameter rule contexts.
	Set_annotationParameter(IAnnotationParameterContext)

	// GetParameters returns the parameters rule context list.
	GetParameters() []IAnnotationParameterContext

	// SetParameters sets the parameters rule context list.
	SetParameters([]IAnnotationParameterContext)

	// GetResult returns the result attribute.
	GetResult() map[string]interface{}

	// SetResult sets the result attribute.
	SetResult(map[string]interface{})

	// IsAnnotationParametersContext differentiates from other interfaces.
	IsAnnotationParametersContext()
}

IAnnotationParametersContext is an interface to support dynamic dispatch.

type IAttributeKindContext added in v0.0.49

type IAttributeKindContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() int

	// SetResult sets the result attribute.
	SetResult(int)

	// IsAttributeKindContext differentiates from other interfaces.
	IsAttributeKindContext()
}

IAttributeKindContext is an interface to support dynamic dispatch.

type IBooleanLiteralContext added in v0.0.49

type IBooleanLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() bool

	// SetResult sets the result attribute.
	SetResult(bool)

	// IsBooleanLiteralContext differentiates from other interfaces.
	IsBooleanLiteralContext()
}

IBooleanLiteralContext is an interface to support dynamic dispatch.

type IClassDeclContext added in v0.0.49

type IClassDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_structMemberDecl returns the _structMemberDecl rule contexts.
	Get_structMemberDecl() IStructMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_structMemberDecl sets the _structMemberDecl rule contexts.
	Set_structMemberDecl(IStructMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IStructMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IStructMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsClassDeclContext differentiates from other interfaces.
	IsClassDeclContext()
}

IClassDeclContext is an interface to support dynamic dispatch.

type IDeclarationContext added in v0.0.49

type IDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDeclarationContext differentiates from other interfaces.
	IsDeclarationContext()
}

IDeclarationContext is an interface to support dynamic dispatch.

type IEnumDeclContext added in v0.0.49

type IEnumDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_enumMemberDecl returns the _enumMemberDecl rule contexts.
	Get_enumMemberDecl() IEnumMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_enumMemberDecl sets the _enumMemberDecl rule contexts.
	Set_enumMemberDecl(IEnumMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IEnumMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IEnumMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsEnumDeclContext differentiates from other interfaces.
	IsEnumDeclContext()
}

IEnumDeclContext is an interface to support dynamic dispatch.

type IEnumMemberDeclContext added in v0.0.49

type IEnumMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.EnumValue

	// SetResult sets the result attribute.
	SetResult(*concepts.EnumValue)

	// IsEnumMemberDeclContext differentiates from other interfaces.
	IsEnumMemberDeclContext()
}

IEnumMemberDeclContext is an interface to support dynamic dispatch.

type IErrorCodeDeclContext added in v0.0.49

type IErrorCodeDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetCode returns the code token.
	GetCode() antlr.Token

	// SetCode sets the code token.
	SetCode(antlr.Token)

	// GetResult returns the result attribute.
	GetResult() int

	// SetResult sets the result attribute.
	SetResult(int)

	// IsErrorCodeDeclContext differentiates from other interfaces.
	IsErrorCodeDeclContext()
}

IErrorCodeDeclContext is an interface to support dynamic dispatch.

type IErrorDeclContext added in v0.0.49

type IErrorDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_errorMemberDecl returns the _errorMemberDecl rule contexts.
	Get_errorMemberDecl() IErrorMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_errorMemberDecl sets the _errorMemberDecl rule contexts.
	Set_errorMemberDecl(IErrorMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IErrorMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IErrorMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Error

	// SetResult sets the result attribute.
	SetResult(*concepts.Error)

	// IsErrorDeclContext differentiates from other interfaces.
	IsErrorDeclContext()
}

IErrorDeclContext is an interface to support dynamic dispatch.

type IErrorMemberDeclContext added in v0.0.49

type IErrorMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() interface{}

	// SetResult sets the result attribute.
	SetResult(interface{})

	// IsErrorMemberDeclContext differentiates from other interfaces.
	IsErrorMemberDeclContext()
}

IErrorMemberDeclContext is an interface to support dynamic dispatch.

type IFileContext added in v0.0.49

type IFileContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFileContext differentiates from other interfaces.
	IsFileContext()
}

IFileContext is an interface to support dynamic dispatch.

type IIdentifierContext added in v0.0.49

type IIdentifierContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetId returns the id token.
	GetId() antlr.Token

	// SetId sets the id token.
	SetId(antlr.Token)

	// GetResult returns the result attribute.
	GetResult() *names.Name

	// GetText returns the text attribute.
	GetText() string

	// SetResult sets the result attribute.
	SetResult(*names.Name)

	// SetText sets the text attribute.
	SetText(string)

	// IsIdentifierContext differentiates from other interfaces.
	IsIdentifierContext()
}

IIdentifierContext is an interface to support dynamic dispatch.

type IIntegerLiteralContext added in v0.0.49

type IIntegerLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() int

	// SetResult sets the result attribute.
	SetResult(int)

	// IsIntegerLiteralContext differentiates from other interfaces.
	IsIntegerLiteralContext()
}

IIntegerLiteralContext is an interface to support dynamic dispatch.

type IListTypeReferenceContext added in v0.0.49

type IListTypeReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetElement returns the element rule contexts.
	GetElement() IIdentifierContext

	// SetElement sets the element rule contexts.
	SetElement(IIdentifierContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsListTypeReferenceContext differentiates from other interfaces.
	IsListTypeReferenceContext()
}

IListTypeReferenceContext is an interface to support dynamic dispatch.

type ILiteralContext added in v0.0.49

type ILiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() interface{}

	// SetResult sets the result attribute.
	SetResult(interface{})

	// IsLiteralContext differentiates from other interfaces.
	IsLiteralContext()
}

ILiteralContext is an interface to support dynamic dispatch.

type ILocatorDeclContext added in v0.0.49

type ILocatorDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_locatorMemberDecl returns the _locatorMemberDecl rule contexts.
	Get_locatorMemberDecl() ILocatorMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_locatorMemberDecl sets the _locatorMemberDecl rule contexts.
	Set_locatorMemberDecl(ILocatorMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []ILocatorMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]ILocatorMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Locator

	// SetResult sets the result attribute.
	SetResult(*concepts.Locator)

	// IsLocatorDeclContext differentiates from other interfaces.
	IsLocatorDeclContext()
}

ILocatorDeclContext is an interface to support dynamic dispatch.

type ILocatorMemberDeclContext added in v0.0.49

type ILocatorMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() interface{}

	// SetResult sets the result attribute.
	SetResult(interface{})

	// IsLocatorMemberDeclContext differentiates from other interfaces.
	IsLocatorMemberDeclContext()
}

ILocatorMemberDeclContext is an interface to support dynamic dispatch.

type ILocatorTargetDeclContext added in v0.0.49

type ILocatorTargetDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetReference returns the reference rule contexts.
	GetReference() IResourceReferenceContext

	// SetReference sets the reference rule contexts.
	SetReference(IResourceReferenceContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Resource

	// SetResult sets the result attribute.
	SetResult(*concepts.Resource)

	// IsLocatorTargetDeclContext differentiates from other interfaces.
	IsLocatorTargetDeclContext()
}

ILocatorTargetDeclContext is an interface to support dynamic dispatch.

type ILocatorVariableDeclContext added in v0.0.49

type ILocatorVariableDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// GetResult returns the result attribute.
	GetResult() *names.Name

	// SetResult sets the result attribute.
	SetResult(*names.Name)

	// IsLocatorVariableDeclContext differentiates from other interfaces.
	IsLocatorVariableDeclContext()
}

ILocatorVariableDeclContext is an interface to support dynamic dispatch.

type IMapTypeReferenceContext added in v0.0.49

type IMapTypeReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetIndex returns the index rule contexts.
	GetIndex() IIdentifierContext

	// GetElement returns the element rule contexts.
	GetElement() IIdentifierContext

	// SetIndex sets the index rule contexts.
	SetIndex(IIdentifierContext)

	// SetElement sets the element rule contexts.
	SetElement(IIdentifierContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsMapTypeReferenceContext differentiates from other interfaces.
	IsMapTypeReferenceContext()
}

IMapTypeReferenceContext is an interface to support dynamic dispatch.

type IMethodDeclContext added in v0.0.49

type IMethodDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_methodMemberDecl returns the _methodMemberDecl rule contexts.
	Get_methodMemberDecl() IMethodMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_methodMemberDecl sets the _methodMemberDecl rule contexts.
	Set_methodMemberDecl(IMethodMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IMethodMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IMethodMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Method

	// SetResult sets the result attribute.
	SetResult(*concepts.Method)

	// IsMethodDeclContext differentiates from other interfaces.
	IsMethodDeclContext()
}

IMethodDeclContext is an interface to support dynamic dispatch.

type IMethodMemberDeclContext added in v0.0.49

type IMethodMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() interface{}

	// SetResult sets the result attribute.
	SetResult(interface{})

	// IsMethodMemberDeclContext differentiates from other interfaces.
	IsMethodMemberDeclContext()
}

IMethodMemberDeclContext is an interface to support dynamic dispatch.

type IMethodParameterDeclContext added in v0.0.49

type IMethodParameterDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// Get_parameterDirection returns the _parameterDirection rule contexts.
	Get_parameterDirection() IParameterDirectionContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// GetReference returns the reference rule contexts.
	GetReference() ITypeReferenceContext

	// GetDflt returns the dflt rule contexts.
	GetDflt() ILiteralContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// Set_parameterDirection sets the _parameterDirection rule contexts.
	Set_parameterDirection(IParameterDirectionContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// SetReference sets the reference rule contexts.
	SetReference(ITypeReferenceContext)

	// SetDflt sets the dflt rule contexts.
	SetDflt(ILiteralContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetDirections returns the directions rule context list.
	GetDirections() []IParameterDirectionContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetDirections sets the directions rule context list.
	SetDirections([]IParameterDirectionContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Parameter

	// SetResult sets the result attribute.
	SetResult(*concepts.Parameter)

	// IsMethodParameterDeclContext differentiates from other interfaces.
	IsMethodParameterDeclContext()
}

IMethodParameterDeclContext is an interface to support dynamic dispatch.

type IParameterDirectionContext added in v0.0.49

type IParameterDirectionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetIn returns the in token.
	GetIn() antlr.Token

	// GetOut returns the out token.
	GetOut() antlr.Token

	// SetIn sets the in token.
	SetIn(antlr.Token)

	// SetOut sets the out token.
	SetOut(antlr.Token)

	// IsParameterDirectionContext differentiates from other interfaces.
	IsParameterDirectionContext()
}

IParameterDirectionContext is an interface to support dynamic dispatch.

type IPlainTypeReferenceContext added in v0.0.49

type IPlainTypeReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsPlainTypeReferenceContext differentiates from other interfaces.
	IsPlainTypeReferenceContext()
}

IPlainTypeReferenceContext is an interface to support dynamic dispatch.

type IResourceDeclContext added in v0.0.49

type IResourceDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_resourceMemberDecl returns the _resourceMemberDecl rule contexts.
	Get_resourceMemberDecl() IResourceMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_resourceMemberDecl sets the _resourceMemberDecl rule contexts.
	Set_resourceMemberDecl(IResourceMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IResourceMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IResourceMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Resource

	// SetResult sets the result attribute.
	SetResult(*concepts.Resource)

	// IsResourceDeclContext differentiates from other interfaces.
	IsResourceDeclContext()
}

IResourceDeclContext is an interface to support dynamic dispatch.

type IResourceMemberDeclContext added in v0.0.49

type IResourceMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() interface{}

	// SetResult sets the result attribute.
	SetResult(interface{})

	// IsResourceMemberDeclContext differentiates from other interfaces.
	IsResourceMemberDeclContext()
}

IResourceMemberDeclContext is an interface to support dynamic dispatch.

type IResourceReferenceContext added in v0.0.49

type IResourceReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Resource

	// SetResult sets the result attribute.
	SetResult(*concepts.Resource)

	// IsResourceReferenceContext differentiates from other interfaces.
	IsResourceReferenceContext()
}

IResourceReferenceContext is an interface to support dynamic dispatch.

type IStringLiteralContext added in v0.0.49

type IStringLiteralContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() string

	// SetResult sets the result attribute.
	SetResult(string)

	// IsStringLiteralContext differentiates from other interfaces.
	IsStringLiteralContext()
}

IStringLiteralContext is an interface to support dynamic dispatch.

type IStructDeclContext added in v0.0.49

type IStructDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// Get_structMemberDecl returns the _structMemberDecl rule contexts.
	Get_structMemberDecl() IStructMemberDeclContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// Set_structMemberDecl sets the _structMemberDecl rule contexts.
	Set_structMemberDecl(IStructMemberDeclContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// GetMembers returns the members rule context list.
	GetMembers() []IStructMemberDeclContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// SetMembers sets the members rule context list.
	SetMembers([]IStructMemberDeclContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsStructDeclContext differentiates from other interfaces.
	IsStructDeclContext()
}

IStructDeclContext is an interface to support dynamic dispatch.

type IStructMemberDeclContext added in v0.0.49

type IStructMemberDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_annotation returns the _annotation rule contexts.
	Get_annotation() IAnnotationContext

	// GetKind returns the kind rule contexts.
	GetKind() IAttributeKindContext

	// GetName returns the name rule contexts.
	GetName() IIdentifierContext

	// GetReference returns the reference rule contexts.
	GetReference() ITypeReferenceContext

	// Set_annotation sets the _annotation rule contexts.
	Set_annotation(IAnnotationContext)

	// SetKind sets the kind rule contexts.
	SetKind(IAttributeKindContext)

	// SetName sets the name rule contexts.
	SetName(IIdentifierContext)

	// SetReference sets the reference rule contexts.
	SetReference(ITypeReferenceContext)

	// GetAnnotations returns the annotations rule context list.
	GetAnnotations() []IAnnotationContext

	// SetAnnotations sets the annotations rule context list.
	SetAnnotations([]IAnnotationContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Attribute

	// SetResult sets the result attribute.
	SetResult(*concepts.Attribute)

	// IsStructMemberDeclContext differentiates from other interfaces.
	IsStructMemberDeclContext()
}

IStructMemberDeclContext is an interface to support dynamic dispatch.

type ITypeDeclContext added in v0.0.49

type ITypeDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsTypeDeclContext differentiates from other interfaces.
	IsTypeDeclContext()
}

ITypeDeclContext is an interface to support dynamic dispatch.

type ITypeReferenceContext added in v0.0.49

type ITypeReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetPlain returns the plain rule contexts.
	GetPlain() IPlainTypeReferenceContext

	// GetList returns the list rule contexts.
	GetList() IListTypeReferenceContext

	// GetMp returns the mp rule contexts.
	GetMp() IMapTypeReferenceContext

	// SetPlain sets the plain rule contexts.
	SetPlain(IPlainTypeReferenceContext)

	// SetList sets the list rule contexts.
	SetList(IListTypeReferenceContext)

	// SetMp sets the mp rule contexts.
	SetMp(IMapTypeReferenceContext)

	// GetResult returns the result attribute.
	GetResult() *concepts.Type

	// SetResult sets the result attribute.
	SetResult(*concepts.Type)

	// IsTypeReferenceContext differentiates from other interfaces.
	IsTypeReferenceContext()
}

ITypeReferenceContext is an interface to support dynamic dispatch.

type IdentifierContext added in v0.0.49

type IdentifierContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIdentifierContext added in v0.0.49

func NewEmptyIdentifierContext() *IdentifierContext

func NewIdentifierContext added in v0.0.49

func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext

func (*IdentifierContext) EnterRule added in v0.0.49

func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)

func (*IdentifierContext) ExitRule added in v0.0.49

func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)

func (*IdentifierContext) GetId added in v0.0.52

func (s *IdentifierContext) GetId() antlr.Token

func (*IdentifierContext) GetParser added in v0.0.49

func (s *IdentifierContext) GetParser() antlr.Parser

func (*IdentifierContext) GetResult added in v0.0.49

func (s *IdentifierContext) GetResult() *names.Name

func (*IdentifierContext) GetRuleContext added in v0.0.49

func (s *IdentifierContext) GetRuleContext() antlr.RuleContext

func (*IdentifierContext) GetText added in v0.0.52

func (s *IdentifierContext) GetText() string

func (*IdentifierContext) IDENTIFIER added in v0.0.49

func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode

func (*IdentifierContext) IsIdentifierContext added in v0.0.49

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) SetId added in v0.0.52

func (s *IdentifierContext) SetId(v antlr.Token)

func (*IdentifierContext) SetResult added in v0.0.49

func (s *IdentifierContext) SetResult(v *names.Name)

func (*IdentifierContext) SetText added in v0.0.52

func (s *IdentifierContext) SetText(v string)

func (*IdentifierContext) ToStringTree added in v0.0.49

func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IntegerLiteralContext added in v0.0.49

type IntegerLiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIntegerLiteralContext added in v0.0.49

func NewEmptyIntegerLiteralContext() *IntegerLiteralContext

func NewIntegerLiteralContext added in v0.0.49

func NewIntegerLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerLiteralContext

func (*IntegerLiteralContext) EnterRule added in v0.0.49

func (s *IntegerLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*IntegerLiteralContext) ExitRule added in v0.0.49

func (s *IntegerLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*IntegerLiteralContext) GetParser added in v0.0.49

func (s *IntegerLiteralContext) GetParser() antlr.Parser

func (*IntegerLiteralContext) GetResult added in v0.0.49

func (s *IntegerLiteralContext) GetResult() int

func (*IntegerLiteralContext) GetRuleContext added in v0.0.49

func (s *IntegerLiteralContext) GetRuleContext() antlr.RuleContext

func (*IntegerLiteralContext) INTEGER_LITERAL added in v0.0.49

func (s *IntegerLiteralContext) INTEGER_LITERAL() antlr.TerminalNode

func (*IntegerLiteralContext) IsIntegerLiteralContext added in v0.0.49

func (*IntegerLiteralContext) IsIntegerLiteralContext()

func (*IntegerLiteralContext) SetResult added in v0.0.49

func (s *IntegerLiteralContext) SetResult(v int)

func (*IntegerLiteralContext) ToStringTree added in v0.0.49

func (s *IntegerLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ListTypeReferenceContext added in v0.0.49

type ListTypeReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyListTypeReferenceContext added in v0.0.49

func NewEmptyListTypeReferenceContext() *ListTypeReferenceContext

func NewListTypeReferenceContext added in v0.0.49

func NewListTypeReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListTypeReferenceContext

func (*ListTypeReferenceContext) EnterRule added in v0.0.49

func (s *ListTypeReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*ListTypeReferenceContext) ExitRule added in v0.0.49

func (s *ListTypeReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*ListTypeReferenceContext) GetElement added in v0.0.49

func (*ListTypeReferenceContext) GetParser added in v0.0.49

func (s *ListTypeReferenceContext) GetParser() antlr.Parser

func (*ListTypeReferenceContext) GetResult added in v0.0.49

func (s *ListTypeReferenceContext) GetResult() *concepts.Type

func (*ListTypeReferenceContext) GetRuleContext added in v0.0.49

func (s *ListTypeReferenceContext) GetRuleContext() antlr.RuleContext

func (*ListTypeReferenceContext) Identifier added in v0.0.49

func (*ListTypeReferenceContext) IsListTypeReferenceContext added in v0.0.49

func (*ListTypeReferenceContext) IsListTypeReferenceContext()

func (*ListTypeReferenceContext) LEFT_SQUARE_BRACKET added in v0.0.49

func (s *ListTypeReferenceContext) LEFT_SQUARE_BRACKET() antlr.TerminalNode

func (*ListTypeReferenceContext) RIGHT_SQUARE_BRACKET added in v0.0.49

func (s *ListTypeReferenceContext) RIGHT_SQUARE_BRACKET() antlr.TerminalNode

func (*ListTypeReferenceContext) SetElement added in v0.0.49

func (*ListTypeReferenceContext) SetResult added in v0.0.49

func (s *ListTypeReferenceContext) SetResult(v *concepts.Type)

func (*ListTypeReferenceContext) ToStringTree added in v0.0.49

func (s *ListTypeReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LiteralContext added in v0.0.49

type LiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLiteralContext added in v0.0.49

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext added in v0.0.49

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) BooleanLiteral added in v0.0.49

func (s *LiteralContext) BooleanLiteral() IBooleanLiteralContext

func (*LiteralContext) EnterRule added in v0.0.49

func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*LiteralContext) ExitRule added in v0.0.49

func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*LiteralContext) GetParser added in v0.0.49

func (s *LiteralContext) GetParser() antlr.Parser

func (*LiteralContext) GetResult added in v0.0.49

func (s *LiteralContext) GetResult() interface{}

func (*LiteralContext) GetRuleContext added in v0.0.49

func (s *LiteralContext) GetRuleContext() antlr.RuleContext

func (*LiteralContext) IntegerLiteral added in v0.0.49

func (s *LiteralContext) IntegerLiteral() IIntegerLiteralContext

func (*LiteralContext) IsLiteralContext added in v0.0.49

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) SetResult added in v0.0.49

func (s *LiteralContext) SetResult(v interface{})

func (*LiteralContext) StringLiteral added in v0.0.49

func (s *LiteralContext) StringLiteral() IStringLiteralContext

func (*LiteralContext) ToStringTree added in v0.0.49

func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LocatorDeclContext added in v0.0.49

type LocatorDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLocatorDeclContext added in v0.0.49

func NewEmptyLocatorDeclContext() *LocatorDeclContext

func NewLocatorDeclContext added in v0.0.49

func NewLocatorDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LocatorDeclContext

func (*LocatorDeclContext) AllAnnotation added in v0.0.52

func (s *LocatorDeclContext) AllAnnotation() []IAnnotationContext

func (*LocatorDeclContext) AllLocatorMemberDecl added in v0.0.49

func (s *LocatorDeclContext) AllLocatorMemberDecl() []ILocatorMemberDeclContext

func (*LocatorDeclContext) Annotation added in v0.0.52

func (s *LocatorDeclContext) Annotation(i int) IAnnotationContext

func (*LocatorDeclContext) EnterRule added in v0.0.49

func (s *LocatorDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*LocatorDeclContext) ExitRule added in v0.0.49

func (s *LocatorDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*LocatorDeclContext) GetAnnotations added in v0.0.52

func (s *LocatorDeclContext) GetAnnotations() []IAnnotationContext

func (*LocatorDeclContext) GetMembers added in v0.0.49

func (*LocatorDeclContext) GetName added in v0.0.49

func (*LocatorDeclContext) GetParser added in v0.0.49

func (s *LocatorDeclContext) GetParser() antlr.Parser

func (*LocatorDeclContext) GetResult added in v0.0.49

func (s *LocatorDeclContext) GetResult() *concepts.Locator

func (*LocatorDeclContext) GetRuleContext added in v0.0.49

func (s *LocatorDeclContext) GetRuleContext() antlr.RuleContext

func (*LocatorDeclContext) Get_annotation added in v0.0.52

func (s *LocatorDeclContext) Get_annotation() IAnnotationContext

func (*LocatorDeclContext) Get_locatorMemberDecl added in v0.0.49

func (s *LocatorDeclContext) Get_locatorMemberDecl() ILocatorMemberDeclContext

func (*LocatorDeclContext) Identifier added in v0.0.49

func (s *LocatorDeclContext) Identifier() IIdentifierContext

func (*LocatorDeclContext) IsLocatorDeclContext added in v0.0.49

func (*LocatorDeclContext) IsLocatorDeclContext()

func (*LocatorDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *LocatorDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*LocatorDeclContext) LOCATOR added in v0.0.49

func (s *LocatorDeclContext) LOCATOR() antlr.TerminalNode

func (*LocatorDeclContext) LocatorMemberDecl added in v0.0.49

func (s *LocatorDeclContext) LocatorMemberDecl(i int) ILocatorMemberDeclContext

func (*LocatorDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *LocatorDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*LocatorDeclContext) SetAnnotations added in v0.0.52

func (s *LocatorDeclContext) SetAnnotations(v []IAnnotationContext)

func (*LocatorDeclContext) SetMembers added in v0.0.49

func (s *LocatorDeclContext) SetMembers(v []ILocatorMemberDeclContext)

func (*LocatorDeclContext) SetName added in v0.0.49

func (s *LocatorDeclContext) SetName(v IIdentifierContext)

func (*LocatorDeclContext) SetResult added in v0.0.49

func (s *LocatorDeclContext) SetResult(v *concepts.Locator)

func (*LocatorDeclContext) Set_annotation added in v0.0.52

func (s *LocatorDeclContext) Set_annotation(v IAnnotationContext)

func (*LocatorDeclContext) Set_locatorMemberDecl added in v0.0.49

func (s *LocatorDeclContext) Set_locatorMemberDecl(v ILocatorMemberDeclContext)

func (*LocatorDeclContext) ToStringTree added in v0.0.49

func (s *LocatorDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LocatorMemberDeclContext added in v0.0.49

type LocatorMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLocatorMemberDeclContext added in v0.0.49

func NewEmptyLocatorMemberDeclContext() *LocatorMemberDeclContext

func NewLocatorMemberDeclContext added in v0.0.49

func NewLocatorMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LocatorMemberDeclContext

func (*LocatorMemberDeclContext) EnterRule added in v0.0.49

func (s *LocatorMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*LocatorMemberDeclContext) ExitRule added in v0.0.49

func (s *LocatorMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*LocatorMemberDeclContext) GetParser added in v0.0.49

func (s *LocatorMemberDeclContext) GetParser() antlr.Parser

func (*LocatorMemberDeclContext) GetResult added in v0.0.49

func (s *LocatorMemberDeclContext) GetResult() interface{}

func (*LocatorMemberDeclContext) GetRuleContext added in v0.0.49

func (s *LocatorMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*LocatorMemberDeclContext) IsLocatorMemberDeclContext added in v0.0.49

func (*LocatorMemberDeclContext) IsLocatorMemberDeclContext()

func (*LocatorMemberDeclContext) LocatorTargetDecl added in v0.0.49

func (s *LocatorMemberDeclContext) LocatorTargetDecl() ILocatorTargetDeclContext

func (*LocatorMemberDeclContext) LocatorVariableDecl added in v0.0.49

func (s *LocatorMemberDeclContext) LocatorVariableDecl() ILocatorVariableDeclContext

func (*LocatorMemberDeclContext) SetResult added in v0.0.49

func (s *LocatorMemberDeclContext) SetResult(v interface{})

func (*LocatorMemberDeclContext) ToStringTree added in v0.0.49

func (s *LocatorMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LocatorTargetDeclContext added in v0.0.49

type LocatorTargetDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLocatorTargetDeclContext added in v0.0.49

func NewEmptyLocatorTargetDeclContext() *LocatorTargetDeclContext

func NewLocatorTargetDeclContext added in v0.0.49

func NewLocatorTargetDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LocatorTargetDeclContext

func (*LocatorTargetDeclContext) EnterRule added in v0.0.49

func (s *LocatorTargetDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*LocatorTargetDeclContext) ExitRule added in v0.0.49

func (s *LocatorTargetDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*LocatorTargetDeclContext) GetParser added in v0.0.49

func (s *LocatorTargetDeclContext) GetParser() antlr.Parser

func (*LocatorTargetDeclContext) GetReference added in v0.0.49

func (*LocatorTargetDeclContext) GetResult added in v0.0.49

func (s *LocatorTargetDeclContext) GetResult() *concepts.Resource

func (*LocatorTargetDeclContext) GetRuleContext added in v0.0.49

func (s *LocatorTargetDeclContext) GetRuleContext() antlr.RuleContext

func (*LocatorTargetDeclContext) IsLocatorTargetDeclContext added in v0.0.49

func (*LocatorTargetDeclContext) IsLocatorTargetDeclContext()

func (*LocatorTargetDeclContext) ResourceReference added in v0.0.49

func (s *LocatorTargetDeclContext) ResourceReference() IResourceReferenceContext

func (*LocatorTargetDeclContext) SetReference added in v0.0.49

func (*LocatorTargetDeclContext) SetResult added in v0.0.49

func (s *LocatorTargetDeclContext) SetResult(v *concepts.Resource)

func (*LocatorTargetDeclContext) TARGET added in v0.0.49

func (*LocatorTargetDeclContext) ToStringTree added in v0.0.49

func (s *LocatorTargetDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LocatorVariableDeclContext added in v0.0.49

type LocatorVariableDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLocatorVariableDeclContext added in v0.0.49

func NewEmptyLocatorVariableDeclContext() *LocatorVariableDeclContext

func NewLocatorVariableDeclContext added in v0.0.49

func NewLocatorVariableDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LocatorVariableDeclContext

func (*LocatorVariableDeclContext) EnterRule added in v0.0.49

func (s *LocatorVariableDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*LocatorVariableDeclContext) ExitRule added in v0.0.49

func (s *LocatorVariableDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*LocatorVariableDeclContext) GetName added in v0.0.49

func (*LocatorVariableDeclContext) GetParser added in v0.0.49

func (s *LocatorVariableDeclContext) GetParser() antlr.Parser

func (*LocatorVariableDeclContext) GetResult added in v0.0.49

func (s *LocatorVariableDeclContext) GetResult() *names.Name

func (*LocatorVariableDeclContext) GetRuleContext added in v0.0.49

func (s *LocatorVariableDeclContext) GetRuleContext() antlr.RuleContext

func (*LocatorVariableDeclContext) Identifier added in v0.0.49

func (*LocatorVariableDeclContext) IsLocatorVariableDeclContext added in v0.0.49

func (*LocatorVariableDeclContext) IsLocatorVariableDeclContext()

func (*LocatorVariableDeclContext) SetName added in v0.0.49

func (*LocatorVariableDeclContext) SetResult added in v0.0.49

func (s *LocatorVariableDeclContext) SetResult(v *names.Name)

func (*LocatorVariableDeclContext) ToStringTree added in v0.0.49

func (s *LocatorVariableDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*LocatorVariableDeclContext) VARIABLE added in v0.0.49

type MapTypeReferenceContext added in v0.0.49

type MapTypeReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMapTypeReferenceContext added in v0.0.49

func NewEmptyMapTypeReferenceContext() *MapTypeReferenceContext

func NewMapTypeReferenceContext added in v0.0.49

func NewMapTypeReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapTypeReferenceContext

func (*MapTypeReferenceContext) AllIdentifier added in v0.0.49

func (s *MapTypeReferenceContext) AllIdentifier() []IIdentifierContext

func (*MapTypeReferenceContext) EnterRule added in v0.0.49

func (s *MapTypeReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*MapTypeReferenceContext) ExitRule added in v0.0.49

func (s *MapTypeReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*MapTypeReferenceContext) GetElement added in v0.0.49

func (*MapTypeReferenceContext) GetIndex added in v0.0.49

func (*MapTypeReferenceContext) GetParser added in v0.0.49

func (s *MapTypeReferenceContext) GetParser() antlr.Parser

func (*MapTypeReferenceContext) GetResult added in v0.0.49

func (s *MapTypeReferenceContext) GetResult() *concepts.Type

func (*MapTypeReferenceContext) GetRuleContext added in v0.0.49

func (s *MapTypeReferenceContext) GetRuleContext() antlr.RuleContext

func (*MapTypeReferenceContext) Identifier added in v0.0.49

func (*MapTypeReferenceContext) IsMapTypeReferenceContext added in v0.0.49

func (*MapTypeReferenceContext) IsMapTypeReferenceContext()

func (*MapTypeReferenceContext) LEFT_SQUARE_BRACKET added in v0.0.49

func (s *MapTypeReferenceContext) LEFT_SQUARE_BRACKET() antlr.TerminalNode

func (*MapTypeReferenceContext) RIGHT_SQUARE_BRACKET added in v0.0.49

func (s *MapTypeReferenceContext) RIGHT_SQUARE_BRACKET() antlr.TerminalNode

func (*MapTypeReferenceContext) SetElement added in v0.0.49

func (*MapTypeReferenceContext) SetIndex added in v0.0.49

func (*MapTypeReferenceContext) SetResult added in v0.0.49

func (s *MapTypeReferenceContext) SetResult(v *concepts.Type)

func (*MapTypeReferenceContext) ToStringTree added in v0.0.49

func (s *MapTypeReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MethodDeclContext added in v0.0.49

type MethodDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMethodDeclContext added in v0.0.49

func NewEmptyMethodDeclContext() *MethodDeclContext

func NewMethodDeclContext added in v0.0.49

func NewMethodDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodDeclContext

func (*MethodDeclContext) AllAnnotation added in v0.0.52

func (s *MethodDeclContext) AllAnnotation() []IAnnotationContext

func (*MethodDeclContext) AllMethodMemberDecl added in v0.0.49

func (s *MethodDeclContext) AllMethodMemberDecl() []IMethodMemberDeclContext

func (*MethodDeclContext) Annotation added in v0.0.52

func (s *MethodDeclContext) Annotation(i int) IAnnotationContext

func (*MethodDeclContext) EnterRule added in v0.0.49

func (s *MethodDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*MethodDeclContext) ExitRule added in v0.0.49

func (s *MethodDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*MethodDeclContext) GetAnnotations added in v0.0.52

func (s *MethodDeclContext) GetAnnotations() []IAnnotationContext

func (*MethodDeclContext) GetMembers added in v0.0.49

func (s *MethodDeclContext) GetMembers() []IMethodMemberDeclContext

func (*MethodDeclContext) GetName added in v0.0.49

func (*MethodDeclContext) GetParser added in v0.0.49

func (s *MethodDeclContext) GetParser() antlr.Parser

func (*MethodDeclContext) GetResult added in v0.0.49

func (s *MethodDeclContext) GetResult() *concepts.Method

func (*MethodDeclContext) GetRuleContext added in v0.0.49

func (s *MethodDeclContext) GetRuleContext() antlr.RuleContext

func (*MethodDeclContext) Get_annotation added in v0.0.52

func (s *MethodDeclContext) Get_annotation() IAnnotationContext

func (*MethodDeclContext) Get_methodMemberDecl added in v0.0.49

func (s *MethodDeclContext) Get_methodMemberDecl() IMethodMemberDeclContext

func (*MethodDeclContext) Identifier added in v0.0.49

func (s *MethodDeclContext) Identifier() IIdentifierContext

func (*MethodDeclContext) IsMethodDeclContext added in v0.0.49

func (*MethodDeclContext) IsMethodDeclContext()

func (*MethodDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *MethodDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*MethodDeclContext) METHOD added in v0.0.49

func (s *MethodDeclContext) METHOD() antlr.TerminalNode

func (*MethodDeclContext) MethodMemberDecl added in v0.0.49

func (s *MethodDeclContext) MethodMemberDecl(i int) IMethodMemberDeclContext

func (*MethodDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *MethodDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*MethodDeclContext) SetAnnotations added in v0.0.52

func (s *MethodDeclContext) SetAnnotations(v []IAnnotationContext)

func (*MethodDeclContext) SetMembers added in v0.0.49

func (s *MethodDeclContext) SetMembers(v []IMethodMemberDeclContext)

func (*MethodDeclContext) SetName added in v0.0.49

func (s *MethodDeclContext) SetName(v IIdentifierContext)

func (*MethodDeclContext) SetResult added in v0.0.49

func (s *MethodDeclContext) SetResult(v *concepts.Method)

func (*MethodDeclContext) Set_annotation added in v0.0.52

func (s *MethodDeclContext) Set_annotation(v IAnnotationContext)

func (*MethodDeclContext) Set_methodMemberDecl added in v0.0.49

func (s *MethodDeclContext) Set_methodMemberDecl(v IMethodMemberDeclContext)

func (*MethodDeclContext) ToStringTree added in v0.0.49

func (s *MethodDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MethodMemberDeclContext added in v0.0.49

type MethodMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMethodMemberDeclContext added in v0.0.49

func NewEmptyMethodMemberDeclContext() *MethodMemberDeclContext

func NewMethodMemberDeclContext added in v0.0.49

func NewMethodMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodMemberDeclContext

func (*MethodMemberDeclContext) EnterRule added in v0.0.49

func (s *MethodMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*MethodMemberDeclContext) ExitRule added in v0.0.49

func (s *MethodMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*MethodMemberDeclContext) GetParser added in v0.0.49

func (s *MethodMemberDeclContext) GetParser() antlr.Parser

func (*MethodMemberDeclContext) GetResult added in v0.0.49

func (s *MethodMemberDeclContext) GetResult() interface{}

func (*MethodMemberDeclContext) GetRuleContext added in v0.0.49

func (s *MethodMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*MethodMemberDeclContext) IsMethodMemberDeclContext added in v0.0.49

func (*MethodMemberDeclContext) IsMethodMemberDeclContext()

func (*MethodMemberDeclContext) MethodParameterDecl added in v0.0.49

func (s *MethodMemberDeclContext) MethodParameterDecl() IMethodParameterDeclContext

func (*MethodMemberDeclContext) SetResult added in v0.0.49

func (s *MethodMemberDeclContext) SetResult(v interface{})

func (*MethodMemberDeclContext) ToStringTree added in v0.0.49

func (s *MethodMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MethodParameterDeclContext added in v0.0.49

type MethodParameterDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMethodParameterDeclContext added in v0.0.49

func NewEmptyMethodParameterDeclContext() *MethodParameterDeclContext

func NewMethodParameterDeclContext added in v0.0.49

func NewMethodParameterDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodParameterDeclContext

func (*MethodParameterDeclContext) AllAnnotation added in v0.0.52

func (s *MethodParameterDeclContext) AllAnnotation() []IAnnotationContext

func (*MethodParameterDeclContext) AllParameterDirection added in v0.0.49

func (s *MethodParameterDeclContext) AllParameterDirection() []IParameterDirectionContext

func (*MethodParameterDeclContext) Annotation added in v0.0.52

func (*MethodParameterDeclContext) EQUALS_SIGN added in v0.0.49

func (*MethodParameterDeclContext) EnterRule added in v0.0.49

func (s *MethodParameterDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*MethodParameterDeclContext) ExitRule added in v0.0.49

func (s *MethodParameterDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*MethodParameterDeclContext) GetAnnotations added in v0.0.52

func (s *MethodParameterDeclContext) GetAnnotations() []IAnnotationContext

func (*MethodParameterDeclContext) GetDflt added in v0.0.49

func (*MethodParameterDeclContext) GetDirections added in v0.0.49

func (*MethodParameterDeclContext) GetName added in v0.0.49

func (*MethodParameterDeclContext) GetParser added in v0.0.49

func (s *MethodParameterDeclContext) GetParser() antlr.Parser

func (*MethodParameterDeclContext) GetReference added in v0.0.49

func (*MethodParameterDeclContext) GetResult added in v0.0.49

func (*MethodParameterDeclContext) GetRuleContext added in v0.0.49

func (s *MethodParameterDeclContext) GetRuleContext() antlr.RuleContext

func (*MethodParameterDeclContext) Get_annotation added in v0.0.52

func (s *MethodParameterDeclContext) Get_annotation() IAnnotationContext

func (*MethodParameterDeclContext) Get_parameterDirection added in v0.0.49

func (s *MethodParameterDeclContext) Get_parameterDirection() IParameterDirectionContext

func (*MethodParameterDeclContext) Identifier added in v0.0.49

func (*MethodParameterDeclContext) IsMethodParameterDeclContext added in v0.0.49

func (*MethodParameterDeclContext) IsMethodParameterDeclContext()

func (*MethodParameterDeclContext) Literal added in v0.0.49

func (*MethodParameterDeclContext) PARAMETER added in v0.0.49

func (*MethodParameterDeclContext) ParameterDirection added in v0.0.49

func (*MethodParameterDeclContext) SetAnnotations added in v0.0.52

func (s *MethodParameterDeclContext) SetAnnotations(v []IAnnotationContext)

func (*MethodParameterDeclContext) SetDflt added in v0.0.49

func (*MethodParameterDeclContext) SetDirections added in v0.0.49

func (*MethodParameterDeclContext) SetName added in v0.0.49

func (*MethodParameterDeclContext) SetReference added in v0.0.49

func (*MethodParameterDeclContext) SetResult added in v0.0.49

func (*MethodParameterDeclContext) Set_annotation added in v0.0.52

func (s *MethodParameterDeclContext) Set_annotation(v IAnnotationContext)

func (*MethodParameterDeclContext) Set_parameterDirection added in v0.0.49

func (s *MethodParameterDeclContext) Set_parameterDirection(v IParameterDirectionContext)

func (*MethodParameterDeclContext) ToStringTree added in v0.0.49

func (s *MethodParameterDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*MethodParameterDeclContext) TypeReference added in v0.0.49

type ModelLexer added in v0.0.49

type ModelLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewModelLexer added in v0.0.49

func NewModelLexer(input antlr.CharStream) *ModelLexer

NewModelLexer produces a new lexer instance for the optional input antlr.CharStream.

The *ModelLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*ModelLexer) Action added in v0.0.49

func (l *ModelLexer) Action(localctx antlr.RuleContext, ruleIndex, actionIndex int)

func (*ModelLexer) LINE_COMMENT_Action added in v0.0.49

func (l *ModelLexer) LINE_COMMENT_Action(localctx antlr.RuleContext, actionIndex int)

type ModelParser added in v0.0.49

type ModelParser struct {
	*antlr.BaseParser
}

func NewModelParser added in v0.0.49

func NewModelParser(input antlr.TokenStream) *ModelParser

NewModelParser produces a new parser instance for the optional input antlr.TokenStream.

The *ModelParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*ModelParser) Annotation added in v0.0.52

func (p *ModelParser) Annotation() (localctx IAnnotationContext)

func (*ModelParser) AnnotationParameter added in v0.0.52

func (p *ModelParser) AnnotationParameter() (localctx IAnnotationParameterContext)

func (*ModelParser) AnnotationParameters added in v0.0.52

func (p *ModelParser) AnnotationParameters() (localctx IAnnotationParametersContext)

func (*ModelParser) AttributeKind added in v0.0.49

func (p *ModelParser) AttributeKind() (localctx IAttributeKindContext)

func (*ModelParser) BooleanLiteral added in v0.0.49

func (p *ModelParser) BooleanLiteral() (localctx IBooleanLiteralContext)

func (*ModelParser) ClassDecl added in v0.0.49

func (p *ModelParser) ClassDecl() (localctx IClassDeclContext)

func (*ModelParser) Declaration added in v0.0.49

func (p *ModelParser) Declaration() (localctx IDeclarationContext)

func (*ModelParser) EnumDecl added in v0.0.49

func (p *ModelParser) EnumDecl() (localctx IEnumDeclContext)

func (*ModelParser) EnumMemberDecl added in v0.0.49

func (p *ModelParser) EnumMemberDecl() (localctx IEnumMemberDeclContext)

func (*ModelParser) ErrorCodeDecl added in v0.0.49

func (p *ModelParser) ErrorCodeDecl() (localctx IErrorCodeDeclContext)

func (*ModelParser) ErrorDecl added in v0.0.49

func (p *ModelParser) ErrorDecl() (localctx IErrorDeclContext)

func (*ModelParser) ErrorMemberDecl added in v0.0.49

func (p *ModelParser) ErrorMemberDecl() (localctx IErrorMemberDeclContext)

func (*ModelParser) File added in v0.0.49

func (p *ModelParser) File() (localctx IFileContext)

func (*ModelParser) Identifier added in v0.0.49

func (p *ModelParser) Identifier() (localctx IIdentifierContext)

func (*ModelParser) IntegerLiteral added in v0.0.49

func (p *ModelParser) IntegerLiteral() (localctx IIntegerLiteralContext)

func (*ModelParser) ListTypeReference added in v0.0.49

func (p *ModelParser) ListTypeReference() (localctx IListTypeReferenceContext)

func (*ModelParser) Literal added in v0.0.49

func (p *ModelParser) Literal() (localctx ILiteralContext)

func (*ModelParser) LocatorDecl added in v0.0.49

func (p *ModelParser) LocatorDecl() (localctx ILocatorDeclContext)

func (*ModelParser) LocatorMemberDecl added in v0.0.49

func (p *ModelParser) LocatorMemberDecl() (localctx ILocatorMemberDeclContext)

func (*ModelParser) LocatorTargetDecl added in v0.0.49

func (p *ModelParser) LocatorTargetDecl() (localctx ILocatorTargetDeclContext)

func (*ModelParser) LocatorVariableDecl added in v0.0.49

func (p *ModelParser) LocatorVariableDecl() (localctx ILocatorVariableDeclContext)

func (*ModelParser) MapTypeReference added in v0.0.49

func (p *ModelParser) MapTypeReference() (localctx IMapTypeReferenceContext)

func (*ModelParser) MethodDecl added in v0.0.49

func (p *ModelParser) MethodDecl() (localctx IMethodDeclContext)

func (*ModelParser) MethodMemberDecl added in v0.0.49

func (p *ModelParser) MethodMemberDecl() (localctx IMethodMemberDeclContext)

func (*ModelParser) MethodParameterDecl added in v0.0.49

func (p *ModelParser) MethodParameterDecl() (localctx IMethodParameterDeclContext)

func (*ModelParser) ParameterDirection added in v0.0.49

func (p *ModelParser) ParameterDirection() (localctx IParameterDirectionContext)

func (*ModelParser) PlainTypeReference added in v0.0.49

func (p *ModelParser) PlainTypeReference() (localctx IPlainTypeReferenceContext)

func (*ModelParser) ResourceDecl added in v0.0.49

func (p *ModelParser) ResourceDecl() (localctx IResourceDeclContext)

func (*ModelParser) ResourceMemberDecl added in v0.0.49

func (p *ModelParser) ResourceMemberDecl() (localctx IResourceMemberDeclContext)

func (*ModelParser) ResourceReference added in v0.0.49

func (p *ModelParser) ResourceReference() (localctx IResourceReferenceContext)

func (*ModelParser) StringLiteral added in v0.0.49

func (p *ModelParser) StringLiteral() (localctx IStringLiteralContext)

func (*ModelParser) StructDecl added in v0.0.49

func (p *ModelParser) StructDecl() (localctx IStructDeclContext)

func (*ModelParser) StructMemberDecl added in v0.0.49

func (p *ModelParser) StructMemberDecl() (localctx IStructMemberDeclContext)

func (*ModelParser) TypeDecl added in v0.0.49

func (p *ModelParser) TypeDecl() (localctx ITypeDeclContext)

func (*ModelParser) TypeReference added in v0.0.49

func (p *ModelParser) TypeReference() (localctx ITypeReferenceContext)

type ModelParserListener added in v0.0.49

type ModelParserListener interface {
	antlr.ParseTreeListener

	// EnterFile is called when entering the file production.
	EnterFile(c *FileContext)

	// EnterDeclaration is called when entering the declaration production.
	EnterDeclaration(c *DeclarationContext)

	// EnterTypeDecl is called when entering the typeDecl production.
	EnterTypeDecl(c *TypeDeclContext)

	// EnterEnumDecl is called when entering the enumDecl production.
	EnterEnumDecl(c *EnumDeclContext)

	// EnterEnumMemberDecl is called when entering the enumMemberDecl production.
	EnterEnumMemberDecl(c *EnumMemberDeclContext)

	// EnterClassDecl is called when entering the classDecl production.
	EnterClassDecl(c *ClassDeclContext)

	// EnterStructDecl is called when entering the structDecl production.
	EnterStructDecl(c *StructDeclContext)

	// EnterStructMemberDecl is called when entering the structMemberDecl production.
	EnterStructMemberDecl(c *StructMemberDeclContext)

	// EnterAttributeKind is called when entering the attributeKind production.
	EnterAttributeKind(c *AttributeKindContext)

	// EnterTypeReference is called when entering the typeReference production.
	EnterTypeReference(c *TypeReferenceContext)

	// EnterPlainTypeReference is called when entering the plainTypeReference production.
	EnterPlainTypeReference(c *PlainTypeReferenceContext)

	// EnterListTypeReference is called when entering the listTypeReference production.
	EnterListTypeReference(c *ListTypeReferenceContext)

	// EnterMapTypeReference is called when entering the mapTypeReference production.
	EnterMapTypeReference(c *MapTypeReferenceContext)

	// EnterResourceDecl is called when entering the resourceDecl production.
	EnterResourceDecl(c *ResourceDeclContext)

	// EnterResourceMemberDecl is called when entering the resourceMemberDecl production.
	EnterResourceMemberDecl(c *ResourceMemberDeclContext)

	// EnterMethodDecl is called when entering the methodDecl production.
	EnterMethodDecl(c *MethodDeclContext)

	// EnterMethodMemberDecl is called when entering the methodMemberDecl production.
	EnterMethodMemberDecl(c *MethodMemberDeclContext)

	// EnterMethodParameterDecl is called when entering the methodParameterDecl production.
	EnterMethodParameterDecl(c *MethodParameterDeclContext)

	// EnterParameterDirection is called when entering the parameterDirection production.
	EnterParameterDirection(c *ParameterDirectionContext)

	// EnterLocatorDecl is called when entering the locatorDecl production.
	EnterLocatorDecl(c *LocatorDeclContext)

	// EnterLocatorMemberDecl is called when entering the locatorMemberDecl production.
	EnterLocatorMemberDecl(c *LocatorMemberDeclContext)

	// EnterLocatorTargetDecl is called when entering the locatorTargetDecl production.
	EnterLocatorTargetDecl(c *LocatorTargetDeclContext)

	// EnterLocatorVariableDecl is called when entering the locatorVariableDecl production.
	EnterLocatorVariableDecl(c *LocatorVariableDeclContext)

	// EnterResourceReference is called when entering the resourceReference production.
	EnterResourceReference(c *ResourceReferenceContext)

	// EnterErrorDecl is called when entering the errorDecl production.
	EnterErrorDecl(c *ErrorDeclContext)

	// EnterErrorMemberDecl is called when entering the errorMemberDecl production.
	EnterErrorMemberDecl(c *ErrorMemberDeclContext)

	// EnterErrorCodeDecl is called when entering the errorCodeDecl production.
	EnterErrorCodeDecl(c *ErrorCodeDeclContext)

	// EnterAnnotation is called when entering the annotation production.
	EnterAnnotation(c *AnnotationContext)

	// EnterAnnotationParameters is called when entering the annotationParameters production.
	EnterAnnotationParameters(c *AnnotationParametersContext)

	// EnterAnnotationParameter is called when entering the annotationParameter production.
	EnterAnnotationParameter(c *AnnotationParameterContext)

	// EnterLiteral is called when entering the literal production.
	EnterLiteral(c *LiteralContext)

	// EnterBooleanLiteral is called when entering the booleanLiteral production.
	EnterBooleanLiteral(c *BooleanLiteralContext)

	// EnterIntegerLiteral is called when entering the integerLiteral production.
	EnterIntegerLiteral(c *IntegerLiteralContext)

	// EnterStringLiteral is called when entering the stringLiteral production.
	EnterStringLiteral(c *StringLiteralContext)

	// EnterIdentifier is called when entering the identifier production.
	EnterIdentifier(c *IdentifierContext)

	// ExitFile is called when exiting the file production.
	ExitFile(c *FileContext)

	// ExitDeclaration is called when exiting the declaration production.
	ExitDeclaration(c *DeclarationContext)

	// ExitTypeDecl is called when exiting the typeDecl production.
	ExitTypeDecl(c *TypeDeclContext)

	// ExitEnumDecl is called when exiting the enumDecl production.
	ExitEnumDecl(c *EnumDeclContext)

	// ExitEnumMemberDecl is called when exiting the enumMemberDecl production.
	ExitEnumMemberDecl(c *EnumMemberDeclContext)

	// ExitClassDecl is called when exiting the classDecl production.
	ExitClassDecl(c *ClassDeclContext)

	// ExitStructDecl is called when exiting the structDecl production.
	ExitStructDecl(c *StructDeclContext)

	// ExitStructMemberDecl is called when exiting the structMemberDecl production.
	ExitStructMemberDecl(c *StructMemberDeclContext)

	// ExitAttributeKind is called when exiting the attributeKind production.
	ExitAttributeKind(c *AttributeKindContext)

	// ExitTypeReference is called when exiting the typeReference production.
	ExitTypeReference(c *TypeReferenceContext)

	// ExitPlainTypeReference is called when exiting the plainTypeReference production.
	ExitPlainTypeReference(c *PlainTypeReferenceContext)

	// ExitListTypeReference is called when exiting the listTypeReference production.
	ExitListTypeReference(c *ListTypeReferenceContext)

	// ExitMapTypeReference is called when exiting the mapTypeReference production.
	ExitMapTypeReference(c *MapTypeReferenceContext)

	// ExitResourceDecl is called when exiting the resourceDecl production.
	ExitResourceDecl(c *ResourceDeclContext)

	// ExitResourceMemberDecl is called when exiting the resourceMemberDecl production.
	ExitResourceMemberDecl(c *ResourceMemberDeclContext)

	// ExitMethodDecl is called when exiting the methodDecl production.
	ExitMethodDecl(c *MethodDeclContext)

	// ExitMethodMemberDecl is called when exiting the methodMemberDecl production.
	ExitMethodMemberDecl(c *MethodMemberDeclContext)

	// ExitMethodParameterDecl is called when exiting the methodParameterDecl production.
	ExitMethodParameterDecl(c *MethodParameterDeclContext)

	// ExitParameterDirection is called when exiting the parameterDirection production.
	ExitParameterDirection(c *ParameterDirectionContext)

	// ExitLocatorDecl is called when exiting the locatorDecl production.
	ExitLocatorDecl(c *LocatorDeclContext)

	// ExitLocatorMemberDecl is called when exiting the locatorMemberDecl production.
	ExitLocatorMemberDecl(c *LocatorMemberDeclContext)

	// ExitLocatorTargetDecl is called when exiting the locatorTargetDecl production.
	ExitLocatorTargetDecl(c *LocatorTargetDeclContext)

	// ExitLocatorVariableDecl is called when exiting the locatorVariableDecl production.
	ExitLocatorVariableDecl(c *LocatorVariableDeclContext)

	// ExitResourceReference is called when exiting the resourceReference production.
	ExitResourceReference(c *ResourceReferenceContext)

	// ExitErrorDecl is called when exiting the errorDecl production.
	ExitErrorDecl(c *ErrorDeclContext)

	// ExitErrorMemberDecl is called when exiting the errorMemberDecl production.
	ExitErrorMemberDecl(c *ErrorMemberDeclContext)

	// ExitErrorCodeDecl is called when exiting the errorCodeDecl production.
	ExitErrorCodeDecl(c *ErrorCodeDeclContext)

	// ExitAnnotation is called when exiting the annotation production.
	ExitAnnotation(c *AnnotationContext)

	// ExitAnnotationParameters is called when exiting the annotationParameters production.
	ExitAnnotationParameters(c *AnnotationParametersContext)

	// ExitAnnotationParameter is called when exiting the annotationParameter production.
	ExitAnnotationParameter(c *AnnotationParameterContext)

	// ExitLiteral is called when exiting the literal production.
	ExitLiteral(c *LiteralContext)

	// ExitBooleanLiteral is called when exiting the booleanLiteral production.
	ExitBooleanLiteral(c *BooleanLiteralContext)

	// ExitIntegerLiteral is called when exiting the integerLiteral production.
	ExitIntegerLiteral(c *IntegerLiteralContext)

	// ExitStringLiteral is called when exiting the stringLiteral production.
	ExitStringLiteral(c *StringLiteralContext)

	// ExitIdentifier is called when exiting the identifier production.
	ExitIdentifier(c *IdentifierContext)
}

ModelParserListener is a complete listener for a parse tree produced by ModelParser.

type ParameterDirectionContext added in v0.0.49

type ParameterDirectionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyParameterDirectionContext added in v0.0.49

func NewEmptyParameterDirectionContext() *ParameterDirectionContext

func NewParameterDirectionContext added in v0.0.49

func NewParameterDirectionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterDirectionContext

func (*ParameterDirectionContext) EnterRule added in v0.0.49

func (s *ParameterDirectionContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParameterDirectionContext) ExitRule added in v0.0.49

func (s *ParameterDirectionContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParameterDirectionContext) GetIn added in v0.0.49

func (*ParameterDirectionContext) GetOut added in v0.0.49

func (*ParameterDirectionContext) GetParser added in v0.0.49

func (s *ParameterDirectionContext) GetParser() antlr.Parser

func (*ParameterDirectionContext) GetRuleContext added in v0.0.49

func (s *ParameterDirectionContext) GetRuleContext() antlr.RuleContext

func (*ParameterDirectionContext) IN added in v0.0.49

func (*ParameterDirectionContext) IsParameterDirectionContext added in v0.0.49

func (*ParameterDirectionContext) IsParameterDirectionContext()

func (*ParameterDirectionContext) OUT added in v0.0.49

func (*ParameterDirectionContext) SetIn added in v0.0.49

func (*ParameterDirectionContext) SetOut added in v0.0.49

func (s *ParameterDirectionContext) SetOut(v antlr.Token)

func (*ParameterDirectionContext) ToStringTree added in v0.0.49

func (s *ParameterDirectionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PlainTypeReferenceContext added in v0.0.49

type PlainTypeReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPlainTypeReferenceContext added in v0.0.49

func NewEmptyPlainTypeReferenceContext() *PlainTypeReferenceContext

func NewPlainTypeReferenceContext added in v0.0.49

func NewPlainTypeReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlainTypeReferenceContext

func (*PlainTypeReferenceContext) EnterRule added in v0.0.49

func (s *PlainTypeReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*PlainTypeReferenceContext) ExitRule added in v0.0.49

func (s *PlainTypeReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*PlainTypeReferenceContext) GetName added in v0.0.49

func (*PlainTypeReferenceContext) GetParser added in v0.0.49

func (s *PlainTypeReferenceContext) GetParser() antlr.Parser

func (*PlainTypeReferenceContext) GetResult added in v0.0.49

func (s *PlainTypeReferenceContext) GetResult() *concepts.Type

func (*PlainTypeReferenceContext) GetRuleContext added in v0.0.49

func (s *PlainTypeReferenceContext) GetRuleContext() antlr.RuleContext

func (*PlainTypeReferenceContext) Identifier added in v0.0.49

func (*PlainTypeReferenceContext) IsPlainTypeReferenceContext added in v0.0.49

func (*PlainTypeReferenceContext) IsPlainTypeReferenceContext()

func (*PlainTypeReferenceContext) SetName added in v0.0.49

func (*PlainTypeReferenceContext) SetResult added in v0.0.49

func (s *PlainTypeReferenceContext) SetResult(v *concepts.Type)

func (*PlainTypeReferenceContext) ToStringTree added in v0.0.49

func (s *PlainTypeReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type Reader

type Reader struct {
	BaseModelParserListener
	// contains filtered or unexported fields
}

Reader is used to read a model from a set of files. Don't create objects of this type directly, use the NewReader function instead.

func NewReader

func NewReader() *Reader

NewReader creates an object that knows how to read a model from a set of files. Typical usage is to create the object, configure it and then call the Read method. For example, to read a model from the files contained in the 'mydir' directory, do the following:

model, err := language.NewReader().
	Input("mydir").
	Load()

Error checking will only happen when the Load method is called. For example, if the 'mydir' directory doesn't exist, or isn't readable, the error won't be reported when calling the File method, but when calling the Read method.

func (*Reader) ExitAnnotation added in v0.0.52

func (r *Reader) ExitAnnotation(ctx *AnnotationContext)

func (*Reader) ExitAnnotationParameter added in v0.0.52

func (r *Reader) ExitAnnotationParameter(ctx *AnnotationParameterContext)

func (*Reader) ExitAnnotationParameters added in v0.0.52

func (r *Reader) ExitAnnotationParameters(ctx *AnnotationParametersContext)

func (*Reader) ExitAttributeKind

func (r *Reader) ExitAttributeKind(ctx *AttributeKindContext)

func (*Reader) ExitBooleanLiteral added in v0.0.17

func (r *Reader) ExitBooleanLiteral(ctx *BooleanLiteralContext)

func (*Reader) ExitClassDecl

func (r *Reader) ExitClassDecl(ctx *ClassDeclContext)

func (*Reader) ExitEnumDecl

func (r *Reader) ExitEnumDecl(ctx *EnumDeclContext)

func (*Reader) ExitEnumMemberDecl

func (r *Reader) ExitEnumMemberDecl(ctx *EnumMemberDeclContext)

func (*Reader) ExitErrorCodeDecl

func (r *Reader) ExitErrorCodeDecl(ctx *ErrorCodeDeclContext)

func (*Reader) ExitErrorDecl

func (r *Reader) ExitErrorDecl(ctx *ErrorDeclContext)

func (*Reader) ExitErrorMemberDecl

func (r *Reader) ExitErrorMemberDecl(ctx *ErrorMemberDeclContext)

func (*Reader) ExitIdentifier

func (r *Reader) ExitIdentifier(ctx *IdentifierContext)

func (*Reader) ExitIntegerLiteral added in v0.0.17

func (r *Reader) ExitIntegerLiteral(ctx *IntegerLiteralContext)

func (*Reader) ExitListTypeReference

func (r *Reader) ExitListTypeReference(ctx *ListTypeReferenceContext)

func (*Reader) ExitLiteral added in v0.0.17

func (r *Reader) ExitLiteral(ctx *LiteralContext)

func (*Reader) ExitLocatorDecl

func (r *Reader) ExitLocatorDecl(ctx *LocatorDeclContext)

func (*Reader) ExitLocatorMemberDecl

func (r *Reader) ExitLocatorMemberDecl(ctx *LocatorMemberDeclContext)

func (*Reader) ExitLocatorTargetDecl

func (r *Reader) ExitLocatorTargetDecl(ctx *LocatorTargetDeclContext)

func (*Reader) ExitLocatorVariableDecl

func (r *Reader) ExitLocatorVariableDecl(ctx *LocatorVariableDeclContext)

func (*Reader) ExitMapTypeReference

func (r *Reader) ExitMapTypeReference(ctx *MapTypeReferenceContext)

func (*Reader) ExitMethodDecl

func (r *Reader) ExitMethodDecl(ctx *MethodDeclContext)

func (*Reader) ExitMethodMemberDecl

func (r *Reader) ExitMethodMemberDecl(ctx *MethodMemberDeclContext)

func (*Reader) ExitMethodParameterDecl

func (r *Reader) ExitMethodParameterDecl(ctx *MethodParameterDeclContext)

func (*Reader) ExitPlainTypeReference

func (r *Reader) ExitPlainTypeReference(ctx *PlainTypeReferenceContext)

func (*Reader) ExitResourceDecl

func (r *Reader) ExitResourceDecl(ctx *ResourceDeclContext)

func (*Reader) ExitResourceMemberDecl

func (r *Reader) ExitResourceMemberDecl(ctx *ResourceMemberDeclContext)

func (*Reader) ExitResourceReference

func (r *Reader) ExitResourceReference(ctx *ResourceReferenceContext)

func (*Reader) ExitStringLiteral added in v0.0.17

func (r *Reader) ExitStringLiteral(ctx *StringLiteralContext)

func (*Reader) ExitStructDecl

func (r *Reader) ExitStructDecl(ctx *StructDeclContext)

func (*Reader) ExitStructMemberDecl

func (r *Reader) ExitStructMemberDecl(ctx *StructMemberDeclContext)

func (*Reader) ExitTypeReference

func (r *Reader) ExitTypeReference(ctx *TypeReferenceContext)

func (*Reader) Input

func (r *Reader) Input(value string) *Reader

Input adds the path of a file or directory where the model should be loaded from. If it is a directory then all the '.model' files in the directory and all its subdirectories will be loaded. Can be called multiple times to load the model from multiple files and directories.

func (*Reader) Inputs

func (r *Reader) Inputs(values []string) *Reader

Inputs adds multiple model paths. This is equivalent to calling the Input method multiple times.

func (*Reader) Read

func (r *Reader) Read() (model *concepts.Model, err error)

Read reads the model.

func (*Reader) Reporter

func (r *Reader) Reporter(reporter *reporter.Reporter) *Reader

Reporter sets the object that will be used to report information about the loading process, including errors.

type ResourceDeclContext added in v0.0.49

type ResourceDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyResourceDeclContext added in v0.0.49

func NewEmptyResourceDeclContext() *ResourceDeclContext

func NewResourceDeclContext added in v0.0.49

func NewResourceDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResourceDeclContext

func (*ResourceDeclContext) AllAnnotation added in v0.0.52

func (s *ResourceDeclContext) AllAnnotation() []IAnnotationContext

func (*ResourceDeclContext) AllResourceMemberDecl added in v0.0.49

func (s *ResourceDeclContext) AllResourceMemberDecl() []IResourceMemberDeclContext

func (*ResourceDeclContext) Annotation added in v0.0.52

func (s *ResourceDeclContext) Annotation(i int) IAnnotationContext

func (*ResourceDeclContext) EnterRule added in v0.0.49

func (s *ResourceDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ResourceDeclContext) ExitRule added in v0.0.49

func (s *ResourceDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ResourceDeclContext) GetAnnotations added in v0.0.52

func (s *ResourceDeclContext) GetAnnotations() []IAnnotationContext

func (*ResourceDeclContext) GetMembers added in v0.0.49

func (*ResourceDeclContext) GetName added in v0.0.49

func (*ResourceDeclContext) GetParser added in v0.0.49

func (s *ResourceDeclContext) GetParser() antlr.Parser

func (*ResourceDeclContext) GetResult added in v0.0.49

func (s *ResourceDeclContext) GetResult() *concepts.Resource

func (*ResourceDeclContext) GetRuleContext added in v0.0.49

func (s *ResourceDeclContext) GetRuleContext() antlr.RuleContext

func (*ResourceDeclContext) Get_annotation added in v0.0.52

func (s *ResourceDeclContext) Get_annotation() IAnnotationContext

func (*ResourceDeclContext) Get_resourceMemberDecl added in v0.0.49

func (s *ResourceDeclContext) Get_resourceMemberDecl() IResourceMemberDeclContext

func (*ResourceDeclContext) Identifier added in v0.0.49

func (s *ResourceDeclContext) Identifier() IIdentifierContext

func (*ResourceDeclContext) IsResourceDeclContext added in v0.0.49

func (*ResourceDeclContext) IsResourceDeclContext()

func (*ResourceDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *ResourceDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*ResourceDeclContext) RESOURCE added in v0.0.49

func (s *ResourceDeclContext) RESOURCE() antlr.TerminalNode

func (*ResourceDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *ResourceDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*ResourceDeclContext) ResourceMemberDecl added in v0.0.49

func (s *ResourceDeclContext) ResourceMemberDecl(i int) IResourceMemberDeclContext

func (*ResourceDeclContext) SetAnnotations added in v0.0.52

func (s *ResourceDeclContext) SetAnnotations(v []IAnnotationContext)

func (*ResourceDeclContext) SetMembers added in v0.0.49

func (*ResourceDeclContext) SetName added in v0.0.49

func (*ResourceDeclContext) SetResult added in v0.0.49

func (s *ResourceDeclContext) SetResult(v *concepts.Resource)

func (*ResourceDeclContext) Set_annotation added in v0.0.52

func (s *ResourceDeclContext) Set_annotation(v IAnnotationContext)

func (*ResourceDeclContext) Set_resourceMemberDecl added in v0.0.49

func (s *ResourceDeclContext) Set_resourceMemberDecl(v IResourceMemberDeclContext)

func (*ResourceDeclContext) ToStringTree added in v0.0.49

func (s *ResourceDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ResourceMemberDeclContext added in v0.0.49

type ResourceMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyResourceMemberDeclContext added in v0.0.49

func NewEmptyResourceMemberDeclContext() *ResourceMemberDeclContext

func NewResourceMemberDeclContext added in v0.0.49

func NewResourceMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResourceMemberDeclContext

func (*ResourceMemberDeclContext) EnterRule added in v0.0.49

func (s *ResourceMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ResourceMemberDeclContext) ExitRule added in v0.0.49

func (s *ResourceMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ResourceMemberDeclContext) GetParser added in v0.0.49

func (s *ResourceMemberDeclContext) GetParser() antlr.Parser

func (*ResourceMemberDeclContext) GetResult added in v0.0.49

func (s *ResourceMemberDeclContext) GetResult() interface{}

func (*ResourceMemberDeclContext) GetRuleContext added in v0.0.49

func (s *ResourceMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*ResourceMemberDeclContext) IsResourceMemberDeclContext added in v0.0.49

func (*ResourceMemberDeclContext) IsResourceMemberDeclContext()

func (*ResourceMemberDeclContext) LocatorDecl added in v0.0.49

func (*ResourceMemberDeclContext) MethodDecl added in v0.0.49

func (*ResourceMemberDeclContext) SetResult added in v0.0.49

func (s *ResourceMemberDeclContext) SetResult(v interface{})

func (*ResourceMemberDeclContext) ToStringTree added in v0.0.49

func (s *ResourceMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ResourceReferenceContext added in v0.0.49

type ResourceReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyResourceReferenceContext added in v0.0.49

func NewEmptyResourceReferenceContext() *ResourceReferenceContext

func NewResourceReferenceContext added in v0.0.49

func NewResourceReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResourceReferenceContext

func (*ResourceReferenceContext) EnterRule added in v0.0.49

func (s *ResourceReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*ResourceReferenceContext) ExitRule added in v0.0.49

func (s *ResourceReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*ResourceReferenceContext) GetName added in v0.0.49

func (*ResourceReferenceContext) GetParser added in v0.0.49

func (s *ResourceReferenceContext) GetParser() antlr.Parser

func (*ResourceReferenceContext) GetResult added in v0.0.49

func (s *ResourceReferenceContext) GetResult() *concepts.Resource

func (*ResourceReferenceContext) GetRuleContext added in v0.0.49

func (s *ResourceReferenceContext) GetRuleContext() antlr.RuleContext

func (*ResourceReferenceContext) Identifier added in v0.0.49

func (*ResourceReferenceContext) IsResourceReferenceContext added in v0.0.49

func (*ResourceReferenceContext) IsResourceReferenceContext()

func (*ResourceReferenceContext) SetName added in v0.0.49

func (*ResourceReferenceContext) SetResult added in v0.0.49

func (s *ResourceReferenceContext) SetResult(v *concepts.Resource)

func (*ResourceReferenceContext) ToStringTree added in v0.0.49

func (s *ResourceReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StringLiteralContext added in v0.0.49

type StringLiteralContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStringLiteralContext added in v0.0.49

func NewEmptyStringLiteralContext() *StringLiteralContext

func NewStringLiteralContext added in v0.0.49

func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext

func (*StringLiteralContext) EnterRule added in v0.0.49

func (s *StringLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*StringLiteralContext) ExitRule added in v0.0.49

func (s *StringLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*StringLiteralContext) GetParser added in v0.0.49

func (s *StringLiteralContext) GetParser() antlr.Parser

func (*StringLiteralContext) GetResult added in v0.0.49

func (s *StringLiteralContext) GetResult() string

func (*StringLiteralContext) GetRuleContext added in v0.0.49

func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext

func (*StringLiteralContext) IsStringLiteralContext added in v0.0.49

func (*StringLiteralContext) IsStringLiteralContext()

func (*StringLiteralContext) STRING_LITERAL added in v0.0.49

func (s *StringLiteralContext) STRING_LITERAL() antlr.TerminalNode

func (*StringLiteralContext) SetResult added in v0.0.49

func (s *StringLiteralContext) SetResult(v string)

func (*StringLiteralContext) ToStringTree added in v0.0.49

func (s *StringLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructDeclContext added in v0.0.49

type StructDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructDeclContext added in v0.0.49

func NewEmptyStructDeclContext() *StructDeclContext

func NewStructDeclContext added in v0.0.49

func NewStructDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructDeclContext

func (*StructDeclContext) AllAnnotation added in v0.0.52

func (s *StructDeclContext) AllAnnotation() []IAnnotationContext

func (*StructDeclContext) AllStructMemberDecl added in v0.0.49

func (s *StructDeclContext) AllStructMemberDecl() []IStructMemberDeclContext

func (*StructDeclContext) Annotation added in v0.0.52

func (s *StructDeclContext) Annotation(i int) IAnnotationContext

func (*StructDeclContext) EnterRule added in v0.0.49

func (s *StructDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*StructDeclContext) ExitRule added in v0.0.49

func (s *StructDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*StructDeclContext) GetAnnotations added in v0.0.52

func (s *StructDeclContext) GetAnnotations() []IAnnotationContext

func (*StructDeclContext) GetMembers added in v0.0.49

func (s *StructDeclContext) GetMembers() []IStructMemberDeclContext

func (*StructDeclContext) GetName added in v0.0.49

func (*StructDeclContext) GetParser added in v0.0.49

func (s *StructDeclContext) GetParser() antlr.Parser

func (*StructDeclContext) GetResult added in v0.0.49

func (s *StructDeclContext) GetResult() *concepts.Type

func (*StructDeclContext) GetRuleContext added in v0.0.49

func (s *StructDeclContext) GetRuleContext() antlr.RuleContext

func (*StructDeclContext) Get_annotation added in v0.0.52

func (s *StructDeclContext) Get_annotation() IAnnotationContext

func (*StructDeclContext) Get_structMemberDecl added in v0.0.49

func (s *StructDeclContext) Get_structMemberDecl() IStructMemberDeclContext

func (*StructDeclContext) Identifier added in v0.0.49

func (s *StructDeclContext) Identifier() IIdentifierContext

func (*StructDeclContext) IsStructDeclContext added in v0.0.49

func (*StructDeclContext) IsStructDeclContext()

func (*StructDeclContext) LEFT_CURLY_BRACKET added in v0.0.49

func (s *StructDeclContext) LEFT_CURLY_BRACKET() antlr.TerminalNode

func (*StructDeclContext) RIGHT_CURLY_BRACKET added in v0.0.49

func (s *StructDeclContext) RIGHT_CURLY_BRACKET() antlr.TerminalNode

func (*StructDeclContext) STRUCT added in v0.0.49

func (s *StructDeclContext) STRUCT() antlr.TerminalNode

func (*StructDeclContext) SetAnnotations added in v0.0.52

func (s *StructDeclContext) SetAnnotations(v []IAnnotationContext)

func (*StructDeclContext) SetMembers added in v0.0.49

func (s *StructDeclContext) SetMembers(v []IStructMemberDeclContext)

func (*StructDeclContext) SetName added in v0.0.49

func (s *StructDeclContext) SetName(v IIdentifierContext)

func (*StructDeclContext) SetResult added in v0.0.49

func (s *StructDeclContext) SetResult(v *concepts.Type)

func (*StructDeclContext) Set_annotation added in v0.0.52

func (s *StructDeclContext) Set_annotation(v IAnnotationContext)

func (*StructDeclContext) Set_structMemberDecl added in v0.0.49

func (s *StructDeclContext) Set_structMemberDecl(v IStructMemberDeclContext)

func (*StructDeclContext) StructMemberDecl added in v0.0.49

func (s *StructDeclContext) StructMemberDecl(i int) IStructMemberDeclContext

func (*StructDeclContext) ToStringTree added in v0.0.49

func (s *StructDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructMemberDeclContext added in v0.0.49

type StructMemberDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructMemberDeclContext added in v0.0.49

func NewEmptyStructMemberDeclContext() *StructMemberDeclContext

func NewStructMemberDeclContext added in v0.0.49

func NewStructMemberDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructMemberDeclContext

func (*StructMemberDeclContext) AllAnnotation added in v0.0.52

func (s *StructMemberDeclContext) AllAnnotation() []IAnnotationContext

func (*StructMemberDeclContext) Annotation added in v0.0.52

func (*StructMemberDeclContext) AttributeKind added in v0.0.49

func (*StructMemberDeclContext) EnterRule added in v0.0.49

func (s *StructMemberDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*StructMemberDeclContext) ExitRule added in v0.0.49

func (s *StructMemberDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*StructMemberDeclContext) GetAnnotations added in v0.0.52

func (s *StructMemberDeclContext) GetAnnotations() []IAnnotationContext

func (*StructMemberDeclContext) GetKind added in v0.0.49

func (*StructMemberDeclContext) GetName added in v0.0.49

func (*StructMemberDeclContext) GetParser added in v0.0.49

func (s *StructMemberDeclContext) GetParser() antlr.Parser

func (*StructMemberDeclContext) GetReference added in v0.0.49

func (*StructMemberDeclContext) GetResult added in v0.0.49

func (s *StructMemberDeclContext) GetResult() *concepts.Attribute

func (*StructMemberDeclContext) GetRuleContext added in v0.0.49

func (s *StructMemberDeclContext) GetRuleContext() antlr.RuleContext

func (*StructMemberDeclContext) Get_annotation added in v0.0.52

func (s *StructMemberDeclContext) Get_annotation() IAnnotationContext

func (*StructMemberDeclContext) Identifier added in v0.0.49

func (*StructMemberDeclContext) IsStructMemberDeclContext added in v0.0.49

func (*StructMemberDeclContext) IsStructMemberDeclContext()

func (*StructMemberDeclContext) SetAnnotations added in v0.0.52

func (s *StructMemberDeclContext) SetAnnotations(v []IAnnotationContext)

func (*StructMemberDeclContext) SetKind added in v0.0.49

func (*StructMemberDeclContext) SetName added in v0.0.49

func (*StructMemberDeclContext) SetReference added in v0.0.49

func (*StructMemberDeclContext) SetResult added in v0.0.49

func (s *StructMemberDeclContext) SetResult(v *concepts.Attribute)

func (*StructMemberDeclContext) Set_annotation added in v0.0.52

func (s *StructMemberDeclContext) Set_annotation(v IAnnotationContext)

func (*StructMemberDeclContext) ToStringTree added in v0.0.49

func (s *StructMemberDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*StructMemberDeclContext) TypeReference added in v0.0.49

type TypeDeclContext added in v0.0.49

type TypeDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeDeclContext added in v0.0.49

func NewEmptyTypeDeclContext() *TypeDeclContext

func NewTypeDeclContext added in v0.0.49

func NewTypeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDeclContext

func (*TypeDeclContext) ClassDecl added in v0.0.49

func (s *TypeDeclContext) ClassDecl() IClassDeclContext

func (*TypeDeclContext) EnterRule added in v0.0.49

func (s *TypeDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeDeclContext) EnumDecl added in v0.0.49

func (s *TypeDeclContext) EnumDecl() IEnumDeclContext

func (*TypeDeclContext) ErrorDecl added in v0.0.49

func (s *TypeDeclContext) ErrorDecl() IErrorDeclContext

func (*TypeDeclContext) ExitRule added in v0.0.49

func (s *TypeDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeDeclContext) GetParser added in v0.0.49

func (s *TypeDeclContext) GetParser() antlr.Parser

func (*TypeDeclContext) GetResult added in v0.0.49

func (s *TypeDeclContext) GetResult() *concepts.Type

func (*TypeDeclContext) GetRuleContext added in v0.0.49

func (s *TypeDeclContext) GetRuleContext() antlr.RuleContext

func (*TypeDeclContext) IsTypeDeclContext added in v0.0.49

func (*TypeDeclContext) IsTypeDeclContext()

func (*TypeDeclContext) SetResult added in v0.0.49

func (s *TypeDeclContext) SetResult(v *concepts.Type)

func (*TypeDeclContext) StructDecl added in v0.0.49

func (s *TypeDeclContext) StructDecl() IStructDeclContext

func (*TypeDeclContext) ToStringTree added in v0.0.49

func (s *TypeDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TypeReferenceContext added in v0.0.49

type TypeReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeReferenceContext added in v0.0.49

func NewEmptyTypeReferenceContext() *TypeReferenceContext

func NewTypeReferenceContext added in v0.0.49

func NewTypeReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeReferenceContext

func (*TypeReferenceContext) EnterRule added in v0.0.49

func (s *TypeReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeReferenceContext) ExitRule added in v0.0.49

func (s *TypeReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeReferenceContext) GetList added in v0.0.49

func (*TypeReferenceContext) GetMp added in v0.0.49

func (*TypeReferenceContext) GetParser added in v0.0.49

func (s *TypeReferenceContext) GetParser() antlr.Parser

func (*TypeReferenceContext) GetPlain added in v0.0.49

func (*TypeReferenceContext) GetResult added in v0.0.49

func (s *TypeReferenceContext) GetResult() *concepts.Type

func (*TypeReferenceContext) GetRuleContext added in v0.0.49

func (s *TypeReferenceContext) GetRuleContext() antlr.RuleContext

func (*TypeReferenceContext) IsTypeReferenceContext added in v0.0.49

func (*TypeReferenceContext) IsTypeReferenceContext()

func (*TypeReferenceContext) ListTypeReference added in v0.0.49

func (s *TypeReferenceContext) ListTypeReference() IListTypeReferenceContext

func (*TypeReferenceContext) MapTypeReference added in v0.0.49

func (s *TypeReferenceContext) MapTypeReference() IMapTypeReferenceContext

func (*TypeReferenceContext) PlainTypeReference added in v0.0.49

func (s *TypeReferenceContext) PlainTypeReference() IPlainTypeReferenceContext

func (*TypeReferenceContext) SetList added in v0.0.49

func (*TypeReferenceContext) SetMp added in v0.0.49

func (*TypeReferenceContext) SetPlain added in v0.0.49

func (*TypeReferenceContext) SetResult added in v0.0.49

func (s *TypeReferenceContext) SetResult(v *concepts.Type)

func (*TypeReferenceContext) ToStringTree added in v0.0.49

func (s *TypeReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer is used to write a model to a set of files. Don't create objects of this type directly, use the NewWriter function instead.

func NewWriter

func NewWriter() *Writer

NewWriter creates an object that knows how to writea a model to a set set of files. Typical usage is to create the object, configure it and then call the Write method. For example, to write a previously loaded model to the 'mydir' directory, do the following:

err := io.NewWriter().
	Model(model).
	Target("mydir").
	Write()

Error checking will only happen when the Save method is called.

func (*Writer) Model

func (w *Writer) Model(value *concepts.Model) *Writer

Model sets the model that will be written.

func (*Writer) Output

func (w *Writer) Output(value string) *Writer

Target sets the output directory.

func (*Writer) Reporter

func (w *Writer) Reporter(reporter *reporter.Reporter) *Writer

Reporter sets the object that will be used to report information about the saving process, including errors.

func (*Writer) Write

func (w *Writer) Write() error

Write writes the model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL