All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.tasty.inspector.Tasty.scala Maven / Gradle / Ivy

The newest version!
// Copy of tasty-inspector/src/scala/tasty/inspector/Tasty.scala
// FIXME remove this copy of the file

package scala.tasty.inspector

import scala.quoted._

/** `.tasty` file representation containing file path and the AST */
trait Tasty[Q <: Quotes & Singleton]:

  /** Instance of `Quotes` used to load the AST */
  val quotes: Q

  /** Path to the `.tasty` file */
  def path: String

  /** Abstract Syntax Tree contained in the `.tasty` file */
  def ast: quotes.reflect.Tree

end Tasty




© 2015 - 2024 Weber Informatics LLC | Privacy Policy