@Override
public Object getValue( Object[] args, Entity ent ) {
// walk the subtree
GqlExtExprTree parser = new GqlExtExprTree( new CommonTreeNodeStream( tree ));
try {
return parser.expr( args, ent );
}
catch (RecognitionException e) {
LogFactory.getLog( getClass()).error("getValue(): " + e + ", tree=" + tree.toStringTree());
throw new RuntimeException( e );