the whole shebang

This commit is contained in:
2014-11-25 16:42:40 +01:00
parent 7f74c0613e
commit ab1334c0cf
3686 changed files with 496409 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
<?php
/**
* @property PHPParser_Node_Expr[] $init Init expressions
* @property PHPParser_Node_Expr[] $cond Loop conditions
* @property PHPParser_Node_Expr[] $loop Loop expressions
* @property PHPParser_Node[] $stmts Statements
*/
class PHPParser_Node_Stmt_For extends PHPParser_Node_Stmt
{
/**
* Constructs a for loop node.
*
* @param array $subNodes Array of the following optional subnodes:
* 'init' => array(): Init expressions
* 'cond' => array(): Loop conditions
* 'loop' => array(): Loop expressions
* 'stmts' => array(): Statements
* @param array $attributes Additional attributes
*/
public function __construct(array $subNodes = array(), array $attributes = array()) {
parent::__construct(
$subNodes + array(
'init' => array(),
'cond' => array(),
'loop' => array(),
'stmts' => array(),
),
$attributes
);
}
}