template::adp_eval (public)

 template::adp_eval coderef

Defined in packages/acs-templating/tcl/parse-procs.tcl

Evaluates a chunk of compiled template code in the calling stack frame. The resulting output is placed in __adp_output in the calling frame, and also returned for convenience.

Parameters:
coderef
Returns:
The output produced by the compiled template code.

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_dimensional ad_dimensional (test acs-templating) template::adp_eval template::adp_eval test_ad_dimensional->template::adp_eval test_template_widget_file template_widget_file (test acs-templating) test_template_widget_file->template::adp_eval test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->template::adp_eval template::util::lpop template::util::lpop (public) template::adp_eval->template::util::lpop general_comments_get_comments general_comments_get_comments (public) general_comments_get_comments->template::adp_eval rp_handle_request rp_handle_request (private) rp_handle_request->template::adp_eval template::form::generate template::form::generate (private) template::form::generate->template::adp_eval template::list::render template::list::render (public) template::list::render->template::adp_eval template::list::render_row template::list::render_row (private) template::list::render_row->template::adp_eval

Testcases:
ad_dimensional, template_widget_file, xowiki_test_cases
Source code:
    upvar $coderef code __adp_output output
    lappend ::template::parse_level [expr {[info level]-1}]

    uplevel $code

    template::util::lpop ::template::parse_level
    return $output
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: