parser

package
v1.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionLexerT__0      = 1
	TransactionLexerT__1      = 2
	TransactionLexerT__2      = 3
	TransactionLexerT__3      = 4
	TransactionLexerT__4      = 5
	TransactionLexerT__5      = 6
	TransactionLexerT__6      = 7
	TransactionLexerT__7      = 8
	TransactionLexerT__8      = 9
	TransactionLexerT__9      = 10
	TransactionLexerT__10     = 11
	TransactionLexerT__11     = 12
	TransactionLexerT__12     = 13
	TransactionLexerT__13     = 14
	TransactionLexerT__14     = 15
	TransactionLexerT__15     = 16
	TransactionLexerT__16     = 17
	TransactionLexerT__17     = 18
	TransactionLexerT__18     = 19
	TransactionLexerT__19     = 20
	TransactionLexerT__20     = 21
	TransactionLexerT__21     = 22
	TransactionLexerVERSION   = 23
	TransactionLexerINT       = 24
	TransactionLexerSTRING    = 25
	TransactionLexerUUID      = 26
	TransactionLexerREMAINING = 27
	TransactionLexerVARIABLE  = 28
	TransactionLexerACCOUNT   = 29
	TransactionLexerWS        = 30
)

TransactionLexer tokens.

View Source
const (
	TransactionParserEOF       = antlr.TokenEOF
	TransactionParserT__0      = 1
	TransactionParserT__1      = 2
	TransactionParserT__2      = 3
	TransactionParserT__3      = 4
	TransactionParserT__4      = 5
	TransactionParserT__5      = 6
	TransactionParserT__6      = 7
	TransactionParserT__7      = 8
	TransactionParserT__8      = 9
	TransactionParserT__9      = 10
	TransactionParserT__10     = 11
	TransactionParserT__11     = 12
	TransactionParserT__12     = 13
	TransactionParserT__13     = 14
	TransactionParserT__14     = 15
	TransactionParserT__15     = 16
	TransactionParserT__16     = 17
	TransactionParserT__17     = 18
	TransactionParserT__18     = 19
	TransactionParserT__19     = 20
	TransactionParserT__20     = 21
	TransactionParserT__21     = 22
	TransactionParserVERSION   = 23
	TransactionParserINT       = 24
	TransactionParserSTRING    = 25
	TransactionParserUUID      = 26
	TransactionParserREMAINING = 27
	TransactionParserVARIABLE  = 28
	TransactionParserACCOUNT   = 29
	TransactionParserWS        = 30
)

TransactionParser tokens.

View Source
const (
	TransactionParserRULE_transaction              = 0
	TransactionParserRULE_chartOfAccountsGroupName = 1
	TransactionParserRULE_code                     = 2
	TransactionParserRULE_trueOrFalse              = 3
	TransactionParserRULE_pending                  = 4
	TransactionParserRULE_description              = 5
	TransactionParserRULE_chartOfAccounts          = 6
	TransactionParserRULE_metadata                 = 7
	TransactionParserRULE_pair                     = 8
	TransactionParserRULE_key                      = 9
	TransactionParserRULE_value                    = 10
	TransactionParserRULE_valueOrVariable          = 11
	TransactionParserRULE_sendTypes                = 12
	TransactionParserRULE_account                  = 13
	TransactionParserRULE_from                     = 14
	TransactionParserRULE_send                     = 15
	TransactionParserRULE_source                   = 16
	TransactionParserRULE_to                       = 17
	TransactionParserRULE_distribute               = 18
)

TransactionParser rules.

Variables

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

Functions

func InitEmptyAccountContext

func InitEmptyAccountContext(p *AccountContext)

func InitEmptyChartOfAccountsContext

func InitEmptyChartOfAccountsContext(p *ChartOfAccountsContext)

func InitEmptyChartOfAccountsGroupNameContext

func InitEmptyChartOfAccountsGroupNameContext(p *ChartOfAccountsGroupNameContext)

func InitEmptyCodeContext

func InitEmptyCodeContext(p *CodeContext)

func InitEmptyDescriptionContext

func InitEmptyDescriptionContext(p *DescriptionContext)

func InitEmptyDistributeContext

func InitEmptyDistributeContext(p *DistributeContext)

func InitEmptyFromContext

func InitEmptyFromContext(p *FromContext)

func InitEmptyKeyContext

func InitEmptyKeyContext(p *KeyContext)

func InitEmptyMetadataContext

func InitEmptyMetadataContext(p *MetadataContext)

func InitEmptyPairContext

func InitEmptyPairContext(p *PairContext)

func InitEmptyPendingContext

func InitEmptyPendingContext(p *PendingContext)

func InitEmptySendContext

func InitEmptySendContext(p *SendContext)

func InitEmptySendTypesContext

func InitEmptySendTypesContext(p *SendTypesContext)

func InitEmptySourceContext

func InitEmptySourceContext(p *SourceContext)

func InitEmptyToContext

func InitEmptyToContext(p *ToContext)

func InitEmptyTransactionContext

func InitEmptyTransactionContext(p *TransactionContext)

func InitEmptyTrueOrFalseContext

func InitEmptyTrueOrFalseContext(p *TrueOrFalseContext)

func InitEmptyValueContext

func InitEmptyValueContext(p *ValueContext)

func InitEmptyValueOrVariableContext

func InitEmptyValueOrVariableContext(p *ValueOrVariableContext)

func TransactionLexerInit

func TransactionLexerInit()

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

func TransactionParserInit

func TransactionParserInit()

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

Types

type AccountContext

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

func NewAccountContext

func NewAccountContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AccountContext

func NewEmptyAccountContext

func NewEmptyAccountContext() *AccountContext

func (*AccountContext) ACCOUNT

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

func (*AccountContext) Accept

func (s *AccountContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AccountContext) EnterRule

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

func (*AccountContext) ExitRule

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

func (*AccountContext) GetParser

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

func (*AccountContext) GetRuleContext

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

func (*AccountContext) IsAccountContext

func (*AccountContext) IsAccountContext()

func (*AccountContext) ToStringTree

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

func (*AccountContext) UUID

func (s *AccountContext) UUID() antlr.TerminalNode

func (*AccountContext) VARIABLE

func (s *AccountContext) VARIABLE() antlr.TerminalNode

