parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SugaredAbuLexerAND           = 1
	SugaredAbuLexerOR            = 2
	SugaredAbuLexerNOT           = 3
	SugaredAbuLexerABSINT        = 4
	SugaredAbuLexerABSDEC        = 5
	SugaredAbuLexerDOT           = 6
	SugaredAbuLexerPLUS          = 7
	SugaredAbuLexerMINUS         = 8
	SugaredAbuLexerDIV           = 9
	SugaredAbuLexerMUL           = 10
	SugaredAbuLexerMOD           = 11
	SugaredAbuLexerEQUALS        = 12
	SugaredAbuLexerGT            = 13
	SugaredAbuLexerLT            = 14
	SugaredAbuLexerGTE           = 15
	SugaredAbuLexerLTE           = 16
	SugaredAbuLexerNOTEQUALS     = 17
	SugaredAbuLexerDOUBLECOLON   = 18
	SugaredAbuLexerCOLON         = 19
	SugaredAbuLexerSEMICOLON     = 20
	SugaredAbuLexerCOLONEQUAL    = 21
	SugaredAbuLexerEQUALSIGN     = 22
	SugaredAbuLexerCOMMA         = 23
	SugaredAbuLexerRL_BRACKET    = 24
	SugaredAbuLexerRR_BRACKET    = 25
	SugaredAbuLexerSL_BRACKET    = 26
	SugaredAbuLexerSR_BRACKET    = 27
	SugaredAbuLexerCL_BRACKET    = 28
	SugaredAbuLexerCR_BRACKET    = 29
	SugaredAbuLexerHAS           = 30
	SugaredAbuLexerWHERE         = 31
	SugaredAbuLexerPHYSICAL      = 32
	SugaredAbuLexerLOGICAL       = 33
	SugaredAbuLexerINPUT         = 34
	SugaredAbuLexerOUTPUT        = 35
	SugaredAbuLexerRULE          = 36
	SugaredAbuLexerTHIS          = 37
	SugaredAbuLexerEXT           = 38
	SugaredAbuLexerON            = 39
	SugaredAbuLexerLET           = 40
	SugaredAbuLexerIN            = 41
	SugaredAbuLexerDEFAULT       = 42
	SugaredAbuLexerFOR           = 43
	SugaredAbuLexerALL           = 44
	SugaredAbuLexerDO            = 45
	SugaredAbuLexerOWISE         = 46
	SugaredAbuLexerDEFINE        = 47
	SugaredAbuLexerAS            = 48
	SugaredAbuLexerBOOLEAN       = 49
	SugaredAbuLexerINTEGER       = 50
	SugaredAbuLexerDECIMAL       = 51
	SugaredAbuLexerSTRING        = 52
	SugaredAbuLexerTRUE          = 53
	SugaredAbuLexerFALSE         = 54
	SugaredAbuLexerID            = 55
	SugaredAbuLexerQUOTED_STRING = 56
	SugaredAbuLexerDEC_LITERAL   = 57
	SugaredAbuLexerINT_LITERAL   = 58
	SugaredAbuLexerWS            = 59
	SugaredAbuLexerCOMMENT       = 60
	SugaredAbuLexerLINE_COMMENT  = 61
)

SugaredAbuLexer tokens.

View Source
const (
	SugaredAbuParserEOF           = antlr.TokenEOF
	SugaredAbuParserAND           = 1
	SugaredAbuParserOR            = 2
	SugaredAbuParserNOT           = 3
	SugaredAbuParserABSINT        = 4
	SugaredAbuParserABSDEC        = 5
	SugaredAbuParserDOT           = 6
	SugaredAbuParserPLUS          = 7
	SugaredAbuParserMINUS         = 8
	SugaredAbuParserDIV           = 9
	SugaredAbuParserMUL           = 10
	SugaredAbuParserMOD           = 11
	SugaredAbuParserEQUALS        = 12
	SugaredAbuParserGT            = 13
	SugaredAbuParserLT            = 14
	SugaredAbuParserGTE           = 15
	SugaredAbuParserLTE           = 16
	SugaredAbuParserNOTEQUALS     = 17
	SugaredAbuParserDOUBLECOLON   = 18
	SugaredAbuParserCOLON         = 19
	SugaredAbuParserSEMICOLON     = 20
	SugaredAbuParserCOLONEQUAL    = 21
	SugaredAbuParserEQUALSIGN     = 22
	SugaredAbuParserCOMMA         = 23
	SugaredAbuParserRL_BRACKET    = 24
	SugaredAbuParserRR_BRACKET    = 25
	SugaredAbuParserSL_BRACKET    = 26
	SugaredAbuParserSR_BRACKET    = 27
	SugaredAbuParserCL_BRACKET    = 28
	SugaredAbuParserCR_BRACKET    = 29
	SugaredAbuParserHAS           = 30
	SugaredAbuParserWHERE         = 31
	SugaredAbuParserPHYSICAL      = 32
	SugaredAbuParserLOGICAL       = 33
	SugaredAbuParserINPUT         = 34
	SugaredAbuParserOUTPUT        = 35
	SugaredAbuParserRULE          = 36
	SugaredAbuParserTHIS          = 37
	SugaredAbuParserEXT           = 38
	SugaredAbuParserON            = 39
	SugaredAbuParserLET           = 40
	SugaredAbuParserIN            = 41
	SugaredAbuParserDEFAULT       = 42
	SugaredAbuParserFOR           = 43
	SugaredAbuParserALL           = 44
	SugaredAbuParserDO            = 45
	SugaredAbuParserOWISE         = 46
	SugaredAbuParserDEFINE        = 47
	SugaredAbuParserAS            = 48
	SugaredAbuParserBOOLEAN       = 49
	SugaredAbuParserINTEGER       = 50
	SugaredAbuParserDECIMAL       = 51
	SugaredAbuParserSTRING        = 52
	SugaredAbuParserTRUE          = 53
	SugaredAbuParserFALSE         = 54
	SugaredAbuParserID            = 55
	SugaredAbuParserQUOTED_STRING = 56
	SugaredAbuParserDEC_LITERAL   = 57
	SugaredAbuParserINT_LITERAL   = 58
	SugaredAbuParserWS            = 59
	SugaredAbuParserCOMMENT       = 60
	SugaredAbuParserLINE_COMMENT  = 61
)

SugaredAbuParser tokens.

View Source
const (
	SugaredAbuParserRULE_program            = 0
	SugaredAbuParserRULE_typeDecl           = 1
	SugaredAbuParserRULE_resField           = 2
	SugaredAbuParserRULE_device             = 3
	SugaredAbuParserRULE_resList            = 4
	SugaredAbuParserRULE_resDecl            = 5
	SugaredAbuParserRULE_compResDecl        = 6
	SugaredAbuParserRULE_type               = 7
	SugaredAbuParserRULE_ecarule            = 8
	SugaredAbuParserRULE_letDecl            = 9
	SugaredAbuParserRULE_task               = 10
	SugaredAbuParserRULE_actions            = 11
	SugaredAbuParserRULE_assignment         = 12
	SugaredAbuParserRULE_expression         = 13
	SugaredAbuParserRULE_mulDivModOperator  = 14
	SugaredAbuParserRULE_plusMinusOperator  = 15
	SugaredAbuParserRULE_comparisonOperator = 16
	SugaredAbuParserRULE_term               = 17
	SugaredAbuParserRULE_value              = 18
	SugaredAbuParserRULE_resource           = 19
	SugaredAbuParserRULE_simpleResource     = 20
	SugaredAbuParserRULE_nestedResource     = 21
	SugaredAbuParserRULE_decimalLiteral     = 22
	SugaredAbuParserRULE_integerLiteral     = 23
	SugaredAbuParserRULE_stringLiteral      = 24
	SugaredAbuParserRULE_booleanLiteral     = 25
)

