mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-12 17:37:21 +01:00
25 lines
735 B
PHP
25 lines
735 B
PHP
<?php
|
|
|
|
/**
|
|
* @property PHPParser_Node[] $stmts Statements
|
|
* @property PHPParser_Node_Stmt_Catch[] $catches Catches
|
|
*/
|
|
class PHPParser_Node_Stmt_TryCatch extends PHPParser_Node_Stmt
|
|
{
|
|
/**
|
|
* Constructs a try catch node.
|
|
*
|
|
* @param PHPParser_Node[] $stmts Statements
|
|
* @param PHPParser_Node_Stmt_Catch[] $catches Catches
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct(array $stmts, array $catches, array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'stmts' => $stmts,
|
|
'catches' => $catches,
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |