google / escapevelocity

A subset reimplementation of Apache Velocity with a much simpler API.
Apache License 2.0
33 stars 11 forks source link

Add support for the `#evaluate` directive. #39

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

Add support for the #evaluate directive.

In #evaluate(<foo>), <foo> must be a string. #evaluate parses it as a template, then renders that template. <foo> can be a string literal or a reference that evaluates to a string.

RELNOTES=The #evaluate directive is now supported.