JSImportCall
org.scalajs.ir.Trees.JSImportCall
sealed case class JSImportCall(arg: Tree)(implicit pos: Position) extends Tree
JavaScript dynamic import of the form import(arg)
.
This form is its own node, rather than using something like
JSFunctionApply(JSImport())
because import
is not a first-class term in JavaScript. ImportCall
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