comparison vendor/nikic/php-parser/test/code/parser/stmt/namespace/commentAfterNamespace.test @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 Trailing comment after braced namespace declaration
2 -----
3 <?php
4 namespace Foo {}
5 // Comment
6 -----
7 array(
8 0: Stmt_Namespace(
9 name: Name(
10 parts: array(
11 0: Foo
12 )
13 )
14 stmts: array(
15 )
16 )
17 1: Stmt_Nop(
18 comments: array(
19 0: // Comment
20 )
21 )
22 )