• Icon: Technical task Technical task
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.9
    • QML: Tooling
    • None
    • 70977b0d1 (dev), 87bfe3052 (dev), 4321f984f (dev), 65ba6092b (dev), 0bd9139a2 (dev), 1a545f4bc (dev), 364717fa2 (6.7), cd9ccaff9 (6.7)

      Implement completions for JS expressions, now that JS statements are mostly done.

      List of expressions to complete:

      done

      to be done

      do not do

      in progress

      • PrimaryExpressions (https://262.ecma-international.org/7.0/#sec-primary-expression)
            * this
            * Identifier
            * Literal (no completion for literals needed)
            * ArrayLiteral (complete values inside of array)
            * ObjectLiteral
            * FunctionExpression
            * ClassExpression (not needed for now)
            * GeneratorExpression
            * RegularExpressionLiteral
            * TemplateLiteral (complete inside the templated string stuff)
            * CoverParenthesizedExpressionAndArrowParameterList
        • this is being parsed as AST::FormalParameterList or
        • AST::NestedExpression for expressions inside of `()` brackets
      • Left-Hand-Side expressions (https://262.ecma-international.org/7.0/#sec-left-hand-side-expressions)
        • Property Accessors
          • Bracket expressions (`id[something]`)
          • Field Member access (`id.field`)  {}
        • New expressions (`new Something ()`) (not needed for now)
        • Function calls

        For Gerrit Dashboard: QTBUG-119798
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: