abstract class Quasiquotes extends Parsers with Holes with Placeholders with Reifiers
- Source
- Quasiquotes.scala
- Alphabetic
- By Inheritance
- Quasiquotes
- Reifiers
- Placeholders
- Holes
- Parsers
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Quasiquotes()
Type Members
-
class
ApplyHole extends Quasiquotes.Hole
- Definition Classes
- Holes
-
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
-
class
UnapplyHole extends Quasiquotes.Hole
- Definition Classes
- Holes
-
abstract
class
Parser extends tools.nsc.ast.parser.Parsers
- Definition Classes
- Parsers
-
trait
HolePlaceholder extends AnyRef
- Definition Classes
- Placeholders
-
class
ApplyReifier extends Quasiquotes.Reifier
- Definition Classes
- Reifiers
-
abstract
class
Reifier extends reify.Reifier
- Definition Classes
- Reifiers
-
class
UnapplyReifier extends Quasiquotes.Reifier
- Definition Classes
- Reifiers
Concrete Value Members
-
object
Hole
- Definition Classes
- Holes
-
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
-
object
CaseParser extends Quasiquotes.Parser
- Definition Classes
- Parsers
-
object
ForEnumeratorParser extends Quasiquotes.Parser
- Definition Classes
- Parsers
-
object
FreshName extends tools.nsc.Global.FreshNameExtractor
- Definition Classes
- Parsers
-
object
PatternParser extends Quasiquotes.Parser
- Definition Classes
- Parsers
-
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
-
object
TermParser extends Quasiquotes.Parser
- Definition Classes
- Parsers
-
object
TypeParser extends Quasiquotes.Parser
- Definition Classes
- Parsers
-
object
AnnotPlaceholder extends Quasiquotes.HolePlaceholder
- Definition Classes
- Placeholders
-
object
CasePlaceholder
- Definition Classes
- Placeholders
-
object
EarlyDefPlaceholder
- Definition Classes
- Placeholders
-
object
ForEnumPlaceholder
- Definition Classes
- Placeholders
-
object
FunctionTypePlaceholder
- Definition Classes
- Placeholders
-
object
ModsPlaceholder extends Quasiquotes.HolePlaceholder
- Definition Classes
- Placeholders
-
object
PackageStatPlaceholder
- Definition Classes
- Placeholders
-
object
ParamPlaceholder extends Quasiquotes.HolePlaceholder
- Definition Classes
- Placeholders
-
object
Placeholder extends Quasiquotes.HolePlaceholder
- Definition Classes
- Placeholders
-
object
RefineStatPlaceholder
- Definition Classes
- Placeholders
-
object
SymbolPlaceholder
- Definition Classes
- Placeholders
-
object
TuplePlaceholder
- Definition Classes
- Placeholders
-
object
TupleTypePlaceholder
- Definition Classes
- Placeholders
-
object
holeMap
- Definition Classes
- Placeholders
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Quasiquotes to any2stringadd[Quasiquotes] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Quasiquotes, B)
- Implicit
- This member is added by an implicit conversion from Quasiquotes to ArrowAssoc[Quasiquotes] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val args: List[tools.nsc.Global.Tree]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
code: String
- Definition Classes
- Placeholders
- def debug(msg: ⇒ String): Unit
-
def
ensuring(cond: (Quasiquotes) ⇒ Boolean, msg: ⇒ Any): Quasiquotes
- Implicit
- This member is added by an implicit conversion from Quasiquotes to Ensuring[Quasiquotes] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Quasiquotes) ⇒ Boolean): Quasiquotes
- Implicit
- This member is added by an implicit conversion from Quasiquotes to Ensuring[Quasiquotes] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Quasiquotes
- Implicit
- This member is added by an implicit conversion from Quasiquotes to Ensuring[Quasiquotes] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Quasiquotes
- Implicit
- This member is added by an implicit conversion from Quasiquotes to Ensuring[Quasiquotes] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def expandQuasiquote: tools.nsc.Global.Tree
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val global: macros.contexts.Context.universe.type
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val method: tools.nsc.Global.Name
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val parse: (String) ⇒ tools.nsc.Global.Tree
- lazy val parts: collection.immutable.List[(String, tools.nsc.Global.Position)]
-
lazy val
posMap: LinkedHashMap[Position, (Int, Int)]
- Definition Classes
- Placeholders
- lazy val reify: (tools.nsc.Global.Tree) ⇒ tools.nsc.Global.Tree
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- lazy val u: tools.nsc.Global.Tree
- lazy val universe: tools.nsc.Global.Tree
- lazy val universeTypes: internal.Definitions.definitions.UniverseDependentTypes
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (Quasiquotes, B)
- Implicit
- This member is added by an implicit conversion from Quasiquotes to ArrowAssoc[Quasiquotes] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Quasiquotes to StringFormat[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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.