summaryrefslogtreecommitdiffstats
path: root/src/ast/types/ContinueBreakType.java
diff options
context:
space:
mode:
authorL0P0P <grassoemanuele@live.com>2024-06-27 10:02:35 +0000
committerL0P0P <grassoemanuele@live.com>2024-06-27 10:02:35 +0000
commit3c4229fc9e0ec6da9a7f60b57b9e93c49d1b6b6c (patch)
treeaca198eca62a0260a50ea59003c44a942e98f521 /src/ast/types/ContinueBreakType.java
parentfb89b8c0885ee4e289cfb577bbabf0ee66b05024 (diff)
Fixed a lot of problems from all the progs we need to parse
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";
+ }
+}