D6923: Process member properties/calls for unsure types in PHP

Matthijs Tijink noreply at phabricator.kde.org
Wed Jul 26 10:15:49 UTC 2017


mtijink created this revision.
mtijink added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  In PHP, you can only access properties and call member functions on objects. So this diff looks at an `UnsureType` and, if it contains //exactly// one `StructureType`, decides to interpret the variable as that object for this access/call.

REPOSITORY
  R52 KDevelop: PHP Support

REVISION DETAIL
  https://phabricator.kde.org/D6923

AFFECTED FILES
  duchain/expressionvisitor.cpp
  duchain/tests/uses.cpp
  duchain/tests/uses.h

To: mtijink, #kdevelop
Cc: kdevelop-devel, #kdevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170726/ee479f9c/attachment.html>


More information about the KDevelop-devel mailing list