ddmd.arrayop

Compiler implementation of the D programming language.

Members

Functions

arrayOp
Expression arrayOp(BinExp e, Scope* sc)

Construct the array operation expression.

arrayOp
Expression arrayOp(BinAssignExp e, Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
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

checkNonAssignmentArrayOp
bool checkNonAssignmentArrayOp(Expression e, bool suggestion)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

isNonAssignmentArrayOp
bool isNonAssignmentArrayOp(Expression e)
Undocumented in source. Be warned that the author may not have intended to support it.
isUnaArrayOp
bool isUnaArrayOp(TOK op)

Test if expression is a unary array op.

Meta

Source

See Source File
$(DMDSRC _arrayop.d)