mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-02 17:38:19 +01:00
22 lines
525 B
PHP
22 lines
525 B
PHP
<?php
|
|
|
|
/**
|
|
* @property PHPParser_Node[] $stmts Statements
|
|
*/
|
|
class PHPParser_Node_Stmt_Else extends PHPParser_Node_Stmt
|
|
{
|
|
/**
|
|
* Constructs an else node.
|
|
*
|
|
* @param PHPParser_Node[] $stmts Statements
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct(array $stmts = array(), array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'stmts' => $stmts,
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |