Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 5fb285c0d0e3 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 Semicolon style namespaces | |
2 ----- | |
3 <?php | |
4 | |
5 namespace Foo\Bar; | |
6 foo; | |
7 | |
8 namespace Bar; | |
9 bar; | |
10 ----- | |
11 array( | |
12 0: Stmt_Namespace( | |
13 name: Name( | |
14 parts: array( | |
15 0: Foo | |
16 1: Bar | |
17 ) | |
18 ) | |
19 stmts: array( | |
20 0: Expr_ConstFetch( | |
21 name: Name( | |
22 parts: array( | |
23 0: foo | |
24 ) | |
25 ) | |
26 ) | |
27 ) | |
28 ) | |
29 1: Stmt_Namespace( | |
30 name: Name( | |
31 parts: array( | |
32 0: Bar | |
33 ) | |
34 ) | |
35 stmts: array( | |
36 0: Expr_ConstFetch( | |
37 name: Name( | |
38 parts: array( | |
39 0: bar | |
40 ) | |
41 ) | |
42 ) | |
43 ) | |
44 ) | |
45 ) |