ROSE 0.11.145.237
|
Definition at line 24333 of file sageInterface.C.
Public Member Functions | |
struct SageInterface::const_int_expr_t | getValueExpressionValue (SgValueExp *valExp) |
struct SageInterface::const_int_expr_t | evaluateVariableReference (SgVarRefExp *vRef) |
struct SageInterface::const_int_expr_t | evaluateSynthesizedAttribute (SgNode *node, SynthesizedAttributesList synList) |
pure virtual function which must be implemented to compute the synthesized attribute at a node. | |
![]() | |
struct SageInterface::const_int_expr_t | traverse (SgNode *node) |
evaluates attributes on the entire AST | |
struct SageInterface::const_int_expr_t | traverseWithinFile (SgNode *node) |
evaluates attributes only at nodes which represent the same file as where the evaluation was started | |
void | traverseInputFiles (SgProject *projectNode) |
evaluates attributes only at nodes which represent files which were specified on the command line (=input files). | |
![]() | |
SynthesizedAttributeType | traverse (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
SynthesizedAttributeType | traverseWithinFile (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
SgTreeTraversal (const SgTreeTraversal &) | |
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
Additional Inherited Members | |
![]() | |
typedef SgTreeTraversal< DummyAttribute, struct SageInterface::const_int_expr_t >::SynthesizedAttributesList | SynthesizedAttributesList |
typedef SynthesizedAttributesList | SubTreeSynthesizedAttributes |
![]() | |
typedef StackFrameVector< SynthesizedAttributeType > | SynthesizedAttributesList |
![]() | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
![]() | |
virtual struct SageInterface::const_int_expr_t | defaultSynthesizedAttribute () |
Allows to provide a default value for a synthesized attribute of primitive type (e.g. | |
virtual void | atTraversalStart () |
Function called at the start of the traversal, before any node is visited; override if necessary, the default implementation is a no-op. | |
virtual void | atTraversalEnd () |
![]() | |
virtual InheritedAttributeType | evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeType inheritedValue)=0 |
virtual SynthesizedAttributeType | evaluateSynthesizedAttribute (SgNode *n, InheritedAttributeType in, SynthesizedAttributesList l)=0 |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
virtual SynthesizedAttributeType | defaultSynthesizedAttribute (InheritedAttributeType inh) |
void | set_useDefaultIndexBasedTraversal (bool) |
|
inline |
Definition at line 24335 of file sageInterface.C.
|
inline |
Definition at line 24338 of file sageInterface.C.
|
inline |
Definition at line 24362 of file sageInterface.C.
|
inlinevirtual |
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.
Implements AstBottomUpProcessing< struct SageInterface::const_int_expr_t >.
Definition at line 24389 of file sageInterface.C.