TT3: /home/abw/web/london/tt3/slides/examples/commands4.tt3
Source
Tokens
Tree
Variables
Output
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
@3
COMMANDS
whitespace
@11
\n
variable
@19
into
whitespace
@23
command as
@24
as
whitespace
@26
variable
@27
wrapper
whitespace
@34
\n
variable
@41
fill
whitespace
@45
command as
@46
as
whitespace
@48
variable
@49
include
whitespace
@56
\n
tag_end
@57
?]
text
@59
\n\n
tag_start
@61
[%
whitespace
@63
command fill
@64
include
whitespace
@71
filename
@72
product
filename
@79
/
filename
@80
info
whitespace
@84
\n
command into
@89
wrapper
whitespace
@96
filename
@97
layout
filename
@103
/
filename
@104
product
whitespace
@111
\n
tag_end
@112
%]
text
@114
\n
eof
@115
Parse Tree
text
@59
\n\n
into keyword
@89
wrapper
Template
filename element
@97
layout/product
Block
fill keyword
@64
include
Template
filename element
@72
product/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