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

Cleanup and Streamlining of query grammar for ANTLR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • OpenCMIS 0.4.0
    • opencmis-server
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: