Struct FunctionCallInheritedAttribute#

Struct Documentation#

struct FunctionCallInheritedAttribute#

Public Types

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

Values:

enumerator INSIDE_FOR_INIT#
enumerator INSIDE_FOR_TEST#
enumerator INSIDE_FOR_INCREMENT#
enumerator INSIDE_WHILE_CONDITION#
enumerator INSIDE_DO_WHILE_CONDITION#
enumerator IN_SAFE_PLACE#
enumerator INSIDE_CONDITIONAL_EXP_TRUE_ARM#
enumerator INSIDE_CONDITIONAL_EXP_FALSE_ARM#
enumerator INSIDE_SHORT_CIRCUIT_EXP_RHS#

Public Functions

inline FunctionCallInheritedAttribute()#

Default constructor.

Initializes everything to NULL.

Public Members

SgNode *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.

SgStatement *lastStatement#

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).