scala.quoted.Quotes.reflectModule.ReturnModule
Methods of the module object val Return.
Attributes
- Source
-
Quotes.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Value parameters
- expr
-
the expression being returned
- from
-
the symbol of the enclosing method
Attributes
- Returns
-
a Return tree representing return expr from method from
- Source
-
Quotes.scala
Matches return and extracts the expression and symbol of the method.
Matches return and extracts the expression and symbol of the method.
Value parameters
- x
-
the Return to match against
Attributes
- Returns
-
a tuple of the returned expression and the enclosing method symbol
- Source
-
Quotes.scala