org.scalajs.core.ir.Trees
Selects a property inherited from the parent class of cls on receiver.
cls
receiver
cls must be a non-native JS class.
Given the non-native JS classes
class Bar extends js.Object 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 non-native JS class.Given the non-native JS classes
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.