JSUnaryOp

org.scalajs.ir.Trees$.JSUnaryOp
See theJSUnaryOp companion object
sealed case class JSUnaryOp(op: Code, lhs: Tree)(implicit pos: Position) extends Tree

Unary operation (always preserves pureness).

Operations which do not preserve pureness are not allowed in this tree. These are notably ++ and --

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Tree
class IRNode
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
IRNode

Concrete fields

val tpe: Type

Implicits

Implicits

implicit val pos: Position