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

31 lines
No EOL
396 B
C++

#ifndef NODE_H
#define NODE_H
#include <string>
#include <memory>
#include "mnemonic.h"
using std::string;
class Node {
public:
string getLabel() const;
string getComment() const;
std::shared_ptr<Mnemonic> getMnemonic() const;
string toString() const;
protected:
string _label;
std::shared_ptr<Mnemonic> _mnemonic;
string _comment;
};
#endif // NODE_H