SugaredAbuParser rules.

Variables

This section is empty.

Functions

func SugaredAbuLexerInit

func SugaredAbuLexerInit()

SugaredAbuLexerInit initializes any static state used to implement SugaredAbuLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewSugaredAbuLexer(). You can call this function if you wish to initialize the static state ahead of time.

func SugaredAbuParserInit

func SugaredAbuParserInit()

SugaredAbuParserInit initializes any static state used to implement SugaredAbuParser. By default the static state used to implement the parser is lazily initialized during the first call to NewSugaredAbuParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type ActionsContext

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

func NewActionsContext

func NewActionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ActionsContext

func NewEmptyActionsContext

func NewEmptyActionsContext() *ActionsContext

func (*ActionsContext) AllAssignment

func (s *ActionsContext) AllAssignment() []IAssignmentContext

func (*ActionsContext) AllCOMMA

func (s *ActionsContext) AllCOMMA() []antlr.TerminalNode

func (*ActionsContext) Assignment

func (s *ActionsContext) Assignment(i int) IAssignmentContext

func (*ActionsContext) COMMA

func (s *ActionsContext) COMMA(i int) antlr.TerminalNode

func (*ActionsContext) EnterRule

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

func (*ActionsContext) ExitRule

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

func (*ActionsContext) GetParser

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

func (*ActionsContext) GetRuleContext

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

func (*ActionsContext) IsActionsContext

func (*ActionsContext) IsActionsContext()

func (*ActionsContext) ToStringTree

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

type AssignmentContext

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

func NewAssignmentContext

func NewAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentContext

func NewEmptyAssignmentContext

func NewEmptyAssignmentContext() *AssignmentContext

func (*AssignmentContext) EQUALSIGN

func (s *AssignmentContext) EQUALSIGN() antlr.TerminalNode

func (*AssignmentContext) EnterRule

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

func (*AssignmentContext) ExitRule

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

func (*AssignmentContext) Expression

func (s *AssignmentContext) Expression() IExpressionContext

func (*AssignmentContext) GetParser

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

func (*AssignmentContext) GetRuleContext

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

func (*AssignmentContext) IsAssignmentContext

func (*AssignmentContext) IsAssignmentContext()

func (*AssignmentContext) Resource

func (s *AssignmentContext) Resource() IResourceContext

func (*AssignmentContext) ToStringTree

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

type BaseSugaredAbuParserListener

type BaseSugaredAbuParserListener struct{}

BaseSugaredAbuParserListener is a complete listener for a parse tree produced by SugaredAbuParser.

func (*BaseSugaredAbuParserListener) EnterActions

func (s *BaseSugaredAbuParserListener) EnterActions(ctx *ActionsContext)

EnterActions is called when production actions is entered.

func (*BaseSugaredAbuParserListener) EnterAssignment

func (s *BaseSugaredAbuParserListener) EnterAssignment(ctx *AssignmentContext)

EnterAssignment is called when production assignment is entered.

func (*BaseSugaredAbuParserListener) EnterBooleanLiteral

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

EnterBooleanLiteral is called when production booleanLiteral is entered.

func (*BaseSugaredAbuParserListener) EnterCompResDecl

func (s *BaseSugaredAbuParserListener) EnterCompResDecl(ctx *CompResDeclContext)

EnterCompResDecl is called when production compResDecl is entered.

func (*BaseSugaredAbuParserListener) EnterComparisonOperator

func (s *BaseSugaredAbuParserListener) EnterComparisonOperator(ctx *ComparisonOperatorContext)

EnterComparisonOperator is called when production comparisonOperator is entered.

func (*BaseSugaredAbuParserListener) EnterDecimalLiteral

func (s *BaseSugaredAbuParserListener) EnterDecimalLiteral(ctx *DecimalLiteralContext)

EnterDecimalLiteral is called when production decimalLiteral is entered.

func (*BaseSugaredAbuParserListener) EnterDevice

func (s *BaseSugaredAbuParserListener) EnterDevice(ctx *DeviceContext)

EnterDevice is called when production device is entered.

func (*BaseSugaredAbuParserListener) EnterEcarule

func (s *BaseSugaredAbuParserListener) EnterEcarule(ctx *EcaruleContext)

EnterEcarule is called when production ecarule is entered.

func (*BaseSugaredAbuParserListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseSugaredAbuParserListener) EnterExpression

func (s *BaseSugaredAbuParserListener) EnterExpression(ctx *ExpressionContext)

EnterExpression is called when production expression is entered.

func (*BaseSugaredAbuParserListener) EnterIntegerLiteral

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

EnterIntegerLiteral is called when production integerLiteral is entered.

func (*BaseSugaredAbuParserListener) EnterLetDecl

func (s *BaseSugaredAbuParserListener) EnterLetDecl(ctx *LetDeclContext)

EnterLetDecl is called when production letDecl is entered.

func (*BaseSugaredAbuParserListener) EnterMulDivModOperator

func (s *BaseSugaredAbuParserListener) EnterMulDivModOperator(ctx *MulDivModOperatorContext)

EnterMulDivModOperator is called when production mulDivModOperator is entered.

func (*BaseSugaredAbuParserListener) EnterNestedResource

func (s *BaseSugaredAbuParserListener) EnterNestedResource(ctx *NestedResourceContext)

EnterNestedResource is called when production nestedResource is entered.

func (*BaseSugaredAbuParserListener) EnterPlusMinusOperator

func (s *BaseSugaredAbuParserListener) EnterPlusMinusOperator(ctx *PlusMinusOperatorContext)

EnterPlusMinusOperator is called when production plusMinusOperator is entered.

func (*BaseSugaredAbuParserListener) EnterProgram

func (s *BaseSugaredAbuParserListener) EnterProgram(ctx *ProgramContext)

EnterProgram is called when production program is entered.

func (*BaseSugaredAbuParserListener) EnterResDecl

func (s *BaseSugaredAbuParserListener) EnterResDecl(ctx *ResDeclContext)

EnterResDecl is called when production resDecl is entered.

func (*BaseSugaredAbuParserListener) EnterResField

func (s *BaseSugaredAbuParserListener) EnterResField(ctx *ResFieldContext)

EnterResField is called when production resField is entered.

func (*BaseSugaredAbuParserListener) EnterResList

func (s *BaseSugaredAbuParserListener) EnterResList(ctx *ResListContext)

EnterResList is called when production resList is entered.

func (*BaseSugaredAbuParserListener) EnterResource

func (s *BaseSugaredAbuParserListener) EnterResource(ctx *ResourceContext)

EnterResource is called when production resource is entered.

func (*BaseSugaredAbuParserListener) EnterSimpleResource

func (s *BaseSugaredAbuParserListener) EnterSimpleResource(ctx *SimpleResourceContext)

EnterSimpleResource is called when production simpleResource is entered.

