ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraverseToRoot< InheritedAttributeType, SynthesizedAttributeType > Class Template Referenceabstract

#include <AstTraverseToRoot.h>

Public Member Functions

SynthesizedAttributeType traverse (SgNode *astNode, InheritedAttributeType inputInheritedAttribute)
 
virtual InheritedAttributeType evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeType inputInheritedAttribute)=0
 
virtual SynthesizedAttributeType evaluateSynthesizedAttribute (SgNode *astNode, InheritedAttributeType inputInheritedAttribute, SynthesizedAttributeType inputSynthesizedAttribute)=0
 

Detailed Description

template<class InheritedAttributeType, class SynthesizedAttributeType>
class TraverseToRoot< InheritedAttributeType, SynthesizedAttributeType >

Definition at line 17 of file AstTraverseToRoot.h.

Member Function Documentation

template<class InheritedAttributeType , class SynthesizedAttributeType >
SynthesizedAttributeType TraverseToRoot< InheritedAttributeType, SynthesizedAttributeType >::traverse ( SgNode astNode,
InheritedAttributeType  inputInheritedAttribute 
)

Definition at line 40 of file AstTraverseToRoot.h.

References SgNode::get_parent(), and SgNode::sage_class_name().

template<class InheritedAttributeType , class SynthesizedAttributeType >
virtual InheritedAttributeType TraverseToRoot< InheritedAttributeType, SynthesizedAttributeType >::evaluateInheritedAttribute ( SgNode astNode,
InheritedAttributeType  inputInheritedAttribute 
)
pure virtual
template<class InheritedAttributeType , class SynthesizedAttributeType >
virtual SynthesizedAttributeType TraverseToRoot< InheritedAttributeType, SynthesizedAttributeType >::evaluateSynthesizedAttribute ( SgNode astNode,
InheritedAttributeType  inputInheritedAttribute,
SynthesizedAttributeType  inputSynthesizedAttribute 
)
pure virtual

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