Remixjobs/RjEmailBundle — pull request #6 by arnaud-lb (2012-09-23 19:28:12+00:00)
Title: Added ExtractVarsVisitor, for extracting variables used in a template

e.g. the following template

{{ name }}
{{ foo.bar.baz }}
{{ foo.bar.qux }}

will give the following variables:

{
"name": null,
"foo": {
"bar": {
"baz": null,
"qux": null,
}
}
}

so we can pre-populate variables in the preview UI

TODO: integrate this in UI