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
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

Matches a literal constant

Matches a literal constant

Attributes

Source
Quotes.scala