#include <context.h>
Public Member Functions | |
string | location () const |
parse_context_t (const parse_context_t &context) | |
parse_context_t (const path &cwd) | |
parse_context_t (shared_ptr< std::istream > _stream, const path &cwd) | |
void | warning (const boost::format &what) const |
void | warning (const string &what) const |
Public Attributes | |
std::size_t | count |
std::istream::pos_type | curr_pos |
path | current_directory |
std::size_t | errors |
journal_t * | journal |
std::string | last |
std::istream::pos_type | line_beg_pos |
char | linebuf [MAX_LINE+1] |
std::size_t | linenum |
account_t * | master |
path | pathname |
scope_t * | scope |
std::size_t | sequence |
shared_ptr< std::istream > | stream |
Static Public Attributes | |
static const std::size_t | MAX_LINE = 4096 |
|
inlineexplicit |
Definition at line 78 of file context.h.
References count, current_directory, errors, linenum, master, scope, and sequence.
Referenced by parse_context_t().
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Definition at line 110 of file context.h.
References location(), and ledger::warning_func().
|
inline |
Definition at line 107 of file context.h.
References location(), and ledger::warning_func().
std::size_t ledger::parse_context_t::count |
Definition at line 74 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
std::istream::pos_type ledger::parse_context_t::curr_pos |
Definition at line 71 of file context.h.
Referenced by parse_context_t().
path ledger::parse_context_t::current_directory |
Definition at line 65 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
std::size_t ledger::parse_context_t::errors |
Definition at line 73 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
journal_t* ledger::parse_context_t::journal |
Definition at line 66 of file context.h.
Referenced by parse_context_t().
std::istream::pos_type ledger::parse_context_t::line_beg_pos |
Definition at line 70 of file context.h.
Referenced by parse_context_t().
char ledger::parse_context_t::linebuf[MAX_LINE+1] |
Definition at line 69 of file context.h.
Referenced by parse_context_t().
std::size_t ledger::parse_context_t::linenum |
Definition at line 72 of file context.h.
Referenced by location(), parse_context_t(), parse_context_t(), and parse_context_t().
account_t* ledger::parse_context_t::master |
Definition at line 67 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
|
static |
Definition at line 60 of file context.h.
Referenced by parse_context_t().
path ledger::parse_context_t::pathname |
Definition at line 64 of file context.h.
Referenced by location(), ledger::open_for_reading(), and parse_context_t().
scope_t* ledger::parse_context_t::scope |
Definition at line 68 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
std::size_t ledger::parse_context_t::sequence |
Definition at line 75 of file context.h.
Referenced by parse_context_t(), parse_context_t(), and parse_context_t().
shared_ptr<std::istream> ledger::parse_context_t::stream |
Definition at line 62 of file context.h.
Referenced by parse_context_t(), and parse_context_t().