class Continue_
Hierarchy
- class \PhpParser\Node\Stmt\Continue_ extends \Node\Stmt
Expanded class hierarchy of Continue_
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ Continue_.php, line 7
Namespace
PhpParser\Node\StmtView source
class Continue_ extends Node\Stmt {
/** @var null|Node\Expr Number of loops to continue */
public ?Node\Expr $num;
/**
* Constructs a continue node.
*
* @param null|Node\Expr $num Number of loops to continue
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(?Node\Expr $num = null, array $attributes = []) {
$this->attributes = $attributes;
$this->num = $num;
}
public function getSubNodeNames() : array {
return [
'num',
];
}
public function getType() : string {
return 'Stmt_Continue';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Continue_::$num | public | property | @var null|Node\Expr Number of loops to continue |
Continue_::getSubNodeNames | public | function | |
Continue_::getType | public | function | |
Continue_::__construct | public | function | Constructs a continue node. |