public abstract static class StringPrototypeBuiltins.JSStringStartsWithNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSStringStartsWithNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
requireObjectCoercible(Object target) |
protected boolean |
startsWithGeneric(Object thisObj,
Object searchString,
Object position,
JSToStringNode toString2Node,
IsRegExpNode isRegExpNode,
com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile noStringBranch) |
protected boolean |
startsWithString(com.oracle.truffle.api.strings.TruffleString thisObj,
com.oracle.truffle.api.strings.TruffleString searchStr,
JSDynamicObject position,
com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode) |
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, 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 boolean startsWithString(com.oracle.truffle.api.strings.TruffleString thisObj,
com.oracle.truffle.api.strings.TruffleString searchStr,
JSDynamicObject position,
com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode)
protected boolean startsWithGeneric(Object thisObj, Object searchString, Object position, JSToStringNode toString2Node, IsRegExpNode isRegExpNode, com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode, com.oracle.truffle.api.profiles.InlinedBranchProfile noStringBranch)
protected 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 int toIntegerAsInt(Object target)