ExLedger.ParseContext (ex_ledger v0.5.6)

Context struct for tracking state during ledger file parsing with includes.

Summary

Types

import_chain_entry()

@type import_chain_entry() :: {String.t(), non_neg_integer()}

t()

@type t() :: %ExLedger.ParseContext{
  accounts: %{required(String.t()) => atom()},
  base_dir: String.t(),
  import_chain: [import_chain_entry()] | nil,
  seen_files: MapSet.t(String.t()),
  source_file: String.t() | nil,
  transactions: [map()]
}