Version 1
[yaffs-website] / vendor / nikic / php-parser / lib / PhpParser / Node / Stmt / Continue_.php
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php b/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php
new file mode 100644 (file)
index 0000000..f78e19a
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace PhpParser\Node\Stmt;
+
+use PhpParser\Node;
+
+class Continue_ extends Node\Stmt
+{
+    /** @var null|Node\Expr Number of loops to continue */
+    public $num;
+
+    /**
+     * 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($attributes);
+        $this->num = $num;
+    }
+
+    public function getSubNodeNames() {
+        return array('num');
+    }
+}