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
Inherited methods
Attributes
- Inherited from:
- TreeMap
Attributes
- Inherited from:
- TreeMap
Attributes
- Inherited from:
- TreeMap
def transformParamss(paramss: List[Instance.this.ParamClause])(using Context): List[Instance.this.ParamClause]
Attributes
- Inherited from:
- TreeMap
Attributes
- Inherited from:
- TreeMap
Attributes
- Inherited from:
- TreeMap
Attributes
- Inherited from:
- TreeMap
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 vars for the params in rewrittenParamSyms.
The replacement vars for the params in rewrittenParamSyms.
Attributes
Inherited fields
Attributes
- Inherited from:
- TreeMap
In this article