Packages

trait Holes extends AnyRef

Defines abstractions that provide support for splicing into Scala syntax.

Self Type
Quasiquotes
Source
Holes.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Holes
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ApplyHole extends Quasiquotes.Hole
  2. abstract class Hole extends AnyRef

    Hole encapsulates information about unquotees in quasiquotes.

    Hole encapsulates information about unquotees in quasiquotes. It packs together a rank, pre-reified tree representation (possibly preprocessed) and position.

  3. class UnapplyHole extends Quasiquotes.Hole

Value Members

  1. object Hole
  2. object unlifters

    Full support for unliftable implies that it's possible to interleave deconstruction with higher rank and unlifting of the values.

    Full support for unliftable implies that it's possible to interleave deconstruction with higher rank and unlifting of the values. In particular extraction of List[Tree] as List[T: Unliftable] requires helper extractors that would do the job: UnliftListElementwise[T]. Similarly List[List[Tree]] needs UnliftListOfListsElementwise[T].

    See also "unlift list" tests in UnapplyProps.scala