Hi Tom,
attached you find my changes to support enum literals in EJBQL (issue
231). Please have a look.
Some details: when creating the parse tree in the .g file we cannot
decide whether a dot expression is an enum literal or a relationship
navigation starting from a variable. So I added the support to the
DotNode parser tree node. It checks whether the left hand side denotes
an enum type and the right hand side is a constant of that type. I also
added a helper class for any type related information and moved the type
helper methods from SumNode to this new helper class.
Thanks!
Regards Michael