Expand description
Report filter grammar: the operator names the server parser reads and the writer the visual builder emits them with.
Modules§
- fixtures
- Filter texts of every grammar form, shared by the tests of forms and its clients.
Structs§
- Amount
- A rational with a positive denominator.
- Fault
- The first refusal and where it is:
pathholds the index of each row on the way down from the list that was checked, empty for the list itself. - NotAn
Amount - The text is not in the number grammar of
Amount::parse. - Parse
Error - Why filter text did not parse, and the byte offset it went wrong at: the offending text, or the start of the form whose argument is bad.
Enums§
- Comparison
- Entity
- Filter
- A parsed filter. Ids stay text: the server checks them as UUIDs.
- Item
- One row or nested group of the visual builder.
- Logic
- Reason
- Restored
- What the visual builder can show of a filter text.
Constants§
- ACCOUNT_
EQ - ACCOUNT_
IN - ACCOUNT_
SUBTREE - ACCOUNT_
TAG_ EQ - AMOUNT_
EQ - AMOUNT_
GT - AMOUNT_
LT - AND
- COMMODITY_
EQ - COMMODITY_
IN - COUNTERPARTY_
EQ - COUNTERPARTY_
IN - NOT
- OR
- SPLIT_
TAG_ EQ - TRANSACTION_
TAG_ EQ - UNBUILDABLE
- Written when the builder holds a condition it cannot express. It is not in the grammar, so the server refuses the request instead of running a broader report than the one asked for.
Functions§
- check
- Checks the rows of the builder. No rows is no filter and is fine.
- check_
item - Checks one row or nested group.
- group_
sexpr - The filter text for the rows of the builder;
Nonefor an empty builder, which means no filter. A single child stands for its group. - item_
sexpr - The filter text for one builder row or group.
- restore
- Rows for
text; blank text is an empty builder.