TT3: /home/abw/web/london/tt3/slides/examples/commands2.tt3
Source
Tokens
Tree
Variables
Output
Template Source
[?
COMMANDS
wrapper
include
?]
[%
include
product
/
info
wrapper
layout
/
product
%]
--EOF--
Source Tokens
tag_start
@0
[?
whitespace
@2
control commands
@3
COMMANDS
whitespace
@11
variable
@12
wrapper
whitespace
@19
variable
@20
include
whitespace
@27
tag_end
@28
?]
text
@30
\n\n
tag_start
@32
[%
whitespace
@34
command include
@35
include
whitespace
@42
filename
@43
product
filename
@50
/
filename
@51
info
whitespace
@55
\n
command wrapper
@60
wrapper
whitespace
@67
filename
@68
layout
filename
@74
/
filename
@75
product
whitespace
@82
\n
tag_end
@83
%]
eof
@85
Parse Tree
text
@30
\n\n
into keyword
@60
wrapper
Template
filename element
@68
layout/product
Block
fill keyword
@35
include
Template
filename element
@43
product/info
Variables Used
Generated Output
TT3 resource error at line 4 of /home/abw/web/london/tt3/slides/examples/commands2.tt3:
Error:
Requested template resource not found: layout/product
Source:
wrapper layout/product
^ here