sealed case class LinkTimeIf(cond: Tree, thenp: Tree, elsep: Tree)(tpe: Type)(implicit pos: Position) extends Tree with Product with Serializable
Link-time if expression.
The cond must be a well-typed link-time tree of type boolean.
A link-time tree is a Tree matching the following sub-grammar:
link-time-tree ::=
BooleanLiteral
| IntLiteral
| StringLiteral
| LinkTimeProperty
| UnaryOp(link-time-unary-op, link-time-tree)
| BinaryOp(link-time-binary-op, link-time-tree, link-time-tree)
| LinkTimeIf(link-time-tree, link-time-tree, link-time-tree)
link-time-unary-op ::=
Boolean_!
link-time-binary-op ::=
Boolean_== | Boolean_!= | Boolean_| | Boolean_&
| Int_== | Int_!= | Int_< | Int_<= | Int_> | Int_>= Note: nested LinkTimeIf nodes in the cond are used to encode
short-circuiting boolean && and ||, just like we do with regular
If nodes.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LinkTimeIf
- Serializable
- Product
- Equals
- Tree
- TreeOrJSSpread
- IRNode
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cond: Tree
- val elsep: Tree
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- LinkTimeIf → 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 thenp: Tree
- val tpe: Type
- Definition Classes
- LinkTimeIf → 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()