diff options
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index cdfb3b4e..2c3b322d 100644 --- a/src/report.h +++ b/src/report.h @@ -132,6 +132,10 @@ public: value_t fn_escape(call_scope_t& scope); value_t fn_join(call_scope_t& scope); + value_t fn_options(call_scope_t& scope) { + return value_t(static_cast<scope_t *>(this)); + } + void append_predicate(const string& str) { if (HANDLED(limit_)) HANDLER(limit_).on(string("(") + HANDLER(limit_).str() + ")&" + str); @@ -160,6 +164,8 @@ public: HANDLED(base)); } + option_t<report_t> * report_t::lookup_option(const char * p); + virtual expr_t::ptr_op_t lookup(const string& name); /** |