Hacking the compiler: Get Scope after some line of function

unDEFER via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 27 09:41:10 PDT 2017


On Thursday, 27 July 2017 at 11:59:51 UTC, unDEFER wrote:
> So how to get scope e.g. after line "B b;"?

I have found. That in scopes was found symbols from declarations, 
you must iterate by declarations (DeclarationExp) and add symbols 
by sc.insert(decexp.declaration);


More information about the Digitalmars-d-learn mailing list