[!-- Syntax Test --]
[page contentType="[=foo.contentType]" args="foo, bool c:false"
import="dart:collection show LinkedHashMap, dart:async"/]
[header age="129" accept-ranges="[=foo.acceptRanges]" ]
[= "$foo.name [${foo.title}]" ]
This is a test with """.
Another expresion: [= foo.description]
An empty expression: [=
]
This is not a tag: [foo ], [another and [/none].
[for user in foo.friends]
- [= user.name]
[if user.isCustomer]
!important!
[/if]
[while user.hasMore()]
[= user.showMore()]
[/while]
[/for]
[for fruit in ["apple", "orange"]]
[/for]
[if foo.isCustomer]
*Custmer*
[else if c]
[forward "/x/y/z"/]
[else if foo.isEmployee]
*Employee*
[forward syntax c="[=true]" foo="abc"/]
[else]
*Unknown* \[/if] [!-- escape a [/if] --]
[/if]
[var whatever]
define a variable
[for fruit in ["apple", "orange"]]
[=fruit]
[/for]
[/var]
[include "/abc"/]
[include syntax c="[=true]"]
[var foo]
The content for foo
[/var]
[/include]
[if foo.isMeaningful]
something is meaningful
[/if]
[!----]
[dart/]
[!---]
-]
--]