QmlJS: adding SimpleReader

SimpleReader is a !simple! parser for json like qml files.
SimpleReader only parses literal properties for e.g. configuration
files.

SimpleAbstractStreamReader allows event based parsing and SimpleReader
stores the parsed data in a reference counted tree structure.

Change-Id: I0f6422a97f5c356149c516f227f8bbd7b736a6d0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Thomas Hartmann
2012-11-07 16:38:01 +01:00
parent cf6298ff32
commit 5debabc410
5 changed files with 656 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ HEADERS += \
$$PWD/jsoncheck.h \
$$PWD/consolemanagerinterface.h \
$$PWD/consoleitem.h \
$$PWD/iscriptevaluator.h
$$PWD/iscriptevaluator.h \
$$PWD/qmljssimplereader.h
SOURCES += \
$$PWD/qmljsbind.cpp \
@@ -63,7 +64,8 @@ SOURCES += \
$$PWD/qmljsstaticanalysismessage.cpp \
$$PWD/jsoncheck.cpp \
$$PWD/consolemanagerinterface.cpp \
$$PWD/consoleitem.cpp
$$PWD/consoleitem.cpp \
$$PWD/qmljssimplereader.cpp
RESOURCES += \
$$PWD/qmljs.qrc