diff options
author | Martin Smith <martin.smith@digia.com> | 2013-10-23 13:55:53 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-01 14:52:47 +0100 |
commit | 0b152831ccee309f020435ab0737af6c73362dec (patch) | |
tree | 328ae16d222689315cc82a75622d80fac76c69a9 /src/tools/qdoc/qmlparser/qqmljsengine_p.h | |
parent | e9fe369321939a6c1cb0ba822272875481dc038e (diff) |
qdoc: Update qdoc's QML parser
Because qdoc is part of qtbase/src/tools, it is not allowed to depend
on anything outside of qtbase. But qdoc uses the QML parser from
qtdeclarative, so qdoc has its own copy of the QML parser sources. The
QML parser has been updated to the current version for Qt 5.2.
Task-number: QTBUG-34269
Change-Id: I5ac9c8ff08a3494d5c35a0014a437be88f2dc31d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
Diffstat (limited to 'src/tools/qdoc/qmlparser/qqmljsengine_p.h')
-rw-r--r-- | src/tools/qdoc/qmlparser/qqmljsengine_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/qmlparser/qqmljsengine_p.h b/src/tools/qdoc/qmlparser/qqmljsengine_p.h index 4f58e7f8ea..195b98bfd7 100644 --- a/src/tools/qdoc/qmlparser/qqmljsengine_p.h +++ b/src/tools/qdoc/qmlparser/qqmljsengine_p.h @@ -102,6 +102,7 @@ public: ~Engine(); void setCode(const QString &code); + const QString &code() const { return _code; } void addComment(int pos, int len, int line, int col); QList<AST::SourceLocation> comments() const; |