LiteralModule
scala.quoted.Quotes.reflectModule.LiteralModule
trait LiteralModule
Methods of the module object val Literal
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
def apply(constant: Quotes.this.reflectModule.this.Constant): Quotes.this.reflectModule.this.Literal
Create a literal constant
def copy(original: Quotes.this.reflectModule.this.Tree)(constant: Quotes.this.reflectModule.this.Constant): Quotes.this.reflectModule.this.Literal
Attributes
- Source
- Quotes.scala
def unapply(x: Quotes.this.reflectModule.this.Literal): Some[Quotes.this.reflectModule.this.Constant]
Matches a literal constant
In this article