JSImportMeta

org.scalajs.ir.Trees.JSImportMeta
sealed case class JSImportMeta()(implicit pos: Position) extends Tree

JavaScript meta-property import.meta.

This form is its own node, rather than using something like

JSSelect(JSImport(), StringLiteral("meta"))

because import is not a first-class term in JavaScript. import.meta is a dedicated syntactic form that cannot be dissociated.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Tree
class IRNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def show: String

Attributes

Inherited from:
IRNode

Concrete fields

val tpe: Type

Implicits

Implicits

implicit val pos: Position