projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
expr
/
fetchAndCall
/
newDeref.test
diff --git
a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test
b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test
index 5e36ff8102326ba79885f3eb127283914fde93c6..a4b7a7240b97706436e7a4d4b8534ac649685b9b 100644
(file)
--- a/
vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test
+++ b/
vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test
@@
-8,48
+8,42
@@
New expression dereferencing
(new A)['b']['c'];
-----
array(
(new A)['b']['c'];
-----
array(
- 0: Expr_PropertyFetch(
- var: Expr_New(
- class: Name(
- parts: array(
- 0: A
+ 0: Stmt_Expression(
+ expr: Expr_PropertyFetch(
+ var: Expr_New(
+ class: Name(
+ parts: array(
+ 0: A
+ )
)
)
- )
- args: array(
- )
- )
- name: b
- )
- 1: Expr_MethodCall(
- var: Expr_New(
- class: Name(
- parts: array(
- 0: A
+ args: array(
)
)
)
)
- args: array(
+ name: Identifier(
+ name: b
)
)
)
)
- name: b
- args: array(
- )
)
)
- 2: Expr_ArrayDimFetch(
- var: Expr_New(
- class: Name(
- parts: array(
- 0: A
+ 1: Stmt_Expression(
+ expr: Expr_MethodCall(
+ var: Expr_New(
+ class: Name(
+ parts: array(
+ 0: A
+ )
+ )
+ args: array(
)
)
)
)
+ name: Identifier(
+ name: b
+ )
args: array(
)
)
args: array(
)
)
- dim: Scalar_String(
- value: b
- )
)
)
-
3: Expr_ArrayDimFetch
(
-
va
r: Expr_ArrayDimFetch(
+
2: Stmt_Expression
(
+
exp
r: Expr_ArrayDimFetch(
var: Expr_New(
class: Name(
parts: array(
var: Expr_New(
class: Name(
parts: array(
@@
-63,8
+57,26
@@
array(
value: b
)
)
value: b
)
)
- dim: Scalar_String(
- value: c
+ )
+ 3: Stmt_Expression(
+ expr: Expr_ArrayDimFetch(
+ var: Expr_ArrayDimFetch(
+ var: Expr_New(
+ class: Name(
+ parts: array(
+ 0: A
+ )
+ )
+ args: array(
+ )
+ )
+ dim: Scalar_String(
+ value: b
+ )
+ )
+ dim: Scalar_String(
+ value: c
+ )
)
)
)
\ No newline at end of file
)
)
)
\ No newline at end of file