TorqueScript  0.2
storedvaluestack.hpp
1 
15 #pragma once
16 
17 #include <vector>
18 #include <memory>
19 #include <string>
20 
21 #include <torquescript/storedvalue.hpp>
22 
23 namespace TorqueScript
24 {
25  class ExecutionState;
26 
31  class StoredValueStack : public std::vector<StoredValue>
32  {
33  public:
34  int popInteger(std::shared_ptr<ExecutionState> state);
35  std::string popString(std::shared_ptr<ExecutionState> state);
36  float popFloat(std::shared_ptr<ExecutionState> state);
37 
38  std::vector<std::string> dump();
39  };
40 }
Storage class used to keep variable values in-memory of arbitrary data types. This is the base class ...
Definition: storedvaluestack.hpp:32
Definition: ast.hpp:28