CallExp

extern (C++) final
class CallExp : UnaExp {
Expressions* arguments;
Identifiers* names;
FuncDeclaration f;
bool directcall;
VarDeclaration vthis2;
}

Constructors

this
this(Loc loc, FuncDeclaration fd, Expression earg1)

Instatiates a new function call expression

Members

Functions

argumentList
ArgumentList argumentList()

Puts the arguments and names into an ArgumentList for easily passing them around. The fields are still separate for backwards compatibility

Static functions

create
CallExp create(Loc loc, FuncDeclaration fd, Expression earg1)

Creates a new function call expression

Variables

ignoreAttributes
bool ignoreAttributes;

don't enforce attributes (e.g. call @gc function in @nogc code)

inDebugStatement
bool inDebugStatement;

true if this was in a debug statement

Inherited Members

From UnaExp

incompatibleTypes
Expression incompatibleTypes()

The type for a unary expression is incompatible. Print error message.

setNoderefOperand
void setNoderefOperand()

Mark the operand as will never be dereferenced, which is useful info for @safe checks. Do before semantic() on operands rewrites them.

Meta