transaction

package
v1.14.1-beta.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(dsl string) any

Types

type CompileError

type CompileError struct {
	Line    int
	Column  int
	Message string
	Source  string
}

type Error

type Error struct {
	*antlr.DefaultErrorListener
	Errors []CompileError
	Source string
}

func Validate

func Validate(dsl string) *Error

func (*Error) SyntaxError

func (t *Error) SyntaxError(recognizer antlr.Recognizer, offendingSymbol any, line, column int, msg string, e antlr.RecognitionException)

type TransactionListener

type TransactionListener struct {
	*parser.BaseTransactionListener
}

func NewTransaction

func NewTransaction() *TransactionListener

type TransactionVisitor

type TransactionVisitor struct {
	*parser.BaseTransactionVisitor
}

func NewTransactionVisitor

func NewTransactionVisitor() *TransactionVisitor

func (*TransactionVisitor) Visit

func (v *TransactionVisitor) Visit(tree antlr.ParseTree) any

func (*TransactionVisitor) VisitAccount

func (v *TransactionVisitor) VisitAccount(ctx *parser.AccountContext) any

func (*TransactionVisitor) VisitAmount

func (v *TransactionVisitor) VisitAmount(ctx *parser.AmountContext) any

func (*TransactionVisitor) VisitCode

func (v *TransactionVisitor) VisitCode(ctx *parser.CodeContext) any

func (*TransactionVisitor) VisitDescription

func (v *TransactionVisitor) VisitDescription(ctx *parser.DescriptionContext) any

func (*TransactionVisitor) VisitDistribute

func (v *TransactionVisitor) VisitDistribute(ctx *parser.DistributeContext) any

func (*TransactionVisitor) VisitFrom

func (v *TransactionVisitor) VisitFrom(ctx *parser.FromContext) any

func (*TransactionVisitor) VisitMetadata

func (v *TransactionVisitor) VisitMetadata(ctx *parser.MetadataContext) any

func (*TransactionVisitor) VisitPair

func (v *TransactionVisitor) VisitPair(ctx *parser.PairContext) any

func (*TransactionVisitor) VisitPending

func (v *TransactionVisitor) VisitPending(ctx *parser.PendingContext) any

func (*TransactionVisitor) VisitRemaining

func (v *TransactionVisitor) VisitRemaining(ctx *parser.RemainingContext) any

func (*TransactionVisitor) VisitSend

func (v *TransactionVisitor) VisitSend(ctx *parser.SendContext) any

func (*TransactionVisitor) VisitShareDescWhatever

func (v *TransactionVisitor) VisitShareDescWhatever(ctx *parser.ShareDescWhateverContext) any

func (*TransactionVisitor) VisitShareInt

func (v *TransactionVisitor) VisitShareInt(ctx *parser.ShareIntContext) any

func (*TransactionVisitor) VisitShareIntOfInt

func (v *TransactionVisitor) VisitShareIntOfInt(ctx *parser.ShareIntOfIntContext) any

func (*TransactionVisitor) VisitSource

func (v *TransactionVisitor) VisitSource(ctx *parser.SourceContext) any

func (*TransactionVisitor) VisitTo

func (v *TransactionVisitor) VisitTo(ctx *parser.ToContext) any

func (*TransactionVisitor) VisitTransaction

func (v *TransactionVisitor) VisitTransaction(ctx *parser.TransactionContext) any

func (*TransactionVisitor) VisitValueOrVariable

func (v *TransactionVisitor) VisitValueOrVariable(ctx *parser.ValueOrVariableContext) any

func (*TransactionVisitor) VisitVisitChartOfAccounts

func (v *TransactionVisitor) VisitVisitChartOfAccounts(ctx *parser.ChartOfAccountsContext) any

func (*TransactionVisitor) VisitVisitChartOfAccountsGroupName

func (v *TransactionVisitor) VisitVisitChartOfAccountsGroupName(ctx *parser.ChartOfAccountsGroupNameContext) any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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