X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fexpr%2FfetchAndCall%2FstaticPropertyFetch.test;fp=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fexpr%2FfetchAndCall%2FstaticPropertyFetch.test;h=a1de3c8c1260834d20735d8acd53e9a150a135bf;hp=3d3cde5104caf961dddffb5554e1d5ca44d7d58f;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test index 3d3cde510..a1de3c8c1 100644 --- a/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test +++ b/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test @@ -14,73 +14,95 @@ A::$b{'c'}; // class name variations can be found in staticCall.test ----- array( - 0: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A + 0: Stmt_Expression( + expr: Expr_StaticPropertyFetch( + class: Name( + parts: array( + 0: A + ) + comments: array( + 0: // property name variations + ) + ) + name: VarLikeIdentifier( + name: b ) comments: array( 0: // property name variations ) ) - name: b comments: array( 0: // property name variations ) ) - 1: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A + 1: Stmt_Expression( + expr: Expr_StaticPropertyFetch( + class: Name( + parts: array( + 0: A + ) ) - ) - name: Expr_Variable( - name: b - ) - ) - 2: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A + name: Expr_Variable( + name: b ) ) - name: Scalar_String( - value: b - ) ) - 3: Expr_ArrayDimFetch( - var: Expr_StaticPropertyFetch( + 2: Stmt_Expression( + expr: Expr_StaticPropertyFetch( class: Name( parts: array( 0: A ) + ) + name: Scalar_String( + value: b + ) + ) + ) + 3: Stmt_Expression( + expr: Expr_ArrayDimFetch( + var: Expr_StaticPropertyFetch( + class: Name( + parts: array( + 0: A + ) + comments: array( + 0: // array access + ) + ) + name: VarLikeIdentifier( + name: b + ) comments: array( 0: // array access ) ) - name: b + dim: Scalar_String( + value: c + ) comments: array( 0: // array access ) ) - dim: Scalar_String( - value: c - ) comments: array( 0: // array access ) ) - 4: Expr_ArrayDimFetch( - var: Expr_StaticPropertyFetch( - class: Name( - parts: array( - 0: A + 4: Stmt_Expression( + expr: Expr_ArrayDimFetch( + var: Expr_StaticPropertyFetch( + class: Name( + parts: array( + 0: A + ) + ) + name: VarLikeIdentifier( + name: b ) ) - name: b - ) - dim: Scalar_String( - value: c + dim: Scalar_String( + value: c + ) ) ) 5: Stmt_Nop(