mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-04 02:17:56 +01:00
25 lines
784 B
PHP
25 lines
784 B
PHP
<?php
|
|
|
|
/**
|
|
* @property int $type Modifiers
|
|
* @property PHPParser_Node_Stmt_PropertyProperty[] $props Properties
|
|
*/
|
|
class PHPParser_Node_Stmt_Property extends PHPParser_Node_Stmt
|
|
{
|
|
/**
|
|
* Constructs a class property list node.
|
|
*
|
|
* @param int $type Modifiers
|
|
* @param PHPParser_Node_Stmt_PropertyProperty[] $props Properties
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct($type, array $props, array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'type' => $type,
|
|
'props' => $props,
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |