public abstract static class StringPrototypeBuiltins.JSStringCharCodeAtNode extends JSBuiltinNode implements JSBuiltinNode.Inlineable
| Modifier and Type | Class and Description |
|---|---|
static class |
StringPrototypeBuiltins.JSStringCharCodeAtNode.Inlined |
JSBuiltinNode.InlineableARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringCharCodeAtNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected char |
charAt(com.oracle.truffle.api.strings.TruffleString s,
int i) |
protected Object |
charCodeAtGeneric(Object thisObj,
Object indexObj,
JSToNumberNode toNumberNode) |
protected int |
charCodeAtInBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos) |
protected double |
charCodeAtOutOfBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos) |
StringPrototypeBuiltins.JSStringCharCodeAtNode.Inlined |
createInlined() |
protected static boolean |
posInBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos) |
protected void |
requireObjectCoercible(Object target) |
protected int |
toIntegerAsInt(Object target) |
protected com.oracle.truffle.api.strings.TruffleString |
toString(Object target) |
protected static int |
within(int value,
int min,
int max) |
protected static int |
withinNumber(Number value,
int min,
int max) |
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected static boolean posInBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos)
protected int charCodeAtInBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos)
protected double charCodeAtOutOfBounds(com.oracle.truffle.api.strings.TruffleString thisStr,
int pos)
protected Object charCodeAtGeneric(Object thisObj, Object indexObj, JSToNumberNode toNumberNode)
public StringPrototypeBuiltins.JSStringCharCodeAtNode.Inlined createInlined()
createInlined in interface JSBuiltinNode.Inlineableprotected static int within(int value,
int min,
int max)
protected static int withinNumber(Number value, int min, int max)
protected final void requireObjectCoercible(Object target)
protected com.oracle.truffle.api.strings.TruffleString toString(Object target)
protected char charAt(com.oracle.truffle.api.strings.TruffleString s,
int i)
protected int toIntegerAsInt(Object target)