org.scalajs.core.ir.Trees
Selects a property inherited from the parent class of cls on receiver.
cls
receiver
cls must be a Scala.js-defined JS class.
Given the Scala.js-defined JS class
class Foo extends Bar
The node
JSSuperBrackerSelect(ClassType(Foo), qualifier, item)
which is printed as
qualifier.Foo::super[item]
has the semantics of an ES6 super reference
super[item]
as if it were in an instance method of Foo with qualifier as the this value.
Foo
qualifier
this
Selects a property inherited from the parent class of
cls
onreceiver
.cls
must be a Scala.js-defined JS class.Given the Scala.js-defined JS class
The node
which is printed as
qualifier.Foo::super[item]
has the semantics of an ES6 super reference
super[item]
as if it were in an instance method of
Foo
withqualifier
as thethis
value.