summaryrefslogtreecommitdiffstats
path: root/src/ast/types/ContinueBreakType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/types/ContinueBreakType.java')
-rw-r--r--src/ast/types/ContinueBreakType.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ast/types/ContinueBreakType.java b/src/ast/types/ContinueBreakType.java
new file mode 100644
index 0000000..dfcf1f2
--- /dev/null
+++ b/src/ast/types/ContinueBreakType.java
@@ -0,0 +1,10 @@
+package ast.types;
+
+/**
+ * A type for the continue and break statements.
+ */
+public class ContinueBreakType extends Type {
+ public String toPrint(String prefix) {
+ return prefix + "ContinueBreak\n";
+ }
+}