ExpConstCaster Class Reference

#include <include/visitor.h>

Inheritance diagram for ExpConstCaster:

ExpModifier List of all members.

Detailed Description

Definition at line 430 of file visitor.h.

Public Member Functions

 ExpConstCaster (int num, Type *ty)
bool isChanged ()
virtual ExppreVisit (Const *c)
virtual ~ExpConstCaster ()

Private Attributes

bool changed
int num

Constructor & Destructor Documentation

ExpConstCaster::ExpConstCaster int  num,
Type ty

Definition at line 435 of file visitor.h.

virtual ExpConstCaster::~ExpConstCaster  )  [inline, virtual]

Definition at line 436 of file visitor.h.

Member Function Documentation

bool ExpConstCaster::isChanged  )  [inline]

Definition at line 437 of file visitor.h.

References changed.

Referenced by Statement::castConst().

Exp * ExpConstCaster::preVisit Const c  )  [virtual]

Reimplemented from ExpModifier.

Definition at line 592 of file visitor.cpp.

References changed, Const::getConscript(), num, and ty.

Member Data Documentation

bool ExpConstCaster::changed [private]

Definition at line 433 of file visitor.h.

Referenced by isChanged(), and preVisit().

int ExpConstCaster::num [private]

Definition at line 431 of file visitor.h.

Referenced by preVisit().

Type* ExpConstCaster::ty [private]

Definition at line 432 of file visitor.h.

Referenced by preVisit().

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