Scalameta's Semantic API

138 views Asked by At

In Scalameta's tutorial, it notes that the Semantic API can be used for name resolution (println => _root_.scala.Predef.println). The FAQ "How do I use the Semantic API?" links to scalafix, but I was unable to find a tutorial or concrete examples. So I'm still unclear. Can someone point me to some specific examples or a tutorial?

Thanks!

1

There are 1 answers

0
Sledge On BEST ANSWER

Received the following answer from Ólafur Páll Geirsson on gitter:

you can try InteractiveSemanticdb https://github.com/scalameta/scalameta/blob/master/scalameta/interactive/src/main/scala/scala/meta/interactive/InteractiveSemanticdb.scala

it's part of the interactive module

With it I was able to answer all my questions.