ROSE 0.11.145.147
Public Types | Public Member Functions | Public Attributes | List of all members
FunctionCallInfo Struct Reference

Description

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

Definition at line 30 of file functionEvaluationOrderTraversal.h.

#include <midend/programTransformation/extractFunctionArgumentsNormalization/functionEvaluationOrderTraversal.h>

Collaboration diagram for FunctionCallInfo:
Collaboration graph
[legend]

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.
 
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.
 
InsertionMode tempVarDeclarationInsertionMode
 How to insert the temporary variable declaration.
 

Member Enumeration Documentation

◆ InsertionMode

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.

Definition at line 40 of file functionEvaluationOrderTraversal.h.

Constructor & Destructor Documentation

◆ FunctionCallInfo()

FunctionCallInfo::FunctionCallInfo ( SgFunctionCallExp function)
inline

Definition at line 52 of file functionEvaluationOrderTraversal.h.

Member Data Documentation

◆ functionCall

SgFunctionCallExp* FunctionCallInfo::functionCall

The function call expression.

Definition at line 33 of file functionEvaluationOrderTraversal.h.

◆ tempVarDeclarationLocation

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

◆ tempVarDeclarationInsertionMode

InsertionMode FunctionCallInfo::tempVarDeclarationInsertionMode

How to insert the temporary variable declaration.

Definition at line 50 of file functionEvaluationOrderTraversal.h.


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