parser

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumscriptLexerT__0                       = 1
	NumscriptLexerWS                         = 2
	NumscriptLexerNEWLINE                    = 3
	NumscriptLexerMULTILINE_COMMENT          = 4
	NumscriptLexerLINE_COMMENT               = 5
	NumscriptLexerVARS                       = 6
	NumscriptLexerMAX                        = 7
	NumscriptLexerSOURCE                     = 8
	NumscriptLexerDESTINATION                = 9
	NumscriptLexerSEND                       = 10
	NumscriptLexerFROM                       = 11
	NumscriptLexerUP                         = 12
	NumscriptLexerTO                         = 13
	NumscriptLexerREMAINING                  = 14
	NumscriptLexerALLOWING                   = 15
	NumscriptLexerUNBOUNDED                  = 16
	NumscriptLexerOVERDRAFT                  = 17
	NumscriptLexerKEPT                       = 18
	NumscriptLexerSAVE                       = 19
	NumscriptLexerLPARENS                    = 20
	NumscriptLexerRPARENS                    = 21
	NumscriptLexerLBRACKET                   = 22
	NumscriptLexerRBRACKET                   = 23
	NumscriptLexerLBRACE                     = 24
	NumscriptLexerRBRACE                     = 25
	NumscriptLexerCOMMA                      = 26
	NumscriptLexerEQ                         = 27
	NumscriptLexerSTAR                       = 28
	NumscriptLexerMINUS                      = 29
	NumscriptLexerRATIO_PORTION_LITERAL      = 30
	NumscriptLexerPERCENTAGE_PORTION_LITERAL = 31
	NumscriptLexerSTRING                     = 32
	NumscriptLexerIDENTIFIER                 = 33
	NumscriptLexerNUMBER                     = 34
	NumscriptLexerVARIABLE_NAME              = 35
	NumscriptLexerACCOUNT                    = 36
	NumscriptLexerASSET                      = 37
)

NumscriptLexer tokens.

View Source
const (
	NumscriptParserEOF                        = antlr.TokenEOF
	NumscriptParserT__0                       = 1
	NumscriptParserWS                         = 2
	NumscriptParserNEWLINE                    = 3
	NumscriptParserMULTILINE_COMMENT          = 4
	NumscriptParserLINE_COMMENT               = 5
	NumscriptParserVARS                       = 6
	NumscriptParserMAX                        = 7
	NumscriptParserSOURCE                     = 8
	NumscriptParserDESTINATION                = 9
	NumscriptParserSEND                       = 10
	NumscriptParserFROM                       = 11
	NumscriptParserUP                         = 12
	NumscriptParserTO                         = 13
	NumscriptParserREMAINING                  = 14
	NumscriptParserALLOWING                   = 15
	NumscriptParserUNBOUNDED                  = 16
	NumscriptParserOVERDRAFT                  = 17
	NumscriptParserKEPT                       = 18
	NumscriptParserSAVE                       = 19
	NumscriptParserLPARENS                    = 20
	NumscriptParserRPARENS                    = 21
	NumscriptParserLBRACKET                   = 22
	NumscriptParserRBRACKET                   = 23
	NumscriptParserLBRACE                     = 24
	NumscriptParserRBRACE                     = 25
	NumscriptParserCOMMA                      = 26
	NumscriptParserEQ                         = 27
	NumscriptParserSTAR                       = 28
	NumscriptParserMINUS                      = 29
	NumscriptParserRATIO_PORTION_LITERAL      = 30
	NumscriptParserPERCENTAGE_PORTION_LITERAL = 31
	NumscriptParserSTRING                     = 32
	NumscriptParserIDENTIFIER                 = 33
	NumscriptParserNUMBER                     = 34
	NumscriptParserVARIABLE_NAME              = 35
	NumscriptParserACCOUNT                    = 36
	NumscriptParserASSET                      = 37
)

NumscriptParser tokens.

View Source
const (
	NumscriptParserRULE_monetaryLit              = 0
	NumscriptParserRULE_portion                  = 1
	NumscriptParserRULE_valueExpr                = 2
	NumscriptParserRULE_functionCallArgs         = 3
	NumscriptParserRULE_functionCall             = 4
	NumscriptParserRULE_varOrigin                = 5
	NumscriptParserRULE_varDeclaration           = 6
	NumscriptParserRULE_varsDeclaration          = 7
	NumscriptParserRULE_program                  = 8
	NumscriptParserRULE_sentAllLit               = 9
	NumscriptParserRULE_allotment                = 10
	NumscriptParserRULE_source                   = 11
	NumscriptParserRULE_allotmentClauseSrc       = 12
	NumscriptParserRULE_keptOrDestination        = 13
	NumscriptParserRULE_destinationInOrderClause = 14
	NumscriptParserRULE_destination              = 15
	NumscriptParserRULE_allotmentClauseDest      = 16
	NumscriptParserRULE_sentValue                = 17
	NumscriptParserRULE_statement                = 18
)

NumscriptParser rules.

Variables

View Source
var NumscriptLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var NumscriptParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func InitEmptyAllotmentClauseDestContext

func InitEmptyAllotmentClauseDestContext(p *AllotmentClauseDestContext)

func InitEmptyAllotmentClauseSrcContext

func InitEmptyAllotmentClauseSrcContext(p *AllotmentClauseSrcContext)

func InitEmptyAllotmentContext

func InitEmptyAllotmentContext(p *AllotmentContext)

func InitEmptyDestinationContext

func InitEmptyDestinationContext(p *DestinationContext)

func InitEmptyDestinationInOrderClauseContext

func InitEmptyDestinationInOrderClauseContext(p *DestinationInOrderClauseContext)

func InitEmptyFunctionCallArgsContext

func InitEmptyFunctionCallArgsContext(p *FunctionCallArgsContext)

func InitEmptyFunctionCallContext

func InitEmptyFunctionCallContext(p *FunctionCallContext)

func InitEmptyKeptOrDestinationContext

func InitEmptyKeptOrDestinationContext(p *KeptOrDestinationContext)

func InitEmptyMonetaryLitContext

func InitEmptyMonetaryLitContext(p *MonetaryLitContext)

func InitEmptyPortionContext

func InitEmptyPortionContext(p *PortionContext)

func InitEmptyProgramContext

func InitEmptyProgramContext(p *ProgramContext)

func InitEmptySentAllLitContext

func InitEmptySentAllLitContext(p *SentAllLitContext)

func InitEmptySentValueContext

func InitEmptySentValueContext(p *SentValueContext)

func InitEmptySourceContext

func InitEmptySourceContext(p *SourceContext)

func InitEmptyStatementContext

func InitEmptyStatementContext(p *StatementContext)

func InitEmptyValueExprContext added in v0.0.10

func InitEmptyValueExprContext(p *ValueExprContext)

func InitEmptyVarDeclarationContext

func InitEmptyVarDeclarationContext(p *VarDeclarationContext)

func InitEmptyVarOriginContext

func InitEmptyVarOriginContext(p *VarOriginContext)

func InitEmptyVarsDeclarationContext

func InitEmptyVarsDeclarationContext(p *VarsDeclarationContext)

func NumscriptLexerInit

func NumscriptLexerInit()

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

func NumscriptParserInit

func NumscriptParserInit()

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

Types

type AccountLiteralContext

type AccountLiteralContext struct {
	ValueExprContext
}

func NewAccountLiteralContext

func NewAccountLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AccountLiteralContext

func (*AccountLiteralContext) ACCOUNT

func (s *AccountLiteralContext) ACCOUNT() antlr.TerminalNode

func (*AccountLiteralContext) EnterRule

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

func (*AccountLiteralContext) ExitRule

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

func (*AccountLiteralContext) GetRuleContext

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

type AllotmentClauseDestContext

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

func NewAllotmentClauseDestContext

func NewAllotmentClauseDestContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AllotmentClauseDestContext

func NewEmptyAllotmentClauseDestContext

func NewEmptyAllotmentClauseDestContext() *AllotmentClauseDestContext

func (*AllotmentClauseDestContext) Allotment

func (*AllotmentClauseDestContext) EnterRule

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

func (*AllotmentClauseDestContext) ExitRule

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

func (*AllotmentClauseDestContext) GetParser

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

func (*AllotmentClauseDestContext) GetRuleContext

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

func (*AllotmentClauseDestContext) IsAllotmentClauseDestContext

func (*AllotmentClauseDestContext) IsAllotmentClauseDestContext()

func (*AllotmentClauseDestContext) KeptOrDestination

func (*AllotmentClauseDestContext) ToStringTree

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

type AllotmentClauseSrcContext

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

func NewAllotmentClauseSrcContext

func NewAllotmentClauseSrcContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AllotmentClauseSrcContext

func NewEmptyAllotmentClauseSrcContext

func NewEmptyAllotmentClauseSrcContext() *AllotmentClauseSrcContext

func (*AllotmentClauseSrcContext) Allotment

func (*AllotmentClauseSrcContext) EnterRule

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

func (*AllotmentClauseSrcContext) ExitRule

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

func (*AllotmentClauseSrcContext) FROM

func (s *AllotmentClauseSrcContext) FROM() antlr.TerminalNode

func (*AllotmentClauseSrcContext) GetParser

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

func (*AllotmentClauseSrcContext) GetRuleContext

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

func (*AllotmentClauseSrcContext) IsAllotmentClauseSrcContext

func (*AllotmentClauseSrcContext) IsAllotmentClauseSrcContext()

func (*AllotmentClauseSrcContext) Source

func (*AllotmentClauseSrcContext) ToStringTree

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

type AllotmentContext

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

func NewAllotmentContext

func NewAllotmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AllotmentContext

func NewEmptyAllotmentContext

func NewEmptyAllotmentContext() *AllotmentContext

func (*AllotmentContext) CopyAll

func (s *AllotmentContext) CopyAll(ctx *AllotmentContext)

func (*AllotmentContext) GetParser

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

func (*AllotmentContext) GetRuleContext

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

func (*AllotmentContext) IsAllotmentContext

func (*AllotmentContext) IsAllotmentContext()

func (*AllotmentContext) ToStringTree

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

type AssetLiteralContext

type AssetLiteralContext struct {
	ValueExprContext
}

func NewAssetLiteralContext

func NewAssetLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssetLiteralContext

func (*AssetLiteralContext) ASSET

func (s *AssetLiteralContext) ASSET() antlr.TerminalNode

func (*AssetLiteralContext) EnterRule

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

func (*AssetLiteralContext) ExitRule

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

func (*AssetLiteralContext) GetRuleContext

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

type BaseNumscriptListener

type BaseNumscriptListener struct{}

BaseNumscriptListener is a complete listener for a parse tree produced by NumscriptParser.

func (*BaseNumscriptListener) EnterAccountLiteral

func (s *BaseNumscriptListener) EnterAccountLiteral(ctx *AccountLiteralContext)

EnterAccountLiteral is called when production accountLiteral is entered.

func (*BaseNumscriptListener) EnterAllotmentClauseDest

func (s *BaseNumscriptListener) EnterAllotmentClauseDest(ctx *AllotmentClauseDestContext)

EnterAllotmentClauseDest is called when production allotmentClauseDest is entered.

func (*BaseNumscriptListener) EnterAllotmentClauseSrc

func (s *BaseNumscriptListener) EnterAllotmentClauseSrc(ctx *AllotmentClauseSrcContext)

EnterAllotmentClauseSrc is called when production allotmentClauseSrc is entered.

func (*BaseNumscriptListener) EnterAssetLiteral

func (s *BaseNumscriptListener) EnterAssetLiteral(ctx *AssetLiteralContext)

EnterAssetLiteral is called when production assetLiteral is entered.

func (*BaseNumscriptListener) EnterDestAccount

func (s *BaseNumscriptListener) EnterDestAccount(ctx *DestAccountContext)

EnterDestAccount is called when production destAccount is entered.

func (*BaseNumscriptListener) EnterDestAllotment

func (s *BaseNumscriptListener) EnterDestAllotment(ctx *DestAllotmentContext)

EnterDestAllotment is called when production destAllotment is entered.

func (*BaseNumscriptListener) EnterDestInorder

func (s *BaseNumscriptListener) EnterDestInorder(ctx *DestInorderContext)

EnterDestInorder is called when production destInorder is entered.

func (*BaseNumscriptListener) EnterDestinationInOrderClause

func (s *BaseNumscriptListener) EnterDestinationInOrderClause(ctx *DestinationInOrderClauseContext)

EnterDestinationInOrderClause is called when production destinationInOrderClause is entered.

func (*BaseNumscriptListener) EnterDestinationKept

func (s *BaseNumscriptListener) EnterDestinationKept(ctx *DestinationKeptContext)

EnterDestinationKept is called when production destinationKept is entered.

func (*BaseNumscriptListener) EnterDestinationTo

func (s *BaseNumscriptListener) EnterDestinationTo(ctx *DestinationToContext)

EnterDestinationTo is called when production destinationTo is entered.

func (*BaseNumscriptListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseNumscriptListener) EnterFnCallStatement

func (s *BaseNumscriptListener) EnterFnCallStatement(ctx *FnCallStatementContext)

EnterFnCallStatement is called when production fnCallStatement is entered.

func (*BaseNumscriptListener) EnterFunctionCall

func (s *BaseNumscriptListener) EnterFunctionCall(ctx *FunctionCallContext)

EnterFunctionCall is called when production functionCall is entered.

func (*BaseNumscriptListener) EnterFunctionCallArgs

func (s *BaseNumscriptListener) EnterFunctionCallArgs(ctx *FunctionCallArgsContext)

EnterFunctionCallArgs is called when production functionCallArgs is entered.

func (*BaseNumscriptListener) EnterInfixExpr added in v0.0.10

func (s *BaseNumscriptListener) EnterInfixExpr(ctx *InfixExprContext)

EnterInfixExpr is called when production infixExpr is entered.

func (*BaseNumscriptListener) EnterMonetaryLit

func (s *BaseNumscriptListener) EnterMonetaryLit(ctx *MonetaryLitContext)

EnterMonetaryLit is called when production monetaryLit is entered.

func (*BaseNumscriptListener) EnterMonetaryLiteral

func (s *BaseNumscriptListener) EnterMonetaryLiteral(ctx *MonetaryLiteralContext)

EnterMonetaryLiteral is called when production monetaryLiteral is entered.

func (*BaseNumscriptListener) EnterNumberLiteral

func (s *BaseNumscriptListener) EnterNumberLiteral(ctx *NumberLiteralContext)

EnterNumberLiteral is called when production numberLiteral is entered.

func (*BaseNumscriptListener) EnterPercentage

func (s *BaseNumscriptListener) EnterPercentage(ctx *PercentageContext)

EnterPercentage is called when production percentage is entered.

func (*BaseNumscriptListener) EnterPortionLiteral

func (s *BaseNumscriptListener) EnterPortionLiteral(ctx *PortionLiteralContext)

EnterPortionLiteral is called when production portionLiteral is entered.

func (*BaseNumscriptListener) EnterPortionVariable

func (s *BaseNumscriptListener) EnterPortionVariable(ctx *PortionVariableContext)

EnterPortionVariable is called when production portionVariable is entered.

func (*BaseNumscriptListener) EnterPortionedAllotment

func (s *BaseNumscriptListener) EnterPortionedAllotment(ctx *PortionedAllotmentContext)

EnterPortionedAllotment is called when production portionedAllotment is entered.

func (*BaseNumscriptListener) EnterProgram

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

EnterProgram is called when production program is entered.

func (*BaseNumscriptListener) EnterRatio

func (s *BaseNumscriptListener) EnterRatio(ctx *RatioContext)

EnterRatio is called when production ratio is entered.

func (*BaseNumscriptListener) EnterRemainingAllotment

func (s *BaseNumscriptListener) EnterRemainingAllotment(ctx *RemainingAllotmentContext)

EnterRemainingAllotment is called when production remainingAllotment is entered.

func (*BaseNumscriptListener) EnterSaveStatement

func (s *BaseNumscriptListener) EnterSaveStatement(ctx *SaveStatementContext)

EnterSaveStatement is called when production saveStatement is entered.

func (*BaseNumscriptListener) EnterSendStatement

func (s *BaseNumscriptListener) EnterSendStatement(ctx *SendStatementContext)

EnterSendStatement is called when production sendStatement is entered.

func (*BaseNumscriptListener) EnterSentAll

func (s *BaseNumscriptListener) EnterSentAll(ctx *SentAllContext)

EnterSentAll is called when production sentAll is entered.

func (*BaseNumscriptListener) EnterSentAllLit

func (s *BaseNumscriptListener) EnterSentAllLit(ctx *SentAllLitContext)

EnterSentAllLit is called when production sentAllLit is entered.

func (*BaseNumscriptListener) EnterSentLiteral

func (s *BaseNumscriptListener) EnterSentLiteral(ctx *SentLiteralContext)

EnterSentLiteral is called when production sentLiteral is entered.

func (*BaseNumscriptListener) EnterSrcAccount

func (s *BaseNumscriptListener) EnterSrcAccount(ctx *SrcAccountContext)

EnterSrcAccount is called when production srcAccount is entered.

func (*BaseNumscriptListener) EnterSrcAccountBoundedOverdraft

func (s *BaseNumscriptListener) EnterSrcAccountBoundedOverdraft(ctx *SrcAccountBoundedOverdraftContext)

EnterSrcAccountBoundedOverdraft is called when production srcAccountBoundedOverdraft is entered.

func (*BaseNumscriptListener) EnterSrcAccountUnboundedOverdraft

func (s *BaseNumscriptListener) EnterSrcAccountUnboundedOverdraft(ctx *SrcAccountUnboundedOverdraftContext)

EnterSrcAccountUnboundedOverdraft is called when production srcAccountUnboundedOverdraft is entered.

func (*BaseNumscriptListener) EnterSrcAllotment

func (s *BaseNumscriptListener) EnterSrcAllotment(ctx *SrcAllotmentContext)

EnterSrcAllotment is called when production srcAllotment is entered.

func (*BaseNumscriptListener) EnterSrcCapped

func (s *BaseNumscriptListener) EnterSrcCapped(ctx *SrcCappedContext)

EnterSrcCapped is called when production srcCapped is entered.

func (*BaseNumscriptListener) EnterSrcInorder

func (s *BaseNumscriptListener) EnterSrcInorder(ctx *SrcInorderContext)

EnterSrcInorder is called when production srcInorder is entered.

func (*BaseNumscriptListener) EnterStringLiteral

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

EnterStringLiteral is called when production stringLiteral is entered.

func (*BaseNumscriptListener) EnterVarDeclaration

func (s *BaseNumscriptListener) EnterVarDeclaration(ctx *VarDeclarationContext)

EnterVarDeclaration is called when production varDeclaration is entered.

func (*BaseNumscriptListener) EnterVarOrigin

func (s *BaseNumscriptListener) EnterVarOrigin(ctx *VarOriginContext)

EnterVarOrigin is called when production varOrigin is entered.

func (*BaseNumscriptListener) EnterVariableExpr added in v0.0.10

func (s *BaseNumscriptListener) EnterVariableExpr(ctx *VariableExprContext)

EnterVariableExpr is called when production variableExpr is entered.

func (*BaseNumscriptListener) EnterVarsDeclaration

func (s *BaseNumscriptListener) EnterVarsDeclaration(ctx *VarsDeclarationContext)

EnterVarsDeclaration is called when production varsDeclaration is entered.

func (*BaseNumscriptListener) ExitAccountLiteral

func (s *BaseNumscriptListener) ExitAccountLiteral(ctx *AccountLiteralContext)

ExitAccountLiteral is called when production accountLiteral is exited.

func (*BaseNumscriptListener) ExitAllotmentClauseDest

func (s *BaseNumscriptListener) ExitAllotmentClauseDest(ctx *AllotmentClauseDestContext)

