dotty.tools.dotc.typer.Applications

ApplyToTyped

Related Doc: package Applications

class ApplyToTyped extends (Applications.this)#TypedApply[Type]

Subclass of Application for type checking an Apply node with typed arguments.

Linear Supertypes
(Applications.this)#TypedApply[Type], (Applications.this)#Application[Tree[Type]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ApplyToTyped
  2. TypedApply
  3. Application
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApplyToTyped(app: ast.untpd.Apply, fun: ast.tpd.Tree, methRef: TermRef, args: List[ast.tpd.Tree], resultType: Type)(implicit ctx: Context)

Type Members

  1. type TypedArg = Tree[Type]

    The type of typed arguments: either tpd.Tree or Type

    The type of typed arguments: either tpd.Tree or Type

    Definition Classes
    TypedApplyApplication

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. def addArg(arg: ast.tpd.Tree, formal: Type): Unit

    Check that argument corresponds to type formal and possibly add it to the list of adapted arguments

    Check that argument corresponds to type formal and possibly add it to the list of adapted arguments

    Definition Classes
    TypedApplyApplication
  5. def appPos: Position

    Definition Classes
    TypedApplyApplication
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def fail(msg: ⇒ Message): Unit

    Signal failure with given message at position of the application itself

    Signal failure with given message at position of the application itself

    Definition Classes
    TypedApplyApplication
  11. def fail(msg: ⇒ Message, arg: Tree[Type]): Unit

    Signal failure with given message at position of given argument

    Signal failure with given message at position of given argument

    Definition Classes
    TypedApplyApplication
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findDefaultGetter(n: Int)(implicit ctx: Context): ast.tpd.Tree

    Find reference to default parameter getter for parameter #n in current parameter list, or NoType if none was found

    Find reference to default parameter getter for parameter #n in current parameter list, or NoType if none was found

    Definition Classes
    Application
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def harmonizeArgs(args: List[TypedArg]): List[ast.tpd.Tree]

    If all args have primitive numeric types, make sure it's the same one

    If all args have primitive numeric types, make sure it's the same one

    Definition Classes
    TypedApplyApplication
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def init(): Unit

    Attributes
    protected
    Definition Classes
    Application
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isVarArg(arg: Tree[Type]): Boolean

    Is this an argument of the form expr: _* or a RepeatedParamType derived from such an argument?

    Is this an argument of the form expr: _* or a RepeatedParamType derived from such an argument?

    Definition Classes
    TypedApplyApplication
  20. def liftFun(): Unit

    If constructing trees, pull out all parts of the function which are not idempotent into separate prefix definitions

    If constructing trees, pull out all parts of the function which are not idempotent into separate prefix definitions

    Definition Classes
    TypedApplyApplication
  21. def makeVarArg(n: Int, elemFormal: Type): Unit

    If constructing trees, turn last n processed arguments into a SeqLiteral tree with element type elemFormal.

    If constructing trees, turn last n processed arguments into a SeqLiteral tree with element type elemFormal.

    Definition Classes
    TypedApplyApplication
  22. def matchArgs(args: List[Tree[Type]], formals: List[Type], n: Int): Unit

    Match re-ordered arguments against formal parameters

    Match re-ordered arguments against formal parameters

    n

    The position of the first parameter in formals in methType.

    Definition Classes
    Application
  23. val methType: Type

    The function's type after widening and instantiating polytypes with polyparams in constraint set

    The function's type after widening and instantiating polytypes with polyparams in constraint set

    Definition Classes
    Application
  24. def methodType: MethodType

    Attributes
    protected
    Definition Classes
    Application
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def normalizedFun: ast.tpd.Tree

    The current function part, which might be affected by lifting.

    The current function part, which might be affected by lifting.

    Definition Classes
    TypedApplyApplication
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def ok: Boolean

    Definition Classes
    Application
  30. def ok_=(x: Boolean): Unit

    Definition Classes
    Application
  31. lazy val orderedArgs: List[Tree[Type]]

    The arguments re-ordered so that each named argument matches the same-named formal parameter.

    The arguments re-ordered so that each named argument matches the same-named formal parameter.

    Definition Classes
    Application
  32. def reorder[T >: Untyped](args: List[Tree[T]]): List[Tree[T]]

    Re-order arguments to correctly align named arguments

    Re-order arguments to correctly align named arguments

    Definition Classes
    Application
  33. val result: ast.tpd.Tree

    Definition Classes
    TypedApply
  34. def spliceMeth(meth: ast.tpd.Tree, app: ast.tpd.Tree): ast.tpd.Tree

    Splice new method reference into existing application

    Splice new method reference into existing application

    Definition Classes
    Application
  35. def success: Boolean

    The application was successful

    The application was successful

    Definition Classes
    Application
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def treeToArg(arg: ast.tpd.Tree): ast.tpd.Tree

    Turn a typed tree into an argument

    Turn a typed tree into an argument

    Definition Classes
    ApplyToTypedApplication
  39. def typedArg(arg: ast.tpd.Tree, formal: Type): TypedArg

    Given an original argument and the type of the corresponding formal parameter, produce a typed argument.

    Given an original argument and the type of the corresponding formal parameter, produce a typed argument.

    Definition Classes
    ApplyToTypedApplication
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (Applications.this)#TypedApply[Type]

Inherited from (Applications.this)#Application[Tree[Type]]

Inherited from AnyRef

Inherited from Any

Ungrouped