Module beancount_parser_lima::types
source · Structs§
- A Beancount account with account type and subaccount names.
- One component of a colon-separated account.
- Error type for AccountName creation.
- An iterator over the variants of AccountType
- A validated name for an account type.
- Error type for AccountTypeName creation.
- A
ExprValueandCurrency. - An
Amountwith optional tolerance. - A Beancount balance directive, without the common Directive fields.
- An iterator over the variants of Booking
- A CandidateAccount is one where the account_type_name has not yet been resolved against current options.
- A Beancount close directive, without the common Directive fields.
- A Beancount commodity directive, without the common Directive fields.
- A cost specification.
- Error type for CostSpec creation.
- Multiple errors arising from creation of a CostSpec.
- A Beancount currency.
- Error type for Currency creation.
- A Beancount directive of a particular DirectiveVariant.
- A Beancount document directive, without the common Directive fields.
- Marker type for ErrorOrWarning error.
- Error or warning, according to the marker type with which it is instantiated.
- A Beancount event directive, without the common Directive fields.
- An
Exprwhich has been evaluated. - A flag other than one of the builtin ones.
- Error type for invalid FlagLetter.
- Error type for Key creation.
- A link.
- An amount where each element of
ExprValueandCurrencymay not actually be specified. - A Beancount note directive, without the common Directive fields.
- A Beancount open directive, without the common Directive fields.
- A Beancount pad directive, without the common Directive fields.
- A Beancount plugin pragma.
- An iterator over the variants of PluginProcessingMode
- A single posting within a Transaction.
- A Beancount price directive, without the common Directive fields.
- A Beancount query directive, without the common Directive fields.
- Identifies a source file.
- A Spanned item is one located within its source file. The span is invisible with respect to equality and hashing.
- A tag.
- The validated identifier part of a
TagorLinkwithout the#or^prefix. - Error type for TagOrLinkIdentifier creation.
- A Beancount transaction directive, without the common Directive fields.
- Marker type for ErrorOrWarning warning.
Enums§
- Top-level account type, the prefix of any fully-qualified Account.
- The booking method for an account.
- A Beancount directive, without the fields common to all, which belong to Directive.
- A numeric expression which respects standard operator precedence.
- A flag on a Posting or Transaction.
- A value of metadata key/value.
- An amount which specifies a total or per-unit
ScopedExprValue, or simply just aCurrency. - An
ExprValuewhich quantifies a total or per-unit. - One possible type of MetaValue.
Traits§
- Implemented by any element, for access to its kind in error reporting.
Type Aliases§
- The type of errors returned by the parser. All that can usefully be done with these is write them via
BeancountSources. - Identifies a span of text within its source file.
- The individual colon-separated components of an account, without the AccountType prefix.
SmallVecstores a small number of these inline, before making use of the heap. - The type of warnings returned by the parser. All that can usefully be done with these is write them via
BeancountSources.