TypedExp Class Reference

#include <include/exp.h>

Inheritance diagram for TypedExp:

Unary Exp List of all members.

Detailed Description

Definition at line 699 of file exp.h.

Public Member Functions

virtual Expaccept (ExpModifier *v)
virtual bool accept (ExpVisitor *v)
virtual void appendDotFile (std::ofstream &of)
virtual TypeascendType ()
virtual Expclone ()
virtual void descendType (Type *parentType, bool &ch, Statement *s)
virtual TypegetType ()
virtual bool operator *= (Exp &o)
virtual bool operator< (const Exp &o) const
virtual bool operator<< (const Exp &o) const
virtual bool operator== (const Exp &o) const
virtual ExppolySimplify (bool &bMod)
virtual void print (std::ostream &os, bool html=false)
virtual void printx (int ind)
virtual void setType (Type *ty)
 TypedExp (TypedExp &o)
 TypedExp (Type *ty, Exp *e1)
 TypedExp (Exp *e1)
 TypedExp ()

Private Attributes

Typetype

Friends

class XMLProgParser


Constructor & Destructor Documentation

TypedExp::TypedExp  ) 
 

Definition at line 122 of file exp.cpp.

Referenced by clone().

TypedExp::TypedExp Exp e1  ) 
 

Definition at line 123 of file exp.cpp.

TypedExp::TypedExp Type ty,
Exp e1
 

Definition at line 124 of file exp.cpp.

TypedExp::TypedExp TypedExp o  ) 
 

Definition at line 125 of file exp.cpp.

References Type::clone(), Exp::clone(), Unary::subExp1, and type.


Member Function Documentation

Exp * TypedExp::accept ExpModifier v  )  [virtual]
 

Reimplemented from Unary.

Definition at line 3735 of file exp.cpp.

References Exp::accept(), ExpModifier::postVisit(), ExpModifier::preVisit(), and Unary::subExp1.

bool TypedExp::accept ExpVisitor v  )  [virtual]
 

Reimplemented from Unary.

Definition at line 3623 of file exp.cpp.

References Exp::accept(), Unary::subExp1, and ExpVisitor::visit().

void TypedExp::appendDotFile std::ofstream &  of  )  [virtual]
 

Reimplemented from Unary.

Definition at line 1163 of file exp.cpp.

References Exp::appendDotFile(), Type::getCtype(), Unary::subExp1, and type.

Type * TypedExp::ascendType  )  [virtual]
 

Reimplemented from Unary.

Definition at line 1075 of file dfa.cpp.

References type.

Exp * TypedExp::clone  )  [virtual]
 

Reimplemented from Unary.

Definition at line 314 of file exp.cpp.

References Exp::clone(), Unary::subExp1, type, and TypedExp().

void TypedExp::descendType Type parentType,
bool &  ch,
Statement s
[virtual]
 

Reimplemented from Unary.

Definition at line 1292 of file dfa.cpp.

virtual Type* TypedExp::getType  )  [inline, virtual]
 

Definition at line 728 of file exp.h.

References type.

Referenced by UsedLocalFinder::visit().

bool TypedExp::operator *= Exp o  )  [virtual]
 

Reimplemented from Unary.

Definition at line 550 of file exp.cpp.

References Exp::getOper(), Exp::getSubExp1(), Exp::op, opSubscript, opTypedExp, opWild, and type.

bool TypedExp::operator< const Exp o  )  const [virtual]
 

Reimplemented from Unary.

Definition at line 480 of file exp.cpp.

References Exp::getOper(), Exp::getSubExp1(), Exp::op, Unary::subExp1, and type.

bool TypedExp::operator<< const Exp o  )  const [virtual]
 

Reimplemented from Exp.

Definition at line 474 of file exp.cpp.

References Exp::getOper(), Exp::getSubExp1(), Exp::op, and Unary::subExp1.

bool TypedExp::operator== const Exp o  )  const [virtual]
 

Reimplemented from Unary.

Definition at line 390 of file exp.cpp.

References Exp::op, opTypedExp, opWild, and type.

Exp * TypedExp::polySimplify bool &  bMod  )  [virtual]
 

Reimplemented from Unary.

Definition at line 2888 of file exp.cpp.

References Exp::getOper(), Exp::getSubExp1(), opRegOf, and Unary::subExp1.

void TypedExp::print std::ostream &  os,
bool  html = false
[virtual]
 

Reimplemented from Unary.

Definition at line 994 of file exp.cpp.

References Exp::print(), Type::starPrint(), and type.

void TypedExp::printx int  ind  )  [virtual]
 

Reimplemented from Unary.

Definition at line 3812 of file exp.cpp.

References child(), Type::getCtype(), operStrings, Unary::subExp1, and type.

virtual void TypedExp::setType Type ty  )  [inline, virtual]
 

Definition at line 729 of file exp.h.

References type.


Friends And Related Function Documentation

friend class XMLProgParser [friend]
 

Reimplemented from Unary.

Definition at line 742 of file exp.h.


Member Data Documentation

Type* TypedExp::type [private]
 

Definition at line 700 of file exp.h.

Referenced by appendDotFile(), ascendType(), clone(), getType(), operator *=(), operator<(), operator==(), XMLProgParser::persistToXML(), print(), printx(), setType(), and TypedExp().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:47 2006 for Boomerang by  doxygen 1.4.6