#include <global.h>
Classes | |
struct | args_onlyoption_t |
struct | debug_option_t |
struct | helpoption_t |
struct | init_file_option_t |
struct | optionsoption_t |
struct | script_option_t |
struct | trace_option_t |
struct | verboseoption_t |
struct | verify_memoryoption_t |
struct | verifyoption_t |
struct | versionoption_t |
Static Public Attributes | |
static scope_t * | default_scope |
ledger::global_scope_t::global_scope_t | ( | char ** | envp | ) |
ledger::global_scope_t::~global_scope_t | ( | ) |
|
inlinevirtualinherited |
Reimplemented in ledger::report_t, ledger::child_scope_t, ledger::bind_scope_t, ledger::symbol_scope_t, and ledger::item_t.
Definition at line 104 of file scope.h.
Referenced by ledger::child_scope_t::define(), and ledger::bind_scope_t::define().
Implements ledger::scope_t.
Definition at line 66 of file global.h.
References ledger::downcast().
void ledger::global_scope_t::execute_command | ( | strings_list | args, |
bool | at_repl ) |
int ledger::global_scope_t::execute_command_wrapper | ( | strings_list | args, |
bool | at_repl ) |
true
if a command was actually executed; otherwise, it probably just resulted in setting some options. expr_t::func_t ledger::global_scope_t::look_for_command | ( | scope_t & | scope, |
const string & | verb ) |
expr_t::func_t ledger::global_scope_t::look_for_precommand | ( | scope_t & | scope, |
const string & | verb ) |
|
virtual |
Implements ledger::scope_t.
option_t< global_scope_t > * ledger::global_scope_t::lookup_option | ( | const char * | p | ) |
void ledger::global_scope_t::normalize_session_options | ( | ) |
|
inline |
Definition at line 117 of file global.h.
References pop_report().
|
inline |
Definition at line 91 of file global.h.
References assert, ledger::scope_t::default_scope, and report().
Referenced by pop_command().
char * ledger::global_scope_t::prompt_string | ( | ) |
|
inline |
|
inline |
Definition at line 87 of file global.h.
References ledger::scope_t::default_scope, and report().
strings_list ledger::global_scope_t::read_command_arguments | ( | scope_t & | scope, |
strings_list | args ) |
void ledger::global_scope_t::read_init | ( | ) |
|
inline |
Definition at line 83 of file global.h.
Referenced by pop_report(), and push_report().
|
inline |
Definition at line 122 of file global.h.
References ledger::downcast().
|
inlinevirtualinherited |
Reimplemented in ledger::context_scope_t.
Definition at line 109 of file scope.h.
References ledger::value_t::VOID.
Reimplemented in ledger::context_scope_t.
void ledger::global_scope_t::visit_man_page | ( | ) | const |
Referenced by ledger::global_scope_t::helpoption_t::handler_thunk().
ledger::global_scope_t::args_onlyoption_t ledger::global_scope_t::args_onlyhandler |
ledger::global_scope_t::debug_option_t ledger::global_scope_t::debug_handler |
|
staticinherited |
Definition at line 92 of file scope.h.
Referenced by pop_report(), and push_report().
ledger::global_scope_t::helpoption_t ledger::global_scope_t::helphandler |
ledger::global_scope_t::init_file_option_t ledger::global_scope_t::init_file_handler |
ledger::global_scope_t::optionsoption_t ledger::global_scope_t::optionshandler |
ledger::global_scope_t::script_option_t ledger::global_scope_t::script_handler |
ledger::global_scope_t::trace_option_t ledger::global_scope_t::trace_handler |
ledger::global_scope_t::verboseoption_t ledger::global_scope_t::verbosehandler |
ledger::global_scope_t::verify_memoryoption_t ledger::global_scope_t::verify_memoryhandler |
ledger::global_scope_t::verifyoption_t ledger::global_scope_t::verifyhandler |
ledger::global_scope_t::versionoption_t ledger::global_scope_t::versionhandler |