• 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 (required)

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: