D6256: [WIP] Support for variadic functions in documentation popup.
Heinz Wiesinger
noreply at phabricator.kde.org
Sun Jun 18 10:53:57 UTC 2017
pprkut created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
This shows the documentation for functions defined as
function foo(...$params) {}
function foo(A ...$params) {}
in the form of
void foo ([mixed ...params])
void foo ([A ...params])
In the first case, $params itself is shown as
array params
and in the latter as
<class> of (A) params
I'm a bit stuck on how to tell it that "class" should be "array", which would be
the last step in finalizing this.
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
variadic_doc
REVISION DETAIL
https://phabricator.kde.org/D6256
AFFECTED FILES
duchain/CMakeLists.txt
duchain/builders/declarationbuilder.cpp
duchain/builders/typebuilder.cpp
duchain/declarations/variabledeclaration.cpp
duchain/declarations/variabledeclaration.h
duchain/navigation/declarationnavigationcontext.cpp
duchain/navigation/declarationnavigationcontext.h
duchain/types/indexedcontainer.cpp
duchain/types/indexedcontainer.h
To: pprkut
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170618/e81acc1b/attachment.html>
More information about the KDevelop-devel
mailing list