template::adp_append_code (public)

 template::adp_append_code code [ nobreak ]

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

Adds a line of code to the Tcl output from the compiler. Called by basically any adp custom tag implementation and also from developer support.

Parameters:
code (required)
A line of Tcl code
nobreak (optional)
Options:
-nobreak
Flag indicating that code should be appended to the current last line rather than adding a new line, for cases where code must continue on the same line, such as the "else" tag.

Testcases:
template_widget_file, adp_parse_tags
[ show source ]
Show another procedure: