• Publicity: Public Only All

parse-procs-naviserver.tcl

ADP to Tcl Compiler, NaviServer variant.

Location:
packages/acs-templating/tcl/parse-procs-naviserver.tcl

Procedures in this file

Detailed information

template::adp_parse_string (public)

 template::adp_parse_string chunk

Parse string as ADP

Parameters:
chunk

Partial Call Graph (max 5 caller/called nodes):
%3 test_adp_parse_string adp_parse_string (test acs-templating) template::adp_parse_string template::adp_parse_string test_adp_parse_string->template::adp_parse_string template::adp_compile_chunk template::adp_compile_chunk (public) template::adp_compile_chunk->template::adp_parse_string

Testcases:
adp_parse_string
[ hide source ] | [ make this the default ]

Content File Source

ad_library {
    ADP to Tcl Compiler, NaviServer variant.
}

if {[ns_info name] ne "NaviServer"} {
    return
}
#
# NaviServer requires for disambiguation of flags and values at the
# end of the argument processing a terminating "--"
#
ad_proc template::adp_parse_string { chunk } {
    Parse string as ADP
} {
    return [ns_adp_parse -string -- $chunk]
}

#
# Local variables:
#    mode: tcl
#    tcl-indent-level: 4
#    indent-tabs-mode: nil
# End: