TorqueScript  0.2
instructionsequence.hpp
1 
15 #pragma once
16 
17 #include <vector>
18 #include <memory>
19 #include <string>
20 
21 namespace TorqueScript
22 {
23  namespace Instructions
24  {
25  class Instruction;
26  }
27 
28  class ExecutionState;
29 
31  typedef long long int AddressType;
32  typedef unsigned long long int AddressOffsetType;
33 
38  class InstructionSequence : public std::vector<std::shared_ptr<Instructions::Instruction>>
39  {
40  public:
41  void execute(std::shared_ptr<ExecutionState> state);
42  };
43 }
Storage class for a sequence of instructions to be executed. Also implements the primary execution co...
Definition: instructionsequence.hpp:39
Definition: ast.hpp:28
long long int AddressType
Typedef for the signed integer type to be used when calculating addresses.
Definition: instructionsequence.hpp:28