JSSymUtils
Additional extensions for Symbol
s that are only relevant for Scala.js.
Attributes
- Graph
- Supertypes
- Self type
- JSSymUtils.type
Members list
Type members
Classlikes
Attributes
- Companion:
- enum
- Graph
- Supertypes
- Self type
- JSCallingConvention.type
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
).
Attributes
- Graph
- Supertypes
Info about a Scala method param when called as JS method.
Info about a Scala method param when called as JS method.
Attributes
- capture
Whether the parameter is a capture.
- info
Parameter type (type of a single element if repeated).
- repeated
Whether the parameter is repeated.
- Graph
- Supertypes
Extensions
Extensions
Should this symbol be translated into a JS bracket access?
Should this symbol be translated into a JS bracket access?
Attributes
Should this symbol be translated into a JS bracket call?
Should this symbol be translated into a JS bracket call?
Attributes
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.
Attributes
Should this symbol be translated into a JS getter?
Should this symbol be translated into a JS getter?
Attributes
Is this symbol a JS getter or setter?
Is this symbol a JS getter or setter?
Attributes
Should this symbol be translated into a JS setter?
Should this symbol be translated into a JS setter?
Attributes
Is this symbol a JavaScript type?
Is this symbol a JavaScript type?
Attributes
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?
Attributes
Is this symbol a non-native JS class?
Is this symbol a non-native JS class?
Attributes
Gets the unqualified JS name of the symbol.
Gets the unqualified JS name of the symbol.
If it is not explicitly specified with an @JSName
annotation, the
JS name is inferred from the Scala name.