Public Member Functions | Private Attributes | Static Private Attributes

OA::NewExprTree::ConstValNode Class Reference

#include <NewExprTree.hpp>

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

List of all members.

Public Member Functions

 ConstValNode ()
 ConstValNode (OA_ptr< ConstValBasicInterface > constInter)
virtual ~ConstValNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaConstValNode ()
OA_ptr< ConstValBasicInterfacegetConstValInterface ()
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< (ConstValNode &rhs)
virtual int getOrder ()

Private Attributes

OA_ptr< ConstValBasicInterfacemConstValInter

Static Private Attributes

static const int sOrder = 400

Detailed Description

Definition at line 264 of file NewExprTree.hpp.


Constructor & Destructor Documentation

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

Definition at line 266 of file NewExprTree.hpp.

OA::NewExprTree::ConstValNode::ConstValNode ( OA_ptr< ConstValBasicInterface constInter  )  [inline]

Definition at line 267 of file NewExprTree.hpp.

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

Definition at line 271 of file NewExprTree.hpp.


Member Function Documentation

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

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

Implements OA::NewExprTree::Node.

Definition at line 342 of file NewExprTree.cpp.

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

return a copy of self

Implements OA::NewExprTree::Node.

Definition at line 274 of file NewExprTree.hpp.

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 281 of file NewExprTree.hpp.

Referenced by output().

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 328 of file NewExprTree.cpp.

OA_ptr<ConstValBasicInterface> OA::NewExprTree::ConstValNode::getConstValInterface (  )  [inline]

Definition at line 278 of file NewExprTree.hpp.

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

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

Implements OA::NewExprTree::Node.

Definition at line 296 of file NewExprTree.hpp.

bool OA::NewExprTree::ConstValNode::isaConstValNode (  )  [inline, virtual]

Reimplemented from OA::NewExprTree::Node.

Definition at line 277 of file NewExprTree.hpp.

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

Implements OA::NewExprTree::Node.

Definition at line 347 of file NewExprTree.cpp.

References OA::NewExprTreeVisitor::visitConstValNode().

Here is the call graph for this function:

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

Definition at line 359 of file NewExprTree.cpp.

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

Reimplemented from OA::NewExprTree::Node.

Definition at line 335 of file NewExprTree.cpp.

References dump(), and mConstValInter.

Here is the call graph for this function:


Member Data Documentation

Definition at line 300 of file NewExprTree.hpp.

Referenced by output().

const int OA::NewExprTree::ConstValNode::sOrder = 400 [static, private]

Definition at line 299 of file NewExprTree.hpp.


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