June 16, 2019 Re: Any way to get file/line for symbol declaration? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | On 2019-06-10 03:04, Nicholas Wilson wrote: > https://github.com/dlang/dmd/pull/10013 Seems we should have a form of Compiler object to query this information and a lot more. Something like the Context parameter of AST macros [1]. [1] https://wiki.dlang.org/DIP50#The_Context_Parameter -- /Jacob Carlborg |
June 16, 2019 Re: Any way to get file/line for symbol declaration? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Sunday, 16 June 2019 at 19:31:38 UTC, Jacob Carlborg wrote:
> Seems we should have a form of Compiler object to query this information and a lot more. Something like the Context parameter of AST macros [1].
>
> [1] https://wiki.dlang.org/DIP50#The_Context_Parameter
Yes, we should.
Mike
|
Copyright © 1999-2021 by the D Language Foundation