TT3: /home/abw/web/london/tt3/slides/examples/commands3.tt3
Source
Tokens
Tree
Variables
Output
Template Source
[?
COMMANDS
wrapper
=
into
include
=
fill
?]
[%
include
product
/
info
wrapper
layout
/
product
%]
--EOF--
Source Tokens
tag_start
@0
[?
whitespace
@2
control commands
@3
COMMANDS
whitespace
@11
\n
variable
@19
wrapper
whitespace
@26
operator assign
@27
=
whitespace
@28
variable
@29
into
whitespace
@33
\n
variable
@40
include
whitespace
@47
operator assign
@48
=
whitespace
@49
variable
@50
fill
whitespace
@54
\n
tag_end
@56
?]
text
@58
\n\n
tag_start
@60
[%
whitespace
@62
command fill
@63
include
whitespace
@70
filename
@71
product
filename
@78
/
filename
@79
info
whitespace
@83
\n
command into
@88
wrapper
whitespace
@95
filename
@96
layout
filename
@102
/
filename
@103
product
whitespace
@110
\n
tag_end
@111
%]
eof
@113
Parse Tree
text
@58
\n\n
into keyword
@88
wrapper
Template
filename element
@96
layout/product
Block
fill keyword
@63
include
Template
filename element
@71
product/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