开发者

Scala Compiler - How to inspect symbol table?

开发者 https://www.devze.com 2023-02-05 06:26 出处:网络
As far as I know, the state of comp开发者_JAVA技巧iler consists of the AST and the symbol table.I can inspect the AST with -Xprint or -Ybrowse. How can I inspect the symbol table? Part of the solution

As far as I know, the state of comp开发者_JAVA技巧iler consists of the AST and the symbol table. I can inspect the AST with -Xprint or -Ybrowse. How can I inspect the symbol table?


Part of the solution (code snippet included) at http://www.scala-lang.org/node/5763

0

精彩评论

暂无评论...
验证码 换一张
取 消