Navigation: Templates > Template Language Reference > Logic and Source Generation Control >====== Source Generation Control ====== | |
Template Logic Control Statements
#FOR (generate code multiple times)
#IF (conditionally generate code)
#LOOP (iteratively generate code)
#CASE (conditional execution structure)
#INDENT (change indentation level)
#INSERT (insert code from a #GROUP)
#CALL (insert code from a #GROUP, without indention)
#INVOKE (insert code from a named #GROUP)
#READ (read one line of a source file)
#REDIRECT (change source file)
#SECTION (define code section)
#REMOVE (delete a source file)
#REPLACE (conditionally replace source file)
#GENERATE (generate source code section)
#ABORT (abort source generation)
#SUSPEND (begin conditional source)
#RELEASE (commit conditional source generation)
#RESUME (delimit conditional source)
#QUERY (conditionally generate source)