OSDN Git Service

QmlJS: Make follow symbol work with member properties.
authorChristian Kamm <christian.d.kamm@nokia.com>
Tue, 16 Nov 2010 13:39:54 +0000 (14:39 +0100)
committerChristian Kamm <christian.d.kamm@nokia.com>
Tue, 16 Nov 2010 14:30:54 +0000 (15:30 +0100)
commit5f196cf5b8202d95eea4a93d45e4ce5fee7d6ed1
treedc8aa708592911dc5aa0ace93baead4cc13fb054
parent7dfb2bd577bbfb009e61de262721a2e57c1bcf66
QmlJS: Make follow symbol work with member properties.

A full evaluate() call resolves the property and continues to the
underlying type. If we use Evaluate::reference() instead, we only the
first step is done and we can get at the source location if a
ASTPropertyReference is returned.

Reviewed-by: Erik Verbruggen
src/plugins/qmljseditor/qmljseditor.cpp