SliceExp

extern (C++) final
class SliceExp : UnaExp {
Expression upr;
Expression lwr;
VarDeclaration lengthVar;
bool upperIsInBounds;
bool lowerIsLessThanUpper;
bool arrayop;
}

Constructors

this
this(Loc loc, Expression e1, IntervalExp ie)

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.

Suggestion Box / Bug Report