A structural command is any command that never emits any output. These come in three types:
This makes it much easier to write human readable templates in cases where the output format is whitespace sensitive.
Thus the input:
{@literal ---------------- Value is: 0 ?> positive negative zero . ----------------}is equivalent to:
{@literal ---------------- Value is: 0 ?> positive negative zero . ----------------}but is much easier to read.
Where data commands become empty they are replaced with Noop commands, which effectively removes them from the tree. These can be removed (if needed) by a later optimization step but shouldn't cause any issues.
|
|