type AmountContext

type AmountContext struct {
	SendTypesContext
}

func NewAmountContext

func NewAmountContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AmountContext

func (*AmountContext) Accept

func (s *AmountContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AmountContext) AllValueOrVariable

func (s *AmountContext) AllValueOrVariable() []IValueOrVariableContext

func (*AmountContext) EnterRule

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

func (*AmountContext) ExitRule

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

func (*AmountContext) GetRuleContext

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

func (*AmountContext) UUID

func (s *AmountContext) UUID() antlr.TerminalNode

func (*AmountContext) ValueOrVariable

func (s *AmountContext) ValueOrVariable(i int) IValueOrVariableContext

type BaseTransactionListener

type BaseTransactionListener struct{}

BaseTransactionListener is a complete listener for a parse tree produced by TransactionParser.

func (*BaseTransactionListener) EnterAccount

func (s *BaseTransactionListener) EnterAccount(ctx *AccountContext)

EnterAccount is called when production account is entered.

func (*BaseTransactionListener) EnterAmount

func (s *BaseTransactionListener) EnterAmount(ctx *AmountContext)

EnterAmount is called when production Amount is entered.

func (*BaseTransactionListener) EnterChartOfAccounts

func (s *BaseTransactionListener) EnterChartOfAccounts(ctx *ChartOfAccountsContext)

EnterChartOfAccounts is called when production chartOfAccounts is entered.

func (*BaseTransactionListener) EnterChartOfAccountsGroupName

func (s *BaseTransactionListener) EnterChartOfAccountsGroupName(ctx *ChartOfAccountsGroupNameContext)

EnterChartOfAccountsGroupName is called when production chartOfAccountsGroupName is entered.

func (*BaseTransactionListener) EnterCode

func (s *BaseTransactionListener) EnterCode(ctx *CodeContext)

EnterCode is called when production code is entered.

func (*BaseTransactionListener) EnterDescription

func (s *BaseTransactionListener) EnterDescription(ctx *DescriptionContext)

EnterDescription is called when production description is entered.

func (*BaseTransactionListener) EnterDistribute

func (s *BaseTransactionListener) EnterDistribute(ctx *DistributeContext)

EnterDistribute is called when production distribute is entered.

func (*BaseTransactionListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseTransactionListener) EnterFrom

func (s *BaseTransactionListener) EnterFrom(ctx *FromContext)

EnterFrom is called when production from is entered.

func (*BaseTransactionListener) EnterKey

func (s *BaseTransactionListener) EnterKey(ctx *KeyContext)

EnterKey is called when production key is entered.

func (*BaseTransactionListener) EnterMetadata

func (s *BaseTransactionListener) EnterMetadata(ctx *MetadataContext)

EnterMetadata is called when production metadata is entered.

func (*BaseTransactionListener) EnterPair

func (s *BaseTransactionListener) EnterPair(ctx *PairContext)

EnterPair is called when production pair is entered.

func (*BaseTransactionListener) EnterPending

func (s *BaseTransactionListener) EnterPending(ctx *PendingContext)

EnterPending is called when production pending is entered.

func (*BaseTransactionListener) EnterRemaining

func (s *BaseTransactionListener) EnterRemaining(ctx *RemainingContext)

EnterRemaining is called when production Remaining is entered.

func (*BaseTransactionListener) EnterSend

func (s *BaseTransactionListener) EnterSend(ctx *SendContext)

EnterSend is called when production send is entered.

func (*BaseTransactionListener) EnterShareDescWhatever

func (s *BaseTransactionListener) EnterShareDescWhatever(ctx *ShareDescWhateverContext)

EnterShareDescWhatever is called when production ShareDescWhatever is entered.

func (*BaseTransactionListener) EnterShareInt

func (s *BaseTransactionListener) EnterShareInt(ctx *ShareIntContext)

EnterShareInt is called when production ShareInt is entered.

func (*BaseTransactionListener) EnterShareIntOfInt

func (s *BaseTransactionListener) EnterShareIntOfInt(ctx *ShareIntOfIntContext)

EnterShareIntOfInt is called when production ShareIntOfInt is entered.

func (*BaseTransactionListener) EnterSource

func (s *BaseTransactionListener) EnterSource(ctx *SourceContext)

EnterSource is called when production source is entered.

func (*BaseTransactionListener) EnterTo

func (s *BaseTransactionListener) EnterTo(ctx *ToContext)

EnterTo is called when production to is entered.

func (*BaseTransactionListener) EnterTransaction

func (s *BaseTransactionListener) EnterTransaction(ctx *TransactionContext)

EnterTransaction is called when production transaction is entered.

func (*BaseTransactionListener) EnterTrueOrFalse

func (s *BaseTransactionListener) EnterTrueOrFalse(ctx *TrueOrFalseContext)

EnterTrueOrFalse is called when production trueOrFalse is entered.

func (*BaseTransactionListener) EnterValue

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

EnterValue is called when production value is entered.

func (*BaseTransactionListener) EnterValueOrVariable

func (s *BaseTransactionListener) EnterValueOrVariable(ctx *ValueOrVariableContext)

EnterValueOrVariable is called when production valueOrVariable is entered.

func (*BaseTransactionListener) ExitAccount

func (s *BaseTransactionListener) ExitAccount(ctx *AccountContext)

ExitAccount is called when production account is exited.

func (*BaseTransactionListener) ExitAmount

func (s *BaseTransactionListener) ExitAmount(ctx *AmountContext)

ExitAmount is called when production Amount is exited.

func (*BaseTransactionListener) ExitChartOfAccounts

func (s *BaseTransactionListener) ExitChartOfAccounts(ctx *ChartOfAccountsContext)

ExitChartOfAccounts is called when production chartOfAccounts is exited.

func (*BaseTransactionListener) ExitChartOfAccountsGroupName

func (s *BaseTransactionListener) ExitChartOfAccountsGroupName(ctx *ChartOfAccountsGroupNameContext)

ExitChartOfAccountsGroupName is called when production chartOfAccountsGroupName is exited.

func (*BaseTransactionListener) ExitCode

func (s *BaseTransactionListener) ExitCode(ctx *CodeContext)

ExitCode is called when production code is exited.

func (*BaseTransactionListener) ExitDescription

