Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
ddmd.arrayop
Compiler implementation of the
D programming language.
Authors:
License:
Source: arrayop.d
- FuncDeclaration
buildArrayOp
(Identifierident
, BinExpexp
, Scope*sc
, Locloc
); - Structure to contain information needed to insert an array op call
- bool
isArrayOpValid
(Expressione
); - Check that there are no uses of arrays without [].
- Expression
arrayOp
(BinExpe
, Scope*sc
); - Construct the array operation expression.
- void
buildArrayIdent
(Expressione
, OutBuffer*buf
, Expressions*arguments
); - Construct the identifier for the array operation function, and build the argument list to pass to it.
- Expression
buildArrayLoop
(Expressione
, Parameters*fparams
); - Construct the inner loop for the array operation function, and build the parameter list.
- bool
isUnaArrayOp
(TOKop
); - Test if expression is a unary array
op
. - bool
isBinArrayOp
(TOKop
); - Test if expression is a binary array
op
. - bool
isBinAssignArrayOp
(TOKop
); - Test if expression is a binary assignment array
op
. - bool
isArrayOpOperand
(Expressione
); - Test if operand is a valid array op operand.
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Wed Jul 19 22:16:35 2017