Index
A
args()element in JS If specified, overrides parameter names seen by the JavaScript code.as(Class)method in JSObject Implements the logic for coercing fromJSObjectto one of its subtypes.as(Class)method in JSValue Coerces this JavaScript value to the requested Java type.asBigInteger()method in JSBigIntasBigInteger()method in JSNumberasBigInteger()method in JSValueasBoolean()method in JSBooleanasBoolean()method in JSValueasByte()method in JSBigIntasByte()method in JSNumberasByte()method in JSValueasChar()method in JSBigIntasChar()method in JSNumberasChar()method in JSValueasDouble()method in JSNumberasDouble()method in JSValueasFloat()method in JSBigIntasFloat()method in JSNumberasFloat()method in JSValueasInt()method in JSBigIntasInt()method in JSNumberasInt()method in JSValueasLong()method in JSBigIntasLong()method in JSNumberasLong()method in JSValueasShort()method in JSBigIntasShort()method in JSNumberasShort()method in JSValueasString()method in JSString Cannot usestringValue()because the implementation of that method calls this method.asString()method in JSValueasyncDispose()method in JSSymbolasyncIterator()method in JSSymbolat(int)method in JSString
C
call(Object, Object...)method in JSObject Calls the underlying JavaScript function with the given value for the binding ofthisin the function, if this object is callable.charAt(int)method in JSStringcharCodeAt(int)method in JSStringcheckedCoerce(Object, Class)method in JSValue Attempts to coerce a given value to the specified Java type.Codeannotation interface in org.graalvm.webimage.api A snippet of JavaScript code that must be included in the image.codePointAt(int)method in JSStringCoerceannotation interface in org.graalvm.webimage.api When this annotation is used together with theJSannotation, the arguments and return values of the respective method undergo implicit Java-to-JavaScript and JavaScript-to-Java conversions.concat(JSString...)method in JSStringcreate()method in JSObject Creates an empty JavaScript object.create(JSObject)method in JSObjectcreate(JSObject, JSObject)method in JSObject
D
DEFAULT_ARGUMENTSfield in JS The default arguments string is an empty string used to denote the default value of theargsmember.defineProperties(JSObject, JSObject)method in JSObjectdefineProperty(JSObject, JSString, JSObject)method in JSObjectdefineProperty(JSObject, String, JSObject)method in JSObjectdescription()method in JSSymboldispose()method in JSSymbol
E
endsWith(JSString)method in JSStringendsWith(JSString, int)method in JSStringendsWith(String)method in JSStringendsWith(String, int)method in JSStringentries(JSObject)method in JSObjectepsilon()method in JSNumberequals(Object)method in JSBigIntequals(Object)method in JSBooleanequals(Object)method in JSNumberequals(Object)method in JSStringequals(Object)method in JSSymbolequalsJavaScript(JSObject)method in JSObjectExportannotation interface in org.graalvm.webimage.api Denotes that the annotated Java class should be exported from the VM class.
F
forKey(String)method in JSSymbolforString(String)method in JSSymbolfreeze(JSObject)method in JSObjectfromCharCode(char...)method in JSStringfromCharCode(int...)method in JSStringfromCodePoint(int...)method in JSStringfromEntries(JSObject)method in JSObject
G
get(Object)method in JSObject Returns the value of the key passed as the argument in the JavaScript object.get(Object, Class)method in JSObject Same asget(Object)but the returned values is coerced to the given type.getOwnPropertyDescriptor(JSObject, String)method in JSObjectgetOwnPropertyNames(JSObject)method in JSObjectgetThrownObject()method in ThrownFromJavaScriptGroupannotation interface in org.graalvm.webimage.apiGroupannotation interface in org.graalvm.webimage.apigroupBy(JSObject, JSValue)method in JSObject
H
hashCode()method in JSBigInthashCode()method in JSBooleanhashCode()method in JSNumberhashCode()method in JSStringhashCode()method in JSSymbolhasInstance()method in JSSymbolhasOwn(JSObject, JSString)method in JSObjecthasOwn(JSObject, JSSymbol)method in JSObjecthasOwn(JSObject, String)method in JSObject
I
Importannotation interface in org.graalvm.webimage.api Denotes that the annotated class represents a JavaScript class from the global scope.Includeannotation interface in org.graalvm.webimage.api Designates the path to the JavaScript file with the code that must be included in the image.includes(JSString)method in JSStringincludes(JSString, int)method in JSStringincludes(String)method in JSStringincludes(String, int)method in JSStringindexOf(JSString)method in JSStringindexOf(JSString, int)method in JSStringindexOf(String)method in JSStringindexOf(String, int)method in JSStringinstance()method in JSUndefinedinvoke(Object...)method in JSObject Invoke the underlying JavaScript function, if this object is callable.is(JSValue, JSValue)method in JSObjectisConcatSpreadable()method in JSSymbolisExtensible(JSObject)method in JSObjectisFinite(double)method in JSNumberisFinite(JSNumber)method in JSNumberisFrozen(JSObject)method in JSObjectisInteger(double)method in JSNumberisInteger(JSNumber)method in JSNumberisNaN(double)method in JSNumberisNaN(JSNumber)method in JSNumberisPrototypeOf(JSObject)method in JSObjectisSafeInteger(double)method in JSNumberisSafeInteger(JSNumber)method in JSNumberisSameSymbol(JSSymbol, JSSymbol)method in JSSymbolisSealed(JSObject)method in JSObjectisUndefined()method in JSUndefined Checks whether this is the JavaScriptundefinedvalue.isUndefined()method in JSValue Checks whether this is the JavaScriptundefinedvalue.isUndefined(JSValue)method in JSValue Specialization ofisUndefined(Object)that avoids the type check forJSValue.isUndefined(Object)method in JSValue Checks whether the given value is the JavaScriptundefinedvalue.isWellFormed()method in JSStringiterator()method in JSSymbol
J
JSannotation interface in org.graalvm.webimage.api Replaces the body of a Java method with JavaScript code.JSBigIntclass in org.graalvm.webimage.api Java representation of a JavaScriptBigIntvalue.JSBooleanclass in org.graalvm.webimage.api Java representation of a JavaScriptBooleanvalue.JSNumberclass in org.graalvm.webimage.api Java representation of a JavaScriptNumbervalue.JSObjectclass in org.graalvm.webimage.api AJSObjectis a Java-side wrapper for JavaScript objects.JSObject()constructor in JSObjectJSResourceannotation interface in org.graalvm.webimage.apiJSStringclass in org.graalvm.webimage.api Java representation of a JavaScriptStringvalue.JSSymbolclass in org.graalvm.webimage.api Java representation of a JavaScriptSymbolvalue.JSUndefinedclass in org.graalvm.webimage.api Java representation of the JavaScriptundefinedvalue.JSValueabstract class in org.graalvm.webimage.api Java representation of a JavaScript value.
K
keyFor(JSSymbol)method in JSSymbolkeys()method in JSObject Returns the array of property keys for this object.keys(JSObject)method in JSObject
L
lastIndexOf(JSString)method in JSStringlastIndexOf(JSString, int)method in JSStringlastIndexOf(String)method in JSStringlastIndexOf(String, int)method in JSStringlength()method in JSStringlocaleCompare(JSString)method in JSStringlocaleCompare(JSString, JSString)method in JSStringlocaleCompare(JSString, JSString, JSObject)method in JSStringlocaleCompare(String)method in JSStringlocaleCompare(String, String)method in JSStringlocaleCompare(String, String, JSObject)method in JSString
M
match()method in JSSymbolmatch(JSObject)method in JSStringmatch(JSString)method in JSStringmatch(String)method in JSStringmatchAll()method in JSSymbolmatchAll(JSObject)method in JSStringmaxSafeInteger()method in JSNumbermaxValue()method in JSNumberminSafeInteger()method in JSNumberminValue()method in JSNumber
N
nan()method in JSNumbernegativeInfinity()method in JSNumbernormalize()method in JSStringnormalize(String)method in JSString
O
of(BigInteger)method in JSBigIntof(boolean)method in JSBooleanof(double)method in JSNumberof(long)method in JSBigIntof(String)method in JSStringof(String)method in JSSymbol
P
padEnd(int)method in JSStringpadEnd(int, JSString)method in JSStringpadEnd(int, String)method in JSStringpadStart(int)method in JSStringpadStart(int, JSString)method in JSStringpadStart(int, String)method in JSStringparseFloat(String)method in JSNumberparseInt(String)method in JSNumberparseInt(String, int)method in JSNumberpositiveInfinity()method in JSNumberpreventExtensions(JSObject)method in JSObjectpropertyIsEnumerable(JSString)method in JSObjectpropertyIsEnumerable(JSSymbol)method in JSObjectpropertyIsEnumerable(String)method in JSObject
R
raw(JSObject, Object...)method in JSStringrepeat(int)method in JSStringreplace()method in JSSymbolreplace(JSValue, JSValue)method in JSStringreplaceAll(JSValue, JSValue)method in JSString
S
seal(JSObject)method in JSObjectsearch()method in JSSymbolsearch(JSValue)method in JSStringsearch(String)method in JSStringset(Object, Object)method in JSObject Sets the value of the key passed as the argument in the JavaScript object.setPrototypeOf(JSObject, JSObject)method in JSObjectslice(int)method in JSStringslice(int, int)method in JSStringspecies()method in JSSymbolsplit()method in JSSymbolsplit(JSValue)method in JSStringsplit(JSValue, int)method in JSStringsplit(String)method in JSStringsplit(String, int)method in JSStringstartsWith(JSString)method in JSStringstartsWith(JSString, int)method in JSStringstartsWith(String)method in JSStringstartsWith(String, int)method in JSStringstringValue()method in JSValue Returns the JS string representation of this value (by calling the JStoStringmethod on it) and"undefined"for the JSundefinedvalue.substring(int)method in JSStringsubstring(int, int)method in JSString
T
ThrownFromJavaScriptexception in org.graalvm.webimage.api Represents the error value thrown in JavaScript.ThrownFromJavaScript(Object)constructor in ThrownFromJavaScripttoExponential()method in JSNumbertoExponential(int)method in JSNumbertoFixed()method in JSNumbertoFixed(int)method in JSNumbertoLocaleLowerCase()method in JSStringtoLocaleLowerCase(JSString)method in JSStringtoLocaleLowerCase(String)method in JSStringtoLocaleString()method in JSNumbertoLocaleString()method in JSObjecttoLocaleString(String)method in JSNumbertoLocaleString(String, JSObject)method in JSNumbertoLocaleUpperCase()method in JSStringtoLocaleUpperCase(JSString)method in JSStringtoLocaleUpperCase(String)method in JSStringtoLowerCase()method in JSStringtoPrecision()method in JSNumbertoPrecision(int)method in JSNumbertoPrimitive()method in JSSymboltoString()method in JSValuetoString(int)method in JSNumbertoStringTag()method in JSSymboltoUpperCase()method in JSStringtoWellFormed()method in JSStringtrim()method in JSStringtrimEnd()method in JSStringtrimStart()method in JSStringtypeof()method in JSBigInttypeof()method in JSBooleantypeof()method in JSNumbertypeof()method in JSObjecttypeof()method in JSStringtypeof()method in JSSymboltypeof()method in JSUndefinedtypeof()method in JSValuetypeofString()method in JSObject
U
undefined()method in JSValueunscopables()method in JSSymbol
V
value()element in JS JavaScript statements that form the body of this method.value()element in JS.Codevalue()element in JS.Code.Includevalue()element in JS.Code.Include.Groupvalue()element in JS.Import Denotes the name of the JavaScript class that is being imported.value()element in JSResourcevalue()element in JSResource.GroupvalueOf()method in JSNumbervalueOf()method in JSObjectvalues(JSObject)method in JSObject