IntConstantModule (original) (raw)

scala.quoted.Quotes.reflectModule.IntConstantModule

trait IntConstantModule

Methods of the module object val IntConstant

Attributes

Source

Quotes.scala

Graph

Supertypes

class Object

trait Matchable

class Any

Self type

IntConstant.type

Members list

Value members

Abstract methods

def apply(x: Int): IntConstant

Create a constant Int value

Create a constant Int value

Attributes

Source

Quotes.scala

def unapply(constant: IntConstant): Some[Int]

Match Int value constant and extract its value

Match Int value constant and extract its value

Attributes

Source

Quotes.scala