JSSymUtils
Additional extensions for Symbols that are only relevant for Scala.js.
Additional extensions for Symbols that are only relevant for Scala.js.
Type members
Classlikes
The result type for sym.jsName.
The result type for sym.jsName.
It is either a literal string, or a computed name represented by a reference
to a static Symbol (a dotc.core.Symbols.Symbol, not a js.Symbol).
Extensions
Extensions
Should this symbol be translated into a JS bracket access?
Should this symbol be translated into a JS bracket access?
Should this symbol be translated into a JS bracket call?
Should this symbol be translated into a JS bracket call?
Is this symbol a default param accessor for a JS method?
Is this symbol a default param accessor for a JS method?
For default param accessors of constructors, we need to test whether the companion class of the owner is a JS type; not whether the owner is a JS type.
Tests whether the given member is exposed, i.e., whether it was originally a public or protected member of a non-native JS class.
Tests whether the given member is exposed, i.e., whether it was originally a public or protected member of a non-native JS class.
Should this symbol be translated into a JS getter?
Should this symbol be translated into a JS getter?
Is this symbol a default param accessor for the constructor of a native JS class?
Is this symbol a default param accessor for the constructor of a native JS class?
Should this symbol be translated into a JS setter?
Should this symbol be translated into a JS setter?
Is this symbol a nested JS class, i.e., an inner or local JS class?
Is this symbol a nested JS class, i.e., an inner or local JS class?