Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-214

Cleanup and Streamlining of query grammar for ANTLR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenCMIS 0.4.0
    • Component/s: opencmis-server
    • Labels:
      None

      Description

      In order to make the grammar more consistent, to reflect the spec changes after CMIS 0.5 and to simplify processing the AST the following changes should be performed:

      • Make nodes in grammar tree for AND, OR and NOT operators
      • remove imaginary tokens BIN_OP and UN_OP as they do not provide value
      • rename imaginary token BIN_OP_ANY to EQ_ANY (EQ is now the only allowed operator)
      • use two different imaginary tokens SEL_LIST and IN_LIST for list of literals in SELECT and WHERE part (these are different things)
      • Introduce new imaginary tokens IN_ANY, NOT_IN_ANY for <quantified comparison predicate> as this is a separate operator requiring its own processing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jenshuebel Jens Hübel
                Reporter:
                jenshuebel Jens Hübel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: