D9380: Add support for PHP 7's context sensitive lexer.
Heinz Wiesinger
noreply at phabricator.kde.org
Sun Dec 17 18:37:32 UTC 2017
pprkut created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
This adds support for the context sensitive lexer introduced
in PHP 7 according to https://wiki.php.net/rfc/context_sensitive_lexer.
The actual list of allowed tokens was taken from PHP's master
branch on github (from https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y)
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
lexer
REVISION DETAIL
https://phabricator.kde.org/D9380
AFFECTED FILES
completion/context.cpp
duchain/builders/contextbuilder.cpp
duchain/builders/contextbuilder.h
duchain/builders/declarationbuilder.cpp
duchain/builders/declarationbuilder.h
duchain/builders/typebuilder.cpp
duchain/builders/typebuilder.h
duchain/tests/duchain.cpp
duchain/tests/duchain.h
duchain/tests/expressionparser.cpp
duchain/tests/uses.cpp
parser/php.g
parser/phplexer.cpp
To: pprkut
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171217/356aa393/attachment.html>
More information about the KDevelop-devel
mailing list