TailRecElimination
dotty.tools.dotc.transform.TailRec.TailRecElimination
class TailRecElimination(method: Symbol, enclosingClass: ClassSymbol, paramSyms: List[Symbol], isMandatory: Boolean) extends TreeMap
Members list
Value members
Concrete methods
Rewrite this tree to contain no tail recursive calls
Rewrite this tree to contain no tail recursive calls
Attributes
Concrete fields
The subset of paramSyms
that are modified in at least one recursive call, and which therefore need a replacement var
.
The subset of paramSyms
that are modified in at least one recursive call, and which therefore need a replacement var
.
Attributes
The local var
that replaces this
, if it is modified in at least one recursive call.
The local var
that replaces this
, if it is modified in at least one recursive call.
Attributes
The replacement var
s for the params in rewrittenParamSyms
.
The replacement var
s for the params in rewrittenParamSyms
.
Attributes
Inherited fields
Attributes
- Inherited from:
- TreeMap
In this article