FQ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh i j k l m n o p q r s t u v w x y z { | } ~                                                                                     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOP Safe-Inferred EA string received from or being passed to the operating system, such H as a file path, command-line argument, or environment variable name or I value. With GHC versions before 7.2 on some platforms (posix) these are I typically encoded. When converting, we assume the encoding is UTF-8 (cf   Dhttp://www.dwheeler.com/essays/fixing-unix-linux-filenames.html#UTF8). FConvert a system string to an ordinary string, decoding from UTF-8 if A it appears to be UTF8-encoded and GHC version is less than 7.2. DConvert a unicode string to a system string, encoding with UTF-8 if % we are on a posix platform with GHC < 7.2. 'A SystemString-aware version of error. +A SystemString-aware version of userError.      None%;A Ledger has the journal it derives from, and the accounts ? derived from that. Accounts are accessible both list-wise and @ tree-wise, since each one knows its parent and subs; the first 4 account is the root of the tree and always exists. 3An account, with name, balances and links to parent/ subaccounts 1 which let you walk up or down the account tree.  this account' s full name  this account'!s balance, excluding subaccounts  sub-accounts C anumpostings :: Int -- ^ number of postings to this account  derived from the above:  this account'!s balance, including subaccounts parent account 6used in the accounts report to label elidable parents &FA hledger journal reader is a triple of format name, format-detecting % predicate, and a parser to Journal. +2The id of a data format understood by hledger, eg journal or csv. ,@A JournalUpdate is some transformation of a Journal. It can do I/O or  raise an error. 4,any trailing comments from the journal file 50the context (parse state) at the end of parsing 6+the file path and raw text of the main and . any included journal files. The main file is - first followed by any included files in the 6 order encountered (XXX reversed, cf journalAddFile). 71when this journal was last read from its file(s) 8)how to display amounts in each commodity 9 A journal context0 is some data which can change in the course of I parsing a journal. An example is the default year, which changes when a G Y directive is encountered. At the end of parsing, the final context / is saved for later use by eg the add command. ;0the default year most recently specified with Y <Fthe default commodity and amount style most recently specified with D =$the current stack of parent accounts/account name components  specified with account# directive(s). Concatenated, these = are the account prefix prepended to parsed account names. >3the current list of account name aliases in effect _this transaction'9s non-tag comment lines, as a single non-indented string athis transaction' s postings e this posting')s date, if different from the transaction's f this posting'3s secondary date, if different from the transaction's j this posting'9s non-tag comment lines, as a single non-indented string mAoptional: the expected balance in the account after this posting n this posting'+s parent transaction (co-recursive types). 4 Tying this knot gets tedious, Maybe makes it easier/ optional. z*the (fixed) price for this amount, if any |Display style for an amount. ~2does the symbol appear on the left or the right ? $space between symbol and quantity ? 3number of digits displayed after the decimal point  character used as decimal point :character used for separating digit groups (eg thousands) Jpositions of digit group separators, counting leftward from decimal point  An amount'9s price (none, per unit, or total) in another commodity. L Note the price should be a positive number, although this is not enforced.  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~QR !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~|}~vwxyz{tupsrqocdefghijklmnXYZ[\]^_`abTUVWPQRSJONMLKEFGHI@ABCD?9:;<=>-./012345678,+&'()*%$#"! !%$#"! &'()*+,- ./0123456789:;<=>?@ABCDEFGHIJONMLKPQRSTUVWX YZ[\]^_`abc defghijklmnopsrqtuvwxyz{|}~QRNone STUVWXYZ !"#$%%$#"! STUVWXYZNone*?An efficient-to-build tree suggested by Cale Gibbard, probably " better than accountNameTreeFrom. $Wrap a string in single quotes, and -prefix any embedded single A quotes, if it contains whitespace and is not already single- or  double-quoted. "Quote-aware version of words - don'+t split on spaces which are inside quotes.  NB correctly handles a'b but not ''a'''. Can raise an error if parsing fails. OQuote-aware version of unwords - single-quote strings which contain whitespace DSingle-quote this string if it contains whitespace or double-quotes LStrip one matching pair of single or double quotes on the ends of a string. \Join multi-line strings as side-by-side rectangular strings of the same height, top-padded. _Join multi-line strings as side-by-side rectangular strings of the same height, bottom-padded. .Compose strings vertically and right-aligned. XConvert a multi-line string to a rectangular string top-padded to the specified height. [Convert a multi-line string to a rectangular string bottom-padded to the specified height. XConvert a multi-line string to a rectangular string left-padded to the specified width. YConvert a multi-line string to a rectangular string right-padded to the specified width. NClip a multi-line string to the specified width and height from the top left. IClip and pad a multi-line string to fill the specified width and height. #List just the leaf nodes of a tree Iget the sub-tree rooted at the first (left-most, depth-first) occurrence  of the specified node value Cget the sub-tree for the specified node value in the first tree in  forest in which it occurs. &remove all nodes past a certain depth apply f to all tree nodes 9remove all subtrees whose nodes do not fulfill predicate (is predicate true in any node of tree ? .show a compact ascii representation of a tree 0show a compact ascii representation of a forest 9trace (print on stdout at runtime) a showable expression < (for easily tracing in the middle of a complex expression) >labelled trace showable - like strace, with a label prepended Gmonadic trace - like strace, but works as a standalone line in a monad 1trace an expression using a custom show function @Parsec trace - show the current parsec position and next input,  and the provided string if it' s non-null. ;Print a message to the console if the global debugLevel is , greater than the level we are called with. ?Print a message and parsec position info to the console if the A global debugLevel is greater than the level we are called with. 0 pdbg :: GenParser m => Float -> String -> m () @Backtracking choice, use this when alternatives share a prefix. ( Consumes no input if all choices fail.  Get a Test's label, or the empty string. AFlatten a Test containing TestLists into a list of single tests. CFilter TestLists in a Test, recursively, preserving the structure. FSimple way to assert something is some expected value, with no label. JAssert a parse result is successful, printing the parse error on failure. JAssert a parse result is successful, printing the parse error on failure. SAssert a parse result is some expected value, printing the parse error on failure. KApply a function the specified number of times. Possibly uses O(n) stack ? UConvert a possibly relative, possibly tilde-containing file path to an absolute one, @ given the current directory. ~username is not supported. Leave - unchanged. \Read a file in universal newline mode, handling whatever newline convention it may contain. _f f  ^None  a:b:c,d:e -> [a,a:b,a:b:c,d,d:e] a:b:c -> [a,a:b,a:b:c]  a:b:c,d:e -> [a,d]  <From a list of account names, select those which are direct ( subaccounts of the given account name. +Convert a list of account names to a tree. 5Elide an account name to fit in the specified width.  From the ledger 2.6 news:  H What Ledger now does is that if an account name is too long, it will F start abbreviating the first parts of the account name down to two E letters in length. If this results in a string that is still too @ long, the front will be elided -- not the end. For example:  +Expenses:Cash ; OK, not too long  Ex:Wednesday:Cash ; Expenses was abbreviated to fit  Ex:We:Afternoon:Cash ; Expenses and  Wednesday abbreviated E ; Expenses:Wednesday:Afternoon:Lunch:Snack:Candy:Chocolate:Cash 7 ..:Af:Lu:Sn:Ca:Ch:Cash ; Abbreviated and elided! QConvert an account name to a regular expression matching it and its subaccounts. UConvert an account name to a regular expression matching it but not its subaccounts. NConvert an exact account-matching regular expression to a plain account name. JDoes this string look like an exact account-matching regular expression ?                     None%Look up one of the sample commodities' symbol by name. GFind the conversion rate between two commodities. Currently returns 1. None+The empty simple amount.  The empty simple amount. [>Apply a binary arithmetic operator to two amounts in the same F commodity. Warning, as a kludge to support folds (eg sum) we assign  the second';s commodity to the first so the same commodity requirement H is not checked. The highest precision of either amount is preserved in I the result. Any prices are currently ignored and discarded. The display I style is that of the first amount, with precision set to the highest of  either amount. &FConvert an amount to the specified commodity, ignoring and discarding 9 any assigned prices and assuming an exchange rate of 1. ')A more complete amount adding operation. ( Set an amount's unit price. ) Set an amount's total price. *JConvert an amount to the commodity of its assigned price, if any. Notes: i price amounts must be MixedAmounts with exactly one component Amount (or there will be a runtime error) I price amounts should be positive, though this is not currently enforced +Divide an amount's quantity by a constant. \0Is this amount negative ? The price is ignored. ]MDoes this amount appear to be zero when displayed with its given precision ? ^Is this amount really- zero, regardless of the display precision ? N Since we are using floating point, for now just test to some high precision. _BGet the string representation of an amount, based on its commodity's 8 display settings except using the specified precision. , Set an amount's display precision. - Set an amount's display precision, flipped. .GGet the unambiguous string representation of an amount, for debugging. /8Get the string representation of an amount, without any @ price. `SGet the string representation of an amount, without any price or commodity symbol. 0BGet the string representation of an amount, based on its commodity's A display settings. String representations equivalent to zero are  converted to just "0". aBGet the string representation of the number part of of an amount, 0 using the display settings from its commodity. bReplace a number string'.s decimal point with the specified character, I and add the specified digit group separators. The last digit group will  be repeated as needed. 1PFor rendering: a special precision value which means show all available digits. 2RFor rendering: a special precision value which forces display of a decimal point. 3Canonicalise an amount'8s display style using the provided commodity style map. 4The empty mixed amount. 5IA temporary value for parsed transactions which had no amount specified. 8Simplify a mixed amount',s component amounts: we can combine amounts I with the same commodity and unit price. Also remove any zero or missing E amounts and replace an empty amount list with a single zero amount. 9Simplify a mixed amount'*s component amounts: combine amounts with + the same commodity, using the first amount's price for subsequent D amounts in each commodity (ie, this function alters the amount and D is best used as a rendering helper.). Also remove any zero amounts = and replace an empty amount list with a single zero amount. :Get a mixed amount's component amounts. ;Convert a mixed amount'.s component amounts to the commodity of their  assigned price, if any. <Divide a mixed amount's quantities by a constant. =OIs this mixed amount negative, if it can be normalised to a single commodity ? >SDoes this mixed amount appear to be zero when displayed with its given precision ? ?Is this mixed amount really zero ? See isReallyZeroAmount. @Is this mixed amount really zero, after converting to cost  commodities where possible ? AAGet the string representation of a mixed amount, showing each of D its component amounts. NB a mixed amount can have an empty amounts  list in which case it shows as "". B*Compact labelled trace of a mixed amount. C'Set the display precision in the amount's commodities. DEGet the string representation of a mixed amount, showing each of its @ component amounts with the specified precision, ignoring their  commoditys' display precision settings. EJGet an unambiguous string representation of a mixed amount for debugging. F=Get the string representation of a mixed amount, but without  any @ prices. GCanonicalise a mixed amount'9s display styles using the provided commodity style map. HEGiven a list of amounts in parse order, build a map from commodities < to canonical display styles for amounts in that commodity. ? !"#$%[&'()c*+\d]^_,-./`ef0abg12345678h9i:;<=>?@ABCDEFGHIjklm, !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI, 5!"#$%()&*+'0./12,-3H467:98;<=>?@AEFDCGBI? !"#$%[&'()c*+\d]^_,-./`ef0abg12345678h9i:;<=>?@ABCDEFGHIjklmNoneKGet the current local date. L$Get the current local month number. MGet the current local year. OOSplit a DateSpan into one or more consecutive spans at the specified interval. PECount the days in a DateSpan, or if it is open-ended return Nothing. Q'Does the span include the given date ? RBCombine two datespans, filling any unspecified dates in the first  with dates from the second. S5Calculate the intersection of a number of datespans. T-Calculate the intersection of two datespans. U.Calculate the union of a number of datespans. V&Calculate the union of two datespans. WDParse a period expression to an Interval and overall DateSpan using 7 the provided reference date, or return a parse error. nEShow a DateSpan as a human-readable pseudo-period-expression string. & dateSpanAsText :: DateSpan -> String / dateSpanAsText (DateSpan Nothing Nothing) = all 6 dateSpanAsText (DateSpan Nothing (Just e)) = printf to %s (show e) 6 dateSpanAsText (DateSpan (Just b) Nothing) = printf from %s (show b) 6 dateSpanAsText (DateSpan (Just b) (Just e)) = printf %s to %s (show b) (show e) EConvert a single smart date string to a date span using the provided $ reference date, or raise an error. 6 spanFromSmartDateString :: Day -> String -> DateSpan E spanFromSmartDateString refdate s = spanFromSmartDate refdate sdate  where 5 sdate = fromparse $ parsewith smartdateonly s Y/Convert a smart date string to an explicit yyyy/mm/dd string using 1 the provided reference date, or raise an error. Z#A safe version of fixSmartDateStr. \KConvert a SmartDate to an absolute date using the provided reference date. ^6Parse a couple of date string formats to a time type. _7Parse a date string to a time type, or raise an error. oBParse a time string to a time type using the provided pattern, or  return the default. `4Parse a date in any of the formats allowed in ledger's period expressions, and maybe some others:   2004  2004/10  2004/10/1  10/1  21  october, oct  yesterday, today, tomorrow , this/next/last week/day/month/quarter/year NReturns a SmartDate, to be converted to a full date later (see fixSmartDate). :Assumes any text in the parse stream has been lowercased. pPLike smartdate, but there must be nothing other than whitespace after the date. dCMake a datespan from two valid date strings parseable by parsedate % (or raise an error). Eg: mkdatespan "201111" "20111231". WJKLMNOqPQRSTUVrsWXnYZ[\]tuvwxyz{|}~^_o`pabcdefgJKLMNOPQRSTUVWXYZ[\]^_`abcdefgKLMfQ^_JN]WegcbaTSVUR`O\YZ[PXdWJKLMNOqPQRSTUVrsWXnYZ[\]tuvwxyz{|}~^_o`pabcdefg None s Get a posting's (primary) date - it'!s own primary date if specified, ! otherwise the parent transaction'$s primary date, or the null date if ! there is no parent transaction. t Get a posting'5s secondary (secondary) date, which is the first of:  posting's secondary date, transaction's secondary date, posting's  primary date, transaction'-s primary date, or the null date if there is  no parent transaction. uAIs this posting cleared? If this posting was individually marked 8 as cleared, returns True. Otherwise, return the parent  transaction'+s cleared status or, if there is no parent  transaction, return False. vKTags for this posting including any inherited from its parent transaction. wXTags for this transaction including any inherited from above, when that is implemented. y4Does this posting fall within the given date span ? {BGet the minimal date span which contains all the postings, or the # null date span if there are none. <Prefix one account name to another, preserving posting type % indicators like concatAccountNames. 7Join account names into one. If any of them has () or [] posting type H indicators, these (the first type encountered) will also be applied to  the resulting account name. VRewrite an account name using the first applicable alias from the given list, if any. hijklmnopqrstuvwxyz{|}~hijklmnopqrstuvwxyz{|}~hijumnozpvwxsty{q|}~rklhijklmnopqrstuvwxyz{|}~ None =Derive an account tree with balances from a set of postings.  (*ledger':s core feature.) The accounts are returned in a list, but E retain their tree structure; the first one is the root of the tree. /Convert an AccountName tree to an Account tree Tie the knot so all subaccounts' parents are set correctly. Get this account'4s parent accounts, from the nearest up to the root. 5List the accounts at each level of the account tree. JMap a (non-tree-structure-modifying) function over this and sub accounts. BIs the predicate true on any of this account or its subaccounts ? 6Add subaccount-inclusive balances to an account tree.  -- , also noting F -- whether it has an interesting balance or interesting subs to help  -- with eliding later. .Remove all subaccounts below a certain depth. <Remove all leaf accounts and subtrees matching a predicate. 8Flatten an account tree into a list, which is sometimes 6 convenient. Note since accounts link to their parents/ subs, the 6 account tree remains intact and can still be used. It's a tree/list! $Filter an account tree (to a list).  Search an account list by name.  NoneGShow a journal transaction, formatted for the print command. ledger 2.x's !standard format looks like this:  yyyymmdd[ *][ CODE]: description......... [ ; comment...............] O account name 1..................... ...$amount1[ ; comment...............] O account name 2..................... ..$-amount1[ ; comment...............]  Dpcodewidth = no limit -- 10 -- mimicking ledger layout. 0pdescwidth = no limit -- 20 -- I don't remember what these mean, Lpacctwidth = 35 minimum, no maximum -- they were important at the time. pamtwidth = 11 pcommentwidth = no limit -- 22 =Show an account name, clipped to the given width if any, and  appropriately bracketed/*parenthesised for the given posting type. Get the sums of a transaction'0s real, virtual, and balanced virtual postings. 5Is this transaction balanced ? A balanced transaction's real D (non-virtual) postings sum to 0, and any balanced virtual postings  also sum to 0. BEnsure this transaction is balanced, possibly inferring a missing 9 amount or conversion price, or return an error message. DBalancing is affected by commodity display precisions, so those may  be provided. @We can infer a missing real amount when there are multiple real > postings and exactly one of them is amountless (likewise for D balanced virtual postings). Inferred amounts are converted to cost  basis when possible. DWe can infer a conversion price when all real amounts are specified  and the sum of real postings' amounts is exactly two B non-explicitly-priced amounts in different commodities (likewise ! for balanced virtual postings). Ensure a transaction's postings refer back to it.  Set a posting's parent transaction.  NoneCConvert time log entries to journal transactions. When there is no E clockout, add one with the provided current time. Sessions crossing ? midnight are split into days to give accurate per-day totals. FConvert a timelog clockin and clockout entry to an equivalent journal S transaction, representing the time expenditure. Note this entry is not balanced,  since we omit the " assets:time"! transaction for simpler output.  None*A query option changes a query 's/report'$s behaviour and output in some way. :as above but include sub-accounts in the account register M | QueryOptCostBasis -- ^ show amounts converted to cost where possible E | QueryOptDate2 -- ^ show secondary dates instead of primary dates 2show an account register focussed on this account BA query is a composition of search criteria, which can be used to 2 match postings, transactions, accounts and more. 4match if a tag with this exact name, and with value ) matching the regexp if provided, exists ;match if account depth is less than or equal to this value "if true, show zero-amount postings/%accounts which are usually not shown 2 more of a query option than a query criteria ? match if the amount's numeric quantity is less than greater thanequal to some value  match if realness8 (involves a real non-virtual account ?) has this value 'match if cleared status has this value *match if secondary date in this date span (match if primary date in this date span 1match postings whose account matches this regexp )match if description matches this regexp "match if code matches this regexp match if all of these match match if any of these match negate this match  never match  always match CConvert a query expression containing zero or more space-separated J terms to a query and zero or more query options. A query term is either:  < a search pattern, which matches on one or more fields, eg: Cacct:REGEXP - match the account name with a regular expression : desc:REGEXP - match the transaction description @ date:PERIODEXP - match the date with a period expression BThe prefix indicates the field to match, or if there is no prefix  account name is assumed.  @ a query option, which modifies the reporting behaviour in some F way. There is currently one of these, which may appear only once: inacct:FULLACCTNAME CThe usual shell quoting rules are assumed. When a pattern contains H whitespace, it (or the whole term including prefix) should be enclosed  in single or double quotes. FPeriod expressions may contain relative dates, so a reference date is  required to fully parse these. (Multiple terms are combined as follows: $ 1. multiple account patterns are OR' d together ( 2. multiple description patterns are OR' d together  3. then all terms are AND' d together -Quote-and-prefix-aware version of words - don't split on spaces which I are inside quotes, including quotes which may have one of the specified J prefixes in front, and maybe an additional not: prefix in front of that. ?Parse a single query term as either a query or a query option. "Parse the boolean value part of a status: query, allowing * as @ another way to spell True, similar to the journal file format. "Parse the boolean value part of a status: query. A true value can  be spelled as 1, t or true. ERemove query terms (or whole sub-expressions) not matching the given : predicate from this query. XXX Semantics not yet clear. #Does this query match everything ? BDoes this query specify a start date and nothing else (that would & filter postings prior to the date) ? D When the flag is true, look for a starting secondary date instead. FWhat start date (or secondary date) does this query specify, if any ? D For OR expressions, use the earliest of the dates. NOT is ignored. BWhat date span (or secondary date span) does this query specify ? C For OR expressions, use the widest possible span. NOT is ignored. DExtract all date (or secondary date) spans specified in this query.  NOT is ignored. AWhat is the earliest of these dates, where Nothing is earliest ? ?What is the latest of these dates, where Nothing is earliest ? .Compare two maybe dates, Nothing is earliest. AThe depth limit this query specifies, or a large number if none. MThe empty (zero amount) status specified by this query, defaulting to false. XThe account we are currently focussed on, if any, and whether subaccounts are included. ' Just looks at the first query option. AA query for the account(s) we are currently focussed on, if any. ' Just looks at the first query option. /Does the match expression match this account ? 3 A matching in: clause is also considered a match. /Does the match expression match this posting ? Is this simple mixed amount'>s quantity less than, equal to, or greater than this number ? N For complext mixed amounts (with multiple commodities), this is always true. 3Does the match expression match this transaction ? E%%3None(All account names used in this journal. A query for Profit & Loss accounts in this journal.  Cf  Ghttp://en.wikipedia.org/wiki/Chart_of_accounts#Profit_.26_Loss_accounts. 7A query for Income (Revenue) accounts in this journal. < This is currently hard-coded to the case-insensitive regex ^(income|revenue)s?(:|$). .A query for Expense accounts in this journal. < This is currently hard-coded to the case-insensitive regex ^expenses?(:|$). A query for Asset, Liability &" Equity accounts in this journal.  Cf  Ehttp://en.wikipedia.org/wiki/Chart_of_accounts#Balance_Sheet_Accounts. ,A query for Asset accounts in this journal. < This is currently hard-coded to the case-insensitive regex  ^assets?(:|$). 0A query for Liability accounts in this journal. < This is currently hard-coded to the case-insensitive regex ^liabilit(y|ies)(:|$). -A query for Equity accounts in this journal. < This is currently hard-coded to the case-insensitive regex  ^equity(:|$). =A query for Cash (-equivalent) accounts in this journal (ie, F accounts which appear on the cashflow statement.) This is currently I hard-coded to be all the Asset accounts except for those containing the  case-insensitive regex  (receivable|A/R). 2Keep only postings matching the query expression. ) This can leave unbalanced transactions. 6Keep only transactions matching the query expression. ZApply additional account aliases (eg from the command-line) to all postings in a journal. FDo post-parse processing on a journal to make it ready for use: check G all transactions balance, canonicalise amount formats, close any open  timelog entries and so on. @Check any balance assertions in the journal and return an error  message if any of them fail. DFill in any missing amounts and check that all journal transactions E balance, or return an error message. This is done after parsing all D amounts and working out the canonical commodities, since balancing I depends on display precision. Reports only the first error encountered. Convert all the journal')s posting amounts (not price amounts) to > their canonical display settings. Ie, all amounts in a given C commodity will use (a) the display settings of the first, and (b) C the greatest precision, of the posting amounts in that commodity. Get this journal'Es canonical amount style for the given commodity, or the null style. QClose any open timelog sessions in this journal using the provided current time. Convert all this journal'4s amounts to cost by applying their prices, if any. Get all this journal'(s (mixed) amounts, in the order parsed. Get all this journal'2s component amounts, roughly in the order parsed. 7The (fully specified) date span containing this journal's transactions, 0 or DateSpan Nothing Nothing if there are none. !Check if a set of hledger account/(description filter patterns matches the I given account name or entry description. Patterns are case-insensitive E regular expressions. Prefixed with not:, they become anti-patterns. -  -None Filter a journal'3s transactions with the given query, then derive a D ledger containing the chart of accounts and balances. If the query 4 includes a depth limit, that will affect the ledger's journal but not  the account tree.  List a ledger's account names. %Get the named account from a ledger. Get this ledger'!s root account, which is a dummy root account D above all others. This should always be first in the account list, - if somehow not this returns a null account.  List a ledger'?s top-level accounts (the ones below the root), in tree order.  List a ledger':s bottom-level (subaccount-less) accounts, in tree order. BAccounts in ledger whose name matches the pattern, in tree order.  List a ledger'!s postings, in the order parsed. 9The (fully specified) date span containing all the ledger's (filtered) transactions, 0 or DateSpan Nothing Nothing if there are none. %All commodities used in this ledger.   Nonec !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None1Does the given file path and data provide hledger's journal file format ? Parse and post-process a Journal from hledger's journal file  format, or give an error. Flatten a list of JournalUpdate' s into a single equivalent one. KGiven a JournalUpdate-generating parsec parser, file path and data string, , parse and post-process a Journal so that it'"s ready to use, or give an error. 7Top-level journal parser. Returns a single composite, I/O performing,  error-raising  JournalUpdate (and final JournalContext) which can be 6 applied to an empty journal to get the final result. +Parse a (possibly unbalanced) transaction. Parse a date in YYYYMM.DD format. Fewer digits are allowed. The year 8 may be omitted if a default year has already been set. Parse a date and time in YYYYMM DD HH:MM[:SS][+-ZZZZ] format. Any E timezone will be ignored; the time is treated as local time. Fewer H digits are allowed, except in the timezone. The year may be omitted if & a default year has already been set. ?Parse an account name, then apply any parent account prefix and/(or account aliases currently in effect. CParse an account name. Account names may have single spaces inside I them, and are terminated by two or more spaces. They should have one or E more components of at least one character, separated by the account  separator char. @Parse whitespace then an amount, with an optional left or right ; currency symbol and optional price, or return the special  missing marker amount. EParse a single-commodity amount, with optional symbol on the left or = right, optional unit or total price, and optional (ignored) @ ledger-style balance assertion or fixed lot price declaration. 0Parse an amount from a string, or get an error. 5Parse a mixed amount from a string, or get an error. EParse a numeric quantity for its value and display attributes. Some " international number formats (cf  http:en.wikipedia.orgwiki(Decimal_separator) are accepted: either E period or comma may be used for the decimal point, and the other of I these may be used for separating digit groups in the integer part (eg a F thousands separator). This returns the numeric value, the precision I (number of digits to the right of the decimal point), the decimal point H and separator characters (defaulting to . and ,), and the positions of C separators (counting leftward from the decimal point, the last is  assumed to repeat). E     E     None6Does the given file path and data provide timeclock.el's timelog format ? Parse and post-process a Journal from timeclock.el' s timelog H format, saving the provided file path and the current time, or give an  error.  Parse a timelog entry.  !"       !"  None #FA set of data definitions and account-matching patterns sufficient to Iconvert a particular CSV data file into meaningful journal transactions. $2Does the given file path and data look like CSV ? %Parse and post-process a Journal" from CSV data, or give an error. ? XXX currently ignores the string and reads from the file path &ERead a Journal from the given CSV data (and filename, used for error 4 messages), or return an error. Proceed as follows:    1. parse the CSV data H 2. identify the name of a file specifying conversion rules: either use G the name provided, derive it from the CSV filename, or raise an error  if the CSV filename is -. = 3. auto-create the rules file with default rules if it doesn't exist  4. parse the rules file 9 5. convert the CSV records to a journal using the rules   ';Return the cleaned up and validated CSV data, or an error. (FEnsure there is a conversion rules file at the given path, creating a 8 default one if needed and returning True in this case. ))Return the validated rules, or an error. *<Show a (approximate) recreation of the original CSV record. +NGiven the conversion rules, a CSV record and a journal entry field name, find E the template value ultimately assigned to this field, either at top > level or in a matching conditional block. Conditional blocks' C patterns are matched against an approximation of the original CSV 8 record: all the field values with commas intercalated. F ,-./01234#56789 :$%&;' <(=>?@ABCDEF)GHIJKLMNOPQRSTUVWXYZ[\]^_*+`ab      A ,-./01234#56789 :$%&;' <(=>?@ABCDEF)GHIJKLMNOPQRSTUVWXYZ[\]^_*+`abNone "All the data formats we can read.  formats = map rFormat readers @Get the default journal file path specified by the environment. < Like ledger, we look first for the LEDGER_FILE environment = variable, and if that does not exist, for the legacy LEDGER A environment variable. If neither is set, or the value is blank, ) return the hard-coded default, which is .hledger.journal in the  users'<s home directory (or in the current directory, if we cannot  determine a home directory). ORead the default journal file specified by the environment, or raise an error. ZRead a journal from the given string, trying all known formats, or simply throw an error. KRead a journal from this string, trying whatever readers seem appropriate: 0 if a format is specified, try that reader only H or if one or more readers recognises the file path and data, try those  otherwise, try them all. MA CSV conversion rules file may also be specified for use by the CSV reader. c\Which readers are worth trying for this (possibly unspecified) format, filepath, and data ? dCFind the (first) reader which can handle the given format, if any. eSFind the readers which think they can handle the given file path and data, if any. FRead a Journal from this file (or stdin if the filename is -) or give G an error message, using the specified data format or trying all known B formats. A CSV conversion rules file may be specified for better  conversion of that format. MIf the specified journal file does not exist, give a helpful error and quit. SEnsure there is a journal file at the given path, creating an empty one if needed. f6Give the content for a new auto-created journal file. ghijkcdefghijkcdefNone>An accounts report is a list of account names (full and short I variants) with their balances, appropriate indentation for rendering as  a hierarchy, and grand total. 6A transactions report includes a list of transactions I (posting-filtered and unfiltered variants), a running balance, and some A other information helpful for rendering a register view (a flag D indicating multiple other accounts and a display string describing 7 them) with or without a notion of current account(s). FA postings report is a list of postings with a running total, a label R for the total field, and a little extra transaction info to help with rendering. !<A journal entries report is a list of whole transactions as ? originally entered in the journal (mostly). Used by eg hledger's print  command and hledger-web's journal entries view. $>Standard options for customising report filtering and output,  corresponding to hledger'*s command-line options and query language + arguments. Used in hledger-lib and above. >;Figure out the date span we should report on, based on any  beginend>period options provided. A period option will cause begin and  end options to be ignored. ?EFigure out the reporting interval, if any, specified by the options. H --period overrides --daily overrides --weekly overrides --monthly etc. @1Get a maybe boolean representing the last cleared/uncleared option if any. A6Report which date we will report on based on --date2. l7Select the Transaction date accessor based on --date2. m3Select the Posting date accessor based on --date2. BConvert this journal' s postings'& amounts to the cost basis amounts if  specified by options. C1Convert report options and arguments to a query. D7Convert report options and arguments to query options. E+Select transactions for an entries report. FCSelect postings from the journal and add running balance and other : information to make a postings report. Used by eg hledger's register command. n%Generate postings report line items. G@Generate one postings report line item, containing the posting, A the current running balance, and optionally the posting date and/or  the transaction description. oKDate-sort and split a list of postings into three spans - postings matched L by the given display expression, and the preceding and following postings. ] XXX always sorts by primary date, should sort by secondary date if expression is about that pBDoes this display expression allow this posting to be displayed ? . Raises an error if the display expression can' t be parsed. qEParse a hledger display expression, which is a simple date test like  d>[DATE] or  d<=[DATE], and return a Posting-matching predicate. rCConvert a list of postings into summary postings. Summary postings H are one per account per interval and aggregated to the specified depth  if any. sDGiven a date span (representing a reporting interval) and a list of E postings within it: aggregate the postings so there is only one per  account, and adjust their date/%description so that they will render ! as a summary for this interval. DAs usual with date spans the end date is exclusive, but for display = purposes we show the previous day as end date, like ledger. BWhen a depth argument is present, postings to accounts of greater & depth are aggregated where possible. EThe showempty flag includes spans with no postings and also postings  with 0 amount. KFSelect transactions from the whole journal for a transactions report,  with no "current"' account. The end result is similar to  postingsReport5 except it uses queries and transaction-based report B items and the items are most recent first. Used by eg hledger-web's  journal view. L'Select transactions within one or more "current" accounts, and make a ? transactions report relative to those account(s). This means:  I it shows transactions from the point of view of the current account(s). K The transaction amount is the amount posted to the current account(s).  The other accounts' names are provided. E With no transaction filtering in effect other than a start date, it N shows the accurate historical running balance for the current account(s). 6 Otherwise it shows a running total starting at 0. GCurrently, reporting intervals are not supported, and report items are * most recent first. Used by eg hledger-web's account register view. t@Generate transactions report items from a list of transactions, I using the provided query and current account queries, starting balance, 5 sign-setting function and balance-summing function. u9Generate a short readable summary of some postings, like  from (negatives) to (positives). v.Generate a simplified summary of some postings' accounts. MCSelect accounts, and get their balances at the end of the selected @ period, and misc. display information, for an accounts report. w>In an account tree with zero-balance leaves removed, mark the D elidable parent accounts (those with one subaccount and no balance  of their own). NFGet the historical running inclusive balance of a particular account, ' from earliest to latest posting date. % XXX Accounts should know the Ledger & Journal they came from P !"#$%&'()*+,-./0123456789:;<=>?@AlmBCxDyEzF{|nGopqr}sH~IJKLtuvMwNO6 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO6$%&'()*+,-./0123456789:;<#"=>?@ABCD! EFGHIJKLMNO8 !"#$%&'()*+,-./0123456789:;<=>?@AlmBCxDyEzF{|nGopqr}sH~IJKLtuvMwNONoneP2  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPPP !"!#!$%&'()*+,--./00123456789:;<=>?@AABCDEFGGHIJKLMNOPQRSTUVWXYYZ[\]]^_`abcdefgghijjklmmnopqrstuvwwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw x y z { | } ~                                                                                                      !"#$%&'()*+,-./00123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                        !"#$%&'()*+,-./0123456789:+;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~hledger-lib-0.21 Hledger.UtilsHledger.Utils.UTF8IOCompatHledger.Data.TypesHledger.Data.FormatStringsHledger.Data.AccountNameHledger.Data.CommodityHledger.Data.AmountHledger.Data.DatesHledger.Data.PostingHledger.Data.AccountHledger.Data.TransactionHledger.Data.TimeLog Hledger.QueryHledger.Data.JournalHledger.Data.Ledger Hledger.DataHledger.Read.JournalReaderHledger.Read.TimelogReaderHledger.Read.CsvReader Hledger.ReadHledger.ReportsHledgerbase Debug.Tracetrace System.IO appendFile writeFilereadFile getContentsputStrLnputStrGHC.IO.Handle.Text hPutStrLnhPutStr hGetContentspretty-show-1.5Text.Show.PrettyppShow SystemStringfromSystemStringtoSystemStringerror' userError'Ledgerljournal laccountsAccountaname aebalanceasubs aibalanceaparentaboring FormatString FormatField FormatLiteralHledgerFormatFieldFieldNoDepthSpacerField TotalFieldDescriptionFieldDefaultDateField AccountFieldReaderrFormat rDetectorrParserFormat JournalUpdateJournal jmodifiertxns jperiodictxnsjtxnsopen_timelog_entrieshistorical_pricesfinal_comment_linesjContextfiles filereadtimejcommoditystylesJournalContextCtxctxYearctxCommodityAndStyle ctxAccount ctxAliasesYearHistoricalPricehdate hcommodityhamount TimeLogEntrytlcode tldatetime tlcomment TimeLogCodeFinalOutOutInSetRequiredHours SetBalancePeriodicTransactionptperiodicexpr ptpostingsModifierTransaction mtvalueexpr mtpostings Transactiontdatetdate2tstatustcode tdescriptiontcommentttags tpostingstpreceding_comment_linesPostingpdatepdate2pstatuspaccountpamountpcommentptypeptagspbalanceassertion ptransactionTag PostingTypeBalancedVirtualPostingVirtualPostingRegularPosting MixedAmountMixedAmount acommodity aquantityapriceastyle AmountStyleascommoditysideascommodityspaced asprecisionasdecimalpoint asseparatorasseparatorpositionsPrice TotalPrice UnitPriceNoPriceQuantity CommoditySideRL AccountNameInterval DayOfWeek DayOfMonthYearsQuartersMonthsWeeksDays NoIntervalDateSpan WhichDate SecondaryDate PrimaryDate SmartDate formatValueparseFormatString formatStringstestsFastTreeT lowercase uppercasestriplstriprstrip stripbrackets elideLeft elideRight underline quoteIfSpacedescapeSingleQuotes escapeQuoteswords'unwords'singleQuoteIfNeededwhitespacechars stripquotesisSingleQuotedisDoubleQuoted unbracketconcatTopPaddedconcatBottomPaddedvConcatRightAlignedpadtop padbottompadleftpadright cliptopleftfitto difforzero regexMatch regexMatchCI regexMatchesregexMatchesCI containsRegex regexReplaceregexReplaceCIregexReplaceByregexToCaseInsensitive regexSplitregexMatchesRegexCompatregexMatchesCIRegexCompatsplitAtElementrootsubsbranchesleaves subtreeatsubtreeinforest treeprunetreemap treefiltertreeanyshowtree showforest emptyTree mergeTrees treeFromPath treeFromPathsstracelstracemtrace tracewithptrace debugLeveldbgpdbgchoice' parsewith parseWithCtx fromparse parseerrorshowParseErrorshowDateParseErrornonspacespacenonewline restoflineeolofgetCurrentLocalTimetestName flattenTests filterTestsis assertParseassertParseFailureassertParseEqualprintParseErrorisLeftisRightapplyN expandPath firstJust readFile' acctsepcharaccountNameComponentsaccountNameFromComponentsaccountLeafNameaccountNameLevelaccountNameDropexpandAccountNamesexpandAccountNametopAccountNamesparentAccountNameparentAccountNamesisAccountNamePrefixOfisSubAccountNameOfsubAccountNamesFromaccountNameTreeFromnullaccountnametreeelideAccountNameclipAccountNameaccountNameToAccountRegexaccountNameToAccountOnlyRegexaccountRegexToAccountNameisAccountRegextests_Hledger_Data_AccountNamenonsimplecommoditycharsquoteCommoditySymbolIfNeeded commoditycommoditysymbolscommconversionRatetests_Hledger_Data_Commodity amountstyleamountnullamtnumusdeurgbphrsamountWithCommodity sumAmountsat@@ costOfAmount divideAmountsetAmountPrecision withPrecisionshowAmountDebugshowAmountWithoutPrice showAmount maxprecisionmaxprecisionwithpointcanonicaliseAmount nullmixedamt missingamtmissingmixedamtmixed$normaliseMixedAmountPreservingPrices(normaliseMixedAmountPreservingFirstPriceamountscostOfMixedAmountdivideMixedAmountisNegativeMixedAmountisZeroMixedAmountisReallyZeroMixedAmountisReallyZeroMixedAmountCostshowMixedAmount ltraceamountsetMixedAmountPrecisionshowMixedAmountWithPrecisionshowMixedAmountDebugshowMixedAmountWithoutPricecanonicaliseMixedAmountcanonicalStylestests_Hledger_Data_AmountshowDate getCurrentDaygetCurrentMonthgetCurrentYearelapsedSeconds splitSpan daysInSpanspanContainsDate orDatesFromspansIntersect spanIntersect spansUnion spanUnionparsePeriodExpr maybePeriodfixSmartDateStrfixSmartDateStrEitherfixSmartDateStrEither' fixSmartDateprevday parsedateM parsedate smartdate datesepchars datesepcharfailIfInvalidYear mkdatespan nulldatespannulldatetests_Hledger_Data_Dates nullpostingpostingpost showPosting showCommentisReal isVirtualisBalancedVirtual hasAmountaccountNamesFromPostings sumPostings postingDate postingDate2postingClearedpostingAllTagstransactionAllTagsrelatedPostingsisPostingInDateSpanisEmptyPostingpostingsDateSpanaccountNamePostingTypeaccountNameWithoutPostingTypeaccountNameWithPostingTypejoinAccountNamesconcatAccountNamesaccountNameApplyAliasestests_Hledger_Data_PostingnullacctaccountsFromPostingsnameTreeToAccounttieAccountParentsparentAccountsaccountsLevels mapAccounts anyAccounts sumAccounts clipAccounts pruneAccountsflattenAccountsfilterAccounts lookupAccount printAccounts showAccountsshowAccountsBoringFlagshowAccountDebugtests_Hledger_Data_AccountnulltransactionshowTransactionshowTransactionUnelidedshowAccountNamehasRealPostings realPostingsvirtualPostingsbalancedVirtualPostingstransactionsPostingstransactionPostingBalancesisTransactionBalancedbalanceTransactiontransactionDate2 txnTieKnottests_Hledger_Data_TransactiontimeLogEntriesToTransactionsentryFromTimeLogInOuttests_Hledger_Data_TimeLogQueryOptQueryOptInAcctQueryOptInAcctOnlyQueryDepthEmptyAmtRealStatusDate2DateAcctDescCodeAndOrNotNoneAny parseQuery simplifyQuery filterQuery queryIsNull queryIsDepth queryIsDatequeryIsStartDateOnlyqueryStartDate queryDateSpan queryDepth queryEmpty inAccountinAccountQuerymatchesAccountmatchesPostingmatchesTransactiontests_Hledger_Query nulljournalnullctxjournalFilePathjournalFilePathsaddTransactionaddModifierTransactionaddPeriodicTransactionaddHistoricalPriceaddTimeLogEntryjournalPostingsjournalAccountNamesUsedjournalAccountNames journalProfitAndLossAccountQueryjournalIncomeAccountQueryjournalExpenseAccountQueryjournalBalanceSheetAccountQueryjournalAssetAccountQueryjournalLiabilityAccountQueryjournalEquityAccountQueryjournalCashAccountQueryfilterJournalPostingsfilterJournalTransactionsjournalApplyAliasesjournalFinalisejournalBalanceTransactionsjournalCanonicaliseAmountsjournalConvertAmountsToCostjournalAmountsjournalDateSpan matchpats samplejournaltests_Hledger_Data_Journal nullledgerledgerFromJournalledgerAccountNames ledgerAccountledgerRootAccountledgerTopAccountsledgerLeafAccountsledgerAccountsMatchingledgerPostingsledgerDateSpanledgerCommoditiestests_ledgerFromJournaltests_Hledger_Data_Ledgertests_Hledger_DatareaderparseJournalWithgetParentAccountjournal directivedefaultyeardirectivehistoricalpricedirectivedatetimecode accountnameamountpamountp' mamountp' emptyline tests_Hledger_Read_TimelogReader CsvRecord rulesFileForparseRulesFiletransactionFromCsvRecordtests_Hledger_Read_CsvReaderdefaultJournalPathdefaultJournal readJournal' readJournalreadJournalFilerequireJournalFileExistsensureJournalFileExiststests_Hledger_ReadAccountsReportItemAccountsReportTransactionsReportItemTransactionsReportPostingsReportItemPostingsReportEntriesReportItem EntriesReport FormatStr DisplayExp ReportOptsbegin_end_period_cleared_ uncleared_cost_depth_display_date2_empty_ no_elide_real_flat_drop_ no_total_daily_weekly_monthly_ quarterly_yearly_format_related_query_ defreportoptsdateSpanFromOptsintervalFromOptsclearedValueFromOptswhichDateFromOptsjournalSelectingAmountFromOpts queryFromOptsqueryOptsFromOpts entriesReportpostingsReportmkpostingsReportItemtriDatetriSimpleBalancetransactionsReportByCommodityjournalTransactionsReportaccountTransactionsReportaccountsReportaccountBalanceHistorytests_Hledger_Reports tests_Hledger $fShowReader $fEqPostingfield formatField formatLiteral formatString testFormat testParserformattingTests parserTestssimilarAmountsOpisNegativeAmount isZeroAmountisReallyZeroAmountshowAmountWithPrecision!showAmountWithoutPriceOrCommodityshowamountquantitypunctuatenumbertests_sumAmountsdigits showPriceshowPriceDebug chopdotzero*tests_normaliseMixedAmountPreservingPricessumAmountsUsingFirstPrice$fNumMixedAmount$fShowMixedAmount $fNumAmount $fShowAmountspanFromSmartDate parsetimewith smartdateonly splitspanlatestearliestnextday startofdaythisweekprevweeknextweek startofweek thismonth prevmonth nextmonth startofmonth thisquarter prevquarter nextquarterstartofquarterthisyearprevyearnextyear startofyearnthdayofmonthcontainingnthdayofweekcontaining validYear validMonthvalidDayfailIfInvalidMonthfailIfInvalidDayyyyymmddymdymydmdmonths monthabbrevs monthIndexmonIndexmonthmontoday yesterdaytomorrowlastthisnextthing periodexprintervalanddateperiodexprintervalperiodexprdateperiodexprreportingintervalperiodexprdatespandoubledatespan fromdatespan todatespan justdatespan $fShowPosting $fEqAccount $fShowAccountsettxntests_showTransactionUnelidedshowTransaction' commentLinespostingsAsLinespostingAsLinestests_postingAsLinesindentnonzerobalanceerror$fShowPeriodicTransaction$fShowModifierTransaction$fShowTransaction$fReadTimeLogCode$fShowTimeLogCode$fShowTimeLogEntrywords''parseQueryTerm parseStatus parseBoolqueryDateSpansearliestMaybeDatelatestMaybeDatecompareMaybeDatescompareMixedAmounttests_parseQuery tests_words''prefixes defaultprefixtests_parseQueryTermparseAmountTesttests_parseAmountTestparseTag truestringstests_simplifyQuerysame filterQuery'tests_filterQuery queryIsDesc queryIsAcctqueryTermDateSpantests_matchesAccounttests_matchesPostingtests_matchesTransactionlookupTagByNamelookupTagByNameAndValue matchTagName matchTagValuejournalCheckBalanceAssertionsjournalCommodityStylejournalCloseTimeLogEntriesjournalMixedAmountsmainfilejournalAccountNameTree checkBalanceAssertionsForAccountcheckBalanceAssertionsplitAssertions negateprefix isnegativepatabspat $fShowJournal $fShowLedgerdetectparsecombineJournalUpdates transactiondatemodifiedaccountnamespaceandamountormissingnumberformatsetYeargetYearsetCommodityAndStylegetCommodityAndStylepushParentAccountpopParentAccountaddAccountAliasgetAccountAliasesclearAccountAliasesincludedirectivejournalAddFileaccountdirective enddirectivealiasdirectiveendaliasesdirective tagdirectiveendtagdirectivedefaultcommoditydirectiveignoredpricecommoditydirectivecommodityconversiondirectivemodifiertransactionperiodictransaction descriptionp secondarydatestatuspostingspostingpleftsymbolamountrightsymbolamountnosymbolamountcommoditysymbolquotedcommoditysymbolsimplecommoditysymbol priceamountbalanceassertion fixedlotpricefollowingcommentfollowingcommentline tagsInCommenttagsInCommentLinetagtagnametagvalueledgerDateSyntaxToTagsdateValueFromTagsdate2ValueFromTags timelogentry timelogFileCsvRulesreadJournalFromCsv validateCsvensureRulesFileExists validateRules showRecordgetEffectiveAssignmentRegexp DateFormat RecordMatcherConditionalBlock FieldTemplateJournalFieldName CsvFieldIndex CsvFieldName DirectiveName rdirectivesrcsvfieldindexes rassignmentsrconditionalblocksparseCsv csvFileFornewRulesFileContentrules addDirective addAssignment setIndexesAndAssignmentsFromListsetCsvFieldIndexesFromListaddAssignmentsFromListaddConditionalBlock getDirective parseCsvRulesrulespblankorcommentline blankline commentline commentchar directives directiveval fieldnamelist fieldnamequotedfieldname barefieldnamefieldassignmentjournalfieldnamejournalfieldnamesassignmentseparatorfieldvalconditionalblock recordmatcher matchoperatorpatternsregexp getAmountStrnegateIfParenthesised negateStrrenderTemplate#parseDateWithFormatOrDefaultFormats test_parser readersForreaderForFormatreadersForPathAndDatanewJournalContent journalEnvVarjournalEnvVar2journalDefaultFilenamereaderstests_readJournal'transactionDateFn postingDateFnpostingsReportItemspostingsMatchingDisplayExprdisplayExprMatchesdatedisplayexprsummarisePostingsByIntervalsummarisePostingsInDateSpanaccountTransactionsReportItemssummarisePostingssummarisePostingAccountsmarkBoringParentAccountstests_queryFromOptstests_queryOptsFromOptstests_entriesReport totallabel balancelabel!tests_summarisePostingsByInterval triAmount#filterTransactionsReportByCommodityfilterTransactionPostingsaccountsReportItemtests_postingsReporttests_accountsReportsamplejournal2$fDefaultReportOpts