func (s *BaseTransactionListener) ExitDescription(ctx *DescriptionContext)

ExitDescription is called when production description is exited.

func (*BaseTransactionListener) ExitDistribute

func (s *BaseTransactionListener) ExitDistribute(ctx *DistributeContext)

ExitDistribute is called when production distribute is exited.

func (*BaseTransactionListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseTransactionListener) ExitFrom

func (s *BaseTransactionListener) ExitFrom(ctx *FromContext)

ExitFrom is called when production from is exited.

func (*BaseTransactionListener) ExitKey

func (s *BaseTransactionListener) ExitKey(ctx *KeyContext)

ExitKey is called when production key is exited.

func (*BaseTransactionListener) ExitMetadata

func (s *BaseTransactionListener) ExitMetadata(ctx *MetadataContext)

ExitMetadata is called when production metadata is exited.

func (*BaseTransactionListener) ExitPair

func (s *BaseTransactionListener) ExitPair(ctx *PairContext)

ExitPair is called when production pair is exited.

func (*BaseTransactionListener) ExitPending

func (s *BaseTransactionListener) ExitPending(ctx *PendingContext)

ExitPending is called when production pending is exited.

func (*BaseTransactionListener) ExitRemaining

func (s *BaseTransactionListener) ExitRemaining(ctx *RemainingContext)

ExitRemaining is called when production Remaining is exited.

func (*BaseTransactionListener) ExitSend

func (s *BaseTransactionListener) ExitSend(ctx *SendContext)

ExitSend is called when production send is exited.

func (*BaseTransactionListener) ExitShareDescWhatever

func (s *BaseTransactionListener) ExitShareDescWhatever(ctx *ShareDescWhateverContext)

ExitShareDescWhatever is called when production ShareDescWhatever is exited.

func (*BaseTransactionListener) ExitShareInt

func (s *BaseTransactionListener) ExitShareInt(ctx *ShareIntContext)

ExitShareInt is called when production ShareInt is exited.

func (*BaseTransactionListener) ExitShareIntOfInt

func (s *BaseTransactionListener) ExitShareIntOfInt(ctx *ShareIntOfIntContext)

ExitShareIntOfInt is called when production ShareIntOfInt is exited.

func (*BaseTransactionListener) ExitSource

func (s *BaseTransactionListener) ExitSource(ctx *SourceContext)

ExitSource is called when production source is exited.

func (*BaseTransactionListener) ExitTo

func (s *BaseTransactionListener) ExitTo(ctx *ToContext)

ExitTo is called when production to is exited.

func (*BaseTransactionListener) ExitTransaction

func (s *BaseTransactionListener) ExitTransaction(ctx *TransactionContext)

ExitTransaction is called when production transaction is exited.

func (*BaseTransactionListener) ExitTrueOrFalse

func (s *BaseTransactionListener) ExitTrueOrFalse(ctx *TrueOrFalseContext)

ExitTrueOrFalse is called when production trueOrFalse is exited.

func (*BaseTransactionListener) ExitValue

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

ExitValue is called when production value is exited.

func (*BaseTransactionListener) ExitValueOrVariable

func (s *BaseTransactionListener) ExitValueOrVariable(ctx *ValueOrVariableContext)

ExitValueOrVariable is called when production valueOrVariable is exited.

func (*BaseTransactionListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseTransactionListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BaseTransactionVisitor

type BaseTransactionVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseTransactionVisitor) VisitAccount

func (v *BaseTransactionVisitor) VisitAccount(ctx *AccountContext) interface{}

func (*BaseTransactionVisitor) VisitAmount

func (v *BaseTransactionVisitor) VisitAmount(ctx *AmountContext) interface{}

func (*BaseTransactionVisitor) VisitChartOfAccounts

func (v *BaseTransactionVisitor) VisitChartOfAccounts(ctx *ChartOfAccountsContext) interface{}

func (*BaseTransactionVisitor) VisitChartOfAccountsGroupName

func (v *BaseTransactionVisitor) VisitChartOfAccountsGroupName(ctx *ChartOfAccountsGroupNameContext) interface{}

func (*BaseTransactionVisitor) VisitCode

func (v *BaseTransactionVisitor) VisitCode(ctx *CodeContext) interface{}

func (*BaseTransactionVisitor) VisitDescription

func (v *BaseTransactionVisitor) VisitDescription(ctx *DescriptionContext) interface{}

func (*BaseTransactionVisitor) VisitDistribute

func (v *BaseTransactionVisitor) VisitDistribute(ctx *DistributeContext) interface{}

func (*BaseTransactionVisitor) VisitFrom

func (v *BaseTransactionVisitor) VisitFrom(ctx *FromContext) interface{}

func (*BaseTransactionVisitor) VisitKey

func (v *BaseTransactionVisitor) VisitKey(ctx *KeyContext) interface{}

func (*BaseTransactionVisitor) VisitMetadata

func (v *BaseTransactionVisitor) VisitMetadata(ctx *MetadataContext) interface{}

func (*BaseTransactionVisitor) VisitPair

func (v *BaseTransactionVisitor) VisitPair(ctx *PairContext) interface{}

func (*BaseTransactionVisitor) VisitPending

func (v *BaseTransactionVisitor) VisitPending(ctx *PendingContext) interface{}

func (*BaseTransactionVisitor) VisitRemaining

func (v *BaseTransactionVisitor) VisitRemaining(ctx *RemainingContext) interface{}

func (*BaseTransactionVisitor) VisitSend

func (v *BaseTransactionVisitor) VisitSend(ctx *SendContext) interface{}

func (*BaseTransactionVisitor) VisitShareDescWhatever

func (v *BaseTransactionVisitor) VisitShareDescWhatever(ctx *ShareDescWhateverContext) interface{}

func (*BaseTransactionVisitor) VisitShareInt

func (v *BaseTransactionVisitor) VisitShareInt(ctx *ShareIntContext) interface{}

func (*BaseTransactionVisitor) VisitShareIntOfInt

func (v *BaseTransactionVisitor) VisitShareIntOfInt(ctx *ShareIntOfIntContext) interface{}

func (*BaseTransactionVisitor) VisitSource

func (v *BaseTransactionVisitor) VisitSource(ctx *SourceContext) interface{}

