Details
-
Wish
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
2.3.28
-
None
-
None
-
ALL
Description
Story
As tester and backend tool developer
we wish to inspect variables of a template
so that we can test template structure before rendering, while testing and can present internally a gui tool which will show all variables, default values and all that stuff
Description
FreeMarker already scans the template, so why not giving access to the parsed elements? It would be sad if we have to implement the same parsing logic as FreeMarker already does.
Acceptance criteria
- parsed elements like e.g. freemarker.core.* can be accessed by e.g. (freemarker.coreTemplate.getRootTreeNode().getVariables() )
- Variables are having types like, optional, required, predefined/constant,...
- Variables are having default parameter which can be reached by another getter