LiteralModule (original) (raw)

Scala 3/scala/scala.quoted/Quotes/reflectModule/LiteralModule

scala.quoted.Quotes.reflectModule.LiteralModule

trait LiteralModule

Methods of the module object val Literal

Attributes

Source

Quotes.scala

Graph

Supertypes

class Object

trait Matchable

class Any

Self type

Literal.type

Members list

Value members

Abstract methods

def apply(constant: Constant): Literal

Create a literal constant

Create a literal constant

Attributes

Source

Quotes.scala

def copy(original: Tree)(constant: Constant): Literal

Attributes

Source

Quotes.scala

def unapply(x: Literal): Some[Constant]

Matches a literal constant

Matches a literal constant

Attributes

Source

Quotes.scala

In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL