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

Stores a function call expression, along with associated information about its context. More...

#include <functionEvaluationOrderTraversal.h>

Collaboration diagram for FunctionCallInfo:

Public Types

enum  InsertionMode {
  INSERT_BEFORE,
  APPEND_SCOPE,
  INVALID
}
 How a statement should be inserted. More...
 

Public Member Functions

 FunctionCallInfo (SgFunctionCallExp *function)
 

Public Attributes

SgFunctionCallExpfunctionCall
 The function call expression. More...
 
SgStatementtempVarDeclarationLocation
 When a variable is created to replace one of the arguments of this function, where should it be inserted? The declaration of the variable will occur right before this statement. More...
 
InsertionMode tempVarDeclarationInsertionMode
 How to insert the temporary variable declaration. More...
 

Detailed Description

Stores a function call expression, along with associated information about its context.

Definition at line 27 of file functionEvaluationOrderTraversal.h.

Member Enumeration Documentation

How a statement should be inserted.

Enumerator
INSERT_BEFORE 

Insert right before the given statement.

APPEND_SCOPE 

Insert at the bottom of the scope defined by the given statement.

INVALID 

Definition at line 37 of file functionEvaluationOrderTraversal.h.

Constructor & Destructor Documentation

FunctionCallInfo::FunctionCallInfo ( SgFunctionCallExp function)
inline

Definition at line 49 of file functionEvaluationOrderTraversal.h.

Member Data Documentation

SgFunctionCallExp* FunctionCallInfo::functionCall

The function call expression.

Definition at line 30 of file functionEvaluationOrderTraversal.h.

SgStatement* FunctionCallInfo::tempVarDeclarationLocation

When a variable is created to replace one of the arguments of this function, where should it be inserted? The declaration of the variable will occur right before this statement.

Definition at line 34 of file functionEvaluationOrderTraversal.h.

InsertionMode FunctionCallInfo::tempVarDeclarationInsertionMode

How to insert the temporary variable declaration.

Definition at line 47 of file functionEvaluationOrderTraversal.h.


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