aboutsummaryrefslogtreecommitdiffstats
path: root/runnerline.h
diff options
context:
space:
mode:
Diffstat (limited to 'runnerline.h')
-rw-r--r--runnerline.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/runnerline.h b/runnerline.h
new file mode 100644
index 0000000..b738f58
--- /dev/null
+++ b/runnerline.h
@@ -0,0 +1,34 @@
+#ifndef INCLUDE_BLASSIC_RUNNERLINE_H
+#define INCLUDE_BLASSIC_RUNNERLINE_H
+
+// runnerline.h
+// Revision 18-jul-2004
+
+#include "codeline.h"
+#include "function.h"
+#include "result.h"
+
+class Runner;
+class LocalLevel;
+
+class RunnerLine {
+public:
+ RunnerLine (Runner & runner);
+ RunnerLine (Runner & runner, const CodeLine & newcodeline);
+ virtual ~RunnerLine ();
+
+ CodeLine & getcodeline () { return codeline; }
+ virtual void execute ()= 0;
+ virtual ProgramPos getposactual () const= 0;
+ virtual void callfn (Function & f, const std::string & fname,
+ LocalLevel & ll, blassic::result::BlResult & result)= 0;
+protected:
+ Runner & runner;
+ CodeLine codeline;
+};
+
+RunnerLine * newRunnerLine (Runner & runner, const CodeLine & newcodeline);
+
+#endif
+
+// End of runnerline.h
Un proyecto texto-plano.xyz