doc_adp_execute (public)

 doc_adp_execute compiled_adp

Defined in packages/acs-tcl/tcl/adp-parser-procs.tcl

Evaluates an ADP block returned by doc_adp_compile. May be invoked recursively by tag handlers.

Parameters:
compiled_adp (required)

Partial Call Graph (max 5 caller/called nodes):
%3 doc_eval_in_separate_frame doc_eval_in_separate_frame (private) doc_adp_execute doc_adp_execute doc_adp_execute->doc_eval_in_separate_frame

Testcases:
No testcase defined.
Source code:
    global doc_adp_depth
    if { ![info exists doc_adp_depth] } {
    set doc_adp_depth 0
    }
    incr doc_adp_depth

    upvar #0 doc_adp,$doc_adp_depth adp_var

    set adp_var ""

    set errno [catch { doc_eval_in_separate_frame $compiled_adp } error]
    incr doc_adp_depth -1
    if { $errno == 0 || $::errorCode eq "doc_adp_abort" } {
    return $adp_var
    }

    return -code $errno -errorcode $::errorCode -errorinfo $::errorInfo $error
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: