#include <IfNode.h>
Inheritance diagram for EndNode:
Public Member Functions | |
EndNode (const uint32 opcode, const uint32 offset, const uint32 newTargetOffset) | |
~EndNode () | |
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) |
uint32 | TargetOffset () const |
Protected Types | |
JMP | |
enum | endtype { JMP } |
Protected Attributes | |
enum EndNode::endtype | etype |
Private Attributes | |
uint32 | targetOffset |
Definition at line 28 of file IfNode.h.
enum EndNode::endtype [protected] |
void EndNode::print_asm | ( | Console & | o | ) | const [virtual] |
Reimplemented from Node.
Definition at line 322 of file IfNode.cpp.
References Node::_offset, etype, JMP, Node::print_asm(), Node::print_linenum_asm(), Node::rtype(), Type::T_INVALID, and targetOffset.
Referenced by IfNode::print_asm().
void EndNode::print_bin | ( | ODequeDataSource & | o | ) | const [virtual] |
Implements Node.
Definition at line 336 of file IfNode.cpp.
References Node::_offset, etype, JMP, Node::print_linenum_bin(), Node::rtype(), Type::T_INVALID, targetOffset, ODequeDataSource::write1(), and ODequeDataSource::write2().
Referenced by IfNode::print_bin().
Implements Node.
Definition at line 309 of file IfNode.cpp.
References etype, JMP, Node::print_linenum_unk(), Console::Printf(), Node::rtype(), Type::T_INVALID, and targetOffset.
Referenced by IfNode::print_unk().
uint32 EndNode::TargetOffset | ( | ) | const [inline] |
Definition at line 48 of file IfNode.h.
References targetOffset.
Referenced by IfNode::TargetOffset().
enum EndNode::endtype EndNode::etype [protected] |
Referenced by EndNode(), print_asm(), print_bin(), and print_unk().
uint32 EndNode::targetOffset [private] |
Definition at line 54 of file IfNode.h.
Referenced by print_asm(), print_bin(), print_unk(), and TargetOffset().