JSNewTarget
org.scalajs.ir.Trees.JSNewTarget
sealed case class JSNewTarget()(implicit pos: Position) extends Tree
JavaScript meta-property new.target.
This form is its own node, rather than using something like
JSSelect(JSNew(), StringLiteral("target"))
because new is not a first-class term in JavaScript. new.target is a dedicated syntactic form that cannot be dissociated.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Treetrait TreeOrJSSpreadclass IRNodeclass Objecttrait Matchableclass Any
Members list
In this article