ExitAllotmentClauseDest is called when production allotmentClauseDest is exited.

func (*BaseNumscriptListener) ExitAllotmentClauseSrc

func (s *BaseNumscriptListener) ExitAllotmentClauseSrc(ctx *AllotmentClauseSrcContext)

ExitAllotmentClauseSrc is called when production allotmentClauseSrc is exited.

func (*BaseNumscriptListener) ExitAssetLiteral

func (s *BaseNumscriptListener) ExitAssetLiteral(ctx *AssetLiteralContext)

ExitAssetLiteral is called when production assetLiteral is exited.

func (*BaseNumscriptListener) ExitDestAccount

func (s *BaseNumscriptListener) ExitDestAccount(ctx *DestAccountContext)

ExitDestAccount is called when production destAccount is exited.

func (*BaseNumscriptListener) ExitDestAllotment

func (s *BaseNumscriptListener) ExitDestAllotment(ctx *DestAllotmentContext)

ExitDestAllotment is called when production destAllotment is exited.

func (*BaseNumscriptListener) ExitDestInorder

func (s *BaseNumscriptListener) ExitDestInorder(ctx *DestInorderContext)

ExitDestInorder is called when production destInorder is exited.

func (*BaseNumscriptListener) ExitDestinationInOrderClause

func (s *BaseNumscriptListener) ExitDestinationInOrderClause(ctx *DestinationInOrderClauseContext)

ExitDestinationInOrderClause is called when production destinationInOrderClause is exited.

func (*BaseNumscriptListener) ExitDestinationKept

func (s *BaseNumscriptListener) ExitDestinationKept(ctx *DestinationKeptContext)

ExitDestinationKept is called when production destinationKept is exited.

func (*BaseNumscriptListener) ExitDestinationTo

func (s *BaseNumscriptListener) ExitDestinationTo(ctx *DestinationToContext)

ExitDestinationTo is called when production destinationTo is exited.

func (*BaseNumscriptListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseNumscriptListener) ExitFnCallStatement

func (s *BaseNumscriptListener) ExitFnCallStatement(ctx *FnCallStatementContext)

ExitFnCallStatement is called when production fnCallStatement is exited.

func (*BaseNumscriptListener) ExitFunctionCall

func (s *BaseNumscriptListener) ExitFunctionCall(ctx *FunctionCallContext)

ExitFunctionCall is called when production functionCall is exited.

func (*BaseNumscriptListener) ExitFunctionCallArgs

func (s *BaseNumscriptListener) ExitFunctionCallArgs(ctx *FunctionCallArgsContext)

ExitFunctionCallArgs is called when production functionCallArgs is exited.

func (*BaseNumscriptListener) ExitInfixExpr added in v0.0.10

func (s *BaseNumscriptListener) ExitInfixExpr(ctx *InfixExprContext)

ExitInfixExpr is called when production infixExpr is exited.

func (*BaseNumscriptListener) ExitMonetaryLit

func (s *BaseNumscriptListener) ExitMonetaryLit(ctx *MonetaryLitContext)

ExitMonetaryLit is called when production monetaryLit is exited.

func (*BaseNumscriptListener) ExitMonetaryLiteral

func (s *BaseNumscriptListener) ExitMonetaryLiteral(ctx *MonetaryLiteralContext)

ExitMonetaryLiteral is called when production monetaryLiteral is exited.

func (*BaseNumscriptListener) ExitNumberLiteral

func (s *BaseNumscriptListener) ExitNumberLiteral(ctx *NumberLiteralContext)

ExitNumberLiteral is called when production numberLiteral is exited.

func (*BaseNumscriptListener) ExitPercentage

func (s *BaseNumscriptListener) ExitPercentage(ctx *PercentageContext)

ExitPercentage is called when production percentage is exited.

func (*BaseNumscriptListener) ExitPortionLiteral

func (s *BaseNumscriptListener) ExitPortionLiteral(ctx *PortionLiteralContext)

ExitPortionLiteral is called when production portionLiteral is exited.

func (*BaseNumscriptListener) ExitPortionVariable

func (s *BaseNumscriptListener) ExitPortionVariable(ctx *PortionVariableContext)

ExitPortionVariable is called when production portionVariable is exited.

func (*BaseNumscriptListener) ExitPortionedAllotment

func (s *BaseNumscriptListener) ExitPortionedAllotment(ctx *PortionedAllotmentContext)

ExitPortionedAllotment is called when production portionedAllotment is exited.

func (*BaseNumscriptListener) ExitProgram

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

ExitProgram is called when production program is exited.

func (*BaseNumscriptListener) ExitRatio

func (s *BaseNumscriptListener) ExitRatio(ctx *RatioContext)

ExitRatio is called when production ratio is exited.

func (*BaseNumscriptListener) ExitRemainingAllotment

func (s *BaseNumscriptListener) ExitRemainingAllotment(ctx *RemainingAllotmentContext)

ExitRemainingAllotment is called when production remainingAllotment is exited.

func (*BaseNumscriptListener) ExitSaveStatement

func (s *BaseNumscriptListener) ExitSaveStatement(ctx *SaveStatementContext)

ExitSaveStatement is called when production saveStatement is exited.

func (*BaseNumscriptListener) ExitSendStatement

func (s *BaseNumscriptListener) ExitSendStatement(ctx *SendStatementContext)

ExitSendStatement is called when production sendStatement is exited.

func (*BaseNumscriptListener) ExitSentAll

func (s *BaseNumscriptListener) ExitSentAll(ctx *SentAllContext)

ExitSentAll is called when production sentAll is exited.

func (*BaseNumscriptListener) ExitSentAllLit

func (s *BaseNumscriptListener) ExitSentAllLit(ctx *SentAllLitContext)

ExitSentAllLit is called when production sentAllLit is exited.

func (*BaseNumscriptListener) ExitSentLiteral

func (s *BaseNumscriptListener) ExitSentLiteral(ctx *SentLiteralContext)

ExitSentLiteral is called when production sentLiteral is exited.

func (*BaseNumscriptListener) ExitSrcAccount

func (s *BaseNumscriptListener) ExitSrcAccount(ctx *SrcAccountContext)

ExitSrcAccount is called when production srcAccount is exited.

func (*BaseNumscriptListener) ExitSrcAccountBoundedOverdraft

func (s *BaseNumscriptListener) ExitSrcAccountBoundedOverdraft(ctx *SrcAccountBoundedOverdraftContext)

ExitSrcAccountBoundedOverdraft is called when production srcAccountBoundedOverdraft is exited.

func (*BaseNumscriptListener) ExitSrcAccountUnboundedOverdraft

func (s *BaseNumscriptListener) ExitSrcAccountUnboundedOverdraft(ctx *SrcAccountUnboundedOverdraftContext)

ExitSrcAccountUnboundedOverdraft is called when production srcAccountUnboundedOverdraft is exited.

func (*BaseNumscriptListener) ExitSrcAllotment

func (s *BaseNumscriptListener) ExitSrcAllotment(ctx *SrcAllotmentContext)

ExitSrcAllotment is called when production srcAllotment is exited.

func (*BaseNumscriptListener) ExitSrcCapped

func (s *BaseNumscriptListener) ExitSrcCapped(ctx *SrcCappedContext)

ExitSrcCapped is called when production srcCapped is exited.

func (*BaseNumscriptListener) ExitSrcInorder

func (s *BaseNumscriptListener) ExitSrcInorder(ctx *SrcInorderContext)

ExitSrcInorder is called when production srcInorder is exited.

func (*BaseNumscriptListener) ExitStringLiteral

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

ExitStringLiteral is called when production stringLiteral is exited.

func (*BaseNumscriptListener) ExitVarDeclaration

func (s *BaseNumscriptListener) ExitVarDeclaration(ctx *VarDeclarationContext)

ExitVarDeclaration is called when production varDeclaration is exited.

func (*BaseNumscriptListener) ExitVarOrigin

func (s *BaseNumscriptListener) ExitVarOrigin(ctx *VarOriginContext)

ExitVarOrigin is called when production varOrigin is exited.

func (*BaseNumscriptListener) ExitVariableExpr added in v0.0.10

func (s *BaseNumscriptListener) ExitVariableExpr(ctx *VariableExprContext)

ExitVariableExpr is called when production variableExpr is exited.

func (*BaseNumscriptListener) ExitVarsDeclaration

func (s *BaseNumscriptListener) ExitVarsDeclaration(ctx *VarsDeclarationContext)

ExitVarsDeclaration is called when production varsDeclaration is exited.

func (*BaseNumscriptListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseNumscriptListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type DestAccountContext

type DestAccountContext struct {
	DestinationContext
}

func NewDestAccountContext

func NewDestAccountContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DestAccountContext

func (*DestAccountContext) EnterRule

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

func (*DestAccountContext) ExitRule

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

func (*DestAccountContext) GetRuleContext

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

func (*DestAccountContext) ValueExpr added in v0.0.10

func (s *DestAccountContext) ValueExpr() IValueExprContext

type DestAllotmentContext

type DestAllotmentContext struct {
	DestinationContext
}

func NewDestAllotmentContext

func NewDestAllotmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DestAllotmentContext

func (*DestAllotmentContext) AllAllotmentClauseDest

func (s *DestAllotmentContext) AllAllotmentClauseDest() []IAllotmentClauseDestContext

func (*DestAllotmentContext) AllotmentClauseDest

func (s *DestAllotmentContext) AllotmentClauseDest(i int) IAllotmentClauseDestContext

func (*DestAllotmentContext) EnterRule

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

func (*DestAllotmentContext) ExitRule

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

func (*DestAllotmentContext) GetRuleContext

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

func (*DestAllotmentContext) LBRACE

func (s *DestAllotmentContext) LBRACE() antlr.TerminalNode

func (*DestAllotmentContext) RBRACE

func (s *DestAllotmentContext) RBRACE() antlr.TerminalNode

type DestInorderContext

type DestInorderContext struct {
	DestinationContext
}

func NewDestInorderContext

func NewDestInorderContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DestInorderContext

func (*DestInorderContext) AllDestinationInOrderClause

func (s *DestInorderContext) AllDestinationInOrderClause() []IDestinationInOrderClauseContext

func (*DestInorderContext) DestinationInOrderClause

func (s *DestInorderContext) DestinationInOrderClause(i int) IDestinationInOrderClauseContext

func (*DestInorderContext) EnterRule

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

func (*DestInorderContext) ExitRule

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

func (*DestInorderContext) GetRuleContext

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

func (*DestInorderContext) KeptOrDestination

func (s *DestInorderContext) KeptOrDestination() IKeptOrDestinationContext

func (*DestInorderContext) LBRACE

func (s *DestInorderContext) LBRACE() antlr.TerminalNode

func (*DestInorderContext) RBRACE

func (s *DestInorderContext) RBRACE() antlr.TerminalNode

func (*DestInorderContext) REMAINING

func (s *DestInorderContext) REMAINING() antlr.TerminalNode

type DestinationContext

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

func NewDestinationContext

func NewDestinationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DestinationContext

func NewEmptyDestinationContext

func NewEmptyDestinationContext() *DestinationContext

func (*DestinationContext) CopyAll

func (s *DestinationContext) CopyAll(ctx *DestinationContext)

func (*DestinationContext) GetParser

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

func (*DestinationContext) GetRuleContext

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

func (*DestinationContext) IsDestinationContext

func (*DestinationContext) IsDestinationContext()

func (*DestinationContext) ToStringTree

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

type DestinationInOrderClauseContext

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

func NewDestinationInOrderClauseContext

func NewDestinationInOrderClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DestinationInOrderClauseContext

func NewEmptyDestinationInOrderClauseContext

func NewEmptyDestinationInOrderClauseContext() *DestinationInOrderClauseContext

func (*DestinationInOrderClauseContext) EnterRule

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

func (*DestinationInOrderClauseContext) ExitRule

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

func (*DestinationInOrderClauseContext) GetParser

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

func (*DestinationInOrderClauseContext) GetRuleContext

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

func (*DestinationInOrderClauseContext) IsDestinationInOrderClauseContext

func (*DestinationInOrderClauseContext) IsDestinationInOrderClauseContext()

func (*DestinationInOrderClauseContext) KeptOrDestination

func (*DestinationInOrderClauseContext) MAX

func (s *DestinationInOrderClauseContext) MAX() antlr.TerminalNode

func (*DestinationInOrderClauseContext) ToStringTree

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

func (*DestinationInOrderClauseContext) ValueExpr added in v0.0.10

type DestinationKeptContext

type DestinationKeptContext struct {
	KeptOrDestinationContext
}

func NewDestinationKeptContext

func NewDestinationKeptContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DestinationKeptContext

func (*DestinationKeptContext) EnterRule

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

func (*DestinationKeptContext) ExitRule

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

func (*DestinationKeptContext) GetRuleContext

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

func (*DestinationKeptContext) KEPT

func (s *DestinationKeptContext) KEPT() antlr.TerminalNode

type DestinationToContext

type DestinationToContext struct {
	KeptOrDestinationContext
}

func NewDestinationToContext

func NewDestinationToContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DestinationToContext

func (*DestinationToContext) Destination

func (s *DestinationToContext) Destination() IDestinationContext

func (*DestinationToContext) EnterRule

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

func (*DestinationToContext) ExitRule

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

func (*DestinationToContext) GetRuleContext

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

func (*DestinationToContext) TO

func (s *DestinationToContext) TO() antlr.TerminalNode

type FnCallStatementContext

type FnCallStatementContext struct {
	StatementContext
}

func NewFnCallStatementContext

func NewFnCallStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FnCallStatementContext

func (*FnCallStatementContext) EnterRule

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

func (*FnCallStatementContext) ExitRule

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

func (*FnCallStatementContext) FunctionCall

func (s *FnCallStatementContext) FunctionCall() IFunctionCallContext

func (*FnCallStatementContext) GetRuleContext

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

type FunctionCallArgsContext

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

func NewEmptyFunctionCallArgsContext

func NewEmptyFunctionCallArgsContext() *FunctionCallArgsContext

func NewFunctionCallArgsContext

func NewFunctionCallArgsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionCallArgsContext

func (*FunctionCallArgsContext) AllCOMMA

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

func (*FunctionCallArgsContext) AllValueExpr added in v0.0.10

func (s *FunctionCallArgsContext) AllValueExpr() []IValueExprContext

func (*FunctionCallArgsContext) COMMA

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

func (*FunctionCallArgsContext) EnterRule

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

func (*FunctionCallArgsContext) ExitRule

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

func (*FunctionCallArgsContext) GetParser

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

func (*FunctionCallArgsContext) GetRuleContext

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

func (*FunctionCallArgsContext) IsFunctionCallArgsContext

func (*FunctionCallArgsContext) IsFunctionCallArgsContext()

func (*FunctionCallArgsContext) ToStringTree

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

func (*FunctionCallArgsContext) ValueExpr added in v0.0.10

type FunctionCallContext

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

func NewEmptyFunctionCallContext

func NewEmptyFunctionCallContext() *FunctionCallContext

func NewFunctionCallContext

func NewFunctionCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionCallContext

func (*FunctionCallContext) EnterRule

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

func (*FunctionCallContext) ExitRule

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

func (*FunctionCallContext) FunctionCallArgs

func (s *FunctionCallContext) FunctionCallArgs() IFunctionCallArgsContext

func (*FunctionCallContext) GetFnName added in v0.0.10

func (s *FunctionCallContext) GetFnName() antlr.Token

func (*FunctionCallContext) GetParser

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

func (*FunctionCallContext) GetRuleContext

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

func (*FunctionCallContext) IDENTIFIER

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

func (*FunctionCallContext) IsFunctionCallContext

func (*FunctionCallContext) IsFunctionCallContext()

func (*FunctionCallContext) LPARENS

func (s *FunctionCallContext) LPARENS() antlr.TerminalNode

func (*FunctionCallContext) OVERDRAFT added in v0.0.10

func (s *FunctionCallContext) OVERDRAFT() antlr.TerminalNode

func (*FunctionCallContext) RPARENS

func (s *FunctionCallContext) RPARENS() antlr.TerminalNode

func (*FunctionCallContext) SetFnName added in v0.0.10

func (s *FunctionCallContext) SetFnName(v antlr.Token)

func (*FunctionCallContext) ToStringTree

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

type IAllotmentClauseDestContext

type IAllotmentClauseDestContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Allotment() IAllotmentContext
	KeptOrDestination() IKeptOrDestinationContext

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

IAllotmentClauseDestContext is an interface to support dynamic dispatch.

type IAllotmentClauseSrcContext

type IAllotmentClauseSrcContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Allotment() IAllotmentContext
	FROM() antlr.TerminalNode
	Source() ISourceContext

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

IAllotmentClauseSrcContext is an interface to support dynamic dispatch.

type IAllotmentContext

type IAllotmentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsAllotmentContext differentiates from other interfaces.
	IsAllotmentContext()
}

IAllotmentContext is an interface to support dynamic dispatch.

type IDestinationContext

type IDestinationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDestinationContext differentiates from other interfaces.
	IsDestinationContext()
}

IDestinationContext is an interface to support dynamic dispatch.

type IDestinationInOrderClauseContext

type IDestinationInOrderClauseContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	MAX() antlr.TerminalNode
	ValueExpr() IValueExprContext
	KeptOrDestination() IKeptOrDestinationContext

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

IDestinationInOrderClauseContext is an interface to support dynamic dispatch.

type IFunctionCallArgsContext

type IFunctionCallArgsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllValueExpr() []IValueExprContext
	ValueExpr(i int) IValueExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IFunctionCallArgsContext is an interface to support dynamic dispatch.

type IFunctionCallContext

type IFunctionCallContext interface {
	antlr.ParserRuleContext

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

	// GetFnName returns the fnName token.
	GetFnName() antlr.Token

	// SetFnName sets the fnName token.
	SetFnName(antlr.Token)

	// Getter signatures
	LPARENS() antlr.TerminalNode
	RPARENS() antlr.TerminalNode
	OVERDRAFT() antlr.TerminalNode
	IDENTIFIER() antlr.TerminalNode
	FunctionCallArgs() IFunctionCallArgsContext

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

IFunctionCallContext is an interface to support dynamic dispatch.

type IKeptOrDestinationContext

type IKeptOrDestinationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsKeptOrDestinationContext differentiates from other interfaces.
	IsKeptOrDestinationContext()
}

IKeptOrDestinationContext is an interface to support dynamic dispatch.

type IMonetaryLitContext

type IMonetaryLitContext interface {
	antlr.ParserRuleContext

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

	// GetAsset returns the asset rule contexts.
	GetAsset() IValueExprContext

	// GetAmt returns the amt rule contexts.
	GetAmt() IValueExprContext

	// SetAsset sets the asset rule contexts.
	SetAsset(IValueExprContext)

	// SetAmt sets the amt rule contexts.
	SetAmt(IValueExprContext)

	// Getter signatures
	LBRACKET() antlr.TerminalNode
	RBRACKET() antlr.TerminalNode
	AllValueExpr() []IValueExprContext
	ValueExpr(i int) IValueExprContext

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

IMonetaryLitContext is an interface to support dynamic dispatch.

type IPortionContext

type IPortionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsPortionContext differentiates from other interfaces.
	IsPortionContext()
}

IPortionContext is an interface to support dynamic dispatch.

type IProgramContext

type IProgramContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EOF() antlr.TerminalNode
	VarsDeclaration() IVarsDeclarationContext
	AllStatement() []IStatementContext
	Statement(i int) IStatementContext

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

IProgramContext is an interface to support dynamic dispatch.

type ISentAllLitContext

