This is an automated email from the ASF dual-hosted git repository.
tmysik pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.
from c65d63c Merge pull request #2652 from
sdedic/lsp/bugfix-project-problems
new 8dbc736 [NETBEANS-4443] PHP 8.0 Support: Named Arguments (Part 1)
new 7f54867 [NETBEANS-4443] PHP 8.0 Support: Named Arguments (Part 2)
new 51f5298 Merge pull request #2704 from junichi11/php80-named-arguments
The 4928 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../modules/php/editor/indent/FormatToken.java | 2 +
.../modules/php/editor/indent/FormatVisitor.java | 56 +-
.../modules/php/editor/indent/TokenFormatter.java | 6 +
.../modules/php/editor/indent/ui/Spaces.php | 3 +
.../modules/php/editor/parser/ASTPHP5Parser.java | 6309 ++++++++---------
.../modules/php/editor/parser/ASTPHP5Symbols.java | 2 +-
.../php/editor/parser/EncodedActionTable1.java | 7096 ++++++++++----------
.../php/editor/parser/EncodedActionTable10.java | 6376 +++++++++---------
.../php/editor/parser/EncodedActionTable11.java | 6032 ++++++++---------
.../php/editor/parser/EncodedActionTable12.java | 6614 +++++++++---------
.../php/editor/parser/EncodedActionTable13.java | 6240 ++++++++---------
.../php/editor/parser/EncodedActionTable14.java | 5736 ++++++++--------
.../php/editor/parser/EncodedActionTable15.java | 5354 +++++++--------
.../php/editor/parser/EncodedActionTable16.java | 2842 +++++++-
.../php/editor/parser/EncodedActionTable2.java | 6814 +++++++++----------
.../php/editor/parser/EncodedActionTable3.java | 5812 ++++++++--------
.../php/editor/parser/EncodedActionTable4.java | 6168 ++++++++---------
.../php/editor/parser/EncodedActionTable5.java | 6404 +++++++++---------
.../php/editor/parser/EncodedActionTable6.java | 6182 ++++++++---------
.../php/editor/parser/EncodedActionTable7.java | 6754 +++++++++----------
.../php/editor/parser/EncodedActionTable8.java | 7066 +++++++++----------
.../php/editor/parser/EncodedActionTable9.java | 4970 +++++++-------
.../php/editor/parser/astnodes/NamedArgument.java | 72 +
.../php/editor/parser/astnodes/Visitor.java | 2 +
.../astnodes/visitors/DefaultTreePathVisitor.java | 8 +
.../parser/astnodes/visitors/DefaultVisitor.java | 8 +-
.../modules/php/editor/resources/layer.xml | 1 +
.../IncorrectNamedArgumentsHintError.java | 205 +
.../editor/verification/PHP80UnhandledError.java | 14 +
.../parser/php80/attributeSyntaxError_01.pass | 2 +-
.../parser/php80/attributeSyntaxError_02.pass | 2 +-
.../php80/namedArgumentsWithAttribute_01.pass | 278 +
.../parser/php80/namedArguments_01.pass | 1390 ++++
.../php80/namedArgumentsWithLambdaFunction_01a.php | 71 +
...edArgumentsWithLambdaFunction_01a.php.formatted | 71 +
.../php80/namedArgumentsWithLambdaFunction_01b.php | 71 +
...edArgumentsWithLambdaFunction_01b.php.formatted | 71 +
.../formatting/php80/namedArguments_01a.php | 95 +
.../php80/namedArguments_01a.php.formatted | 101 +
.../formatting/php80/namedArguments_01b.php | 95 +
.../php80/namedArguments_01b.php.formatted | 101 +
.../php73/functionCallTrailingCommas_02.php.errors | 4 +-
.../php73/functionCallTrailingCommas_03.php.errors | 4 +-
.../php73/functionCallTrailingCommas_04.php.errors | 4 +-
.../php80/namedArgumentsWithAttribute_01.php | 32 +
.../namedArgumentsWithAttribute_01.php.errors} | 0
.../testfiles/parser/php80/namedArguments_01.php | 68 +
.../parser/php80/namedArguments_01.php.errors} | 0
.../testDuplicateNames.php | 62 +
...testDuplicateNames.php.testDuplicateNames.hints | 33 +
.../testDuplicateNamesInAttributeArgList.php | 35 +
....php.testDuplicateNamesInAttributeArgList.hints | 9 +
.../testNamedAndUnpack.php | 88 +
...testNamedAndUnpack.php.testNamedAndUnpack.hints | 60 +
.../testPositionalAfterNamed.php | 63 +
...alAfterNamed.php.testPositionalAfterNamed.hints | 15 +
.../testPositionalAfterNamedInAttributeArgList.php | 36 +
...estPositionalAfterNamedInAttributeArgList.hints | 6 +
.../php/editor/indent/PHPFormatterTest.java | 22 +
.../php/editor/parser/ASTPHP5ParserTest.java | 8 +
.../php/editor/parser/PhpParserErrorTest.java | 8 +
.../modules/php/editor/parser/PrintASTVisitor.java | 8 +
.../IncorrectNamedArgumentsHintErrorTest.java | 53 +
php/php.editor/tools/ASTPHP5Parser.cup | 91 +-
64 files changed, 56110 insertions(+), 50095 deletions(-)
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/parser/astnodes/NamedArgument.java
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/verification/IncorrectNamedArgumentsHintError.java
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/parser/ASTPHP5ParserTest/parser/php80/namedArgumentsWithAttribute_01.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/parser/ASTPHP5ParserTest/parser/php80/namedArguments_01.pass
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArgumentsWithLambdaFunction_01a.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArgumentsWithLambdaFunction_01a.php.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArgumentsWithLambdaFunction_01b.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArgumentsWithLambdaFunction_01b.php.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArguments_01a.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArguments_01a.php.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArguments_01b.php
create mode 100644
php/php.editor/test/unit/data/testfiles/formatting/php80/namedArguments_01b.php.formatted
create mode 100644
php/php.editor/test/unit/data/testfiles/parser/php80/namedArgumentsWithAttribute_01.php
copy
php/{php.smarty/src/org/netbeans/modules/php/smarty/resources/TplTemplate.tpl
=>
php.editor/test/unit/data/testfiles/parser/php80/namedArgumentsWithAttribute_01.php.errors}
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/parser/php80/namedArguments_01.php
copy
php/{php.smarty/src/org/netbeans/modules/php/smarty/resources/TplTemplate.tpl
=>
php.editor/test/unit/data/testfiles/parser/php80/namedArguments_01.php.errors}
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testDuplicateNames.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testDuplicateNames.php.testDuplicateNames.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testDuplicateNamesInAttributeArgList.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testDuplicateNamesInAttributeArgList.php.testDuplicateNamesInAttributeArgList.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testNamedAndUnpack.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testNamedAndUnpack.php.testNamedAndUnpack.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testPositionalAfterNamed.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testPositionalAfterNamed.php.testPositionalAfterNamed.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testPositionalAfterNamedInAttributeArgList.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectNamedArgumentsHintError/testPositionalAfterNamedInAttributeArgList.php.testPositionalAfterNamedInAttributeArgList.hints
create mode 100644
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/verification/IncorrectNamedArgumentsHintErrorTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists