ROSE 0.11.145.192
Public Types | Public Member Functions | Public Attributes | List of all members
FunctionCallInheritedAttribute Struct Reference

Description

Definition at line 8 of file functionEvaluationOrderTraversal.h.

Collaboration diagram for FunctionCallInheritedAttribute:
Collaboration graph
[legend]

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.
 

Public Attributes

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

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

Definition at line 18 of file functionEvaluationOrderTraversal.h.

Constructor & Destructor Documentation

◆ FunctionCallInheritedAttribute()

FunctionCallInheritedAttribute::FunctionCallInheritedAttribute ( )
inline

Default constructor.

Initializes everything to NULL.

Definition at line 26 of file functionEvaluationOrderTraversal.h.

Member Data Documentation

◆ currentScope

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 12 of file functionEvaluationOrderTraversal.h.

◆ lastStatement

SgStatement* FunctionCallInheritedAttribute::lastStatement

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

Definition at line 15 of file functionEvaluationOrderTraversal.h.


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