Packages

abstract class Quasiquotes extends Parsers with Holes with Placeholders with Reifiers

Source
Quasiquotes.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Quasiquotes
  2. Reifiers
  3. Placeholders
  4. Holes
  5. Parsers
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Quasiquotes()

Type Members

  1. class ApplyHole extends Quasiquotes.Hole
    Definition Classes
    Holes
  2. sealed 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.

    Definition Classes
    Holes
  3. class UnapplyHole extends Quasiquotes.Hole
    Definition Classes
    Holes
  4. abstract class Parser extends tools.nsc.ast.parser.Parsers
    Definition Classes
    Parsers
  5. trait HolePlaceholder extends AnyRef
    Definition Classes
    Placeholders
  6. class ApplyReifier extends Quasiquotes.Reifier
    Definition Classes
    Reifiers
  7. abstract class Reifier extends reify.Reifier
    Definition Classes
    Reifiers
  8. class UnapplyReifier extends Quasiquotes.Reifier
    Definition Classes
    Reifiers

Abstract Value Members

  1. abstract val c: Context

Concrete Value Members

  1. object Hole
    Definition Classes
    Holes
  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

    Definition Classes
    Holes
  3. object CaseParser extends Quasiquotes.Parser
    Definition Classes
    Parsers
  4. object ForEnumeratorParser extends Quasiquotes.Parser
    Definition Classes
    Parsers
  5. object FreshName extends tools.nsc.Global.FreshNameExtractor
    Definition Classes
    Parsers
  6. object PatternParser extends Quasiquotes.Parser
    Definition Classes
    Parsers
  7. object Q

    Wrapper around tree parsed in q"..." quote.

    Wrapper around tree parsed in q"..." quote. Needed to support ..$ splicing on top-level.

    Definition Classes
    Parsers
  8. object TermParser extends Quasiquotes.Parser
    Definition Classes
    Parsers
  9. object TypeParser extends Quasiquotes.Parser
    Definition Classes
    Parsers
  10. object AnnotPlaceholder extends Quasiquotes.HolePlaceholder
    Definition Classes
    Placeholders
  11. object CasePlaceholder
    Definition Classes
    Placeholders
  12. object EarlyDefPlaceholder
    Definition Classes
    Placeholders
  13. object ForEnumPlaceholder
    Definition Classes
    Placeholders
  14. object FunctionTypePlaceholder
    Definition Classes
    Placeholders
  15. object ModsPlaceholder extends Quasiquotes.HolePlaceholder
    Definition Classes
    Placeholders
  16. object PackageStatPlaceholder
    Definition Classes
    Placeholders
  17. object ParamPlaceholder extends Quasiquotes.HolePlaceholder
    Definition Classes
    Placeholders
  18. object Placeholder extends Quasiquotes.HolePlaceholder
    Definition Classes
    Placeholders
  19. object RefineStatPlaceholder
    Definition Classes
    Placeholders
  20. object SymbolPlaceholder
    Definition Classes
    Placeholders
  21. object TuplePlaceholder
    Definition Classes
    Placeholders
  22. object TupleTypePlaceholder
    Definition Classes
    Placeholders
  23. object holeMap
    Definition Classes
    Placeholders
  24. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. final def ##: Int
    Definition Classes
    AnyRef → Any
  26. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Quasiquotes toany2stringadd[Quasiquotes] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  27. def ->[B](y: B): (Quasiquotes, B)
    Implicit
    This member is added by an implicit conversion from Quasiquotes toArrowAssoc[Quasiquotes] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  28. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  29. lazy val args: List[tools.nsc.Global.Tree]
  30. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  31. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  32. lazy val code: String
    Definition Classes
    Placeholders
  33. def debug(msg: => String): Unit
  34. def ensuring(cond: (Quasiquotes) => Boolean, msg: => Any): Quasiquotes
    Implicit
    This member is added by an implicit conversion from Quasiquotes toEnsuring[Quasiquotes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  35. def ensuring(cond: (Quasiquotes) => Boolean): Quasiquotes
    Implicit
    This member is added by an implicit conversion from Quasiquotes toEnsuring[Quasiquotes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  36. def ensuring(cond: Boolean, msg: => Any): Quasiquotes
    Implicit
    This member is added by an implicit conversion from Quasiquotes toEnsuring[Quasiquotes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  37. def ensuring(cond: Boolean): Quasiquotes
    Implicit
    This member is added by an implicit conversion from Quasiquotes toEnsuring[Quasiquotes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  40. def expandQuasiquote: tools.nsc.Global.Tree
  41. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  42. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. val global: macros.contexts.Context.universe.type
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. lazy val method: tools.nsc.Global.Name
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. lazy val parse: (String) => tools.nsc.Global.Tree
  51. lazy val parts: collection.immutable.List[(String, tools.nsc.Global.Position)]
  52. lazy val posMap: LinkedHashMap[Position, (Int, Int)]
    Definition Classes
    Placeholders
  53. lazy val reify: (tools.nsc.Global.Tree) => tools.nsc.Global.Tree
  54. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. lazy val u: tools.nsc.Global.Tree
  57. lazy val universe: tools.nsc.Global.Tree
  58. lazy val universeTypes: internal.Definitions.definitions.UniverseDependentTypes
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Quasiquotes toStringFormat[Quasiquotes] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (Quasiquotes, B)
    Implicit
    This member is added by an implicit conversion from Quasiquotes toArrowAssoc[Quasiquotes] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Reifiers

Inherited from Placeholders

Inherited from Holes

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromQuasiquotes to any2stringadd[Quasiquotes]

Inherited by implicit conversion StringFormat fromQuasiquotes to StringFormat[Quasiquotes]

Inherited by implicit conversion Ensuring fromQuasiquotes to Ensuring[Quasiquotes]

Inherited by implicit conversion ArrowAssoc fromQuasiquotes to ArrowAssoc[Quasiquotes]

Ungrouped