func (*BaseSugaredAbuParserListener) EnterStringLiteral

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

EnterStringLiteral is called when production stringLiteral is entered.

func (*BaseSugaredAbuParserListener) EnterTask

func (s *BaseSugaredAbuParserListener) EnterTask(ctx *TaskContext)

EnterTask is called when production task is entered.

func (*BaseSugaredAbuParserListener) EnterTerm

func (s *BaseSugaredAbuParserListener) EnterTerm(ctx *TermContext)

EnterTerm is called when production term is entered.

func (*BaseSugaredAbuParserListener) EnterType

func (s *BaseSugaredAbuParserListener) EnterType(ctx *TypeContext)

EnterType is called when production type is entered.

func (*BaseSugaredAbuParserListener) EnterTypeDecl

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

EnterTypeDecl is called when production typeDecl is entered.

func (*BaseSugaredAbuParserListener) EnterValue

func (s *BaseSugaredAbuParserListener) EnterValue(ctx *ValueContext)

EnterValue is called when production value is entered.

func (*BaseSugaredAbuParserListener) ExitActions

func (s *BaseSugaredAbuParserListener) ExitActions(ctx *ActionsContext)

ExitActions is called when production actions is exited.

func (*BaseSugaredAbuParserListener) ExitAssignment

func (s *BaseSugaredAbuParserListener) ExitAssignment(ctx *AssignmentContext)

ExitAssignment is called when production assignment is exited.

func (*BaseSugaredAbuParserListener) ExitBooleanLiteral

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

ExitBooleanLiteral is called when production booleanLiteral is exited.

func (*BaseSugaredAbuParserListener) ExitCompResDecl

func (s *BaseSugaredAbuParserListener) ExitCompResDecl(ctx *CompResDeclContext)

ExitCompResDecl is called when production compResDecl is exited.

func (*BaseSugaredAbuParserListener) ExitComparisonOperator

func (s *BaseSugaredAbuParserListener) ExitComparisonOperator(ctx *ComparisonOperatorContext)

ExitComparisonOperator is called when production comparisonOperator is exited.

func (*BaseSugaredAbuParserListener) ExitDecimalLiteral

func (s *BaseSugaredAbuParserListener) ExitDecimalLiteral(ctx *DecimalLiteralContext)

ExitDecimalLiteral is called when production decimalLiteral is exited.

func (*BaseSugaredAbuParserListener) ExitDevice

func (s *BaseSugaredAbuParserListener) ExitDevice(ctx *DeviceContext)

ExitDevice is called when production device is exited.

func (*BaseSugaredAbuParserListener) ExitEcarule

func (s *BaseSugaredAbuParserListener) ExitEcarule(ctx *EcaruleContext)

ExitEcarule is called when production ecarule is exited.

func (*BaseSugaredAbuParserListener) ExitEveryRule

ExitEveryRule is called when any rule is exited.

func (*BaseSugaredAbuParserListener) ExitExpression

func (s *BaseSugaredAbuParserListener) ExitExpression(ctx *ExpressionContext)

ExitExpression is called when production expression is exited.

func (*BaseSugaredAbuParserListener) ExitIntegerLiteral

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

ExitIntegerLiteral is called when production integerLiteral is exited.

func (*BaseSugaredAbuParserListener) ExitLetDecl

func (s *BaseSugaredAbuParserListener) ExitLetDecl(ctx *LetDeclContext)

ExitLetDecl is called when production letDecl is exited.

func (*BaseSugaredAbuParserListener) ExitMulDivModOperator

func (s *BaseSugaredAbuParserListener) ExitMulDivModOperator(ctx *MulDivModOperatorContext)

ExitMulDivModOperator is called when production mulDivModOperator is exited.

func (*BaseSugaredAbuParserListener) ExitNestedResource

func (s *BaseSugaredAbuParserListener) ExitNestedResource(ctx *NestedResourceContext)

ExitNestedResource is called when production nestedResource is exited.

func (*BaseSugaredAbuParserListener) ExitPlusMinusOperator

func (s *BaseSugaredAbuParserListener) ExitPlusMinusOperator(ctx *PlusMinusOperatorContext)

ExitPlusMinusOperator is called when production plusMinusOperator is exited.

func (*BaseSugaredAbuParserListener) ExitProgram

func (s *BaseSugaredAbuParserListener) ExitProgram(ctx *ProgramContext)

ExitProgram is called when production program is exited.

func (*BaseSugaredAbuParserListener) ExitResDecl

func (s *BaseSugaredAbuParserListener) ExitResDecl(ctx *ResDeclContext)

ExitResDecl is called when production resDecl is exited.

func (*BaseSugaredAbuParserListener) ExitResField

func (s *BaseSugaredAbuParserListener) ExitResField(ctx *ResFieldContext)

ExitResField is called when production resField is exited.

func (*BaseSugaredAbuParserListener) ExitResList

func (s *BaseSugaredAbuParserListener) ExitResList(ctx *ResListContext)

ExitResList is called when production resList is exited.

func (*BaseSugaredAbuParserListener) ExitResource

func (s *BaseSugaredAbuParserListener) ExitResource(ctx *ResourceContext)

ExitResource is called when production resource is exited.

func (*BaseSugaredAbuParserListener) ExitSimpleResource

func (s *BaseSugaredAbuParserListener) ExitSimpleResource(ctx *SimpleResourceContext)

ExitSimpleResource is called when production simpleResource is exited.

func (*BaseSugaredAbuParserListener) ExitStringLiteral

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

ExitStringLiteral is called when production stringLiteral is exited.

func (*BaseSugaredAbuParserListener) ExitTask

func (s *BaseSugaredAbuParserListener) ExitTask(ctx *TaskContext)

ExitTask is called when production task is exited.

func (*BaseSugaredAbuParserListener) ExitTerm

func (s *BaseSugaredAbuParserListener) ExitTerm(ctx *TermContext)

ExitTerm is called when production term is exited.

func (*BaseSugaredAbuParserListener) ExitType

func (s *BaseSugaredAbuParserListener) ExitType(ctx *TypeContext)

ExitType is called when production type is exited.

func (*BaseSugaredAbuParserListener) ExitTypeDecl

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

ExitTypeDecl is called when production typeDecl is exited.

func (*BaseSugaredAbuParserListener) ExitValue

func (s *BaseSugaredAbuParserListener) ExitValue(ctx *ValueContext)

ExitValue is called when production value is exited.

func (*BaseSugaredAbuParserListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseSugaredAbuParserListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BooleanLiteralContext

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

func NewBooleanLiteralContext

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

func NewEmptyBooleanLiteralContext

func NewEmptyBooleanLiteralContext() *BooleanLiteralContext

func (*BooleanLiteralContext) EnterRule

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

func (*BooleanLiteralContext) ExitRule

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

func (*BooleanLiteralContext) FALSE

func (*BooleanLiteralContext) GetParser

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

func (*BooleanLiteralContext) GetRuleContext

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

func (*BooleanLiteralContext) IsBooleanLiteralContext

func (*BooleanLiteralContext) IsBooleanLiteralContext()

func (*BooleanLiteralContext) TRUE

func (*BooleanLiteralContext) ToStringTree

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

type CompResDeclContext

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

func NewCompResDeclContext

func NewCompResDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompResDeclContext

func NewEmptyCompResDeclContext

func NewEmptyCompResDeclContext() *CompResDeclContext

func (*CompResDeclContext) AllCOMMA

func (s *CompResDeclContext) AllCOMMA() []antlr.TerminalNode

func (*CompResDeclContext) AllEQUALSIGN

func (s *CompResDeclContext) AllEQUALSIGN() []antlr.TerminalNode

func (*CompResDeclContext) AllExpression

func (s *CompResDeclContext) AllExpression() []IExpressionContext

func (*CompResDeclContext) AllID

func (s *CompResDeclContext) AllID() []antlr.TerminalNode

func (*CompResDeclContext) COMMA

func (*CompResDeclContext) EQUALSIGN

func (s *CompResDeclContext) EQUALSIGN(i int) antlr.TerminalNode

func (*CompResDeclContext) EnterRule

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

func (*CompResDeclContext) ExitRule

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

func (*CompResDeclContext) Expression

func (s *CompResDeclContext) Expression(i int) IExpressionContext

func (*CompResDeclContext) GetParser

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

func (*CompResDeclContext) GetRuleContext

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

func (*CompResDeclContext) ID

func (*CompResDeclContext) IsCompResDeclContext

func (*CompResDeclContext) IsCompResDeclContext()

func (*CompResDeclContext) RL_BRACKET

func (s *CompResDeclContext) RL_BRACKET() antlr.TerminalNode

func (*CompResDeclContext) RR_BRACKET

func (s *CompResDeclContext) RR_BRACKET() antlr.TerminalNode

func (*CompResDeclContext) ToStringTree

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

type ComparisonOperatorContext

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

func NewComparisonOperatorContext

func NewComparisonOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparisonOperatorContext

func NewEmptyComparisonOperatorContext

func NewEmptyComparisonOperatorContext() *ComparisonOperatorContext

func (*ComparisonOperatorContext) EQUALS

func (*ComparisonOperatorContext) EnterRule

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

func (*ComparisonOperatorContext) ExitRule

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

func (*ComparisonOperatorContext) GT

func (*ComparisonOperatorContext) GTE

func (*ComparisonOperatorContext) GetParser

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

func (*ComparisonOperatorContext) GetRuleContext

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

func (*ComparisonOperatorContext) IsComparisonOperatorContext

func (*ComparisonOperatorContext) IsComparisonOperatorContext()

func (*ComparisonOperatorContext) LT

func (*ComparisonOperatorContext) LTE

func (*ComparisonOperatorContext) NOTEQUALS

func (*ComparisonOperatorContext) ToStringTree

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

type DecimalLiteralContext

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

func NewDecimalLiteralContext

func NewDecimalLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DecimalLiteralContext

func NewEmptyDecimalLiteralContext

func NewEmptyDecimalLiteralContext() *DecimalLiteralContext

func (*DecimalLiteralContext) DEC_LITERAL

func (s *DecimalLiteralContext) DEC_LITERAL() antlr.TerminalNode

func (*DecimalLiteralContext) EnterRule

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

func (*DecimalLiteralContext) ExitRule

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

func (*DecimalLiteralContext) GetParser

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

func (*DecimalLiteralContext) GetRuleContext

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

func (*DecimalLiteralContext) IsDecimalLiteralContext

func (*DecimalLiteralContext) IsDecimalLiteralContext()

func (*DecimalLiteralContext) MINUS

func (*DecimalLiteralContext) ToStringTree

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

type DeviceContext

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

func NewDeviceContext

func NewDeviceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeviceContext

func NewEmptyDeviceContext

func NewEmptyDeviceContext() *DeviceContext

func (*DeviceContext) AllID

func (s *DeviceContext) AllID() []antlr.TerminalNode

func (*DeviceContext) CL_BRACKET

func (s *DeviceContext) CL_BRACKET() antlr.TerminalNode

func (*DeviceContext) COLON

func (s *DeviceContext) COLON() antlr.TerminalNode

func (*DeviceContext) CR_BRACKET

func (s *DeviceContext) CR_BRACKET() antlr.TerminalNode

func (*DeviceContext) EnterRule

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

func (*DeviceContext) ExitRule

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

func (*DeviceContext) Expression

func (s *DeviceContext) Expression() IExpressionContext

func (*DeviceContext) GetParser

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

func (*DeviceContext) GetRuleContext

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

func (*DeviceContext) HAS

func (s *DeviceContext) HAS() antlr.TerminalNode

func (*DeviceContext) ID

func (*DeviceContext) IsDeviceContext

func (*DeviceContext) IsDeviceContext()

func (*DeviceContext) ResList

func (s *DeviceContext) ResList() IResListContext

func (*DeviceContext) StringLiteral

func (s *DeviceContext) StringLiteral() IStringLiteralContext

func (*DeviceContext) ToStringTree

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

func (*DeviceContext) WHERE

func (s *DeviceContext) WHERE() antlr.TerminalNode

type EcaruleContext

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

func NewEcaruleContext

func NewEcaruleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EcaruleContext

func NewEmptyEcaruleContext

func NewEmptyEcaruleContext() *EcaruleContext

func (*EcaruleContext) Actions

func (s *EcaruleContext) Actions() IActionsContext

func (*EcaruleContext) AllResource

func (s *EcaruleContext) AllResource() []IResourceContext

func (*EcaruleContext) AllTask

func (s *EcaruleContext) AllTask() []ITaskContext

func (*EcaruleContext) DEFAULT

func (s *EcaruleContext) DEFAULT() antlr.TerminalNode

func (*EcaruleContext) EnterRule

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

func (*EcaruleContext) ExitRule

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

func (*EcaruleContext) GetParser

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

func (*EcaruleContext) GetRuleContext

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

func (*EcaruleContext) ID

func (*EcaruleContext) IN

func (*EcaruleContext) IsEcaruleContext

func (*EcaruleContext) IsEcaruleContext()

func (*EcaruleContext) LET

func (*EcaruleContext) LetDecl

func (s *EcaruleContext) LetDecl() ILetDeclContext

func (*EcaruleContext) ON

func (*EcaruleContext) RULE

func (s *EcaruleContext) RULE() antlr.TerminalNode

func (*EcaruleContext) Resource

func (s *EcaruleContext) Resource(i int) IResourceContext

func (*EcaruleContext) Task

func (s *EcaruleContext) Task(i int) ITaskContext

func (*EcaruleContext) ToStringTree

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

type ExpressionContext

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

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) ABSDEC

func (s *ExpressionContext) ABSDEC() antlr.TerminalNode

func (*ExpressionContext) ABSINT

func (s *ExpressionContext) ABSINT() antlr.TerminalNode

func (*ExpressionContext) AND

func (*ExpressionContext) AllExpression

func (s *ExpressionContext) AllExpression() []IExpressionContext

func (*ExpressionContext) ComparisonOperator

func (s *ExpressionContext) ComparisonOperator() IComparisonOperatorContext

func (*ExpressionContext) DOUBLECOLON

func (s *ExpressionContext) DOUBLECOLON() antlr.TerminalNode

func (*ExpressionContext) EnterRule

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

func (*ExpressionContext) ExitRule

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

func (*ExpressionContext) Expression

func (s *ExpressionContext) Expression(i int) IExpressionContext

func (*ExpressionContext) GetParser

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

func (*ExpressionContext) GetRuleContext

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

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) MulDivModOperator

