Class IsPrimitiveNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.IsPrimitiveNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IsPrimitiveNodecreate()protected static booleanprotected static booleandoBoolean(boolean operand) protected static booleandoDouble(double operand) protected static booleandoForeignObject(Object operand, com.oracle.truffle.api.interop.InteropLibrary interop) protected static booleandoInt(int operand) protected static booleandoIsObject(JSObject operand) protected static booleandoLargeInt(SafeInteger operand) protected static booleandoLong(long operand) protected static booleanprotected static booleandoString(com.oracle.truffle.api.strings.TruffleString operand) protected static booleanprotected static booleandoUndefined(Object operand) abstract booleanexecuteBoolean(Object operand) static IsPrimitiveNodeMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
IsPrimitiveNode
public IsPrimitiveNode()
-
-
Method Details
-
executeBoolean
-
doNull
-
doUndefined
-
doBoolean
protected static boolean doBoolean(boolean operand) -
doInt
protected static boolean doInt(int operand) -
doLong
protected static boolean doLong(long operand) -
doLargeInt
-
doDouble
protected static boolean doDouble(double operand) -
doSymbol
-
doBigInt
-
doString
protected static boolean doString(com.oracle.truffle.api.strings.TruffleString operand) -
doIsObject
-
doForeignObject
protected static boolean doForeignObject(Object operand, com.oracle.truffle.api.interop.InteropLibrary interop) -
create
-
getUncached
-