Class IsCallableNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.unary.IsCallableNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Represents abstract operation IsCallable.
- See Also:
-
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 IsCallableNodecreate()protected static booleanprotected static booleandoBoolean(boolean value) protected static booleandoJSFunction(JSDynamicObject function) protected static booleandoJSFunctionShape(JSDynamicObject function, com.oracle.truffle.api.object.Shape shape) protected static booleandoJSProxy(JSDynamicObject proxy) protected static booleandoJSTypeOther(JSDynamicObject object) protected static booleanprotected static booleandoString(com.oracle.truffle.api.strings.TruffleString string) protected static booleanprotected static booleandoTruffleObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary interop) abstract booleanexecuteBoolean(Object operand) Methods inherited from class 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
-
IsCallableNode
protected IsCallableNode()
-
-
Method Details
-
executeBoolean
-
doJSFunctionShape
protected static boolean doJSFunctionShape(JSDynamicObject function, com.oracle.truffle.api.object.Shape shape) -
doJSFunction
-
doJSProxy
-
doJSTypeOther
-
doTruffleObject
protected static boolean doTruffleObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary interop) -
doString
protected static boolean doString(com.oracle.truffle.api.strings.TruffleString string) -
doNumber
-
doBoolean
protected static boolean doBoolean(boolean value) -
doSymbol
-
doBigInt
-
create
-