final case class WasmCodePointAt(string: Tree, index: Tree) extends Value with Product with Serializable
Wasm intrinsic for jl.String.codePointAt
.
Typing rules: string
must be a jl.String
; index
must be an int
.
The result is an int
.
Evaluation semantics are as follows:
- Let
stringV
be the result of evaluatingstring
. If it isnull
, throw an NPE (subject to UB). 2. LetindexV
be the result of evaluatingindex
. 3. IfindexV < 0
orindexV >= stringV.length
, throw aStringIndexOutOfBoundsException
(subject to UB). 4. Return the code point starting at indexindexV
ofstringV
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WasmCodePointAt
- Serializable
- Serializable
- Product
- Equals
- Value
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WasmCodePointAt(string: Tree, index: Tree)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val index: Tree
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
printIR(out: IRTreePrinter): Unit
- Definition Classes
- WasmCodePointAt → Value
- val string: Tree
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tpe: Type
- Definition Classes
- WasmCodePointAt → Value
-
def
transform(transformer: Transformer, isStat: Boolean)(implicit pos: Position): Tree
- Definition Classes
- WasmCodePointAt → Value
-
def
traverse(traverser: Traverser): Unit
- Definition Classes
- WasmCodePointAt → Value
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()