[!-- Syntax Test --]
[dart]
library syntax;
import "dart:io";
import "package:stream/stream.dart";
[/dart]
[page contentType="[=foo.contentType]" args="foo, bool c:false"]
[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 uri="/x/y/z"]
[else if foo.isEmployee]
*Employee*
[forward method="syntax" c="[=true]" foo="abc"]
[else]
*Unknown* \[/if] [!-- escape a [/if] --]
[/if]
[!----]
[!---]
-]
--]