Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/test/code/parser/blockComments.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 Comments on blocks | |
2 ----- | |
3 <?php | |
4 | |
5 // foo | |
6 { | |
7 // bar | |
8 { | |
9 // baz | |
10 $a; | |
11 } | |
12 } | |
13 | |
14 // empty | |
15 {} | |
16 ----- | |
17 array( | |
18 0: Expr_Variable( | |
19 name: a | |
20 comments: array( | |
21 0: // foo | |
22 1: // bar | |
23 2: // baz | |
24 ) | |
25 ) | |
26 1: Stmt_Nop( | |
27 comments: array( | |
28 0: // empty | |
29 ) | |
30 ) | |
31 ) |