sealed case class ApplyTypedClosure(flags: ApplyFlags, fun: Tree, args: List[Tree])(implicit pos: Position) extends Tree with Product with Serializable
Apply a typed closure
The given fun must have a closure type.
The arguments' types must match (be subtypes of) the parameter types of the closure type.
The tpe of this node is the result type of the closure type, or
nothing if the latter is nothing.
Evaluation steps are as follows:
- Let
funVbe the result of evaluatingfun. 2. IffunVisnullClosure, trigger an NPE undefined behavior. 3. LetargsVbe the result of evaluatingargs, in order. 4. InvokefunVwith argumentsargsV, and return the result.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ApplyTypedClosure
- Serializable
- Product
- Equals
- Tree
- TreeOrJSSpread
- IRNode
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ApplyTypedClosure(flags: ApplyFlags, fun: Tree, args: List[Tree])(implicit pos: Position)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val args: List[Tree]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: ApplyFlags
- val fun: Tree
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val pos: Position
- Definition Classes
- ApplyTypedClosure → IRNode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def show: String
- Definition Classes
- IRNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tpe: Type
- Definition Classes
- ApplyTypedClosure → Tree
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()