case class
Return
[
-T
]
extends
Tree
with
TermTree
return expr
where from
refers to the method from which the return takes place
After program transformations this is not necessarily the enclosing method, because
closures can intervene.
Constructors
Return
(
expr:
Tree
[
T
]
,
from:
Tree
[
T
]
)
Members
type
ThisTree
=
[-T >: dotty.tools.dotc.ast.Trees.Untyped] =>
dotty.tools.dotc.ast.Trees.Return[T] (not handled)
The type constructor at the root of the tree
The type constructor at the root of the tree
val
expr
: Tree
[
T
]
val
from
: Tree
[
T
]
def
_1
: T1
def
_2
: T2
def
copy
(
expr:
Tree
[
T
]
,
from:
Tree
[
T
]
)
: Return
[
T
]
def
copy$default$1
: Tree
[
T
]
def
copy$default$2
: Tree
[
T
]