TT3: /home/abw/web/london/tt3/slides/examples/commands1.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/commands1.tt3:
Error:
Requested template resource not found: layout/product
Source:
WRAPPER layout/product
^ here