parserInstructions.rst (cheetah3-3.1.0) | : | parserInstructions.rst (cheetah3-3.2.0) | ||
---|---|---|---|---|
Instructions to the Parser/Compiler | Instructions to the Parser/Compiler | |||
=================================== | =================================== | |||
(parserInstructions) | ||||
#breakpoint | #breakpoint | |||
----------- | ----------- | |||
(parserInstructions.breakpoint) | ||||
Syntax: | Syntax: | |||
:: | :: | |||
#breakpoint | #breakpoint | |||
{#breakpoint} is a debugging tool that tells the parser to stop | {#breakpoint} is a debugging tool that tells the parser to stop | |||
parsing at a specific point. All source code from that point on | parsing at a specific point. All source code from that point on | |||
will be ignored. | will be ignored. | |||
The difference between {#breakpoint} and {#stop} is that {#stop} | The difference between {#breakpoint} and {#stop} is that {#stop} | |||
occurs in normal templates (e.g., inside an {#if}) but | occurs in normal templates (e.g., inside an {#if}) but | |||
{#breakpoint} is used only when debugging Cheetah. Another | {#breakpoint} is used only when debugging Cheetah. Another | |||
difference is that {#breakpoint} operates at compile time, while | difference is that {#breakpoint} operates at compile time, while | |||
{#stop} is executed at run time while filling the template. | {#stop} is executed at run time while filling the template. | |||
#compiler-settings | #compiler-settings | |||
------------------ | ------------------ | |||
(parserInstructions.compiler-settings) | ||||
Syntax: | Syntax: | |||
:: | :: | |||
#compiler-settings | #compiler-settings | |||
key = value (no quotes) | key = value (no quotes) | |||
#end compiler-settings | #end compiler-settings | |||
#compiler-settings reset | #compiler-settings reset | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 0 lines changed or added |