-
Notifications
You must be signed in to change notification settings - Fork 0
/
instruction.h
32 lines (28 loc) · 854 Bytes
/
instruction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef INSTRUCTION_H
#define INSTRUCTION_H
#include "var.h"
#include "datatypes.h"
#include "map.h"
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <cstring>
using namespace std;
//basically the superclass that supercedes every class and the parent
class Instruction{
public:
Instruction();
virtual void doOps(vector<Var*>const&);
virtual void doChar_Ops(vector<Var*>const&);
virtual void doMisc(vector<Var*>const&);
virtual void doSet(vector<Var*>const&,int);
virtual int doGet(vector<Var*>const&);
virtual int checkArgs(vector<Var*>const&);
//virtual void checkOps(vector<Var*>const&);
virtual void doThread(vector < vector<Var*> > & );
virtual void doThreadMethod(vector<Var*>&);
virtual Instruction* clone();
~Instruction();
};
#endif