digitalmars.D - identifier full name
- Gor Gyolchanyan (5/5) Dec 29 2012 Does anyone know how does one obtain the full name of an identifier (e.g...
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (4/10) Dec 29 2012 http://dlang.org/phobos/std_traits.html#fullyQualifiedName ought to work...
- Gor Gyolchanyan (7/20) Dec 29 2012 Thanks! I didn't know about that.
Does anyone know how does one obtain the full name of an identifier (e.g. mypackage.mymodule.myfunction versus just myfunction) at compile time? -- Bye, Gor Gyolchanyan.
Dec 29 2012
Am 29.12.2012 10:54, schrieb Gor Gyolchanyan:Does anyone know how does one obtain the full name of an identifier (e.g. mypackage.mymodule.myfunction versus just myfunction) at compile time? -- Bye, Gor Gyolchanyan.http://dlang.org/phobos/std_traits.html#fullyQualifiedName ought to work, but it suffers from some bugs and may fail in some cases. There is also this pull request that makes it usable for general types as opposed to only user defined symbols: https://github.com/D-Programming-Language/phobos/pull/863
Dec 29 2012
Thanks! I didn't know about that. On Sat, Dec 29, 2012 at 2:15 PM, S=C3=B6nke Ludwig <sludwig outerproduct.or= g>wrote:Am 29.12.2012 10:54, schrieb Gor Gyolchanyan:g.Does anyone know how does one obtain the full name of an identifier (e.=--=20 Bye, Gor Gyolchanyan.mypackage.mymodule.myfunction versus just myfunction) at compile time? -- Bye, Gor Gyolchanyan.http://dlang.org/phobos/std_traits.html#fullyQualifiedName ought to work, but it suffers from some bugs and may fail in some cases. There is also this pull request that makes it usable for general types as opposed to only user defined symbols: https://github.com/D-Programming-Language/phobos/pull/863
Dec 29 2012