Xss:open brace - xkp/Doc GitHub Wiki
The one limitation the dsl system has in xs is that braces must match. However, it is fairly common when generating code that you would need to open a brace, gen some code and then close it. XSS offers a couple tags to deal with this: xss:open_brace and xss:close_brace
Parameters:
none
Sample Usage:
for(var mth in methods)
{
out()
{
<xss:open_brace/>
}
mth.generate();
out()
{
<xss:close_brace/>
}
}