summaryrefslogtreecommitdiff
path: root/AbstractInterpreter.java
diff options
context:
space:
mode:
Diffstat (limited to 'AbstractInterpreter.java')
-rw-r--r--AbstractInterpreter.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/AbstractInterpreter.java b/AbstractInterpreter.java
new file mode 100644
index 0000000..7e7b82d
--- /dev/null
+++ b/AbstractInterpreter.java
@@ -0,0 +1,17 @@
+abstract class AbstractInterpreter implements Interpreter {
+ public String print(String code) {
+ return code;
+ }
+
+ public String trace(String code, String param) {
+ return code;
+ }
+
+ public int minLength() {
+ return 0;
+ }
+
+ public int maxLength() {
+ return 1024 * 1024;
+ }
+}
contact: Jan Huwald // Impressum