Mercurial > hg > isophonics-drupal-site
annotate vendor/nikic/php-parser/test/code/prettyPrinter/comments.test @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 Comments |
Chris@0 | 2 ----- |
Chris@0 | 3 <?php |
Chris@0 | 4 |
Chris@0 | 5 function justForIndentation() |
Chris@0 | 6 { |
Chris@0 | 7 // Some text |
Chris@0 | 8 # Some text |
Chris@0 | 9 /* Some text */ |
Chris@0 | 10 /** Some text */ |
Chris@0 | 11 /** |
Chris@0 | 12 * Some text. |
Chris@0 | 13 * Some more text. |
Chris@0 | 14 */ |
Chris@0 | 15 /* |
Chris@0 | 16 * Some text. |
Chris@0 | 17 * Some more text. |
Chris@0 | 18 */ |
Chris@0 | 19 /* |
Chris@0 | 20 Some text. |
Chris@0 | 21 Some more text. |
Chris@0 | 22 */ |
Chris@0 | 23 /* Some text. |
Chris@0 | 24 More text. */ |
Chris@0 | 25 /* Some text. |
Chris@0 | 26 More text. |
Chris@0 | 27 Even more text. */ |
Chris@0 | 28 $foo; |
Chris@0 | 29 } |
Chris@0 | 30 ----- |
Chris@0 | 31 function justForIndentation() |
Chris@0 | 32 { |
Chris@0 | 33 // Some text |
Chris@0 | 34 # Some text |
Chris@0 | 35 /* Some text */ |
Chris@0 | 36 /** Some text */ |
Chris@0 | 37 /** |
Chris@0 | 38 * Some text. |
Chris@0 | 39 * Some more text. |
Chris@0 | 40 */ |
Chris@0 | 41 /* |
Chris@0 | 42 * Some text. |
Chris@0 | 43 * Some more text. |
Chris@0 | 44 */ |
Chris@0 | 45 /* |
Chris@0 | 46 Some text. |
Chris@0 | 47 Some more text. |
Chris@0 | 48 */ |
Chris@0 | 49 /* Some text. |
Chris@0 | 50 More text. */ |
Chris@0 | 51 /* Some text. |
Chris@0 | 52 More text. |
Chris@0 | 53 Even more text. */ |
Chris@0 | 54 $foo; |
Chris@0 | 55 } |
Chris@0 | 56 ----- |
Chris@0 | 57 <?php |
Chris@0 | 58 |
Chris@0 | 59 function test() |
Chris@0 | 60 { |
Chris@0 | 61 // empty |
Chris@0 | 62 } |
Chris@0 | 63 ----- |
Chris@0 | 64 function test() |
Chris@0 | 65 { |
Chris@0 | 66 // empty |
Chris@0 | 67 } |