public abstract class DefaultNumberOptionNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultNumberOptionNode() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultNumberOptionNode |
create() |
abstract int |
executeInt(Object value,
int minimum,
int maximum,
int fallback) |
int |
getOption(Object value,
int minimum,
int maximum,
int fallback,
JSToNumberNode toNumberNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
int |
getOptionFromUndefined(Object value,
int minimum,
int maximum,
int fallback) |
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 int executeInt(Object value, int minimum, int maximum, int fallback)
public static DefaultNumberOptionNode create()
public int getOption(Object value, int minimum, int maximum, int fallback, JSToNumberNode toNumberNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
public int getOptionFromUndefined(Object value, int minimum, int maximum, int fallback)