Class StringPrototypeBuiltins
java.lang.Object
com.oracle.truffle.js.builtins.JSBuiltinsContainer
com.oracle.truffle.js.builtins.JSBuiltinsContainer.SwitchEnum<StringPrototypeBuiltins.StringPrototype>
com.oracle.truffle.js.builtins.StringPrototypeBuiltins
public final class StringPrototypeBuiltins
extends JSBuiltinsContainer.SwitchEnum<StringPrototypeBuiltins.StringPrototype>
Contains builtins for JSString.prototype.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation of the CreateRegExpStringIterator abstract operation as specified by the String.prototype.matchAll draft proposal.static classstatic classstatic classImplementation of the String.prototype.charAt() method as specified by ECMAScript 5.1 in 15.5.4.4.static classImplementation of the String.prototype.charCodeAt() method as specified by ECMAScript 5.1 in 15.5.4.5.static classImplementation of the String.prototype.codePointAt() method of ECMAScript6/Harmony.static classImplementation of the String.prototype.concat() method as specified by ECMAScript 5.1 in 15.5.4.6.static classImplementation of the String.prototype.endsWith() method of ECMAScript6/Harmony.static classImplementation of the String.prototype.contains() or .includes() method of ECMAScript6/Harmony.static classImplementation of the String.prototype.indexOf() method as specified by ECMAScript 5.1 in 15.5.4.7.static classstatic classImplementation of the String.prototype.lastIndexOf() method as specified by ECMAScript 5.1 in 15.5.4.8.static classImplementation of the String.prototype.localeCompare() method as specified by ECMAScript Internationalization API, 1.0.static classImplementation of the String.prototype.localeCompare() method as specified by ECMAScript 5.1 in 15.5.4.9.static classImplementation of the String.prototype.match() method as specified by ECMAScript 5.1 in 15.5.4.10.static classImplementation of the String.prototype.match() method as specified by ECMAScript 6 in 21.1.3.11 and the String.prototype.matchAll() method as specified by the String.prototype.matchAll draft proposal.static classImplementation of the String.prototype.normalize() method of ECMAScript6/Harmony.static classstatic classImplementation of the String.prototype.padStart() and padEnd() method as proposed for ECMAScript 2016 (ES7).static classImplementation of the String.prototype.repeat() method of ECMAScript6/Harmony.static classstatic classstatic classImplementation of the String.prototype.replace() method as specified by ECMAScript 5.1 in 15.5.4.11.static classImplementation of the String.prototype.replace() method as specified by ECMAScript 5.1 in 15.5.4.11.static classLegacy Implementation of the String.prototype.search() method as specified by ECMAScript 5.static classImplementation of the String.prototype.search() method as specified by ECMAScript 6 in 21.1.3.15.static classImplementation of the String.prototype.slice() method as specified by ECMAScript 5.1 in 15.5.4.13.static classImplementation of the String.prototype.split() method as specified by ECMAScript 5.1 in 15.5.4.14.static classImplementation of the String.prototype.startsWith() method of ECMAScript6/Harmony.static classImplementation of the String.prototype.substring() method as specified by ECMAScript 5.1 in 15.5.4.15.static classImplementation of the String.prototype.substr() method as specified by ECMAScript 5.1 in Annex B.2.3.static classImplementation of the String.prototype.toLocaleLowerCase() and toLocaleUpperCase() methods as specified by ECMAScript Internationalization API, 1.0.static classImplementation of the String.prototype.toLowerCase() method as specified by ECMAScript 5.1 in 15.5.4.16.static classImplementation of the String.prototype.toString() and String.prototype.valueOf() methods as specified by ECMAScript 5.1 in 15.5.4.2 and 15.5.4.3.static classImplementation of the String.prototype.toUpperCase() method as specified by ECMAScript 5.1 in 15.5.4.18.static classstatic classNon-standard String.prototype.trimLeft to provide compatibility with Nashorn and V8.static classImplementation of the String.prototype.trim() method as specified by ECMAScript 5.1 in 15.5.4.20.static classNon-standard String.prototype.trimRight to provide compatibility with Nashorn and V8.static enumNested classes/interfaces inherited from class JSBuiltinsContainer
JSBuiltinsContainer.Lambda, JSBuiltinsContainer.Switch, JSBuiltinsContainer.SwitchEnum<E> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcreateNode(JSContext context, JSBuiltin builtin, boolean construct, boolean newTarget, StringPrototypeBuiltins.StringPrototype builtinEnum) Methods inherited from class JSBuiltinsContainer.SwitchEnum
getEnumTypeMethods inherited from class JSBuiltinsContainer
args, forEachAccessor, forEachBuiltin, fromEnum, getName, lookupAccessorByKey, lookupFunctionByKey, register
-
Field Details
-
BUILTINS
-
-
Constructor Details
-
StringPrototypeBuiltins
protected StringPrototypeBuiltins()
-
-
Method Details
-
createNode
protected Object createNode(JSContext context, JSBuiltin builtin, boolean construct, boolean newTarget, StringPrototypeBuiltins.StringPrototype builtinEnum) - Overrides:
createNodein classJSBuiltinsContainer.SwitchEnum<StringPrototypeBuiltins.StringPrototype>
-