template::adp_compile (public)

 template::adp_compile [ -file file ] [ -string string ]

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

Converts an ADP template into a chunk of Tcl code. Caching this code avoids the need to reparse the ADP template with each request.

Switches:
-file (optional)
The filename of the source
-string (optional)
string to be compiled
Returns:
The compiled code. Valid options are either -string or -file

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_dimensional ad_dimensional (test acs-templating) template::adp_compile template::adp_compile test_ad_dimensional->template::adp_compile test_template_widget_file template_widget_file (test acs-templating) test_template_widget_file->template::adp_compile test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->template::adp_compile lang::message::lookup lang::message::lookup (public) template::adp_compile->lang::message::lookup lang::util::localize lang::util::localize (public) template::adp_compile->lang::util::localize template::adp_array_variable_regexp template::adp_array_variable_regexp (public) template::adp_compile->template::adp_array_variable_regexp template::adp_array_variable_regexp_literal template::adp_array_variable_regexp_literal (public) template::adp_compile->template::adp_array_variable_regexp_literal template::adp_array_variable_regexp_noi18n template::adp_array_variable_regexp_noi18n (public) template::adp_compile->template::adp_array_variable_regexp_noi18n general_comments_get_comments general_comments_get_comments (public) general_comments_get_comments->template::adp_compile packages/acs-api-browser/www/content-page-view.tcl packages/acs-api-browser/ www/content-page-view.tcl packages/acs-api-browser/www/content-page-view.tcl->template::adp_compile rp_handle_request rp_handle_request (private) rp_handle_request->template::adp_compile template::adp_init template::adp_init (public) template::adp_init->template::adp_compile template::cmp_page_filter template::cmp_page_filter (private) template::cmp_page_filter->template::adp_compile

Testcases:
ad_dimensional, template_widget_file, xowiki_test_cases
[ show source ]
Show another procedure: