Index: src/sksl/ast/SkSLASTContinueStatement.h |
diff --git a/src/sksl/ast/SkSLASTContinueStatement.h b/src/sksl/ast/SkSLASTContinueStatement.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5ab7a5c7479a5ecbd4e50a4a6d63039eb79bd38 |
--- /dev/null |
+++ b/src/sksl/ast/SkSLASTContinueStatement.h |
@@ -0,0 +1,31 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SKSL_ASTCONTINUESTATEMENT |
+#define SKSL_ASTCONTINUESTATEMENT |
+ |
+#include "SkSLASTStatement.h" |
+ |
+namespace SkSL { |
+ |
+/** |
+ * A 'continue' statement. |
+ */ |
+struct ASTContinueStatement : public ASTStatement { |
+ ASTContinueStatement(Position position) |
+ : INHERITED(position, kContinue_Kind) {} |
+ |
+ std::string description() const override { |
+ return "continue;"; |
+ } |
+ |
+ typedef ASTStatement INHERITED; |
+}; |
+ |
+} // namespace |
+ |
+#endif |