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

Template Source

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

Source Tokens

tag_start@0[?
whitespace@2
control commands@3COMMANDS
whitespace@11 \n
variable@19into
whitespace@23
command as@24as
whitespace@26
variable@27wrapper
whitespace@34\n
variable@41fill
whitespace@45
command as@46as
whitespace@48
variable@49include
whitespace@56\n
tag_end@57?]
text@59\n\n
tag_start@61[%
whitespace@63
command fill@64include
whitespace@71
filename@72product
filename@79/
filename@80info
whitespace@84 \n
command into@89wrapper
whitespace@96
filename@97layout
filename@103/
filename@104product
whitespace@111\n
tag_end@112%]
text@114\n
eof@115

Parse Tree

text@59\n\n
into keyword@89wrapper
Template
filename element@97layout/product
Block
fill keyword@64include
Template
filename element@72product/info
text@114\n

Variables Used

Generated Output

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