dotty.tools.dotc.typer

Inliner

Related Docs: class Inliner | package typer

object Inliner

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Inliner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def bodyToInline(sym: SymDenotation)(implicit ctx: Context): ast.tpd.Tree

    The body to inline for method sym.

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dropInlined(inlined: ast.tpd.Inlined)(implicit ctx: Context): ast.tpd.Tree

    Replace Inlined node by a block that contains its bindings and expansion

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hasBodyToInline(sym: SymDenotation)(implicit ctx: Context): Boolean

    sym has an inline method with a known body to inline (note: definitions coming from Scala2x class files might be @inline, but still lack that body.

  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. def inlineCall(tree: ast.tpd.Tree, pt: Type)(implicit ctx: Context): ast.tpd.Tree

    Try to inline a call to a @inline method.

    Try to inline a call to a @inline method. Fail with error if the maximal inline depth is exceeded.

    tree

    The call to inline

    pt

    The expected type of the call.

    returns

    An Inlined node that refers to the original call and the inlined bindings and body that replace it.

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def registerInlineInfo(sym: SymDenotation, treeExpr: (Context) ⇒ ast.tpd.Tree)(implicit ctx: Context): Unit

    Register inline info for given inline method sym.

    Register inline info for given inline method sym.

    sym

    The symbol denotatioon of the inline method for which info is registered

    treeExpr

    A function that computes the tree to be inlined, given a context This tree may still refer to non-public members.

    ctx

    The context to use for evaluating treeExpr. It needs to have the inlined method as owner.

  20. def removeInlineAccessors(sym: SymDenotation)(implicit ctx: Context): List[ast.tpd.MemberDef]

    The accessors to non-public members needed by the inlinable body of sym.

    The accessors to non-public members needed by the inlinable body of sym. These accessors are dropped as a side effect of calling this method.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped