Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/test/code/parser/stmt/namespace/groupUsePositions.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 Ensure correct file position attributes for group use prefix | |
2 ----- | |
3 <?php | |
4 use Foo\Bar\{Baz}; | |
5 ----- | |
6 !!positions | |
7 array( | |
8 0: Stmt_GroupUse[2:1 - 2:17]( | |
9 type: TYPE_UNKNOWN (0) | |
10 prefix: Name[2:5 - 2:11]( | |
11 parts: array( | |
12 0: Foo | |
13 1: Bar | |
14 ) | |
15 ) | |
16 uses: array( | |
17 0: Stmt_UseUse[2:14 - 2:16]( | |
18 type: TYPE_NORMAL (1) | |
19 name: Name[2:14 - 2:16]( | |
20 parts: array( | |
21 0: Baz | |
22 ) | |
23 ) | |
24 alias: Baz | |
25 ) | |
26 ) | |
27 ) | |
28 ) |