Template Class TraverseToRoot#

Class Documentation#

template<class InheritedAttributeType, class SynthesizedAttributeType>
class TraverseToRoot#

Public 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#