#include <OperatorNodes.h>
Inheritance diagram for UniOperatorNode:
Public Member Functions | |
UniOperatorNode (const uint32 opcode, const uint32 offset) | |
~UniOperatorNode () | |
void | print_unk (Console &o, const uint32 isize) const |
void | print_asm (Console &o) const |
void | print_bin (ODequeDataSource &o) const |
bool | fold (DCUnit *unit, std::deque< Node * > &nodes) |
Protected Types | |
NOT | |
STR_TO_PTR | |
enum | optype { NOT, STR_TO_PTR } |
Protected Attributes | |
enum UniOperatorNode::optype | otype |
Definition at line 124 of file OperatorNodes.h.
enum UniOperatorNode::optype [protected] |
Definition at line 127 of file OperatorNodes.h.
References acceptOp(), NOT, otype, Node::rtype(), STR_TO_PTR, Type::T_STRPTR, and Type::T_WORD.
UniOperatorNode::~UniOperatorNode | ( | ) | [inline] |
Definition at line 138 of file OperatorNodes.h.
Implements Node.
Definition at line 323 of file OperatorNodes.cpp.
References acceptType(), UniNode::grab_n(), NOT, otype, STR_TO_PTR, Type::T_BYTE, Type::T_STRING, and Type::T_WORD.
void UniOperatorNode::print_asm | ( | Console & | o | ) | const [virtual] |
Reimplemented from Node.
Definition at line 281 of file OperatorNodes.cpp.
References UniNode::node, NOT, otype, Node::print_asm(), Console::Printf(), Console::Putchar(), Node::rtype(), STR_TO_PTR, and Type::T_INVALID.
void UniOperatorNode::print_bin | ( | ODequeDataSource & | o | ) | const [virtual] |
Implements Node.
Definition at line 304 of file OperatorNodes.cpp.
References UniNode::node, NOT, otype, Node::print_bin(), Node::rtype(), STR_TO_PTR, Type::T_INVALID, and ODequeDataSource::write1().
Implements Node.
Definition at line 261 of file OperatorNodes.cpp.
References UniNode::node, NOT, otype, Node::print_unk(), Console::Printf(), Console::Putchar(), Node::rtype(), STR_TO_PTR, and Type::T_INVALID.
enum UniOperatorNode::optype UniOperatorNode::otype [protected] |
Referenced by fold(), print_asm(), print_bin(), print_unk(), and UniOperatorNode().