ddmd.delegatize

Compiler implementation of the D programming language.

Members

Functions

checkNestedRef
bool checkNestedRef(Dsymbol s, Dsymbol p)
Undocumented in source. Be warned that the author may not have intended to support it.
lambdaCheckForNestedRef
bool lambdaCheckForNestedRef(Expression e, Scope* sc)

Look for references to variables in a scope enclosing the new function literal. Returns true if error occurs.

lambdaSetParent
void lambdaSetParent(Expression e, Scope* sc)

Patch the parent of declarations to be the new function literal.

toDelegate
Expression toDelegate(Expression e, Type t, Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Source

See Source File
$(DMDSRC _delegatize.d)