summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-02-06 07:41:38 +0000
committerPaul Phillips <paulp@improving.org>2011-02-06 07:41:38 +0000
commita4bbb15aa23198e1b482e2ef6ab18cf5c7f4b2be (patch)
treefc6f901ad16e5ec3b4fc79a90a9bc8a0009a697d /test/files
parent1f189a0d91deb00ad86ef213780a4374c7332e50 (diff)
downloadscala-a4bbb15aa23198e1b482e2ef6ab18cf5c7f4b2be.tar.gz
scala-a4bbb15aa23198e1b482e2ef6ab18cf5c7f4b2be.tar.bz2
scala-a4bbb15aa23198e1b482e2ef6ab18cf5c7f4b2be.zip
Added new option -Yshow-syms.
symbols. Specifically, it extracts all the symbols attached to AST nodes, and then prints them hierarchically along with indicators for new symbols and other interesting factoids like disappearing symbols. A small demonstration. Output shown is obviously only a fraction of what is produced. // a.scala class A { Nil foreach println } % scalac -Yshow-syms -uniqid a.scala [[symbol layout at end of selectivecps]] class A#17 constructor A#8019 value <local A>#8020 value $anonfun#10961 <synthetic> value x#10971 <synthetic> [[symbol layout at end of uncurry]] class A#17 constructor A#8019 value <local A>#8020 * anonymous class $anonfun#10993 final <synthetic> * constructor $anonfun#11001 * method apply#10994 final value x#10971 <synthetic> * value <local $anonfun>#10999 No review.
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions