Review Request 118072: Split Utils::getQMLAttribute

Commit Hook null at kde.org
Sat May 10 14:19:59 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118072/#review57681
-----------------------------------------------------------


This review has been submitted with commit 72cdd29b13f18bd0c57b4d9c2eae78aef4b59d9b by Denis Steckelmacher to branch master.

- Commit Hook


On May 10, 2014, 2:03 p.m., Denis Steckelmacher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118072/
> -----------------------------------------------------------
> 
> (Updated May 10, 2014, 2:03 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-qmljs
> 
> 
> Description
> -------
> 
> This patch splits Utils::getQMLAttribute into two functions : getQMLAttribute (that returns an AST node) and getQMLAttributeValue (that returns a string and a source location). This is needed because DeclarationBuilder may sometimes need to get a QML attribute's expression node in order to iterate over it, for instance to get all the keys of an array. In this case, a string is not enough.
> 
> The patchs does not change more than that but is fairly long because I had to change the indentation of some pieces of code.
> 
> 
> Diffs
> -----
> 
>   duchain/declarationbuilder.cpp 13e366d 
>   duchain/helper.h 957fb17 
>   duchain/helper.cpp 675a0c5 
> 
> Diff: https://git.reviewboard.kde.org/r/118072/diff/
> 
> 
> Testing
> -------
> 
> The whole testsuite of the plugin still passes with this patch applied.
> 
> 
> Thanks,
> 
> Denis Steckelmacher
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140510/626c9cb6/attachment.html>


More information about the KDevelop-devel mailing list