ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KeepAttribute Class Reference

#include <KeepAttribute.h>

Inheritance diagram for KeepAttribute:
Collaboration diagram for KeepAttribute:

Public Member Functions

 KeepAttribute (bool k)
 
void setAttribute (bool b)
 
bool getAttribute ()
 
void operator<< (const char *a)
 
- Public Member Functions inherited from AstAttribute
 AstAttribute ()
 
virtual ~AstAttribute ()
 
virtual std::string toString ()
 
AstAttributeconstructor ()
 
std::string attribute_class_name ()
 
virtual int packed_size ()
 
virtual char * packed_data ()
 
virtual void unpacked_data (int size, char *data)
 
virtual std::string additionalNodeOptions ()
 
virtual std::vector
< AttributeEdgeInfo
additionalEdgeInfo ()
 
virtual std::vector
< AttributeNodeInfo
additionalNodeInfo ()
 
virtual AstAttributecopy ()
 
virtual bool commentOutNodeInGraph ()
 

Private Attributes

bool keep
 

Detailed Description

This attribute is added to all AST nodes which we want to keep in the slice of a program code.

Definition at line 9 of file KeepAttribute.h.

Constructor & Destructor Documentation

KeepAttribute::KeepAttribute ( bool  k)
inline

Definition at line 12 of file KeepAttribute.h.

Member Function Documentation

void KeepAttribute::setAttribute ( bool  b)
inline

Definition at line 14 of file KeepAttribute.h.

References keep.

bool KeepAttribute::getAttribute ( )
inline

Definition at line 15 of file KeepAttribute.h.

References keep.

void KeepAttribute::operator<< ( const char *  a)
inline

Definition at line 16 of file KeepAttribute.h.

Member Data Documentation

bool KeepAttribute::keep
private

Definition at line 19 of file KeepAttribute.h.

Referenced by getAttribute(), and setAttribute().


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