dotty.tools.dotc.typer.Applications

ApplicableToTrees

Related Doc: package Applications

class ApplicableToTrees extends (Applications.this)#TestApplication[ast.tpd.Tree]

Subclass of Application for applicability tests with type arguments and value argument trees.

Linear Supertypes
(Applications.this)#TestApplication[ast.tpd.Tree], (Applications.this)#Application[ast.tpd.Tree], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ApplicableToTrees
  2. TestApplication
  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 ApplicableToTrees(methRef: TermRef, targs: List[Type], args: List[ast.tpd.Tree], resultType: Type)(implicit ctx: Context)

Type Members

  1. type Result = Unit

    Definition Classes
    TestApplication
  2. type TypedArg = ast.tpd.Tree

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

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

    Definition Classes
    TestApplicationApplication

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: TypedArg, 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
    TestApplicationApplication
  5. def appPos: Position

    Definition Classes
    TestApplicationApplication
  6. def argType(arg: ast.tpd.Tree, formal: Type): Type

    The type of the given argument

    The type of the given argument

    Definition Classes
    ApplicableToTreesTestApplication
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  11. 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
    TestApplicationApplication
  12. def fail(msg: ⇒ Message, arg: ast.tpd.Tree): Unit

    Signal failure with given message at position of given argument

    Signal failure with given message at position of given argument

    Definition Classes
    TestApplicationApplication
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. 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
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def harmonizeArgs(args: List[ast.tpd.Tree]): 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
    ApplicableToTreesApplication
  17. def hashCode(): Int

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

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

    Definition Classes
    Any
  20. def isVarArg(arg: ast.tpd.Tree): 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
    ApplicableToTreesApplication
  21. 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

    Attributes
    protected
    Definition Classes
    Application
  22. 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
    TestApplicationApplication
  23. def matchArgs(args: List[ast.tpd.Tree], 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
  24. 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
  25. def methodType: MethodType

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

    Definition Classes
    AnyRef
  27. lazy val 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
    TestApplicationApplication
  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. def ok: Boolean

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

    Definition Classes
    Application
  32. lazy val orderedArgs: List[ast.tpd.Tree]

    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
  33. 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
  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
    ApplicableToTreesApplication
  39. def typedArg(arg: ast.tpd.Tree, formal: Type): ast.tpd.Tree

    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
    TestApplicationApplication
  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)#TestApplication[ast.tpd.Tree]

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

Inherited from AnyRef

Inherited from Any

Ungrouped