Public Member Functions | Private Attributes | Static Private Attributes

OA::NewExprTree::CallNode Class Reference

#include <NewExprTree.hpp>

Inheritance diagram for OA::NewExprTree::CallNode:
Inheritance graph
[legend]
Collaboration diagram for OA::NewExprTree::CallNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CallNode ()
 CallNode (CallHandle h)
virtual ~CallNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaCallNode ()
CallHandle getHandle ()
void dump (std::ostream &os)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
void acceptVisitor (NewExprTreeVisitor &pVisitor)
 pass visitor to nodes in postorder and then accept visitor on tree
void output (IRHandlesIRInterface &ir)
bool operator< (Node &rhs)
bool operator< (CallNode &rhs)
virtual int getOrder ()

Private Attributes

CallHandle mHandle

Static Private Attributes

static const int sOrder = 500

Detailed Description

Definition at line 161 of file NewExprTree.hpp.


Constructor & Destructor Documentation

OA::NewExprTree::CallNode::CallNode (  )  [inline]

Definition at line 163 of file NewExprTree.hpp.

OA::NewExprTree::CallNode::CallNode ( CallHandle  h  )  [inline]

Definition at line 164 of file NewExprTree.hpp.

virtual OA::NewExprTree::CallNode::~CallNode (  )  [inline, virtual]

Definition at line 165 of file NewExprTree.hpp.


Member Function Documentation

void OA::NewExprTree::CallNode::acceptVisitor ( NewExprTreeVisitor  )  [virtual]

pass visitor to nodes in postorder and then accept visitor on tree

Implements OA::NewExprTree::Node.

Definition at line 221 of file NewExprTree.cpp.

OA_ptr<Node> OA::NewExprTree::CallNode::copy (  )  [inline, virtual]

return a copy of self

Implements OA::NewExprTree::Node.

Definition at line 168 of file NewExprTree.hpp.

void OA::NewExprTree::CallNode::dump ( std::ostream &  os  )  [inline, virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 173 of file NewExprTree.hpp.

Referenced by output().

void OA::NewExprTree::CallNode::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
) [virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 208 of file NewExprTree.cpp.

CallHandle OA::NewExprTree::CallNode::getHandle (  )  [inline]

Definition at line 172 of file NewExprTree.hpp.

Referenced by OA::OutputNewExprTreeVisitor::visitCallNode().

virtual int OA::NewExprTree::CallNode::getOrder (  )  [inline, virtual]

Implements OA::NewExprTree::Node.

Definition at line 188 of file NewExprTree.hpp.

bool OA::NewExprTree::CallNode::isaCallNode (  )  [inline, virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 171 of file NewExprTree.hpp.

bool OA::NewExprTree::CallNode::operator< ( Node rhs  )  [virtual]

Implements OA::NewExprTree::Node.

Definition at line 226 of file NewExprTree.cpp.

References OA::NewExprTreeVisitor::visitCallNode().

Here is the call graph for this function:

bool OA::NewExprTree::CallNode::operator< ( CallNode rhs  ) 

Definition at line 238 of file NewExprTree.cpp.

void OA::NewExprTree::CallNode::output ( IRHandlesIRInterface ir  )  [virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 214 of file NewExprTree.cpp.

References dump(), and mHandle.

Here is the call graph for this function:


Member Data Documentation

Definition at line 193 of file NewExprTree.hpp.

Referenced by output().

const int OA::NewExprTree::CallNode::sOrder = 500 [static, private]

Definition at line 192 of file NewExprTree.hpp.


The documentation for this class was generated from the following files: