Add the method tokenKind() to the QML/JS lexer.
authorRoberto Raggi <roberto.raggi@nokia.com>
Thu, 15 Sep 2011 14:56:49 +0000 (16:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Sep 2011 10:07:46 +0000 (12:07 +0200)
commit749f0f8284901f20e48b9651dd283884defde5d5
treeaeece4ba577fc1598f33350236b26dce5b4d42dc
parent599c7e43b0a10c90c040ce499ed75995f8993135
Add the method tokenKind() to the QML/JS lexer.

The method returns the last token recognized by the lexer.

Change-Id: I9464e96c1276852737ddc8330d08d57326b48888
Reviewed-on: http://codereview.qt-project.org/5015
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/declarative/qml/parser/qdeclarativejslexer.cpp
src/declarative/qml/parser/qdeclarativejslexer_p.h