ddmd.arrayop

Compiler implementation of the D programming language.

Members

Functions

arrayOp
Expression arrayOp(BinExp e, Scope* sc)

Construct the array operation expression.

buildArrayIdent
void buildArrayIdent(Expression e, OutBuffer* buf, Expressions* arguments)

Construct the identifier for the array operation function, and build the argument list to pass to it.

buildArrayLoop
Expression buildArrayLoop(Expression e, Parameters* fparams)

Construct the inner loop for the array operation function, and build the parameter list.

buildArrayOp
FuncDeclaration buildArrayOp(Identifier ident, BinExp exp, Scope* sc, Loc loc)

Structure to contain information needed to insert an array op call

isArrayOpOperand
bool isArrayOpOperand(Expression e)

Test if operand is a valid array op operand.

isArrayOpValid
bool isArrayOpValid(Expression e)

Check that there are no uses of arrays without [].

isBinArrayOp
bool isBinArrayOp(TOK op)

Test if expression is a binary array op.

isBinAssignArrayOp
bool isBinAssignArrayOp(TOK op)

Test if expression is a binary assignment array op.

isUnaArrayOp
bool isUnaArrayOp(TOK op)

Test if expression is a unary array op.

Meta

Source

See Source File
$(DMDSRC _arrayop.d)