#include <tree.h>
Public Member Functions | |
virtual void | emit (PreLinkBytecode &bytecodes) const |
Generate bytecode. | |
virtual Node * | optimize (std::ostream *dump) |
Optimize this node, return the optimized node. | |
StoreNode (const SourcePos &sourcePos, unsigned varAddr) | |
Constructor. | |
virtual std::string | toNodeName () const |
Return a string representation of the name of this node. | |
virtual std::string | toString () const |
Return a string representation of this node. | |
Public Attributes | |
unsigned | varAddr |
address of variable to store to |
Node for storing a variable from stack. no children
Definition at line 338 of file tree.h.
Aseba::StoreNode::StoreNode | ( | const SourcePos & | sourcePos, | |
unsigned | varAddr | |||
) | [inline] |
virtual std::string Aseba::StoreNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.
unsigned Aseba::StoreNode::varAddr |