SliceExp

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

Constructors

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

Inherited Members

From UnaExp

unaSemantic
Expression unaSemantic(Scope* sc)

Helper function for easy error propagation. If error occurs, returns ErrorExp. Otherwise returns NULL.

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