view vendor/nikic/php-parser/test/code/parser/stmt/namespace/commentAfterNamespace.test @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
Trailing comment after braced namespace declaration
-----
<?php
namespace Foo {}
// Comment
-----
array(
    0: Stmt_Namespace(
        name: Name(
            parts: array(
                0: Foo
            )
        )
        stmts: array(
        )
    )
    1: Stmt_Nop(
        comments: array(
            0: // Comment
        )
    )
)