Mercurial > hg > isophonics-drupal-site
view vendor/nikic/php-parser/test/code/parser/commentAtEndOfClass.test @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
line wrap: on
line source
Comment at end of class (#509) ----- <?php class MyClass { protected $a; // my comment } ----- array( 0: Stmt_Class( flags: 0 name: Identifier( name: MyClass ) extends: null implements: array( ) stmts: array( 0: Stmt_Property( flags: MODIFIER_PROTECTED (2) type: null props: array( 0: Stmt_PropertyProperty( name: VarLikeIdentifier( name: a ) default: null ) ) ) 1: Stmt_Nop( comments: array( 0: // my comment ) ) ) ) )