Commit Graph

8 Commits

Author SHA1 Message Date
Michael Bayne 0bef6a06e5 Added support for composite keys, e.g. foo.bar.baz, which extracts foo from the
context, then extracts bar from that object, then extracts baz from that.
2010-10-21 23:06:15 +00:00
Michael Bayne 134a22bcfd Added support for "this" variable which refers to the context itself rather
than a member of the context.
2010-10-21 21:28:06 +00:00
Michael Bayne 3bad793de9 Fixed dropped character on partial delimiter match. 2010-10-21 21:13:09 +00:00
Michael Bayne 5042cc69fa Let's escape HTML by default so as to avoid confusion. 2010-10-21 21:03:52 +00:00
Michael Bayne 89c1590ec1 No escaping of HTML by default. Added Compiler builder mechanism to specify
default HTML escaping behavior. Possibly pattern overkill, but if we add any
other options later, this will scale nicely.
2010-10-21 20:49:53 +00:00
Michael Bayne a7984b1594 Javadoc fixes, properly skip void methods. 2010-10-21 19:42:38 +00:00
Michael Bayne 1e89b87cb0 Added support for obtaining variable values from fields and methods. Added a
template-local variable fetching cache that avoids reresolving the source of a
variable when it remains monomorphic (e.g. it's always a field of class
Foo.class or always a method named getFoo(), etc.).
2010-10-21 19:26:40 +00:00
Michael Bayne 3eea40d1d4 Basic implementation and some tests. 2010-10-21 18:08:07 +00:00