func (*BaseTransactionVisitor) VisitTo

func (v *BaseTransactionVisitor) VisitTo(ctx *ToContext) interface{}

func (*BaseTransactionVisitor) VisitTransaction

func (v *BaseTransactionVisitor) VisitTransaction(ctx *TransactionContext) interface{}

func (*BaseTransactionVisitor) VisitTrueOrFalse

func (v *BaseTransactionVisitor) VisitTrueOrFalse(ctx *TrueOrFalseContext) interface{}

func (*BaseTransactionVisitor) VisitValue

func (v *BaseTransactionVisitor) VisitValue(ctx *ValueContext) interface{}

func (*BaseTransactionVisitor) VisitValueOrVariable

func (v *BaseTransactionVisitor) VisitValueOrVariable(ctx *ValueOrVariableContext) interface{}

type ChartOfAccountsContext

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

func NewChartOfAccountsContext

func NewChartOfAccountsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChartOfAccountsContext

func NewEmptyChartOfAccountsContext

func NewEmptyChartOfAccountsContext() *ChartOfAccountsContext

func (*ChartOfAccountsContext) Accept

func (s *ChartOfAccountsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ChartOfAccountsContext) EnterRule

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

func (*ChartOfAccountsContext) ExitRule

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

func (*ChartOfAccountsContext) GetParser

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

func (*ChartOfAccountsContext) GetRuleContext

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

func (*ChartOfAccountsContext) IsChartOfAccountsContext

func (*ChartOfAccountsContext) IsChartOfAccountsContext()

func (*ChartOfAccountsContext) ToStringTree

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

func (*ChartOfAccountsContext) UUID

func (s *ChartOfAccountsContext) UUID() antlr.TerminalNode

type ChartOfAccountsGroupNameContext

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

func NewChartOfAccountsGroupNameContext

func NewChartOfAccountsGroupNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChartOfAccountsGroupNameContext

func NewEmptyChartOfAccountsGroupNameContext

func NewEmptyChartOfAccountsGroupNameContext() *ChartOfAccountsGroupNameContext

func (*ChartOfAccountsGroupNameContext) Accept

func (s *ChartOfAccountsGroupNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ChartOfAccountsGroupNameContext) EnterRule

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

func (*ChartOfAccountsGroupNameContext) ExitRule

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

func (*ChartOfAccountsGroupNameContext) GetParser

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

func (*ChartOfAccountsGroupNameContext) GetRuleContext

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

func (*ChartOfAccountsGroupNameContext) IsChartOfAccountsGroupNameContext

func (*ChartOfAccountsGroupNameContext) IsChartOfAccountsGroupNameContext()

func (*ChartOfAccountsGroupNameContext) ToStringTree

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

func (*ChartOfAccountsGroupNameContext) UUID

func (s *ChartOfAccountsGroupNameContext) UUID() antlr.TerminalNode

type CodeContext

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

func NewCodeContext

func NewCodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CodeContext

func NewEmptyCodeContext

func NewEmptyCodeContext() *CodeContext

func (*CodeContext) Accept

func (s *CodeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*CodeContext) EnterRule

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

func (*CodeContext) ExitRule

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

func (*CodeContext) GetParser

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

func (*CodeContext) GetRuleContext

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

func (*CodeContext) IsCodeContext

func (*CodeContext) IsCodeContext()

func (*CodeContext) ToStringTree

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

func (*CodeContext) UUID

func (s *CodeContext) UUID() antlr.TerminalNode

type DescriptionContext

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

func NewDescriptionContext

func NewDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DescriptionContext

func NewEmptyDescriptionContext

func NewEmptyDescriptionContext() *DescriptionContext

func (*DescriptionContext) Accept

func (s *DescriptionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DescriptionContext) EnterRule

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

func (*DescriptionContext) ExitRule

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

func (*DescriptionContext) GetParser

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

func (*DescriptionContext) GetRuleContext

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

func (*DescriptionContext) IsDescriptionContext

func (*DescriptionContext) IsDescriptionContext()

func (*DescriptionContext) STRING

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

func (*DescriptionContext) ToStringTree

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

type DistributeContext

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

func NewDistributeContext

func NewDistributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DistributeContext

func NewEmptyDistributeContext

func NewEmptyDistributeContext() *DistributeContext

func (*DistributeContext) Accept

func (s *DistributeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DistributeContext) AllTo

func (s *DistributeContext) AllTo() []IToContext

func (*DistributeContext) EnterRule

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

func (*DistributeContext) ExitRule

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

func (*DistributeContext) GetParser

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

func (*DistributeContext) GetRuleContext

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

func (*DistributeContext) IsDistributeContext

func (*DistributeContext) IsDistributeContext()

func (*DistributeContext) REMAINING

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

func (*DistributeContext) To

func (s *DistributeContext) To(i int) IToContext

func (*DistributeContext) ToStringTree

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

type FromContext

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

func NewEmptyFromContext

func NewEmptyFromContext() *FromContext

func NewFromContext

func NewFromContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FromContext

func (*FromContext) Accept

func (s *FromContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FromContext) Account

func (s *FromContext) Account() IAccountContext

func (*FromContext) ChartOfAccounts

func (s *FromContext) ChartOfAccounts() IChartOfAccountsContext

func (*FromContext) Description

func (s *FromContext) Description() IDescriptionContext

func (*FromContext) EnterRule

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

func (*FromContext) ExitRule

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

func (*FromContext) GetParser

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

func (*FromContext) GetRuleContext

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

func (*FromContext) IsFromContext

func (*FromContext) IsFromContext()

func (*FromContext) Metadata

func (s *FromContext) Metadata() IMetadataContext

func (*FromContext) SendTypes

func (s *FromContext) SendTypes() ISendTypesContext

func (*FromContext) ToStringTree

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

type IAccountContext

type IAccountContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	VARIABLE() antlr.TerminalNode
	ACCOUNT() antlr.TerminalNode
	UUID() antlr.TerminalNode

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

IAccountContext is an interface to support dynamic dispatch.

type IChartOfAccountsContext

type IChartOfAccountsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode

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

IChartOfAccountsContext is an interface to support dynamic dispatch.

type IChartOfAccountsGroupNameContext

type IChartOfAccountsGroupNameContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode

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

