qmljs: use new qml parser

adds support for singleton and getter/setter properties

Change-Id: Ia6691ac7799a46885db0df44617617dcc3c13189
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Fawzi Mohamed
2013-11-06 14:17:23 +01:00
parent 0374d83e83
commit e9c97aa1d1
35 changed files with 2420 additions and 1675 deletions

View File

@@ -30,15 +30,15 @@
#include "qmljsengine_p.h"
#include "qmljsglobal_p.h"
#include <qnumeric.h>
#include <QHash>
#include <QDebug>
#include <QtCore/qnumeric.h>
#include <QtCore/qhash.h>
#include <QtCore/qdebug.h>
QT_QML_BEGIN_NAMESPACE
namespace QmlJS {
static int toDigit(char c)
static inline int toDigit(char c)
{
if ((c >= '0') && (c <= '9'))
return c - '0';