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

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

There is a newer version: 3.6.4-RC1-bin-20241220-0bfa1af-NIGHTLY
Show newest version
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 - 2025 Weber Informatics LLC | Privacy Policy