qmlweb-parser
qmlweb-parser copied to clipboard
A QML parser in JavaScript
This builds off of #19 adding deep-subproperties support to property aliases. I haven't made any corresponding changes to the runtime, but I'll do that if this makes sense.
Example: ```qml import QtQuick 2.0 Text { id: helloText text: "Hello, World!" } ```
See #34 — for `property list items`, we now export `["qmlpropdef", "items", "list"]` and omit the element type information. That is better than not parsing them at all, but we...
This is to help support: https://github.com/qmlweb/qmlweb/issues/297 Lots of tests fail, but I'm pretty sure that's just because all of the source is regenerated (though I believe still functionally equivalent). QmlWeb...
See https://github.com/qmlweb/qmlweb/pull/166, we could implement something similar in a cleaner way.
See http://doc.qt.io/qt-5/qtqml-syntax-objectattributes.html#read-only-properties The testcase is failing atm.
my qml contains the following code: ``` property var map: {"A": "test", "B": "test"} ``` and I get the following error: ``` Unexpected token: punc (:) (line: 22, col: 25,...
E.g. [acorn](https://github.com/ternjs/acorn) or [esprima](http://esprima.org/).
We should add LibreJS support, as documented in https://www.gnu.org/software/librejs/free-your-javascript.html Our [BSD-2-Clause License](https://spdx.org/licenses/BSD-2-Clause), taken from SPDX, is also known as FreeBSD License. So we should label the code as being FreeBSD-licensed....