IChartOfAccountsGroupNameContext is an interface to support dynamic dispatch.

type ICodeContext

type ICodeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode

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

ICodeContext is an interface to support dynamic dispatch.

type IDescriptionContext

type IDescriptionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	STRING() antlr.TerminalNode

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

IDescriptionContext is an interface to support dynamic dispatch.

type IDistributeContext

type IDistributeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	REMAINING() antlr.TerminalNode
	AllTo() []IToContext
	To(i int) IToContext

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

IDistributeContext is an interface to support dynamic dispatch.

type IFromContext

type IFromContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Account() IAccountContext
	SendTypes() ISendTypesContext
	Description() IDescriptionContext
	ChartOfAccounts() IChartOfAccountsContext
	Metadata() IMetadataContext

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

IFromContext is an interface to support dynamic dispatch.

type IKeyContext

type IKeyContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode
	INT() antlr.TerminalNode

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

IKeyContext is an interface to support dynamic dispatch.

type IMetadataContext

type IMetadataContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllPair() []IPairContext
	Pair(i int) IPairContext

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

IMetadataContext is an interface to support dynamic dispatch.

type IPairContext

type IPairContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Key() IKeyContext
	Value() IValueContext

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

IPairContext is an interface to support dynamic dispatch.

type IPendingContext

type IPendingContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	TrueOrFalse() ITrueOrFalseContext

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

IPendingContext is an interface to support dynamic dispatch.

type ISendContext

type ISendContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode
	AllValueOrVariable() []IValueOrVariableContext
	ValueOrVariable(i int) IValueOrVariableContext
	Source() ISourceContext

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

ISendContext is an interface to support dynamic dispatch.

type ISendTypesContext

type ISendTypesContext interface {
	antlr.ParserRuleContext

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

ISendTypesContext is an interface to support dynamic dispatch.

type ISourceContext

type ISourceContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	REMAINING() antlr.TerminalNode
	AllFrom() []IFromContext
	From(i int) IFromContext

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

ISourceContext is an interface to support dynamic dispatch.

type IToContext

type IToContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Account() IAccountContext
	SendTypes() ISendTypesContext
	Description() IDescriptionContext
	ChartOfAccounts() IChartOfAccountsContext
	Metadata() IMetadataContext

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

IToContext is an interface to support dynamic dispatch.

type ITransactionContext

type ITransactionContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	VERSION() antlr.TerminalNode
	ChartOfAccountsGroupName() IChartOfAccountsGroupNameContext
	Send() ISendContext
	Distribute() IDistributeContext
	Description() IDescriptionContext
	Code() ICodeContext
	Pending() IPendingContext
	Metadata() IMetadataContext

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

ITransactionContext is an interface to support dynamic dispatch.

type ITrueOrFalseContext

type ITrueOrFalseContext interface {
	antlr.ParserRuleContext

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

ITrueOrFalseContext is an interface to support dynamic dispatch.

type IValueContext

type IValueContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	UUID() antlr.TerminalNode
	INT() antlr.TerminalNode

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

IValueContext is an interface to support dynamic dispatch.

type IValueOrVariableContext

type IValueOrVariableContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	INT() antlr.TerminalNode
	VARIABLE() antlr.TerminalNode

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

IValueOrVariableContext is an interface to support dynamic dispatch.

type KeyContext

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

func NewEmptyKeyContext

func NewEmptyKeyContext() *KeyContext

func NewKeyContext

func NewKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyContext

func (*KeyContext) Accept

func (s *KeyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*KeyContext) EnterRule

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

func (*KeyContext) ExitRule

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

func (*KeyContext) GetParser

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

func (*KeyContext) GetRuleContext

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

func (*KeyContext) INT

func (s *KeyContext) INT() antlr.TerminalNode

func (*KeyContext) IsKeyContext

func (*KeyContext) IsKeyContext()

func (*KeyContext) ToStringTree

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

func (*KeyContext) UUID

func (s *KeyContext) UUID() antlr.TerminalNode

type MetadataContext

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

func NewEmptyMetadataContext

func NewEmptyMetadataContext() *MetadataContext

func NewMetadataContext

func NewMetadataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MetadataContext

func (*MetadataContext) Accept

func (s *MetadataContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*MetadataContext) AllPair

func (s *MetadataContext) AllPair() []IPairContext

func (*MetadataContext) EnterRule

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

func (*MetadataContext) ExitRule

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

func (*MetadataContext) GetParser

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

func (*MetadataContext) GetRuleContext

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

func (*MetadataContext) IsMetadataContext

func (*MetadataContext) IsMetadataContext()

func (*MetadataContext) Pair

func (s *MetadataContext) Pair(i int) IPairContext

func (*MetadataContext) ToStringTree

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

type PairContext

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

func NewEmptyPairContext

func NewEmptyPairContext() *PairContext

func NewPairContext

func NewPairContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PairContext

func (*PairContext) Accept

func (s *PairContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PairContext) EnterRule

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

func (*PairContext) ExitRule

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

func (*PairContext) GetParser

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

func (*PairContext) GetRuleContext

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

func (*PairContext) IsPairContext

func (*PairContext) IsPairContext()

func (*PairContext) Key

func (s *PairContext) Key() IKeyContext

func (*PairContext) ToStringTree

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

func (*PairContext) Value

func (s *PairContext) Value() IValueContext

type PendingContext

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

func NewEmptyPendingContext

func NewEmptyPendingContext() *PendingContext

func NewPendingContext

func NewPendingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PendingContext

func (*PendingContext) Accept

func (s *PendingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PendingContext) EnterRule

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

func (*PendingContext) ExitRule

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

func (*PendingContext) GetParser

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

func (*PendingContext) GetRuleContext

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

func (*PendingContext) IsPendingContext

func (*PendingContext) IsPendingContext()

func (*PendingContext) ToStringTree

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

func (*PendingContext) TrueOrFalse

func (s *PendingContext) TrueOrFalse() ITrueOrFalseContext

type RemainingContext

type RemainingContext struct {
	SendTypesContext
}

func NewRemainingContext

func NewRemainingContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *RemainingContext

func (*RemainingContext) Accept

func (s *RemainingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*RemainingContext) EnterRule

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

func (*RemainingContext) ExitRule

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

func (*RemainingContext) GetRuleContext

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

func (*RemainingContext) REMAINING

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

type SendContext

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

func NewEmptySendContext

func NewEmptySendContext() *SendContext

func NewSendContext

func NewSendContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SendContext

func (*SendContext) Accept

func (s *SendContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SendContext) AllValueOrVariable

func (s *SendContext) AllValueOrVariable() []IValueOrVariableContext

func (*SendContext) EnterRule

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

func (*SendContext) ExitRule

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

func (*SendContext) GetParser

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

func (*SendContext) GetRuleContext

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

func (*SendContext) IsSendContext

func (*SendContext) IsSendContext()

func (*SendContext) Source

func (s *SendContext) Source() ISourceContext

func (*SendContext) ToStringTree

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

func (*SendContext) UUID

func (s *SendContext) UUID() antlr.TerminalNode

func (*SendContext) ValueOrVariable

func (s *SendContext) ValueOrVariable(i int) IValueOrVariableContext

type SendTypesContext

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

func NewEmptySendTypesContext

func NewEmptySendTypesContext() *SendTypesContext

func NewSendTypesContext

func NewSendTypesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SendTypesContext

func (*SendTypesContext) CopyAll

func (s *SendTypesContext) CopyAll(ctx *SendTypesContext)

func (*SendTypesContext) GetParser

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

func (*SendTypesContext) GetRuleContext

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

func (*SendTypesContext) IsSendTypesContext

func (*SendTypesContext) IsSendTypesContext()

func (*SendTypesContext) ToStringTree

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

type ShareDescWhateverContext

type ShareDescWhateverContext struct {
	SendTypesContext
}

func NewShareDescWhateverContext

func NewShareDescWhateverContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ShareDescWhateverContext

func (*ShareDescWhateverContext) Accept

func (s *ShareDescWhateverContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ShareDescWhateverContext) AllValueOrVariable

func (s *ShareDescWhateverContext) AllValueOrVariable() []IValueOrVariableContext

func (*ShareDescWhateverContext) EnterRule

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

func (*ShareDescWhateverContext) ExitRule

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

func (*ShareDescWhateverContext) GetRuleContext

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

func (*ShareDescWhateverContext) ValueOrVariable

type ShareIntContext

type ShareIntContext struct {
	SendTypesContext
}

func NewShareIntContext

func NewShareIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ShareIntContext

func (*ShareIntContext) Accept

func (s *ShareIntContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ShareIntContext) EnterRule

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

func (*ShareIntContext) ExitRule

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

func (*ShareIntContext) GetRuleContext

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

func (*ShareIntContext) ValueOrVariable

func (s *ShareIntContext) ValueOrVariable() IValueOrVariableContext

type ShareIntOfIntContext

type ShareIntOfIntContext struct {
	SendTypesContext
}

func NewShareIntOfIntContext

func NewShareIntOfIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ShareIntOfIntContext

func (*ShareIntOfIntContext) Accept

func (s *ShareIntOfIntContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ShareIntOfIntContext) AllValueOrVariable

func (s *ShareIntOfIntContext) AllValueOrVariable() []IValueOrVariableContext

func (*ShareIntOfIntContext) EnterRule

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

func (*ShareIntOfIntContext) ExitRule

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

func (*ShareIntOfIntContext) GetRuleContext

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

func (*ShareIntOfIntContext) ValueOrVariable

func (s *ShareIntOfIntContext) ValueOrVariable(i int) IValueOrVariableContext

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

func (s *SourceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SourceContext) AllFrom

func (s *SourceContext) AllFrom() []IFromContext

func (*SourceContext) EnterRule

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

func (*SourceContext) ExitRule

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

func (*SourceContext) From

func (s *SourceContext) From(i int) IFromContext

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

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

func (*SourceContext) ToStringTree

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

type ToContext

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

func NewEmptyToContext

func NewEmptyToContext() *ToContext

func NewToContext

func NewToContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ToContext

func (*ToContext) Accept

func (s *ToContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ToContext) Account

func (s *ToContext) Account() IAccountContext

func (*ToContext) ChartOfAccounts

func (s *ToContext) ChartOfAccounts() IChartOfAccountsContext

func (*ToContext) Description

func (s *ToContext) Description() IDescriptionContext

func (*ToContext) EnterRule

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

func (*ToContext) ExitRule

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

func (*ToContext) GetParser

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

func (*ToContext) GetRuleContext

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

func (*ToContext) IsToContext

func (*ToContext) IsToContext()

func (*ToContext) Metadata

func (s *ToContext) Metadata() IMetadataContext

func (*ToContext) SendTypes

func (s *ToContext) SendTypes() ISendTypesContext

func (*ToContext) ToStringTree

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

type TransactionContext

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

func NewEmptyTransactionContext

func NewEmptyTransactionContext() *TransactionContext

func NewTransactionContext

func NewTransactionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TransactionContext

func (*TransactionContext) Accept

func (s *TransactionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TransactionContext) ChartOfAccountsGroupName

func (s *TransactionContext) ChartOfAccountsGroupName() IChartOfAccountsGroupNameContext

func (*TransactionContext) Code

func (s *TransactionContext) Code() ICodeContext

func (*TransactionContext) Description

func (s *TransactionContext) Description() IDescriptionContext

func (*TransactionContext) Distribute

func (s *TransactionContext) Distribute() IDistributeContext

func (*TransactionContext) EnterRule

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

func (*TransactionContext) ExitRule

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

func (*TransactionContext) GetParser

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

func (*TransactionContext) GetRuleContext

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

func (*TransactionContext) IsTransactionContext

func (*TransactionContext) IsTransactionContext()

func (*TransactionContext) Metadata

func (s *TransactionContext) Metadata() IMetadataContext

func (*TransactionContext) Pending

func (s *TransactionContext) Pending() IPendingContext

func (*TransactionContext) Send

func (s *TransactionContext) Send() ISendContext

func (*TransactionContext) ToStringTree

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

func (*TransactionContext) VERSION

func (s *TransactionContext) VERSION() antlr.TerminalNode

type TransactionLexer

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

func NewTransactionLexer

func NewTransactionLexer(input antlr.CharStream) *TransactionLexer

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

type TransactionListener

type TransactionListener interface {
	antlr.ParseTreeListener

	// EnterTransaction is called when entering the transaction production.
	EnterTransaction(c *TransactionContext)

	// EnterChartOfAccountsGroupName is called when entering the chartOfAccountsGroupName production.
	EnterChartOfAccountsGroupName(c *ChartOfAccountsGroupNameContext)

	// EnterCode is called when entering the code production.
	EnterCode(c *CodeContext)

	// EnterTrueOrFalse is called when entering the trueOrFalse production.
	EnterTrueOrFalse(c *TrueOrFalseContext)

	// EnterPending is called when entering the pending production.
	EnterPending(c *PendingContext)

	// EnterDescription is called when entering the description production.
	EnterDescription(c *DescriptionContext)

	// EnterChartOfAccounts is called when entering the chartOfAccounts production.
	EnterChartOfAccounts(c *ChartOfAccountsContext)

	// EnterMetadata is called when entering the metadata production.
	EnterMetadata(c *MetadataContext)

	// EnterPair is called when entering the pair production.
	EnterPair(c *PairContext)

	// EnterKey is called when entering the key production.
	EnterKey(c *KeyContext)

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

	// EnterValueOrVariable is called when entering the valueOrVariable production.
	EnterValueOrVariable(c *ValueOrVariableContext)

	// EnterAmount is called when entering the Amount production.
	EnterAmount(c *AmountContext)

	// EnterShareDescWhatever is called when entering the ShareDescWhatever production.
	EnterShareDescWhatever(c *ShareDescWhateverContext)

	// EnterShareIntOfInt is called when entering the ShareIntOfInt production.
	EnterShareIntOfInt(c *ShareIntOfIntContext)

	// EnterShareInt is called when entering the ShareInt production.
	EnterShareInt(c *ShareIntContext)

	// EnterRemaining is called when entering the Remaining production.
	EnterRemaining(c *RemainingContext)

	// EnterAccount is called when entering the account production.
	EnterAccount(c *AccountContext)

	// EnterFrom is called when entering the from production.
	EnterFrom(c *FromContext)

	// EnterSend is called when entering the send production.
	EnterSend(c *SendContext)

	// EnterSource is called when entering the source production.
	EnterSource(c *SourceContext)

	// EnterTo is called when entering the to production.
	EnterTo(c *ToContext)

	// EnterDistribute is called when entering the distribute production.
	EnterDistribute(c *DistributeContext)

	// ExitTransaction is called when exiting the transaction production.
	ExitTransaction(c *TransactionContext)

	// ExitChartOfAccountsGroupName is called when exiting the chartOfAccountsGroupName production.
	ExitChartOfAccountsGroupName(c *ChartOfAccountsGroupNameContext)

	// ExitCode is called when exiting the code production.
	ExitCode(c *CodeContext)

	// ExitTrueOrFalse is called when exiting the trueOrFalse production.
	ExitTrueOrFalse(c *TrueOrFalseContext)

	// ExitPending is called when exiting the pending production.
	ExitPending(c *PendingContext)

	// ExitDescription is called when exiting the description production.
	ExitDescription(c *DescriptionContext)

	// ExitChartOfAccounts is called when exiting the chartOfAccounts production.
	ExitChartOfAccounts(c *ChartOfAccountsContext)

	// ExitMetadata is called when exiting the metadata production.
	ExitMetadata(c *MetadataContext)

	// ExitPair is called when exiting the pair production.
	ExitPair(c *PairContext)

	// ExitKey is called when exiting the key production.
	ExitKey(c *KeyContext)

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

	// ExitValueOrVariable is called when exiting the valueOrVariable production.
	ExitValueOrVariable(c *ValueOrVariableContext)

	// ExitAmount is called when exiting the Amount production.
	ExitAmount(c *AmountContext)

	// ExitShareDescWhatever is called when exiting the ShareDescWhatever production.
	ExitShareDescWhatever(c *ShareDescWhateverContext)

	// ExitShareIntOfInt is called when exiting the ShareIntOfInt production.
	ExitShareIntOfInt(c *ShareIntOfIntContext)

	// ExitShareInt is called when exiting the ShareInt production.
	ExitShareInt(c *ShareIntContext)

	// ExitRemaining is called when exiting the Remaining production.
	ExitRemaining(c *RemainingContext)

	// ExitAccount is called when exiting the account production.
	ExitAccount(c *AccountContext)

	// ExitFrom is called when exiting the from production.
	ExitFrom(c *FromContext)

	// ExitSend is called when exiting the send production.
	ExitSend(c *SendContext)

	// ExitSource is called when exiting the source production.
	ExitSource(c *SourceContext)

	// ExitTo is called when exiting the to production.
	ExitTo(c *ToContext)

	// ExitDistribute is called when exiting the distribute production.
	ExitDistribute(c *DistributeContext)
}

TransactionListener is a complete listener for a parse tree produced by TransactionParser.

type TransactionParser

type TransactionParser struct {
	*antlr.BaseParser
}

func NewTransactionParser

func NewTransactionParser(input antlr.TokenStream) *TransactionParser

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

func (*TransactionParser) Account

func (p *TransactionParser) Account() (localctx IAccountContext)

func (*TransactionParser) ChartOfAccounts

func (p *TransactionParser) ChartOfAccounts() (localctx IChartOfAccountsContext)

func (*TransactionParser) ChartOfAccountsGroupName

func (p *TransactionParser) ChartOfAccountsGroupName() (localctx IChartOfAccountsGroupNameContext)

func (*TransactionParser) Code

func (p *TransactionParser) Code() (localctx ICodeContext)

func (*TransactionParser) Description

func (p *TransactionParser) Description() (localctx IDescriptionContext)

func (*TransactionParser) Distribute

func (p *TransactionParser) Distribute() (localctx IDistributeContext)

func (*TransactionParser) From

func (p *TransactionParser) From() (localctx IFromContext)

func (*TransactionParser) Key

func (p *TransactionParser) Key() (localctx IKeyContext)

func (*TransactionParser) Metadata

func (p *TransactionParser) Metadata() (localctx IMetadataContext)

func (*TransactionParser) Pair

func (p *TransactionParser) Pair() (localctx IPairContext)

func (*TransactionParser) Pending

func (p *TransactionParser) Pending() (localctx IPendingContext)

func (*TransactionParser) Send

func (p *TransactionParser) Send() (localctx ISendContext)

func (*TransactionParser) SendTypes

func (p *TransactionParser) SendTypes() (localctx ISendTypesContext)

func (*TransactionParser) Source

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

func (*TransactionParser) To

func (p *TransactionParser) To() (localctx IToContext)

func (*TransactionParser) Transaction

func (p *TransactionParser) Transaction() (localctx ITransactionContext)

func (*TransactionParser) TrueOrFalse

func (p *TransactionParser) TrueOrFalse() (localctx ITrueOrFalseContext)

func (*TransactionParser) Value

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

func (*TransactionParser) ValueOrVariable

func (p *TransactionParser) ValueOrVariable() (localctx IValueOrVariableContext)

type TransactionVisitor

type TransactionVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by TransactionParser#transaction.
	VisitTransaction(ctx *TransactionContext) interface{}

	// Visit a parse tree produced by TransactionParser#chartOfAccountsGroupName.
	VisitChartOfAccountsGroupName(ctx *ChartOfAccountsGroupNameContext) interface{}

	// Visit a parse tree produced by TransactionParser#code.
	VisitCode(ctx *CodeContext) interface{}

	// Visit a parse tree produced by TransactionParser#trueOrFalse.
	VisitTrueOrFalse(ctx *TrueOrFalseContext) interface{}

	// Visit a parse tree produced by TransactionParser#pending.
	VisitPending(ctx *PendingContext) interface{}

	// Visit a parse tree produced by TransactionParser#description.
	VisitDescription(ctx *DescriptionContext) interface{}

	// Visit a parse tree produced by TransactionParser#chartOfAccounts.
	VisitChartOfAccounts(ctx *ChartOfAccountsContext) interface{}

	// Visit a parse tree produced by TransactionParser#metadata.
	VisitMetadata(ctx *MetadataContext) interface{}

	// Visit a parse tree produced by TransactionParser#pair.
	VisitPair(ctx *PairContext) interface{}

	// Visit a parse tree produced by TransactionParser#key.
	VisitKey(ctx *KeyContext) interface{}

	// Visit a parse tree produced by TransactionParser#value.
	VisitValue(ctx *ValueContext) interface{}

	// Visit a parse tree produced by TransactionParser#valueOrVariable.
	VisitValueOrVariable(ctx *ValueOrVariableContext) interface{}

	// Visit a parse tree produced by TransactionParser#Amount.
	VisitAmount(ctx *AmountContext) interface{}

	// Visit a parse tree produced by TransactionParser#ShareDescWhatever.
	VisitShareDescWhatever(ctx *ShareDescWhateverContext) interface{}

	// Visit a parse tree produced by TransactionParser#ShareIntOfInt.
	VisitShareIntOfInt(ctx *ShareIntOfIntContext) interface{}

	// Visit a parse tree produced by TransactionParser#ShareInt.
	VisitShareInt(ctx *ShareIntContext) interface{}

	// Visit a parse tree produced by TransactionParser#Remaining.
	VisitRemaining(ctx *RemainingContext) interface{}

	// Visit a parse tree produced by TransactionParser#account.
	VisitAccount(ctx *AccountContext) interface{}

	// Visit a parse tree produced by TransactionParser#from.
	VisitFrom(ctx *FromContext) interface{}

	// Visit a parse tree produced by TransactionParser#send.
	VisitSend(ctx *SendContext) interface{}

	// Visit a parse tree produced by TransactionParser#source.
	VisitSource(ctx *SourceContext) interface{}

	// Visit a parse tree produced by TransactionParser#to.
	VisitTo(ctx *ToContext) interface{}

	// Visit a parse tree produced by TransactionParser#distribute.
	VisitDistribute(ctx *DistributeContext) interface{}
}

A complete Visitor for a parse tree produced by TransactionParser.

type TrueOrFalseContext

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

func NewEmptyTrueOrFalseContext

func NewEmptyTrueOrFalseContext() *TrueOrFalseContext

func NewTrueOrFalseContext

func NewTrueOrFalseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TrueOrFalseContext

func (*TrueOrFalseContext) Accept

func (s *TrueOrFalseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TrueOrFalseContext) EnterRule

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

func (*TrueOrFalseContext) ExitRule

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

func (*TrueOrFalseContext) GetParser

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

func (*TrueOrFalseContext) GetRuleContext

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

func (*TrueOrFalseContext) IsTrueOrFalseContext

func (*TrueOrFalseContext) IsTrueOrFalseContext()

func (*TrueOrFalseContext) ToStringTree

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

type ValueContext

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

func NewEmptyValueContext

func NewEmptyValueContext() *ValueContext

func NewValueContext

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

func (*ValueContext) Accept

func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ValueContext) EnterRule

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

