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
ExprValue
andCurrency
. - An
Amount
with optional tolerance. - A Beancount balance directive, without the common Directive fields.
- An iterator over the variants of Booking
- 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
Expr
which 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
ExprValue
andCurrency
may 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
Tag
orLink
without 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.
- An amount which specifies a total or per-unit value or both, with or without a currency, or simply just a
Currency
. - An
ExprValue
which quantifies a total or per-unit, or both. - 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 value, with or without a currency, or simply just a
Currency
. Unlike aCompoundAmount
it is forbidden to have both total and per-unit. - An
ExprValue
which quantifies either a total or per-unit, but not both. - One possible type of MetaValue.
Traits§
- Implemented by any element, for access to its kind in error reporting.
- convenenience trait for dealing with Option<&Spanned>
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.
SmallVec
stores 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
.