Table of Contents
The following functions affect the flow of the Lexical Analyzer, and are never parsed.
Ignore everything until the end of the line. If the comment is the first item on the line, the entire line will be ignored.
@# This is a whole line comment, so this line will be ignored @# This is not @mymacro(a, b, c) @# describe my macro
When @tpt_ignoreindent is called (with no parenthesis), all indentation on the following lines will be ignored. Use @tpt_noignoreindent to stop ignoring indentation.
@itpt_ignoreindent\ @if (x) { Four score and seven years ago... } @else { We the people of the United States... }
Note: @ignoreindent and @noignoreindent are depricated.
When @tpt_ignoreblankline is called (with no parenthesis), any line with no content (including white-space) will be ignored.
@tpt_ignoreblankline\ @macro1() {...} @macro2() {...} @macro3() {...} @tpt_noignoreblankline
Note: @ignoreblankline and @noignoreblankline are depricated.
The ignore space operators instruct the lexical analyzer to ignore any space preceding @<, or any space following @>.
@# ignore spaces after @> @> This should be flush to the left @# ignore spaces before @< @<This should be flush to the left
Include and parse a TPT header file, usually a filename ending in .tph.
@include("macros.tph")\ @include('heading.tph')\