Re: true/false & JJTree/JavaCC

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Oct 28 2006 - 12:47:46 EDT

  • Next message: Aristedes Maniatis: "Re: wrap up from the software summit"

    On Oct 20, 2006, at 2:46 AM, Tore Halset wrote:

    > Hello.
    >
    > I am trying to implement true/false. See the following issue.
    >
    > http://issues.apache.org/cayenne/browse/CAY-696
    >
    > First, I do not know if this a good idea, but it was requested..

    I think it is a good idea.

    > My main motivation is to be able to do a expIn(/expNotIn) with an
    > empty collection.
    >
    > How should I update the JJTree stuff?

    Yes, you will need to update the parser for completeness of the
    implementation of this feature.

    > Is that only for parsing ala Expression.fromString(...)?

    Yes, but as Michael mentioned "Expression.fromString" itself is used
    in the Modeler (and runtime) to parse queries saved in XML.

    Andrus



    This archive was generated by hypermail 2.0.0 : Sat Oct 28 2006 - 12:48:11 EDT