Файл: gapps/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php
Строк: 26
<?php
namespace PhpParserNodeStmt;
use PhpParserNode;
class While_ extends NodeStmt
{
/** @var NodeExpr Condition */
public $cond;
/** @var Node[] Statements */
public $stmts;
/**
* Constructs a while node.
*
* @param NodeExpr $cond Condition
* @param Node[] $stmts Statements
* @param array $attributes Additional attributes
*/
public function __construct(NodeExpr $cond, array $stmts = array(), array $attributes = array()) {
parent::__construct($attributes);
$this->cond = $cond;
$this->stmts = $stmts;
}
public function getSubNodeNames() {
return array('cond', 'stmts');
}
}