StringConstantModule (original) (raw)

scala.quoted.Quotes.reflectModule.StringConstantModule

trait StringConstantModule

Methods of the module object val StringConstant

Attributes

Source

Quotes.scala

Graph

Supertypes

class Object

trait Matchable

class Any

Self type

StringConstant.type

Members list

Value members

Abstract methods

def apply(x: String): StringConstant

Create a constant String value

Create a constant String value

Attributes

Source

Quotes.scala

def unapply(constant: StringConstant): Some[String]

Match String value constant and extract its value

Match String value constant and extract its value

Attributes

Source

Quotes.scala