Class ConstantUnFoldingTraversal#

Inheritance Relationships#

Base Type#

Class Documentation#

class ConstantUnFoldingTraversal : public SgBottomUpProcessing<ConstantUnFoldingSynthesizedAttribute>#

Public Functions

virtual ConstantUnFoldingSynthesizedAttribute evaluateSynthesizedAttribute(SgNode *n, SubTreeSynthesizedAttributes synthesizedAttributeList)#

pure virtual function which must be implemented to compute the synthesized attribute at a node. The list of synthesized attributes consists of the synthesized attributes computed at the children node of the current node. The inherited attribute value is computed by the function evaluateInheritedAttribute at the same node and simply passed to this function. Use the typedef SynthesizedAttributeList as type for the synthesized attributes list.