Inliner

dotty.tools.dotc.inlines.Inliner$
See theInliner companion class
object Inliner

General support for inlining

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Inliner.type

Members list

Concise view

Type members

Classlikes

Very similar to TreeInfo.isPureExpr, but with the following inliner-only exceptions:

Very similar to TreeInfo.isPureExpr, but with the following inliner-only exceptions:

  • synthetic case class apply methods, when the case class constructor is empty, are elideable but not pure. Elsewhere, accessing the apply method might cause the initialization of a containing object so they are merely idempotent.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type