TT3: /home/abw/web/london/tt3/slides/examples/tags_control.tt3
Source
Tokens
Tree
Variables
Output
Template Source
[?
TAGS
'<* *>'
?]
[?
TAGS
.
inline
'<% %>'
?]
[?
TAGS
{
inline
=
'<@ @>'
comment
=
off
control
=
off
}
?]
--EOF--
Source Tokens
tag_start
@0
[?
whitespace
@2
control tag_s
@3
TAGS
whitespace
@7
squote string
@8
'<* *>'
whitespace
@15
tag_end
@16
?]
text
@18
\n\n
tag_start
@20
[?
whitespace
@22
control tag_s
@23
TAGS
operator dot
@27
.
word
@28
inline
whitespace
@34
squote string
@35
'<% %>'
whitespace
@42
tag_end
@43
?]
text
@45
\n\n
tag_start
@47
[?
whitespace
@49
control tag_s
@50
TAGS
whitespace
@54
construct hash
@55
{
whitespace
@56
\n
variable
@64
inline
whitespace
@70
operator assign
@72
=
whitespace
@73
squote string
@74
'<@ @>'
whitespace
@81
\n
variable
@89
comment
whitespace
@96
operator assign
@97
=
whitespace
@98
variable
@99
off
whitespace
@102
\n
variable
@110
control
whitespace
@117
operator assign
@118
=
whitespace
@119
variable
@120
off
whitespace
@123
\n
terminator
@127
}
whitespace
@128
\n
tag_end
@129
?]
text
@131
\n
eof
@132
Parse Tree
text
@18
\n\n
text
@45
\n\n
text
@131
\n
Variables Used
Generated Output