ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FunctionCallInheritedAttribute Struct Reference

#include <functionEvaluationOrderTraversal.h>

Collaboration diagram for FunctionCallInheritedAttribute:

Public Types

enum  {
  INSIDE_FOR_INIT,
  INSIDE_FOR_TEST,
  INSIDE_FOR_INCREMENT,
  INSIDE_WHILE_CONDITION,
  INSIDE_DO_WHILE_CONDITION,
  IN_SAFE_PLACE,
  INSIDE_CONDITIONAL_EXP_TRUE_ARM,
  INSIDE_CONDITIONAL_EXP_FALSE_ARM,
  INSIDE_SHORT_CIRCUIT_EXP_RHS
}
 Is the current node inside a for loop or conditional expresion structure (not the body). More...
 

Public Member Functions

 FunctionCallInheritedAttribute ()
 Default constructor. More...
 

Public Attributes

SgNodecurrentScope
 The innermost scope inside of which this AST node resides. More...
 
SgStatementlastStatement
 The last statement encountered before the current node in the AST. More...
 
enum
FunctionCallInheritedAttribute:: { ... }  
scopeStatus
 Is the current node inside a for loop or conditional expresion structure (not the body). More...
 

Detailed Description

Definition at line 5 of file functionEvaluationOrderTraversal.h.

Member Enumeration Documentation

anonymous enum

Is the current node inside a for loop or conditional expresion structure (not the body).

Enumerator
INSIDE_FOR_INIT 
INSIDE_FOR_TEST 
INSIDE_FOR_INCREMENT 
INSIDE_WHILE_CONDITION 
INSIDE_DO_WHILE_CONDITION 
IN_SAFE_PLACE 
INSIDE_CONDITIONAL_EXP_TRUE_ARM 
INSIDE_CONDITIONAL_EXP_FALSE_ARM 
INSIDE_SHORT_CIRCUIT_EXP_RHS 

Definition at line 15 of file functionEvaluationOrderTraversal.h.

Constructor & Destructor Documentation

FunctionCallInheritedAttribute::FunctionCallInheritedAttribute ( )
inline

Default constructor.

Initializes everything to NULL.

Definition at line 23 of file functionEvaluationOrderTraversal.h.

Member Data Documentation

SgNode* FunctionCallInheritedAttribute::currentScope

The innermost scope inside of which this AST node resides.

It is either a for-loop, a do-loop, a while-loop or a conditioanl expression.

Definition at line 9 of file functionEvaluationOrderTraversal.h.

SgStatement* FunctionCallInheritedAttribute::lastStatement

The last statement encountered before the current node in the AST.

Definition at line 12 of file functionEvaluationOrderTraversal.h.

enum { ... } FunctionCallInheritedAttribute::scopeStatus

Is the current node inside a for loop or conditional expresion structure (not the body).


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