scala.quoted
extends ObjectSupertypes
ObjectMembers
Liftable
Some liftable base types. To be completed with at least all types that are valid Scala literals. The actual implementation of these typed could be in te...
Some liftable base types. To be completed with at least all types
that are valid Scala literals. The actual implementation of these
typed could be in terms of ast.tpd.Literal
; the test quotable.scala
gives an alternative implementation using just the basic staging system.
Liftable
[T]A type class for types that can be turned to quoted.Expr[T]
without going through an explicit '{...}
operation.
A type class for types that can be turned to quoted.Expr[T]
without going through an explicit '{...}
operation.
QuoteContext
Quotation context provided by a macro expansion or in the scope of scala.quoted.run
.
Used to perform all operations on quoted Expr
or Type
.
It contains...
Quotation context provided by a macro expansion or in the scope of scala.quoted.run
.
Used to perform all operations on quoted Expr
or Type
.
It contains the low-level Typed AST API tasty
metaprogramming API.
This API does not have the static type guarantiees that Expr
and Type
provide.
ScopeException
Exception thrown when an Expr or Type is used ouside of the scope where it is valid
Exception thrown when an Expr or Type is used ouside of the scope where it is valid
Unliftable
[T]A type class for types that can be turned from a quoted.Expr[T]
to a T
A type class for types that can be turned from a quoted.Expr[T]
to a T
qctx
( implicit qctx: QuoteContext ) : qctx.typeCurrent QuoteContext in scope
Current QuoteContext in scope