type ISentAllLitContext interface {
	antlr.ParserRuleContext

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

	// GetAsset returns the asset rule contexts.
	GetAsset() IValueExprContext

	// SetAsset sets the asset rule contexts.
	SetAsset(IValueExprContext)

	// Getter signatures
	LBRACKET() antlr.TerminalNode
	STAR() antlr.TerminalNode
	RBRACKET() antlr.TerminalNode
	ValueExpr() IValueExprContext

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

ISentAllLitContext is an interface to support dynamic dispatch.

type ISentValueContext

type ISentValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsSentValueContext differentiates from other interfaces.
	IsSentValueContext()
}

ISentValueContext is an interface to support dynamic dispatch.

type ISourceContext

type ISourceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsSourceContext differentiates from other interfaces.
	IsSourceContext()
}

ISourceContext is an interface to support dynamic dispatch.

type IStatementContext

type IStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsStatementContext differentiates from other interfaces.
	IsStatementContext()
}

IStatementContext is an interface to support dynamic dispatch.

type IValueExprContext added in v0.0.10

type IValueExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsValueExprContext differentiates from other interfaces.
	IsValueExprContext()
}

IValueExprContext is an interface to support dynamic dispatch.

type IVarDeclarationContext

type IVarDeclarationContext interface {
	antlr.ParserRuleContext

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

	// GetType_ returns the type_ token.
	GetType_() antlr.Token

	// GetName returns the name token.
	GetName() antlr.Token

	// SetType_ sets the type_ token.
	SetType_(antlr.Token)

	// SetName sets the name token.
	SetName(antlr.Token)

	// Getter signatures
	IDENTIFIER() antlr.TerminalNode
	VARIABLE_NAME() antlr.TerminalNode
	VarOrigin() IVarOriginContext

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

IVarDeclarationContext is an interface to support dynamic dispatch.

type IVarOriginContext

type IVarOriginContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EQ() antlr.TerminalNode
	FunctionCall() IFunctionCallContext

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

IVarOriginContext is an interface to support dynamic dispatch.

type IVarsDeclarationContext

type IVarsDeclarationContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	VARS() antlr.TerminalNode
	LBRACE() antlr.TerminalNode
	RBRACE() antlr.TerminalNode
	AllVarDeclaration() []IVarDeclarationContext
	VarDeclaration(i int) IVarDeclarationContext

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

IVarsDeclarationContext is an interface to support dynamic dispatch.

type InfixExprContext added in v0.0.10

type InfixExprContext struct {
	ValueExprContext
	// contains filtered or unexported fields
}

func NewInfixExprContext added in v0.0.10

func NewInfixExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InfixExprContext

func (*InfixExprContext) AllValueExpr added in v0.0.10

func (s *InfixExprContext) AllValueExpr() []IValueExprContext

func (*InfixExprContext) EnterRule added in v0.0.10

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

func (*InfixExprContext) ExitRule added in v0.0.10

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

func (*InfixExprContext) GetLeft added in v0.0.10

func (s *InfixExprContext) GetLeft() IValueExprContext

func (*InfixExprContext) GetOp added in v0.0.10

func (s *InfixExprContext) GetOp() antlr.Token

func (*InfixExprContext) GetRight added in v0.0.10

func (s *InfixExprContext) GetRight() IValueExprContext

func (*InfixExprContext) GetRuleContext added in v0.0.10

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

func (*InfixExprContext) MINUS added in v0.0.10

func (s *InfixExprContext) MINUS() antlr.TerminalNode

func (*InfixExprContext) SetLeft added in v0.0.10

func (s *InfixExprContext) SetLeft(v IValueExprContext)

func (*InfixExprContext) SetOp added in v0.0.10

func (s *InfixExprContext) SetOp(v antlr.Token)

func (*InfixExprContext) SetRight added in v0.0.10

func (s *InfixExprContext) SetRight(v IValueExprContext)

func (*InfixExprContext) ValueExpr added in v0.0.10

func (s *InfixExprContext) ValueExpr(i int) IValueExprContext

type KeptOrDestinationContext

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

func NewEmptyKeptOrDestinationContext

func NewEmptyKeptOrDestinationContext() *KeptOrDestinationContext

func NewKeptOrDestinationContext

func NewKeptOrDestinationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeptOrDestinationContext

func (*KeptOrDestinationContext) CopyAll

func (*KeptOrDestinationContext) GetParser

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

func (*KeptOrDestinationContext) GetRuleContext

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

func (*KeptOrDestinationContext) IsKeptOrDestinationContext

func (*KeptOrDestinationContext) IsKeptOrDestinationContext()

func (*KeptOrDestinationContext) ToStringTree

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

type MonetaryLitContext

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

func NewEmptyMonetaryLitContext

func NewEmptyMonetaryLitContext() *MonetaryLitContext

func NewMonetaryLitContext

func NewMonetaryLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MonetaryLitContext

func (*MonetaryLitContext) AllValueExpr added in v0.0.10

func (s *MonetaryLitContext) AllValueExpr() []IValueExprContext

func (*MonetaryLitContext) EnterRule

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

func (*MonetaryLitContext) ExitRule

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

func (*MonetaryLitContext) GetAmt

func (*MonetaryLitContext) GetAsset

func (s *MonetaryLitContext) GetAsset() IValueExprContext

func (*MonetaryLitContext) GetParser

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

func (*MonetaryLitContext) GetRuleContext

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

func (*MonetaryLitContext) IsMonetaryLitContext

func (*MonetaryLitContext) IsMonetaryLitContext()

func (*MonetaryLitContext) LBRACKET

func (s *MonetaryLitContext) LBRACKET() antlr.TerminalNode

func (*MonetaryLitContext) RBRACKET

func (s *MonetaryLitContext) RBRACKET() antlr.TerminalNode

func (*MonetaryLitContext) SetAmt

func (*MonetaryLitContext) SetAsset

func (s *MonetaryLitContext) SetAsset(v IValueExprContext)

func (*MonetaryLitContext) ToStringTree

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

func (*MonetaryLitContext) ValueExpr added in v0.0.10

func (s *MonetaryLitContext) ValueExpr(i int) IValueExprContext

type MonetaryLiteralContext

type MonetaryLiteralContext struct {
	ValueExprContext
}

func NewMonetaryLiteralContext

func NewMonetaryLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MonetaryLiteralContext

func (*MonetaryLiteralContext) EnterRule

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

func (*MonetaryLiteralContext) ExitRule

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

func (*MonetaryLiteralContext) GetRuleContext

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

func (*MonetaryLiteralContext) MonetaryLit

type NumberLiteralContext

type NumberLiteralContext struct {
	ValueExprContext
}

func NewNumberLiteralContext

func NewNumberLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberLiteralContext

func (*NumberLiteralContext) EnterRule

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

func (*NumberLiteralContext) ExitRule

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

func (*NumberLiteralContext) GetRuleContext

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

func (*NumberLiteralContext) NUMBER

func (s *NumberLiteralContext) NUMBER() antlr.TerminalNode

type NumscriptLexer

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

func NewNumscriptLexer

func NewNumscriptLexer(input antlr.CharStream) *NumscriptLexer

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

type NumscriptListener

type NumscriptListener interface {
	antlr.ParseTreeListener

	// EnterMonetaryLit is called when entering the monetaryLit production.
	EnterMonetaryLit(c *MonetaryLitContext)

	// EnterRatio is called when entering the ratio production.
	EnterRatio(c *RatioContext)

	// EnterPercentage is called when entering the percentage production.
	EnterPercentage(c *PercentageContext)

	// EnterVariableExpr is called when entering the variableExpr production.
	EnterVariableExpr(c *VariableExprContext)

	// EnterPortionLiteral is called when entering the portionLiteral production.
	EnterPortionLiteral(c *PortionLiteralContext)

	// EnterInfixExpr is called when entering the infixExpr production.
	EnterInfixExpr(c *InfixExprContext)

	// EnterAssetLiteral is called when entering the assetLiteral production.
	EnterAssetLiteral(c *AssetLiteralContext)

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

	// EnterAccountLiteral is called when entering the accountLiteral production.
	EnterAccountLiteral(c *AccountLiteralContext)

	// EnterMonetaryLiteral is called when entering the monetaryLiteral production.
	EnterMonetaryLiteral(c *MonetaryLiteralContext)

	// EnterNumberLiteral is called when entering the numberLiteral production.
	EnterNumberLiteral(c *NumberLiteralContext)

	// EnterFunctionCallArgs is called when entering the functionCallArgs production.
	EnterFunctionCallArgs(c *FunctionCallArgsContext)

	// EnterFunctionCall is called when entering the functionCall production.
	EnterFunctionCall(c *FunctionCallContext)

	// EnterVarOrigin is called when entering the varOrigin production.
	EnterVarOrigin(c *VarOriginContext)

	// EnterVarDeclaration is called when entering the varDeclaration production.
	EnterVarDeclaration(c *VarDeclarationContext)

	// EnterVarsDeclaration is called when entering the varsDeclaration production.
	EnterVarsDeclaration(c *VarsDeclarationContext)

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

	// EnterSentAllLit is called when entering the sentAllLit production.
	EnterSentAllLit(c *SentAllLitContext)

	// EnterPortionedAllotment is called when entering the portionedAllotment production.
	EnterPortionedAllotment(c *PortionedAllotmentContext)

	// EnterPortionVariable is called when entering the portionVariable production.
	EnterPortionVariable(c *PortionVariableContext)

	// EnterRemainingAllotment is called when entering the remainingAllotment production.
	EnterRemainingAllotment(c *RemainingAllotmentContext)

	// EnterSrcAccountUnboundedOverdraft is called when entering the srcAccountUnboundedOverdraft production.
	EnterSrcAccountUnboundedOverdraft(c *SrcAccountUnboundedOverdraftContext)

	// EnterSrcAccountBoundedOverdraft is called when entering the srcAccountBoundedOverdraft production.
	EnterSrcAccountBoundedOverdraft(c *SrcAccountBoundedOverdraftContext)

	// EnterSrcAccount is called when entering the srcAccount production.
	EnterSrcAccount(c *SrcAccountContext)

	// EnterSrcAllotment is called when entering the srcAllotment production.
	EnterSrcAllotment(c *SrcAllotmentContext)

	// EnterSrcInorder is called when entering the srcInorder production.
	EnterSrcInorder(c *SrcInorderContext)

	// EnterSrcCapped is called when entering the srcCapped production.
	EnterSrcCapped(c *SrcCappedContext)

	// EnterAllotmentClauseSrc is called when entering the allotmentClauseSrc production.
	EnterAllotmentClauseSrc(c *AllotmentClauseSrcContext)

	// EnterDestinationTo is called when entering the destinationTo production.
	EnterDestinationTo(c *DestinationToContext)

	// EnterDestinationKept is called when entering the destinationKept production.
	EnterDestinationKept(c *DestinationKeptContext)

	// EnterDestinationInOrderClause is called when entering the destinationInOrderClause production.
	EnterDestinationInOrderClause(c *DestinationInOrderClauseContext)

	// EnterDestAccount is called when entering the destAccount production.
	EnterDestAccount(c *DestAccountContext)

	// EnterDestAllotment is called when entering the destAllotment production.
	EnterDestAllotment(c *DestAllotmentContext)

	// EnterDestInorder is called when entering the destInorder production.
	EnterDestInorder(c *DestInorderContext)

	// EnterAllotmentClauseDest is called when entering the allotmentClauseDest production.
	EnterAllotmentClauseDest(c *AllotmentClauseDestContext)

	// EnterSentLiteral is called when entering the sentLiteral production.
	EnterSentLiteral(c *SentLiteralContext)

	// EnterSentAll is called when entering the sentAll production.
	EnterSentAll(c *SentAllContext)

	// EnterSendStatement is called when entering the sendStatement production.
	EnterSendStatement(c *SendStatementContext)

	// EnterSaveStatement is called when entering the saveStatement production.
	EnterSaveStatement(c *SaveStatementContext)

	// EnterFnCallStatement is called when entering the fnCallStatement production.
	EnterFnCallStatement(c *FnCallStatementContext)

	// ExitMonetaryLit is called when exiting the monetaryLit production.
	ExitMonetaryLit(c *MonetaryLitContext)

	// ExitRatio is called when exiting the ratio production.
	ExitRatio(c *RatioContext)

	// ExitPercentage is called when exiting the percentage production.
	ExitPercentage(c *PercentageContext)

	// ExitVariableExpr is called when exiting the variableExpr production.
	ExitVariableExpr(c *VariableExprContext)

	// ExitPortionLiteral is called when exiting the portionLiteral production.
	ExitPortionLiteral(c *PortionLiteralContext)

	// ExitInfixExpr is called when exiting the infixExpr production.
	ExitInfixExpr(c *InfixExprContext)

	// ExitAssetLiteral is called when exiting the assetLiteral production.
	ExitAssetLiteral(c *AssetLiteralContext)

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

	// ExitAccountLiteral is called when exiting the accountLiteral production.
	ExitAccountLiteral(c *AccountLiteralContext)

	// ExitMonetaryLiteral is called when exiting the monetaryLiteral production.
	ExitMonetaryLiteral(c *MonetaryLiteralContext)

	// ExitNumberLiteral is called when exiting the numberLiteral production.
	ExitNumberLiteral(c *NumberLiteralContext)

	// ExitFunctionCallArgs is called when exiting the functionCallArgs production.
	ExitFunctionCallArgs(c *FunctionCallArgsContext)

	// ExitFunctionCall is called when exiting the functionCall production.
	ExitFunctionCall(c *FunctionCallContext)

	// ExitVarOrigin is called when exiting the varOrigin production.
	ExitVarOrigin(c *VarOriginContext)

	// ExitVarDeclaration is called when exiting the varDeclaration production.
	ExitVarDeclaration(c *VarDeclarationContext)

	// ExitVarsDeclaration is called when exiting the varsDeclaration production.
	ExitVarsDeclaration(c *VarsDeclarationContext)

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

	// ExitSentAllLit is called when exiting the sentAllLit production.
	ExitSentAllLit(c *SentAllLitContext)

	// ExitPortionedAllotment is called when exiting the portionedAllotment production.
	ExitPortionedAllotment(c *PortionedAllotmentContext)

	// ExitPortionVariable is called when exiting the portionVariable production.
	ExitPortionVariable(c *PortionVariableContext)

	// ExitRemainingAllotment is called when exiting the remainingAllotment production.
	ExitRemainingAllotment(c *RemainingAllotmentContext)

	// ExitSrcAccountUnboundedOverdraft is called when exiting the srcAccountUnboundedOverdraft production.
	ExitSrcAccountUnboundedOverdraft(c *SrcAccountUnboundedOverdraftContext)

	// ExitSrcAccountBoundedOverdraft is called when exiting the srcAccountBoundedOverdraft production.
	ExitSrcAccountBoundedOverdraft(c *SrcAccountBoundedOverdraftContext)

	// ExitSrcAccount is called when exiting the srcAccount production.
	ExitSrcAccount(c *SrcAccountContext)

	// ExitSrcAllotment is called when exiting the srcAllotment production.
	ExitSrcAllotment(c *SrcAllotmentContext)

	// ExitSrcInorder is called when exiting the srcInorder production.
	ExitSrcInorder(c *SrcInorderContext)

	// ExitSrcCapped is called when exiting the srcCapped production.
	ExitSrcCapped(c *SrcCappedContext)

	// ExitAllotmentClauseSrc is called when exiting the allotmentClauseSrc production.
	ExitAllotmentClauseSrc(c *AllotmentClauseSrcContext)

	// ExitDestinationTo is called when exiting the destinationTo production.
	ExitDestinationTo(c *DestinationToContext)

	// ExitDestinationKept is called when exiting the destinationKept production.
	ExitDestinationKept(c *DestinationKeptContext)

	// ExitDestinationInOrderClause is called when exiting the destinationInOrderClause production.
	ExitDestinationInOrderClause(c *DestinationInOrderClauseContext)

	// ExitDestAccount is called when exiting the destAccount production.
	ExitDestAccount(c *DestAccountContext)

	// ExitDestAllotment is called when exiting the destAllotment production.
	ExitDestAllotment(c *DestAllotmentContext)

	// ExitDestInorder is called when exiting the destInorder production.
	ExitDestInorder(c *DestInorderContext)

	// ExitAllotmentClauseDest is called when exiting the allotmentClauseDest production.
	ExitAllotmentClauseDest(c *AllotmentClauseDestContext)

	// ExitSentLiteral is called when exiting the sentLiteral production.
	ExitSentLiteral(c *SentLiteralContext)

	// ExitSentAll is called when exiting the sentAll production.
	ExitSentAll(c *SentAllContext)

	// ExitSendStatement is called when exiting the sendStatement production.
	ExitSendStatement(c *SendStatementContext)

	// ExitSaveStatement is called when exiting the saveStatement production.
	ExitSaveStatement(c *SaveStatementContext)

	// ExitFnCallStatement is called when exiting the fnCallStatement production.
	ExitFnCallStatement(c *FnCallStatementContext)
}

NumscriptListener is a complete listener for a parse tree produced by NumscriptParser.

type NumscriptParser

type NumscriptParser struct {
	*antlr.BaseParser
}

func NewNumscriptParser

func NewNumscriptParser(input antlr.TokenStream) *NumscriptParser

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

func (*NumscriptParser) Allotment

func (p *NumscriptParser) Allotment() (localctx IAllotmentContext)

func (*NumscriptParser) AllotmentClauseDest

func (p *NumscriptParser) AllotmentClauseDest() (localctx IAllotmentClauseDestContext)

func (*NumscriptParser) AllotmentClauseSrc

func (p *NumscriptParser) AllotmentClauseSrc() (localctx IAllotmentClauseSrcContext)

func (*NumscriptParser) Destination

func (p *NumscriptParser) Destination() (localctx IDestinationContext)

func (*NumscriptParser) DestinationInOrderClause

func (p *NumscriptParser) DestinationInOrderClause() (localctx IDestinationInOrderClauseContext)

func (*NumscriptParser) FunctionCall

func (p *NumscriptParser) FunctionCall() (localctx IFunctionCallContext)

func (*NumscriptParser) FunctionCallArgs

func (p *NumscriptParser) FunctionCallArgs() (localctx IFunctionCallArgsContext)

func (*NumscriptParser) KeptOrDestination

func (p *NumscriptParser) KeptOrDestination() (localctx IKeptOrDestinationContext)

func (*NumscriptParser) MonetaryLit

func (p *NumscriptParser) MonetaryLit() (localctx IMonetaryLitContext)

func (*NumscriptParser) Portion

func (p *NumscriptParser) Portion() (localctx IPortionContext)

func (*NumscriptParser) Program

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

func (*NumscriptParser) Sempred added in v0.0.10

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

func (*NumscriptParser) SentAllLit

func (p *NumscriptParser) SentAllLit() (localctx ISentAllLitContext)

func (*NumscriptParser) SentValue

func (p *NumscriptParser) SentValue() (localctx ISentValueContext)

func (*NumscriptParser) Source

func (p *NumscriptParser) Source() (localctx ISourceContext)

func (*NumscriptParser) Statement

func (p *NumscriptParser) Statement() (localctx IStatementContext)

func (*NumscriptParser) ValueExpr added in v0.0.10

func (p *NumscriptParser) ValueExpr() (localctx IValueExprContext)

func (*NumscriptParser) ValueExpr_Sempred added in v0.0.10

func (p *NumscriptParser) ValueExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*NumscriptParser) VarDeclaration

