2010/9/27 Andrus Adamchik <[email protected]> > 2. Take a look at > framework/cayenne-jdk1.5-unpublished//src/main/jjtree/org/apache/cayenne/exp/parser/ExpressionParser.jjt > This is a JavaCC (specifically - JJTree) grammar of the Cayenne expression > language. > 3. Add support for "constructor expression" syntax to the grammar. >
IIRC JJTree-parser already supports constructors. So we only need to implement processing -- Andrey
