mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-03 17:57:59 +01:00
26 lines
577 B
PHP
26 lines
577 B
PHP
|
<?php
|
||
|
|
||
|
namespace PhpParser\Node\Stmt;
|
||
|
|
||
|
use PhpParser\Node;
|
||
|
|
||
|
/**
|
||
|
* @property null|Node\Expr $num Number of loops to continue
|
||
|
*/
|
||
|
class Continue_ extends Node\Stmt
|
||
|
{
|
||
|
/**
|
||
|
* Constructs a continue node.
|
||
|
*
|
||
|
* @param null|Node\Expr $num Number of loops to continue
|
||
|
* @param array $attributes Additional attributes
|
||
|
*/
|
||
|
public function __construct(Node\Expr $num = null, array $attributes = array()) {
|
||
|
parent::__construct(
|
||
|
array(
|
||
|
'num' => $num,
|
||
|
),
|
||
|
$attributes
|
||
|
);
|
||
|
}
|
||
|
}
|