{"modulePath":"github.com/PagoPlus/numscriptex","version":"v0.0.0-20241202135701-b8e89d0f3967","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package numscript\n\n## Variables\n\n```go\nvar ParseErrorsToString = parser.ParseErrorsToString\n```\n\n## Types\n\n```go\ntype AccountBalance = interpreter.AccountBalance\n```\n\n```go\ntype AccountMetadata = interpreter.AccountMetadata\n```\n\n```go\ntype AccountsMetadata = interpreter.AccountsMetadata\n```\nThe newly defined account metadata after the execution\n\n```go\ntype BalanceQuery = interpreter.BalanceQuery\n```\nFor each account, list of the needed assets\n\n```go\ntype Balances = interpreter.Balances\n```\n\n```go\ntype ExecutionResult = interpreter.ExecutionResult\n```\n\n```go\ntype InterpreterError = interpreter.InterpreterError\n```\n\n```go\ntype Metadata = interpreter.Metadata\n```\nThe transaction metadata, set by set\\_tx\\_meta()\n\n```go\ntype MetadataQuery = interpreter.MetadataQuery\n```\n\n```go\ntype ParseResult struct {\n\t// contains filtered or unexported fields\n}\n```\nThis struct represents a parsed numscript source code\n\n```go\nfunc Parse(code string) ParseResult\n```\n\n```go\nfunc (p ParseResult) GetParsingErrors() []ParserError\n```\n\n```go\nfunc (p ParseResult) GetSource() string\n```\n\n```go\nfunc (p ParseResult) Run(ctx context.Context, vars VariablesMap, store Store) (ExecutionResult, InterpreterError)\n```\n\n```go\nfunc (p ParseResult) RunWithFeatureFlags(\n\tctx context.Context,\n\tvars VariablesMap,\n\tstore Store,\n\tfeatureFlags map[string]struct{},\n) (ExecutionResult, InterpreterError)\n```\n\n```go\ntype ParserError = parser.ParserError\n```\n\n```go\ntype Posting = interpreter.Posting\n```\n\n```go\ntype StaticStore = interpreter.StaticStore\n```\n\n```go\ntype Store = interpreter.Store\n```\n\n```go\ntype Value = interpreter.Value\n```\n\n```go\ntype VariablesMap = interpreter.VariablesMap\n```\n\n","path":"github.com/PagoPlus/numscriptex","name":"numscript","synopsis":"","isRedistributable":true}
