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:
- Options:
- code (required)
- A line of Tcl code
- nobreak (optional)
- -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.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- template_widget_file, adp_parse_tags