1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00
Commit graph

2 commits

Author SHA1 Message Date
Matthew Bastien
894c74be7e Bug 481126 - QML Static Analysis based on Tern.js
Tern can now perform static analysis on the following QML constructs:
  - QML Property Declarations
  - QML Property Bindings
  - QML Signals
  - QML Signal Handlers

Added basic support for the 'id' property that can be assigned to any
QML Object.  Fixed acorn-qml's member function parsing and added tests.
The 'demo' folder contains an html demo of the qml tern implementation
using codemirror as the editor.

Change-Id: I9e4d3837b194ff92a36a8d62bef288f61743e4ce
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-06 14:39:28 -05:00
Matthew Bastien
f9143ebfdc Bug 481126 - QML Static Analysis based on Tern.js
Moved the Tern.js work and acorn-qml into the Qt Core plugin rather than
in a separate plugin.  Added walk.js in order to facilitate walking the
QML AST by acorn-qml.  Changed a few things in index.js and inject.js
for acorn-qml in order to get it working in a browser environment.
Added a tern-qml webpage demo which doesn't do much for now.

Change-Id: I3c8a3d57c98a4936d0e038774b410bb2a68afb6c
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-30 17:48:01 -04:00