public abstract class JSStringToNumberNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSStringToNumberNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSStringToNumberNode |
create() |
abstract double |
execute(com.oracle.truffle.api.strings.TruffleString input) |
protected static double |
trimmedStringToNumber(com.oracle.truffle.api.strings.TruffleString input,
JSTrimWhitespaceNode trimWhitespaceNode,
com.oracle.truffle.js.nodes.cast.JSStringToNumberNoTrimNode stringToNumberNode) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract double execute(com.oracle.truffle.api.strings.TruffleString input)
protected static double trimmedStringToNumber(com.oracle.truffle.api.strings.TruffleString input,
JSTrimWhitespaceNode trimWhitespaceNode,
com.oracle.truffle.js.nodes.cast.JSStringToNumberNoTrimNode stringToNumberNode)
public static JSStringToNumberNode create()