#include "node.h" string Node::getLabel() const { return _label; } string Node::getComment() const { return _comment; } std::shared_ptr Node::getMnemonic() const { return _mnemonic; } string Node::toString() const { return (_label.length() > 0 ? _label + " " : "") + (_mnemonic ? _mnemonic->toString() + " ": "") + "." + _comment; }