Loading...
Searching...
No Matches
exprbase.h File Reference
#include "utils.h"
#include "amount.h"
+ Include dependency graph for exprbase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ledger::calc_error
 
class  ledger::compile_error
 
class  ledger::expr_base_t< ResultType >
 
class  ledger::parse_error
 
class  ledger::usage_error
 

Namespaces

namespace  ledger
 

Functions

template<typename ResultType >
std::ostream & ledger::operator<< (std::ostream &out, const expr_base_t< ResultType > &expr)
 

Detailed Description

Author
John Wiegley

This class provides basic behavior for all the domain specific expression languages used in Leger:

| Typename | Description | result_type | Derives | |----------—+-------------------------—+--------------—+----------—| | expr_t | Value expressions | value_t | | | predicate_t | Special form of expr_t | bool | expr_t | | query_t | Report queries | bool | predicate_t | | period_t | Time periods and durations | date_interval_t | | | draft_t | Partially filled xacts | xact_t * | | | format_t | Format strings | string | |

Definition in file exprbase.h.