Can Inspector correctly inspect single file from a large project?

scala.tasty.inspector use internal compiler to provide ast, so it is very difficult to understand:

  • Is it correct to “compile” a single isolated tasty file wich can have unavailable for current run references to other files?
  • Can I copy a file from a stream to some temporary folder to inspect only single file? Or is it nessary to inspect entire jar?

The main purpose of my task is lazy generation of service description.

IIUC: The preferable way to inspect single file is to use tasty query. See related discussion.

1 Like