Wow, my hero!<div>I have needed every single one of these!</div><div><br></div><div>One other thing I also need though which might fit in this set, is the function default arg expressions.</div><div>I currently try to parse it out of func.stringof, but the string returned isn't actually valid code that compiles...</div>
<div><br></div><div><br><div class="gmail_quote">On 15 May 2012 02:13, John Maschmeyer <span dir="ltr"><<a href="mailto:jmaschme@gmail.com" target="_blank">jmaschme@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I implemented some new traits that seemed to have a lot of<br>
interest recently.<br>
<br>
I've implemented parameterNames, isPublic, isPrivate,<br>
isProtected, isPackge, isExport, and codeof traits.<br>
<br>
parameterNames lets you get access to the names of function<br>
parameters<br>
<br>
isPublic, isPrivate, etc let you query access modifiers<br>
<br>
codeof was discussed recently in<br>
<a href="http://forum.dlang.org/thread/huyqfcoosgzfneswnrur@forum.dlang.org" target="_blank">http://forum.dlang.org/thread/<u></u>huyqfcoosgzfneswnrur@forum.<u></u>dlang.org</a>.<br>
   It gives you access to the source code of functions, classes,<br>
etc.<br>
<br>
I'm pretty new to the dmd code, so could someone take a look at<br>
them?<br>
<br>
<a href="https://github.com/D-Programming-Language/dmd/pull/951" target="_blank">https://github.com/D-<u></u>Programming-Language/dmd/pull/<u></u>951</a><br>
<a href="https://github.com/D-Programming-Language/dmd/pull/952" target="_blank">https://github.com/D-<u></u>Programming-Language/dmd/pull/<u></u>952</a><br>
<a href="https://github.com/D-Programming-Language/dmd/pull/953" target="_blank">https://github.com/D-<u></u>Programming-Language/dmd/pull/<u></u>953</a><br>
</blockquote></div><br></div>