func (p *NumscriptParser) VarDeclaration() (localctx IVarDeclarationContext)

func (*NumscriptParser) VarOrigin

func (p *NumscriptParser) VarOrigin() (localctx IVarOriginContext)

func (*NumscriptParser) VarsDeclaration

func (p *NumscriptParser) VarsDeclaration() (localctx IVarsDeclarationContext)

type PercentageContext

type PercentageContext struct {
	PortionContext
}

func NewPercentageContext

func NewPercentageContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PercentageContext

func (*PercentageContext) EnterRule

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

func (*PercentageContext) ExitRule

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

func (*PercentageContext) GetRuleContext

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

func (*PercentageContext) PERCENTAGE_PORTION_LITERAL

func (s *PercentageContext) PERCENTAGE_PORTION_LITERAL() antlr.TerminalNode

type PortionContext

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

func NewEmptyPortionContext

func NewEmptyPortionContext() *PortionContext

func NewPortionContext

func NewPortionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PortionContext

func (*PortionContext) CopyAll

func (s *PortionContext) CopyAll(ctx *PortionContext)

func (*PortionContext) GetParser

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

func (*PortionContext) GetRuleContext

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

func (*PortionContext) IsPortionContext

func (*PortionContext) IsPortionContext()

func (*PortionContext) ToStringTree

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

