42 bool has_operand()
const {
return m_operand.get_kind() != Operand::NONE; }
HasOperand is a base class for NodeBase, which in turn is a base class for Node.
Definition: has_operand.h:31
bool has_operand() const
Check whether this Node has a valid Operand.
Definition: has_operand.h:42
void set_operand(const Operand &op)
Set the Node's Operand.
Definition: has_operand.h:38
const Operand get_operand() const
Get this Node's Operand.
Definition: has_operand.h:46