April 28, 2013 Trait for listing symbols in a delegate's closure? | ||||
---|---|---|---|---|
| ||||
Attachments:
| Greetings I am wondering if there is a way to find out a tuple of all the symbols/identifiers in a given delegates closure. Regards - Puneet |
April 28, 2013 Re: Trait for listing symbols in a delegate's closure? | ||||
---|---|---|---|---|
| ||||
Posted in reply to d coder | On Sunday, 28 April 2013 at 12:30:13 UTC, d coder wrote:
> Greetings
>
> I am wondering if there is a way to find out a tuple of all the
> symbols/identifiers in a given delegates closure.
>
> Regards
> - Puneet
I don't think it is possible. D does not have tools for introspection of function bodies, all traits are focused on declarations.
|
Copyright © 1999-2021 by the D Language Foundation