View source code
Display the source code in dmd/expression.d from which this
page was generated on github.
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
local clone.
Function dmd.expression.ArrayLiteralExp.copyElements
Copy element Expressions
in the parameters when they're ArrayLiteralExp
s.
static extern(C++) dmd .root .array .Array!(dmd.expression.Expression)* copyElements
(
Expression e1,
Expression e2 = null
);
Parameters
Name | Description |
---|---|
e1 | If it's ArrayLiteralExp, its elements will be copied.
Otherwise, e1 itself will be pushed into the new Expressions . |
e2 | If it's not null , it will be pushed/appended to the new
Expressions by the same way with e1 . |
Returns
Newly allocated Expressions
. Note that it points to the original
Expression
values in e1 and e2.
Authors
License
Copyright © 1999-2018 by the D Language Foundation | Page generated by ddox.