Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refs #202: Support for variable arg list implemented
Still missing support for epsillon token as part of the callee arguments.
- Loading branch information
Manuel Pichler
committed
May 20, 2015
1 parent
41d75da
commit dff2547
Showing
13 changed files
with
306 additions
and
114 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
.../resources/files/Source/AST/ASTFormalParameter/testIsVariableArgListPassedByReference.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
function testIsVariableArgListPassedByReference(&...$argList) | ||
{ | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...ources/files/Source/AST/ASTFormalParameter/testIsVariableArgListReturnsFalseByDefault.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
function testIsVariableArgListReturnsFalseByDefault($pdepend) | ||
{ | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/resources/files/Source/AST/ASTFormalParameter/testIsVariableArgListReturnsTrue.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
function testIsVariableArgListReturnsTrue(...$argList) | ||
{ | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
.../resources/files/Source/AST/ASTFormalParameter/testIsVariableArgListWithArrayTypeHint.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
function testIsVariableArgListWithArrayTypeHint(array ...$argList) | ||
{ | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
.../resources/files/Source/AST/ASTFormalParameter/testIsVariableArgListWithClassTypeHint.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
function testIsVariableArgListWithClassTypeHint(Iterator ...$iterator) | ||
{ | ||
|
||
} |