TT3: /home/abw/web/london/tt3/slides/examples/commands3.tt3

Template Source

[? COMMANDS wrapper = into include = fill ?] [% include product/info wrapper layout/product %]--EOF--

Source Tokens

tag_start@0[?
whitespace@2
control commands@3COMMANDS
whitespace@11 \n
variable@19wrapper
whitespace@26
operator assign@27=
whitespace@28
variable@29into
whitespace@33\n
variable@40include
whitespace@47
operator assign@48=
whitespace@49
variable@50fill
whitespace@54 \n
tag_end@56?]
text@58\n\n
tag_start@60[%
whitespace@62
command fill@63include
whitespace@70
filename@71product
filename@78/
filename@79info
whitespace@83 \n
command into@88wrapper
whitespace@95
filename@96layout
filename@102/
filename@103product
whitespace@110\n
tag_end@111%]
eof@113

Parse Tree

text@58\n\n
into keyword@88wrapper
Template
filename element@96layout/product
Block
fill keyword@63include
Template
filename element@71product/info

Variables Used

Generated Output

TT3 resource error at line 7 of /home/abw/web/london/tt3/slides/examples/commands3.tt3:
Error: Requested template resource not found: layout/product
Source: wrapper layout/product
^ here