LoopScriptNode Class Reference

#include <LoopScriptNodes.h>

Inheritance diagram for LoopScriptNode:

Node PrintHelperNode List of all members.

Public Member Functions

 LoopScriptNode (const uint32 opcode, const uint32 offset, const uint32 newScriptTok)
 ~LoopScriptNode ()
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)
const uint32 lsTok () const

Private Attributes

uint32 scriptTok

Detailed Description

Definition at line 27 of file LoopScriptNodes.h.


Constructor & Destructor Documentation

LoopScriptNode::LoopScriptNode ( const uint32  opcode,
const uint32  offset,
const uint32  newScriptTok 
) [inline]

Definition at line 30 of file LoopScriptNodes.h.

References acceptOp().

LoopScriptNode::~LoopScriptNode (  )  [inline]

Definition at line 35 of file LoopScriptNodes.h.


Member Function Documentation

bool LoopScriptNode::fold ( DCUnit unit,
std::deque< Node * > &  nodes 
) [virtual]

Implements Node.

Definition at line 55 of file LoopScriptNodes.cpp.

References Node::fold_linenum().

const uint32 LoopScriptNode::lsTok (  )  const [inline]

Definition at line 42 of file LoopScriptNodes.h.

void LoopScriptNode::print_asm ( Console o  )  const [virtual]

Reimplemented from Node.

Definition at line 40 of file LoopScriptNodes.cpp.

References Node::print_linenum_asm(), Console::Printf(), Node::rtype(), ScriptExpressions, scriptTok, and Type::T_INVALID.

void LoopScriptNode::print_bin ( ODequeDataSource o  )  const [virtual]

Implements Node.

Definition at line 47 of file LoopScriptNodes.cpp.

References Node::print_linenum_bin(), Node::rtype(), scriptTok, Type::T_INVALID, and ODequeDataSource::write1().

void LoopScriptNode::print_unk ( Console o,
const uint32  isize 
) const [virtual]

Implements Node.

Definition at line 33 of file LoopScriptNodes.cpp.

References Node::print_linenum_unk(), Console::Printf(), Node::rtype(), scriptTok, and Type::T_INVALID.


Member Data Documentation

uint32 LoopScriptNode::scriptTok [private]

Definition at line 42 of file LoopScriptNodes.h.

Referenced by print_asm(), print_bin(), and print_unk().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:31 2007 for pentagram by  doxygen 1.4.7