type PortionLiteralContext

type PortionLiteralContext struct {
	ValueExprContext
}

func NewPortionLiteralContext

func NewPortionLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PortionLiteralContext

func (*PortionLiteralContext) EnterRule

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

func (*PortionLiteralContext) ExitRule

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

func (*PortionLiteralContext) GetRuleContext

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

func (*PortionLiteralContext) Portion

type PortionVariableContext

type PortionVariableContext struct {
	AllotmentContext
}

func NewPortionVariableContext

func NewPortionVariableContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PortionVariableContext

func (*PortionVariableContext) EnterRule

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

func (*PortionVariableContext) ExitRule

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

func (*PortionVariableContext) GetRuleContext

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

func (*PortionVariableContext) VARIABLE_NAME

func (s *PortionVariableContext) VARIABLE_NAME() antlr.TerminalNode

type PortionedAllotmentContext

type PortionedAllotmentContext struct {
	AllotmentContext
}

func NewPortionedAllotmentContext

func NewPortionedAllotmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PortionedAllotmentContext

func (*PortionedAllotmentContext) EnterRule

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

func (*PortionedAllotmentContext) ExitRule

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

func (*PortionedAllotmentContext) GetRuleContext

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

func (*PortionedAllotmentContext) Portion

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) AllStatement

func (s *ProgramContext) AllStatement() []IStatementContext

func (*ProgramContext) EOF

func (s *ProgramContext) EOF() antlr.TerminalNode

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) Statement

func (s *ProgramContext) Statement(i int) IStatementContext

func (*ProgramContext) ToStringTree

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

func (*ProgramContext) VarsDeclaration

func (s *ProgramContext) VarsDeclaration() IVarsDeclarationContext

type RatioContext

type RatioContext struct {
	PortionContext
}

func NewRatioContext

func NewRatioContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RatioContext

func (*RatioContext) EnterRule

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

func (*RatioContext) ExitRule

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

func (*RatioContext) GetRuleContext

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

func (*RatioContext) RATIO_PORTION_LITERAL

func (s *RatioContext) RATIO_PORTION_LITERAL() antlr.TerminalNode

type RemainingAllotmentContext

type RemainingAllotmentContext struct {
	AllotmentContext
}

func NewRemainingAllotmentContext

func NewRemainingAllotmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RemainingAllotmentContext

func (*RemainingAllotmentContext) EnterRule

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

func (*RemainingAllotmentContext) ExitRule

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

func (*RemainingAllotmentContext) GetRuleContext

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

func (*RemainingAllotmentContext) REMAINING

func (s *RemainingAllotmentContext) REMAINING() antlr.TerminalNode

type SaveStatementContext

type SaveStatementContext struct {
	StatementContext
}

func NewSaveStatementContext

func NewSaveStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SaveStatementContext

func (*SaveStatementContext) EnterRule

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

func (*SaveStatementContext) ExitRule

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

func (*SaveStatementContext) FROM

func (s *SaveStatementContext) FROM() antlr.TerminalNode

func (*SaveStatementContext) GetRuleContext

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

func (*SaveStatementContext) SAVE

func (s *SaveStatementContext) SAVE() antlr.TerminalNode

func (*SaveStatementContext) SentValue

func (s *SaveStatementContext) SentValue() ISentValueContext

func (*SaveStatementContext) ValueExpr added in v0.0.10

func (s *SaveStatementContext) ValueExpr() IValueExprContext

type SendStatementContext

type SendStatementContext struct {
	StatementContext
}

func NewSendStatementContext

func NewSendStatementContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SendStatementContext

func (*SendStatementContext) AllEQ

func (s *SendStatementContext) AllEQ() []antlr.TerminalNode

func (*SendStatementContext) DESTINATION

func (s *SendStatementContext) DESTINATION() antlr.TerminalNode

func (*SendStatementContext) Destination

func (s *SendStatementContext) Destination() IDestinationContext

func (*SendStatementContext) EQ

func (s *SendStatementContext) EQ(i int) antlr.TerminalNode

func (*SendStatementContext) EnterRule

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

func (*SendStatementContext) ExitRule

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

func (*SendStatementContext) GetRuleContext

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

func (*SendStatementContext) LPARENS

func (s *SendStatementContext) LPARENS() antlr.TerminalNode

func (*SendStatementContext) RPARENS

func (s *SendStatementContext) RPARENS() antlr.TerminalNode

func (*SendStatementContext) SEND

func (s *SendStatementContext) SEND() antlr.TerminalNode

func (*SendStatementContext) SOURCE

func (s *SendStatementContext) SOURCE() antlr.TerminalNode

func (*SendStatementContext) SentValue

func (s *SendStatementContext) SentValue() ISentValueContext

func (*SendStatementContext) Source

type SentAllContext

type SentAllContext struct {
	SentValueContext
}

func NewSentAllContext

func NewSentAllContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SentAllContext

func (*SentAllContext) EnterRule

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

func (*SentAllContext) ExitRule

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

func (*SentAllContext) GetRuleContext

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

func (*SentAllContext) SentAllLit

func (s *SentAllContext) SentAllLit() ISentAllLitContext

type SentAllLitContext

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

func NewEmptySentAllLitContext

func NewEmptySentAllLitContext() *SentAllLitContext

func NewSentAllLitContext

func NewSentAllLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SentAllLitContext

func (*SentAllLitContext) EnterRule

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

func (*SentAllLitContext) ExitRule

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

func (*SentAllLitContext) GetAsset

func (s *SentAllLitContext) GetAsset() IValueExprContext

func (*SentAllLitContext) GetParser

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

func (*SentAllLitContext) GetRuleContext

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

func (*SentAllLitContext) IsSentAllLitContext

func (*SentAllLitContext) IsSentAllLitContext()

func (*SentAllLitContext) LBRACKET

func (s *SentAllLitContext) LBRACKET() antlr.TerminalNode

func (*SentAllLitContext) RBRACKET

func (s *SentAllLitContext) RBRACKET() antlr.TerminalNode

func (*SentAllLitContext) STAR

func (s *SentAllLitContext) STAR() antlr.TerminalNode

func (*SentAllLitContext) SetAsset

func (s *SentAllLitContext) SetAsset(v IValueExprContext)

func (*SentAllLitContext) ToStringTree

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

func (*SentAllLitContext) ValueExpr added in v0.0.10

func (s *SentAllLitContext) ValueExpr() IValueExprContext

type SentLiteralContext

type SentLiteralContext struct {
	SentValueContext
}

func NewSentLiteralContext

func NewSentLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SentLiteralContext

func (*SentLiteralContext) EnterRule

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

func (*SentLiteralContext) ExitRule

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

func (*SentLiteralContext) GetRuleContext

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

func (*SentLiteralContext) ValueExpr added in v0.0.10

func (s *SentLiteralContext) ValueExpr() IValueExprContext

type SentValueContext

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

func NewEmptySentValueContext

func NewEmptySentValueContext() *SentValueContext

func NewSentValueContext

func NewSentValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SentValueContext

func (*SentValueContext) CopyAll

func (s *SentValueContext) CopyAll(ctx *SentValueContext)

func (*SentValueContext) GetParser

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

func (*SentValueContext) GetRuleContext

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

func (*SentValueContext) IsSentValueContext

func (*SentValueContext) IsSentValueContext()

func (*SentValueContext) ToStringTree

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

type SourceContext

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

func NewEmptySourceContext

func NewEmptySourceContext() *SourceContext

func NewSourceContext

func NewSourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceContext

func (*SourceContext) CopyAll

func (s *SourceContext) CopyAll(ctx *SourceContext)

func (*SourceContext) GetParser

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

func (*SourceContext) GetRuleContext

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

func (*SourceContext) IsSourceContext

func (*SourceContext) IsSourceContext()

func (*SourceContext) ToStringTree

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

type SrcAccountBoundedOverdraftContext

type SrcAccountBoundedOverdraftContext struct {
	SourceContext
	// contains filtered or unexported fields
}

func NewSrcAccountBoundedOverdraftContext

func NewSrcAccountBoundedOverdraftContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcAccountBoundedOverdraftContext

func (*SrcAccountBoundedOverdraftContext) ALLOWING

func (s *SrcAccountBoundedOverdraftContext) ALLOWING() antlr.TerminalNode

func (*SrcAccountBoundedOverdraftContext) AllValueExpr added in v0.0.10

func (*SrcAccountBoundedOverdraftContext) EnterRule

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

func (*SrcAccountBoundedOverdraftContext) ExitRule

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

func (*SrcAccountBoundedOverdraftContext) GetAddress

func (*SrcAccountBoundedOverdraftContext) GetMaxOvedraft

func (*SrcAccountBoundedOverdraftContext) GetRuleContext

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

func (*SrcAccountBoundedOverdraftContext) OVERDRAFT

func (s *SrcAccountBoundedOverdraftContext) OVERDRAFT() antlr.TerminalNode

func (*SrcAccountBoundedOverdraftContext) SetAddress

func (*SrcAccountBoundedOverdraftContext) SetMaxOvedraft

func (*SrcAccountBoundedOverdraftContext) TO

func (s *SrcAccountBoundedOverdraftContext) TO() antlr.TerminalNode

func (*SrcAccountBoundedOverdraftContext) UP