func (s *ExpressionContext) MulDivModOperator() IMulDivModOperatorContext

func (*ExpressionContext) NOT

func (*ExpressionContext) OR

func (*ExpressionContext) PlusMinusOperator

func (s *ExpressionContext) PlusMinusOperator() IPlusMinusOperatorContext

func (*ExpressionContext) RL_BRACKET

func (s *ExpressionContext) RL_BRACKET() antlr.TerminalNode

func (*ExpressionContext) RR_BRACKET

func (s *ExpressionContext) RR_BRACKET() antlr.TerminalNode

func (*ExpressionContext) Term

func (s *ExpressionContext) Term() ITermContext

func (*ExpressionContext) ToStringTree

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

type IActionsContext

type IActionsContext interface {
	antlr.ParserRuleContext

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

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

IActionsContext is an interface to support dynamic dispatch.

type IAssignmentContext

type IAssignmentContext interface {
	antlr.ParserRuleContext

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

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

IAssignmentContext is an interface to support dynamic dispatch.

type IBooleanLiteralContext

type IBooleanLiteralContext interface {
	antlr.ParserRuleContext

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

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

IBooleanLiteralContext is an interface to support dynamic dispatch.

type ICompResDeclContext

type ICompResDeclContext interface {
	antlr.ParserRuleContext

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

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

ICompResDeclContext is an interface to support dynamic dispatch.

type IComparisonOperatorContext

type IComparisonOperatorContext interface {
	antlr.ParserRuleContext

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

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

IComparisonOperatorContext is an interface to support dynamic dispatch.

type IDecimalLiteralContext

type IDecimalLiteralContext interface {
	antlr.ParserRuleContext

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

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

IDecimalLiteralContext is an interface to support dynamic dispatch.

type IDeviceContext

type IDeviceContext interface {
	antlr.ParserRuleContext

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

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

IDeviceContext is an interface to support dynamic dispatch.

type IEcaruleContext

type IEcaruleContext interface {
	antlr.ParserRuleContext

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

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

IEcaruleContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

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

IExpressionContext is an interface to support dynamic dispatch.

type IIntegerLiteralContext

type IIntegerLiteralContext interface {
	antlr.ParserRuleContext

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

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

IIntegerLiteralContext is an interface to support dynamic dispatch.

type ILetDeclContext

type ILetDeclContext interface {
	antlr.ParserRuleContext

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

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

ILetDeclContext is an interface to support dynamic dispatch.

type IMulDivModOperatorContext

type IMulDivModOperatorContext interface {
	antlr.ParserRuleContext

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

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

IMulDivModOperatorContext is an interface to support dynamic dispatch.

type INestedResourceContext

type INestedResourceContext interface {
	antlr.ParserRuleContext

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

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

INestedResourceContext is an interface to support dynamic dispatch.

type IPlusMinusOperatorContext

type IPlusMinusOperatorContext interface {
	antlr.ParserRuleContext

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

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

IPlusMinusOperatorContext is an interface to support dynamic dispatch.

type IProgramContext

type IProgramContext interface {
	antlr.ParserRuleContext

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

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

IProgramContext is an interface to support dynamic dispatch.

type IResDeclContext

type IResDeclContext interface {
	antlr.ParserRuleContext

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

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

IResDeclContext is an interface to support dynamic dispatch.

type IResFieldContext

type IResFieldContext interface {
	antlr.ParserRuleContext

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

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

IResFieldContext is an interface to support dynamic dispatch.

type IResListContext

type IResListContext interface {
	antlr.ParserRuleContext

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

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

IResListContext is an interface to support dynamic dispatch.

type IResourceContext

type IResourceContext interface {
	antlr.ParserRuleContext

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

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

IResourceContext is an interface to support dynamic dispatch.

type ISimpleResourceContext

type ISimpleResourceContext interface {
	antlr.ParserRuleContext

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

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

ISimpleResourceContext is an interface to support dynamic dispatch.

type IStringLiteralContext

type IStringLiteralContext interface {
	antlr.ParserRuleContext

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

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

IStringLiteralContext is an interface to support dynamic dispatch.

type ITaskContext

type ITaskContext interface {
	antlr.ParserRuleContext

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

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

ITaskContext is an interface to support dynamic dispatch.

type ITermContext

type ITermContext interface {
	antlr.ParserRuleContext

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

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

ITermContext is an interface to support dynamic dispatch.

type ITypeContext

type ITypeContext interface {
	antlr.ParserRuleContext

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

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

ITypeContext is an interface to support dynamic dispatch.

type ITypeDeclContext

type ITypeDeclContext interface {
	antlr.ParserRuleContext

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

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

ITypeDeclContext is an interface to support dynamic dispatch.

type IValueContext

type IValueContext interface {
	antlr.ParserRuleContext

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

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

IValueContext is an interface to support dynamic dispatch.

type IntegerLiteralContext

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

func NewEmptyIntegerLiteralContext

func NewEmptyIntegerLiteralContext() *IntegerLiteralContext

func NewIntegerLiteralContext

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

func (*IntegerLiteralContext) EnterRule

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

func (*IntegerLiteralContext) ExitRule

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

func (*IntegerLiteralContext) GetParser

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

func (*IntegerLiteralContext) GetRuleContext

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

func (*IntegerLiteralContext) INT_LITERAL

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

func (*IntegerLiteralContext) IsIntegerLiteralContext

func (*IntegerLiteralContext) IsIntegerLiteralContext()

func (*IntegerLiteralContext) MINUS

func (*IntegerLiteralContext) ToStringTree

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

type LetDeclContext

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

func NewEmptyLetDeclContext

func NewEmptyLetDeclContext() *LetDeclContext

func NewLetDeclContext

func NewLetDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LetDeclContext

func (*LetDeclContext) AllCOLONEQUAL

func (s *LetDeclContext) AllCOLONEQUAL() []antlr.TerminalNode

func (*LetDeclContext) AllExpression

func (s *LetDeclContext) AllExpression() []IExpressionContext

func (*LetDeclContext) AllID

func (s *LetDeclContext) AllID() []antlr.TerminalNode

func (*LetDeclContext) AllSEMICOLON

func (s *LetDeclContext) AllSEMICOLON() []antlr.TerminalNode

func (*LetDeclContext) COLONEQUAL

func (s *LetDeclContext) COLONEQUAL(i int) antlr.TerminalNode

func (*LetDeclContext) EnterRule

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

func (*LetDeclContext) ExitRule

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

func (*LetDeclContext) Expression

func (s *LetDeclContext) Expression(i int) IExpressionContext

func (*LetDeclContext) GetParser

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

func (*LetDeclContext) GetRuleContext

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

func (*LetDeclContext) ID

func (*LetDeclContext) IsLetDeclContext

func (*LetDeclContext) IsLetDeclContext()

func (*LetDeclContext) SEMICOLON

func (s *LetDeclContext) SEMICOLON(i int) antlr.TerminalNode

func (*LetDeclContext) ToStringTree

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

type MulDivModOperatorContext

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

func NewEmptyMulDivModOperatorContext

func NewEmptyMulDivModOperatorContext() *MulDivModOperatorContext

func NewMulDivModOperatorContext

func NewMulDivModOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MulDivModOperatorContext

func (*MulDivModOperatorContext) DIV

func (*MulDivModOperatorContext) EnterRule

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

func (*MulDivModOperatorContext) ExitRule

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

func (*MulDivModOperatorContext) GetParser

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

func (*MulDivModOperatorContext) GetRuleContext

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

func (*MulDivModOperatorContext) IsMulDivModOperatorContext

func (*MulDivModOperatorContext) IsMulDivModOperatorContext()

func (*MulDivModOperatorContext) MOD

func (*MulDivModOperatorContext) MUL

func (*MulDivModOperatorContext) ToStringTree

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

type NestedResourceContext

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

func NewEmptyNestedResourceContext

func NewEmptyNestedResourceContext() *NestedResourceContext

func NewNestedResourceContext

func NewNestedResourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NestedResourceContext

func (*NestedResourceContext) AllID

func (*NestedResourceContext) EXT

func (*NestedResourceContext) EnterRule

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

func (*NestedResourceContext) ExitRule

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

func (*NestedResourceContext) GetParser

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

func (*NestedResourceContext) GetRuleContext

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

func (*NestedResourceContext) ID

func (*NestedResourceContext) IsNestedResourceContext

func (*NestedResourceContext) IsNestedResourceContext()

func (*NestedResourceContext) SL_BRACKET

func (s *NestedResourceContext) SL_BRACKET() antlr.TerminalNode

func (*NestedResourceContext) SR_BRACKET

func (s *NestedResourceContext) SR_BRACKET() antlr.TerminalNode

func (*NestedResourceContext) THIS

func (*NestedResourceContext) ToStringTree

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

type PlusMinusOperatorContext

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

func NewEmptyPlusMinusOperatorContext

func NewEmptyPlusMinusOperatorContext() *PlusMinusOperatorContext

func NewPlusMinusOperatorContext

func NewPlusMinusOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlusMinusOperatorContext

func (*PlusMinusOperatorContext) EnterRule

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

func (*PlusMinusOperatorContext) ExitRule

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

func (*PlusMinusOperatorContext) GetParser

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

func (*PlusMinusOperatorContext) GetRuleContext

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

func (*PlusMinusOperatorContext) IsPlusMinusOperatorContext

func (*PlusMinusOperatorContext) IsPlusMinusOperatorContext()

func (*PlusMinusOperatorContext) MINUS

func (*PlusMinusOperatorContext) PLUS

func (*PlusMinusOperatorContext) ToStringTree

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

type ProgramContext

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

func NewEmptyProgramContext

func NewEmptyProgramContext() *ProgramContext

func NewProgramContext

func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext

func (*ProgramContext) AllDevice

func (s *ProgramContext) AllDevice() []IDeviceContext

func (*ProgramContext) AllEcarule

func (s *ProgramContext) AllEcarule() []IEcaruleContext

func (*ProgramContext) AllTypeDecl

func (s *ProgramContext) AllTypeDecl() []ITypeDeclContext

func (*ProgramContext) Device

func (s *ProgramContext) Device(i int) IDeviceContext

func (*ProgramContext) Ecarule

func (s *ProgramContext) Ecarule(i int) IEcaruleContext

func (*ProgramContext) EnterRule

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

func (*ProgramContext) ExitRule

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

func (*ProgramContext) GetParser

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

func (*ProgramContext) GetRuleContext

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

func (*ProgramContext) IsProgramContext

func (*ProgramContext) IsProgramContext()

func (*ProgramContext) ToStringTree

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

func (*ProgramContext) TypeDecl

func (s *ProgramContext) TypeDecl(i int) ITypeDeclContext

type ResDeclContext

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

func NewEmptyResDeclContext

func NewEmptyResDeclContext() *ResDeclContext

func NewResDeclContext

func NewResDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResDeclContext

func (*ResDeclContext) CompResDecl

func (s *ResDeclContext) CompResDecl() ICompResDeclContext

func (*ResDeclContext) EQUALSIGN

func (s *ResDeclContext) EQUALSIGN() antlr.TerminalNode

func (*ResDeclContext) EnterRule

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

func (*ResDeclContext) ExitRule

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

func (*ResDeclContext) Expression

func (s *ResDeclContext) Expression() IExpressionContext

func (*ResDeclContext) GetParser

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

func (*ResDeclContext) GetRuleContext

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

func (*ResDeclContext) ID

func (*ResDeclContext) INPUT

func (s *ResDeclContext) INPUT() antlr.TerminalNode

func (*ResDeclContext) IsResDeclContext

func (*ResDeclContext) IsResDeclContext()

func (*ResDeclContext) LOGICAL

func (s *ResDeclContext) LOGICAL() antlr.TerminalNode

func (*ResDeclContext) OUTPUT

func (s *ResDeclContext) OUTPUT() antlr.TerminalNode

func (*ResDeclContext) PHYSICAL

func (s *ResDeclContext) PHYSICAL() antlr.TerminalNode

func (*ResDeclContext) ToStringTree

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

func (*ResDeclContext) Type

func (s *ResDeclContext) Type() ITypeContext

type ResFieldContext

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

func NewEmptyResFieldContext

func NewEmptyResFieldContext() *ResFieldContext

func NewResFieldContext

func NewResFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResFieldContext

func (*ResFieldContext) COLON

func (s *ResFieldContext) COLON() antlr.TerminalNode

func (*ResFieldContext) EnterRule

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

func (*ResFieldContext) ExitRule

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

func (*ResFieldContext) GetParser

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

func (*ResFieldContext) GetRuleContext

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

func (*ResFieldContext) ID

func (*ResFieldContext) INPUT

func (s *ResFieldContext) INPUT() antlr.TerminalNode

func (*ResFieldContext) IsResFieldContext

func (*ResFieldContext) IsResFieldContext()

func (*ResFieldContext) LOGICAL

func (s *ResFieldContext) LOGICAL() antlr.TerminalNode

func (*ResFieldContext) OUTPUT

func (s *ResFieldContext) OUTPUT() antlr.TerminalNode

func (*ResFieldContext) PHYSICAL

func (s *ResFieldContext) PHYSICAL() antlr.TerminalNode

func (*ResFieldContext) ToStringTree

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

func (*ResFieldContext) Type

func (s *ResFieldContext) Type() ITypeContext

type ResListContext

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

func NewEmptyResListContext

func NewEmptyResListContext() *ResListContext

func NewResListContext

func NewResListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResListContext

func (*ResListContext) AllResDecl

func (s *ResListContext) AllResDecl() []IResDeclContext

func (*ResListContext) EnterRule

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

func (*ResListContext) ExitRule

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

func (*ResListContext) GetParser

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

func (*ResListContext) GetRuleContext

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

func (*ResListContext) IsResListContext

func (*ResListContext) IsResListContext()

func (*ResListContext) ResDecl

func (s *ResListContext) ResDecl(i int) IResDeclContext

func (*ResListContext) ToStringTree

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

type ResourceContext

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

func NewEmptyResourceContext

func NewEmptyResourceContext() *ResourceContext

func NewResourceContext

func NewResourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResourceContext

func (*ResourceContext) EnterRule

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

func (*ResourceContext) ExitRule

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

func (*ResourceContext) GetParser

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

func (*ResourceContext) GetRuleContext

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

func (*ResourceContext) IsResourceContext

func (*ResourceContext) IsResourceContext()

func (*ResourceContext) NestedResource

func (s *ResourceContext) NestedResource() INestedResourceContext

func (*ResourceContext) SimpleResource

func (s *ResourceContext) SimpleResource() ISimpleResourceContext

func (*ResourceContext) ToStringTree

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

type SimpleResourceContext

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

func NewEmptySimpleResourceContext

func NewEmptySimpleResourceContext() *SimpleResourceContext

func NewSimpleResourceContext

func NewSimpleResourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleResourceContext

func (*SimpleResourceContext) EXT

func (*SimpleResourceContext) EnterRule

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

func (*SimpleResourceContext) ExitRule

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

func (*SimpleResourceContext) GetParser

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

func (*SimpleResourceContext) GetRuleContext

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

func (*SimpleResourceContext) ID

func (*SimpleResourceContext) IsSimpleResourceContext

func (*SimpleResourceContext) IsSimpleResourceContext()

func (*SimpleResourceContext) THIS

func (*SimpleResourceContext) ToStringTree

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

type StringLiteralContext

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

func NewEmptyStringLiteralContext

func NewEmptyStringLiteralContext() *StringLiteralContext

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext

func (*StringLiteralContext) EnterRule

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

func (*StringLiteralContext) ExitRule

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

func (*StringLiteralContext) GetParser

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) IsStringLiteralContext

func (*StringLiteralContext) IsStringLiteralContext()

func (*StringLiteralContext) QUOTED_STRING

func (s *StringLiteralContext) QUOTED_STRING() antlr.TerminalNode

func (*StringLiteralContext) ToStringTree

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

type SugaredAbuLexer

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

func NewSugaredAbuLexer

func NewSugaredAbuLexer(input antlr.CharStream) *SugaredAbuLexer

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

type SugaredAbuParser

type SugaredAbuParser struct {
	*antlr.BaseParser
}

func NewSugaredAbuParser

func NewSugaredAbuParser(input antlr.TokenStream) *SugaredAbuParser

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

func (*SugaredAbuParser) Actions

func (p *SugaredAbuParser) Actions() (localctx IActionsContext)

func (*SugaredAbuParser) Assignment

func (p *SugaredAbuParser) Assignment() (localctx IAssignmentContext)

func (*SugaredAbuParser) BooleanLiteral

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

func (*SugaredAbuParser) CompResDecl

func (p *SugaredAbuParser) CompResDecl() (localctx ICompResDeclContext)

func (*SugaredAbuParser) ComparisonOperator

func (p *SugaredAbuParser) ComparisonOperator() (localctx IComparisonOperatorContext)

func (*SugaredAbuParser) DecimalLiteral

func (p *SugaredAbuParser) DecimalLiteral() (localctx IDecimalLiteralContext)

func (*SugaredAbuParser) Device

func (p *SugaredAbuParser) Device() (localctx IDeviceContext)

func (*SugaredAbuParser) Ecarule

func (p *SugaredAbuParser) Ecarule() (localctx IEcaruleContext)

func (*SugaredAbuParser) Expression

func (p *SugaredAbuParser) Expression() (localctx IExpressionContext)

func (*SugaredAbuParser) Expression_Sempred

func (p *SugaredAbuParser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*SugaredAbuParser) IntegerLiteral

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

func (*SugaredAbuParser) LetDecl

func (p *SugaredAbuParser) LetDecl() (localctx ILetDeclContext)

func (*SugaredAbuParser) MulDivModOperator

func (p *SugaredAbuParser) MulDivModOperator() (localctx IMulDivModOperatorContext)

func (*SugaredAbuParser) NestedResource

func (p *SugaredAbuParser) NestedResource() (localctx INestedResourceContext)

func (*SugaredAbuParser) PlusMinusOperator

func (p *SugaredAbuParser) PlusMinusOperator() (localctx IPlusMinusOperatorContext)

func (*SugaredAbuParser) Program

func (p *SugaredAbuParser) Program() (localctx IProgramContext)

func (*SugaredAbuParser) ResDecl

func (p *SugaredAbuParser) ResDecl() (localctx IResDeclContext)

func (*SugaredAbuParser) ResField

func (p *SugaredAbuParser) ResField() (localctx IResFieldContext)

func (*SugaredAbuParser) ResList

func (p *SugaredAbuParser) ResList() (localctx IResListContext)

func (*SugaredAbuParser) Resource

func (p *SugaredAbuParser) Resource() (localctx IResourceContext)

func (*SugaredAbuParser) Sempred

func (p *SugaredAbuParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*SugaredAbuParser) SimpleResource

func (p *SugaredAbuParser) SimpleResource() (localctx ISimpleResourceContext)

func (*SugaredAbuParser) StringLiteral

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

func (*SugaredAbuParser) Task

func (p *SugaredAbuParser) Task() (localctx ITaskContext)

func (*SugaredAbuParser) Term

func (p *SugaredAbuParser) Term() (localctx ITermContext)

func (*SugaredAbuParser) Type

func (p *SugaredAbuParser) Type() (localctx ITypeContext)

func (*SugaredAbuParser) TypeDecl

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

func (*SugaredAbuParser) Value

func (p *SugaredAbuParser) Value() (localctx IValueContext)

type SugaredAbuParserListener

type SugaredAbuParserListener interface {
	antlr.ParseTreeListener

	// EnterProgram is called when entering the program production.
	EnterProgram(c *ProgramContext)

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

	// EnterResField is called when entering the resField production.
	EnterResField(c *ResFieldContext)

	// EnterDevice is called when entering the device production.
	EnterDevice(c *DeviceContext)

	// EnterResList is called when entering the resList production.
	EnterResList(c *ResListContext)

	// EnterResDecl is called when entering the resDecl production.
	EnterResDecl(c *ResDeclContext)

	// EnterCompResDecl is called when entering the compResDecl production.
	EnterCompResDecl(c *CompResDeclContext)

	// EnterType is called when entering the type production.
	EnterType(c *TypeContext)

	// EnterEcarule is called when entering the ecarule production.
	EnterEcarule(c *EcaruleContext)

	// EnterLetDecl is called when entering the letDecl production.
	EnterLetDecl(c *LetDeclContext)

	// EnterTask is called when entering the task production.
	EnterTask(c *TaskContext)

	// EnterActions is called when entering the actions production.
	EnterActions(c *ActionsContext)

	// EnterAssignment is called when entering the assignment production.
	EnterAssignment(c *AssignmentContext)

	// EnterExpression is called when entering the expression production.
	EnterExpression(c *ExpressionContext)

	// EnterMulDivModOperator is called when entering the mulDivModOperator production.
	EnterMulDivModOperator(c *MulDivModOperatorContext)

	// EnterPlusMinusOperator is called when entering the plusMinusOperator production.
	EnterPlusMinusOperator(c *PlusMinusOperatorContext)

	// EnterComparisonOperator is called when entering the comparisonOperator production.
	EnterComparisonOperator(c *ComparisonOperatorContext)

	// EnterTerm is called when entering the term production.
	EnterTerm(c *TermContext)

	// EnterValue is called when entering the value production.
	EnterValue(c *ValueContext)

	// EnterResource is called when entering the resource production.
	EnterResource(c *ResourceContext)

	// EnterSimpleResource is called when entering the simpleResource production.
	EnterSimpleResource(c *SimpleResourceContext)

	// EnterNestedResource is called when entering the nestedResource production.
	EnterNestedResource(c *NestedResourceContext)

	// EnterDecimalLiteral is called when entering the decimalLiteral production.
	EnterDecimalLiteral(c *DecimalLiteralContext)

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

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

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

	// ExitProgram is called when exiting the program production.
	ExitProgram(c *ProgramContext)

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

	// ExitResField is called when exiting the resField production.
	ExitResField(c *ResFieldContext)

	// ExitDevice is called when exiting the device production.
	ExitDevice(c *DeviceContext)

	// ExitResList is called when exiting the resList production.
	ExitResList(c *ResListContext)

	// ExitResDecl is called when exiting the resDecl production.
	ExitResDecl(c *ResDeclContext)

	// ExitCompResDecl is called when exiting the compResDecl production.
	ExitCompResDecl(c *CompResDeclContext)

	// ExitType is called when exiting the type production.
	ExitType(c *TypeContext)

	// ExitEcarule is called when exiting the ecarule production.
	ExitEcarule(c *EcaruleContext)

	// ExitLetDecl is called when exiting the letDecl production.
	ExitLetDecl(c *LetDeclContext)

	// ExitTask is called when exiting the task production.
	ExitTask(c *TaskContext)

	// ExitActions is called when exiting the actions production.
	ExitActions(c *ActionsContext)

	// ExitAssignment is called when exiting the assignment production.
	ExitAssignment(c *AssignmentContext)

	// ExitExpression is called when exiting the expression production.
	ExitExpression(c *ExpressionContext)

	// ExitMulDivModOperator is called when exiting the mulDivModOperator production.
	ExitMulDivModOperator(c *MulDivModOperatorContext)

	// ExitPlusMinusOperator is called when exiting the plusMinusOperator production.
	ExitPlusMinusOperator(c *PlusMinusOperatorContext)

	// ExitComparisonOperator is called when exiting the comparisonOperator production.
	ExitComparisonOperator(c *ComparisonOperatorContext)

	// ExitTerm is called when exiting the term production.
	ExitTerm(c *TermContext)

	// ExitValue is called when exiting the value production.
	ExitValue(c *ValueContext)

	// ExitResource is called when exiting the resource production.
	ExitResource(c *ResourceContext)

	// ExitSimpleResource is called when exiting the simpleResource production.
	ExitSimpleResource(c *SimpleResourceContext)

	// ExitNestedResource is called when exiting the nestedResource production.
	ExitNestedResource(c *NestedResourceContext)

	// ExitDecimalLiteral is called when exiting the decimalLiteral production.
	ExitDecimalLiteral(c *DecimalLiteralContext)

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

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

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

SugaredAbuParserListener is a complete listener for a parse tree produced by SugaredAbuParser.

type TaskContext

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

func NewEmptyTaskContext

func NewEmptyTaskContext() *TaskContext

func NewTaskContext

func NewTaskContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TaskContext

func (*TaskContext) ALL

func (s *TaskContext) ALL() antlr.TerminalNode

func (*TaskContext) Actions

func (s *TaskContext) Actions(i int) IActionsContext

func (*TaskContext) AllActions

func (s *TaskContext) AllActions() []IActionsContext

func (*TaskContext) DO

func (s *TaskContext) DO() antlr.TerminalNode

func (*TaskContext) EnterRule

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

func (*TaskContext) ExitRule

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

func (*TaskContext) Expression

func (s *TaskContext) Expression() IExpressionContext

func (*TaskContext) FOR

func (s *TaskContext) FOR() antlr.TerminalNode

func (*TaskContext) GetParser

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

func (*TaskContext) GetRuleContext

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

func (*TaskContext) IsTaskContext

func (*TaskContext) IsTaskContext()

func (*TaskContext) OWISE

func (s *TaskContext) OWISE() antlr.TerminalNode

func (*TaskContext) ToStringTree

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

type TermContext

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

func NewEmptyTermContext

func NewEmptyTermContext() *TermContext

func NewTermContext

func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext

func (*TermContext) EnterRule

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

func (*TermContext) ExitRule

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

func (*TermContext) GetParser

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

func (*TermContext) GetRuleContext

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

func (*TermContext) IsTermContext

func (*TermContext) IsTermContext()

func (*TermContext) Resource

func (s *TermContext) Resource() IResourceContext

func (*TermContext) ToStringTree

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

func (*TermContext) Value

func (s *TermContext) Value() IValueContext

type TypeContext

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

func NewEmptyTypeContext

func NewEmptyTypeContext() *TypeContext

func NewTypeContext

func NewTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeContext

func (*TypeContext) BOOLEAN

func (s *TypeContext) BOOLEAN() antlr.TerminalNode

func (*TypeContext) DECIMAL

func (s *TypeContext) DECIMAL() antlr.TerminalNode

func (*TypeContext) EnterRule

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

func (*TypeContext) ExitRule

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

func (*TypeContext) GetParser

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

func (*TypeContext) GetRuleContext

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

func (*TypeContext) INTEGER

func (s *TypeContext) INTEGER() antlr.TerminalNode

func (*TypeContext) IsTypeContext

func (*TypeContext) IsTypeContext()

func (*TypeContext) STRING

func (s *TypeContext) STRING() antlr.TerminalNode

func (*TypeContext) ToStringTree

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

type TypeDeclContext

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

func NewEmptyTypeDeclContext

func NewEmptyTypeDeclContext() *TypeDeclContext

func NewTypeDeclContext

func NewTypeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDeclContext

func (*TypeDeclContext) AS

func (*TypeDeclContext) AllResField

func (s *TypeDeclContext) AllResField() []IResFieldContext

func (*TypeDeclContext) CL_BRACKET

func (s *TypeDeclContext) CL_BRACKET() antlr.TerminalNode

func (*TypeDeclContext) CR_BRACKET

func (s *TypeDeclContext) CR_BRACKET() antlr.TerminalNode

func (*TypeDeclContext) DEFINE

func (s *TypeDeclContext) DEFINE() antlr.TerminalNode

func (*TypeDeclContext) EnterRule

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

func (*TypeDeclContext) ExitRule

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

func (*TypeDeclContext) GetParser

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

func (*TypeDeclContext) GetRuleContext

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

func (*TypeDeclContext) ID

func (*TypeDeclContext) IsTypeDeclContext

func (*TypeDeclContext) IsTypeDeclContext()

func (*TypeDeclContext) ResField

func (s *TypeDeclContext) ResField(i int) IResFieldContext

func (*TypeDeclContext) ToStringTree

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

type ValueContext

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

func NewEmptyValueContext

func NewEmptyValueContext() *ValueContext

func NewValueContext

func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext

func (*ValueContext) BooleanLiteral

func (s *ValueContext) BooleanLiteral() IBooleanLiteralContext

func (*ValueContext) DecimalLiteral

func (s *ValueContext) DecimalLiteral() IDecimalLiteralContext

func (*ValueContext) EnterRule

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

func (*ValueContext) ExitRule

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

func (*ValueContext) GetParser

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

func (*ValueContext) GetRuleContext

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

func (*ValueContext) IntegerLiteral

func (s *ValueContext) IntegerLiteral() IIntegerLiteralContext

func (*ValueContext) IsValueContext

func (*ValueContext) IsValueContext()

func (*ValueContext) StringLiteral

func (s *ValueContext) StringLiteral() IStringLiteralContext

func (*ValueContext) ToStringTree

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL