Is any of this possible in D?
Get and add to function body
Psychological Cleanup via Digitalmars-d-learn Thu, 12 Oct 2017 16:35:39 -0700
Is there any way to get the function body of a function,
delegate, and lambda? I'd also like to extend functions by
"wrapping" them at compile time generically. For example, I'd
like to get all the properties of a class and add some code to
them(sort of like adding a scope, prolog, and/or epilog).
- Get and add to function body Psychological Cleanup via Digitalmars-d-learn
- Re: Get and add to func... Psychological Cleanup via Digitalmars-d-learn
- Re: Get and add to func... Jonathan M Davis via Digitalmars-d-learn
- Re: Get and add to func... Steven Schveighoffer via Digitalmars-d-learn