D7034: Add callable type to PHP
Matthijs Tijink
noreply at phabricator.kde.org
Tue Aug 1 13:02:06 UTC 2017
mtijink created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
This diff adds a new primitive `callable` type to the PHP language support. This represents anything which can be called as a function in PHP (e.g. a function name as string, a closure, an array with two entries for static class methods, etc.).
Additionally, for return types, when two return types are detected with one being a callable and one an actual function, the return type is set to just a callable.
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
add_callable_type
REVISION DETAIL
https://phabricator.kde.org/D7034
AFFECTED FILES
duchain/builders/typebuilder.cpp
duchain/helper.cpp
duchain/tests/duchain.cpp
duchain/tests/duchain.h
duchain/types/integraltypeextended.cpp
duchain/types/integraltypeextended.h
To: mtijink, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170801/e767f4da/attachment.html>
More information about the KDevelop-devel
mailing list