Skip to content

AstCombinedTopDownBottomUpProcessing

Synopsis

Declared in <src/midend/astProcessing/AstCombinedProcessing.h>

template<
    class InheritedAttributeType,
    class SynthesizedAttributeType>
class AstCombinedTopDownBottomUpProcessing
    : public AstTopDownBottomUpProcessing<std::vector<InheritedAttributeType>*, std::vector<SynthesizedAttributeType>*>

Base Classes

Name Description
AstTopDownBottomUpProcessing<std::vector<InheritedAttributeType>, std::vector<SynthesizedAttributeType>> Attribute evaluator for inherited and synthesized attributes.

Type Aliases

Name
InheritedAttributeTypeList
Superclass
SynthesizedAttributeTypeList
SynthesizedAttributesList
TraversalPtr
TraversalPtrList
TraversalType

Member Functions

Name Description
AstCombinedTopDownBottomUpProcessing
AstCombinedTopDownBottomUpProcessing(); [constructor]
Constructors
addTraversal
void addTraversal(TraversalPtr t);
simple function for adding a traversal to the internal list
get_traversalPtrListRef
AstCombinedTopDownBottomUpProcessing<I, S>::TraversalPtrList& get_traversalPtrListRef();
function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.)

Protected Member Functions

Name
atTraversalEnd
virtual void atTraversalEnd(); [virtual]
atTraversalStart
virtual void atTraversalStart(); [virtual]
defaultSynthesizedAttribute
virtual AstCombinedTopDownBottomUpProcessing<I, S>::SynthesizedAttributeTypeList* defaultSynthesizedAttribute(InheritedAttributeTypeList* inheritedValues); [virtual]
evaluateInheritedAttribute
virtual AstCombinedTopDownBottomUpProcessing<I, S>::InheritedAttributeTypeList* evaluateInheritedAttribute( SgNode* astNode, InheritedAttributeTypeList* inheritedValues); [virtual]
evaluateSynthesizedAttribute
virtual AstCombinedTopDownBottomUpProcessing<I, S>::SynthesizedAttributeTypeList* evaluateSynthesizedAttribute( SgNode* astNode, InheritedAttributeTypeList* inheritedValues, SynthesizedAttributesList synthesizedAttributes); [virtual]

Protected Data Members

Name
traversals

Private Data Members

Name
numberOfTraversals
tBegin
tEnd

Derived Classes

Name Description
AstSharedMemoryParallelTopDownBottomUpProcessing
AstSharedMemoryParallelizableTopDownBottomUpProcessing

Created with MrDocs