func (*ValueContext) ExitRule

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

func (*ValueContext) GetParser

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

func (*ValueContext) GetRuleContext

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

func (*ValueContext) INT

func (s *ValueContext) INT() antlr.TerminalNode

func (*ValueContext) IsValueContext

func (*ValueContext) IsValueContext()

func (*ValueContext) ToStringTree

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

func (*ValueContext) UUID

func (s *ValueContext) UUID() antlr.TerminalNode

type ValueOrVariableContext

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

func NewEmptyValueOrVariableContext

func NewEmptyValueOrVariableContext() *ValueOrVariableContext

func NewValueOrVariableContext

func NewValueOrVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueOrVariableContext

func (*ValueOrVariableContext) Accept

func (s *ValueOrVariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ValueOrVariableContext) EnterRule

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

func (*ValueOrVariableContext) ExitRule

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

func (*ValueOrVariableContext) GetParser

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

func (*ValueOrVariableContext) GetRuleContext

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

func (*ValueOrVariableContext) INT

func (s *ValueOrVariableContext) INT() antlr.TerminalNode

func (*ValueOrVariableContext) IsValueOrVariableContext

func (*ValueOrVariableContext) IsValueOrVariableContext()

func (*ValueOrVariableContext) ToStringTree

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

func (*ValueOrVariableContext) VARIABLE

func (s *ValueOrVariableContext) VARIABLE() antlr.TerminalNode

Jump to

Keyboard shortcuts

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