The documentation for Closure Templates has examples of the param syntax:
{template .helloName}
{@param name: string}
Hello {$name}!
{/template}
This parser does not seem to support that though - I get:
lexical error: unrecognized character in action: U+0040 '@'
I think an older syntax for the same was to use comments:
But that is no longer supported by some other parsers we use, and this one which does not support the new one. I think I would be great to add support for this.
I might be able to contribute something - is somebody already aware of this issue or has tried to fix it? Any pointers?
The documentation for Closure Templates has examples of the param syntax:
This parser does not seem to support that though - I get:
I think an older syntax for the same was to use comments:
But that is no longer supported by some other parsers we use, and this one which does not support the new one. I think I would be great to add support for this.
I might be able to contribute something - is somebody already aware of this issue or has tried to fix it? Any pointers?