spo/simulator_SIC_XE/include/code.h
2025-12-10 09:26:34 +01:00

26 lines
No EOL
365 B
C++

#ifndef CODE_H
#define CODE_H
#include <vector>
#include <memory>
#include "node.h"
class Code {
public:
Code() = default;
void addLine(const std::shared_ptr<Node>& line);
const std::vector<std::shared_ptr<Node>>& getLines() const;
const string toString() const;
private:
std::vector<std::shared_ptr<Node>> _lines;
};
#endif // CODE_H