scala.quoted.Quotes.reflectModule.LiteralModule
Methods of the module object val Literal.
Attributes
- Source
-
Quotes.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Creates a literal constant.
Creates a literal constant.
Value parameters
- constant
-
the constant value for the literal
Attributes
- Returns
-
a Literal tree wrapping constant
- Source
-
Quotes.scala
Matches a literal constant.
Matches a literal constant.
Value parameters
- x
-
the Literal to match against
Attributes
- Returns
-
Some containing the wrapped constant
- Source
-
Quotes.scala
Generated with
Copyright (c) 2002-2026, LAMP/EPFL
Copyright (c) 2002-2026, LAMP/EPFL