LiteralModule

scala.quoted.Quotes.reflectModule.LiteralModule

Methods of the module object val Literal.

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Quotes.this.reflectModule.this.Literal.type

Members list

Value members

Abstract methods

def apply(constant: Quotes.this.reflectModule.this.Constant): Quotes.this.reflectModule.this.Literal

Creates a literal constant.

Creates a literal constant.

Attributes

Source
Quotes.scala
def copy(original: Quotes.this.reflectModule.this.Tree)(constant: Quotes.this.reflectModule.this.Constant): Quotes.this.reflectModule.this.Literal

Attributes

Source
Quotes.scala

Matches a literal constant.

Matches a literal constant.

Attributes

Source
Quotes.scala