Public Member Functions | Private Attributes | Static Private Attributes

OA::NewExprTree::ConstSymNode Class Reference

#include <NewExprTree.hpp>

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

List of all members.

Public Member Functions

 ConstSymNode ()
 ConstSymNode (ConstSymHandle h)
virtual ~ConstSymNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaConstSymNode ()
ConstSymHandle 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< (ConstSymNode &rhs)
virtual int getOrder ()

Private Attributes

ConstSymHandle mHandle

Static Private Attributes

static const int sOrder = 300

Detailed Description

Definition at line 230 of file NewExprTree.hpp.


Constructor & Destructor Documentation

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

Definition at line 232 of file NewExprTree.hpp.

OA::NewExprTree::ConstSymNode::ConstSymNode ( ConstSymHandle  h  )  [inline]

Definition at line 233 of file NewExprTree.hpp.

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

Definition at line 234 of file NewExprTree.hpp.


Member Function Documentation

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

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

Implements OA::NewExprTree::Node.

Definition at line 302 of file NewExprTree.cpp.

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

return a copy of self

Implements OA::NewExprTree::Node.

Definition at line 237 of file NewExprTree.hpp.

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 242 of file NewExprTree.hpp.

Referenced by output().

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 288 of file NewExprTree.cpp.

ConstSymHandle OA::NewExprTree::ConstSymNode::getHandle (  )  [inline]

Definition at line 241 of file NewExprTree.hpp.

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

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

Implements OA::NewExprTree::Node.

Definition at line 257 of file NewExprTree.hpp.

bool OA::NewExprTree::ConstSymNode::isaConstSymNode (  )  [inline, virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 240 of file NewExprTree.hpp.

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

Implements OA::NewExprTree::Node.

Definition at line 307 of file NewExprTree.cpp.

References OA::NewExprTreeVisitor::visitConstSymNode().

Here is the call graph for this function:

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

Definition at line 319 of file NewExprTree.cpp.

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 295 of file NewExprTree.cpp.

References dump(), and mHandle.

Here is the call graph for this function:


Member Data Documentation

Definition at line 261 of file NewExprTree.hpp.

Referenced by output().

const int OA::NewExprTree::ConstSymNode::sOrder = 300 [static, private]

Definition at line 260 of file NewExprTree.hpp.


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