TT3: /home/abw/web/london/tt3/slides/examples/html_bold_italic.tt3
Source
Tokens
Tree
Variables
Output
Template Source
[?
HTML_CMDS
b
as
bold
i
as
italic
?]
[%
bold
italic
'This is bold and italic'
%]
--EOF--
Source Tokens
tag_start
@0
[?
whitespace
@2
control htmlcmds
@3
HTML_CMDS
whitespace
@12
\n
variable
@19
b
whitespace
@20
command as
@21
as
whitespace
@23
variable
@24
bold
whitespace
@28
\n
variable
@34
i
whitespace
@35
command as
@36
as
whitespace
@38
variable
@39
italic
whitespace
@45
\n
tag_end
@46
?]
text
@48
\n\n
tag_start
@50
[%
whitespace
@52
html b
@53
bold
whitespace
@57
html i
@58
italic
whitespace
@64
squote string
@65
'This is bold and italic'
whitespace
@90
tag_end
@91
%]
text
@93
\n
eof
@94
Parse Tree
text
@48
\n\n
html keyword element
@53
bold
html keyword element
@58
italic
squote string element
@65
'This is bold and italic'
text
@93
\n
Variables Used
Generated Output
<b><i>This is bold and italic</i></b>