func (s *SrcAccountBoundedOverdraftContext) UP() antlr.TerminalNode

func (*SrcAccountBoundedOverdraftContext) ValueExpr added in v0.0.10

type SrcAccountContext

type SrcAccountContext struct {
	SourceContext
}

func NewSrcAccountContext

func NewSrcAccountContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcAccountContext

func (*SrcAccountContext) EnterRule

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

func (*SrcAccountContext) ExitRule

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

func (*SrcAccountContext) GetRuleContext

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

func (*SrcAccountContext) ValueExpr added in v0.0.10

func (s *SrcAccountContext) ValueExpr() IValueExprContext

type SrcAccountUnboundedOverdraftContext

type SrcAccountUnboundedOverdraftContext struct {
	SourceContext
	// contains filtered or unexported fields
}

func NewSrcAccountUnboundedOverdraftContext

func NewSrcAccountUnboundedOverdraftContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcAccountUnboundedOverdraftContext

func (*SrcAccountUnboundedOverdraftContext) ALLOWING

func (s *SrcAccountUnboundedOverdraftContext) ALLOWING() antlr.TerminalNode

func (*SrcAccountUnboundedOverdraftContext) EnterRule

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

func (*SrcAccountUnboundedOverdraftContext) ExitRule

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

func (*SrcAccountUnboundedOverdraftContext) GetAddress

func (*SrcAccountUnboundedOverdraftContext) GetRuleContext

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

func (*SrcAccountUnboundedOverdraftContext) OVERDRAFT

func (s *SrcAccountUnboundedOverdraftContext) OVERDRAFT() antlr.TerminalNode

func (*SrcAccountUnboundedOverdraftContext) SetAddress

func (*SrcAccountUnboundedOverdraftContext) UNBOUNDED

func (s *SrcAccountUnboundedOverdraftContext) UNBOUNDED() antlr.TerminalNode

func (*SrcAccountUnboundedOverdraftContext) ValueExpr added in v0.0.10

type SrcAllotmentContext

type SrcAllotmentContext struct {
	SourceContext
}

func NewSrcAllotmentContext

func NewSrcAllotmentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcAllotmentContext

func (*SrcAllotmentContext) AllAllotmentClauseSrc

func (s *SrcAllotmentContext) AllAllotmentClauseSrc() []IAllotmentClauseSrcContext

func (*SrcAllotmentContext) AllotmentClauseSrc

func (s *SrcAllotmentContext) AllotmentClauseSrc(i int) IAllotmentClauseSrcContext

func (*SrcAllotmentContext) EnterRule

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

func (*SrcAllotmentContext) ExitRule

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

func (*SrcAllotmentContext) GetRuleContext

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

func (*SrcAllotmentContext) LBRACE

func (s *SrcAllotmentContext) LBRACE() antlr.TerminalNode

func (*SrcAllotmentContext) RBRACE

func (s *SrcAllotmentContext) RBRACE() antlr.TerminalNode

type SrcCappedContext

type SrcCappedContext struct {
	SourceContext
	// contains filtered or unexported fields
}

func NewSrcCappedContext

func NewSrcCappedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcCappedContext

func (*SrcCappedContext) EnterRule

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

func (*SrcCappedContext) ExitRule

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

func (*SrcCappedContext) FROM

func (s *SrcCappedContext) FROM() antlr.TerminalNode

func (*SrcCappedContext) GetCap_ added in v0.0.10

func (s *SrcCappedContext) GetCap_() IValueExprContext

func (*SrcCappedContext) GetRuleContext

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

func (*SrcCappedContext) MAX

func (s *SrcCappedContext) MAX() antlr.TerminalNode

func (*SrcCappedContext) SetCap_ added in v0.0.10

func (s *SrcCappedContext) SetCap_(v IValueExprContext)

func (*SrcCappedContext) Source

func (s *SrcCappedContext) Source() ISourceContext

func (*SrcCappedContext) ValueExpr added in v0.0.10

func (s *SrcCappedContext) ValueExpr() IValueExprContext

type SrcInorderContext

type SrcInorderContext struct {
	SourceContext
}

func NewSrcInorderContext

func NewSrcInorderContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SrcInorderContext

func (*SrcInorderContext) AllSource

func (s *SrcInorderContext) AllSource() []ISourceContext

func (*SrcInorderContext) EnterRule

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

func (*SrcInorderContext) ExitRule

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

func (*SrcInorderContext) GetRuleContext

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

func (*SrcInorderContext) LBRACE

func (s *SrcInorderContext) LBRACE() antlr.TerminalNode

func (*SrcInorderContext) RBRACE

func (s *SrcInorderContext) RBRACE() antlr.TerminalNode

func (*SrcInorderContext) Source

func (s *SrcInorderContext) Source(i int) ISourceContext

type StatementContext

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

func NewEmptyStatementContext

func NewEmptyStatementContext() *StatementContext

func NewStatementContext

func NewStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementContext

func (*StatementContext) CopyAll

func (s *StatementContext) CopyAll(ctx *StatementContext)

func (*StatementContext) GetParser

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

func (*StatementContext) GetRuleContext

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

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) ToStringTree

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

type StringLiteralContext

type StringLiteralContext struct {
	ValueExprContext
}

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringLiteralContext

func (*StringLiteralContext) EnterRule

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

func (*StringLiteralContext) ExitRule

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) STRING

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

type ValueExprContext added in v0.0.10

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

func NewEmptyValueExprContext added in v0.0.10

func NewEmptyValueExprContext() *ValueExprContext

func NewValueExprContext added in v0.0.10

func NewValueExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueExprContext

func (*ValueExprContext) CopyAll added in v0.0.10

func (s *ValueExprContext) CopyAll(ctx *ValueExprContext)

func (*ValueExprContext) GetParser added in v0.0.10

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

func (*ValueExprContext) GetRuleContext added in v0.0.10

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

func (*ValueExprContext) IsValueExprContext added in v0.0.10

func (*ValueExprContext) IsValueExprContext()

func (*ValueExprContext) ToStringTree added in v0.0.10

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

type VarDeclarationContext

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

func NewEmptyVarDeclarationContext

func NewEmptyVarDeclarationContext() *VarDeclarationContext

func NewVarDeclarationContext

func NewVarDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarDeclarationContext

func (*VarDeclarationContext) EnterRule

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

func (*VarDeclarationContext) ExitRule

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

func (*VarDeclarationContext) GetName

func (s *VarDeclarationContext) GetName() antlr.Token

func (*VarDeclarationContext) GetParser

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

func (*VarDeclarationContext) GetRuleContext

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

func (*VarDeclarationContext) GetType_

func (s *VarDeclarationContext) GetType_() antlr.Token

func (*VarDeclarationContext) IDENTIFIER

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

func (*VarDeclarationContext) IsVarDeclarationContext

func (*VarDeclarationContext) IsVarDeclarationContext()

func (*VarDeclarationContext) SetName

func (s *VarDeclarationContext) SetName(v antlr.Token)

func (*VarDeclarationContext) SetType_

func (s *VarDeclarationContext) SetType_(v antlr.Token)

func (*VarDeclarationContext) ToStringTree

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

func (*VarDeclarationContext) VARIABLE_NAME

func (s *VarDeclarationContext) VARIABLE_NAME() antlr.TerminalNode

func (*VarDeclarationContext) VarOrigin

type VarOriginContext

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

func NewEmptyVarOriginContext

func NewEmptyVarOriginContext() *VarOriginContext

func NewVarOriginContext

func NewVarOriginContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarOriginContext

func (*VarOriginContext) EQ

func (s *VarOriginContext) EQ() antlr.TerminalNode

func (*VarOriginContext) EnterRule

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

func (*VarOriginContext) ExitRule

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

func (*VarOriginContext) FunctionCall

func (s *VarOriginContext) FunctionCall() IFunctionCallContext

func (*VarOriginContext) GetParser

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

func (*VarOriginContext) GetRuleContext

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

func (*VarOriginContext) IsVarOriginContext

func (*VarOriginContext) IsVarOriginContext()

func (*VarOriginContext) ToStringTree

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

type VariableExprContext added in v0.0.10

type VariableExprContext struct {
	ValueExprContext
}

func NewVariableExprContext added in v0.0.10

func NewVariableExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VariableExprContext

func (*VariableExprContext) EnterRule added in v0.0.10

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

func (*VariableExprContext) ExitRule added in v0.0.10

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

func (*VariableExprContext) GetRuleContext added in v0.0.10

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

func (*VariableExprContext) VARIABLE_NAME added in v0.0.10

func (s *VariableExprContext) VARIABLE_NAME() antlr.TerminalNode

type VarsDeclarationContext

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

func NewEmptyVarsDeclarationContext

func NewEmptyVarsDeclarationContext() *VarsDeclarationContext

func NewVarsDeclarationContext

func NewVarsDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarsDeclarationContext

func (*VarsDeclarationContext) AllVarDeclaration

func (s *VarsDeclarationContext) AllVarDeclaration() []IVarDeclarationContext

func (*VarsDeclarationContext) EnterRule

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

func (*VarsDeclarationContext) ExitRule

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

func (*VarsDeclarationContext) GetParser

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

func (*VarsDeclarationContext) GetRuleContext

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

func (*VarsDeclarationContext) IsVarsDeclarationContext

func (*VarsDeclarationContext) IsVarsDeclarationContext()

func (*VarsDeclarationContext) LBRACE

func (s *VarsDeclarationContext) LBRACE() antlr.TerminalNode

func (*VarsDeclarationContext) RBRACE

func (s *VarsDeclarationContext) RBRACE() antlr.TerminalNode

func (*VarsDeclarationContext) ToStringTree

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

func (*VarsDeclarationContext) VARS

func (s *VarsDeclarationContext) VARS() antlr.TerminalNode

func (*VarsDeclarationContext) VarDeclaration

func (s *VarsDeclarationContext) VarDeclaration(i int) IVarDeclarationContext

Jump to

Keyboard shortcuts

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