Class PropertySetNode.TypeErrorPropertySetNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode<PropertySetNode.SetCacheNode>
com.oracle.truffle.js.nodes.access.PropertySetNode.SetCacheNode
com.oracle.truffle.js.nodes.access.PropertySetNode.LinkedPropertySetNode
com.oracle.truffle.js.nodes.access.PropertySetNode.TypeErrorPropertySetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Enclosing class:
PropertySetNode
public static final class PropertySetNode.TypeErrorPropertySetNode
extends PropertySetNode.LinkedPropertySetNode
If object is undefined or null, throw TypeError.
-
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 -
Field Summary
Fields inherited from class com.oracle.truffle.js.nodes.access.PropertySetNode.SetCacheNode
nextFields inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
IS_FINAL, IS_FINAL_CONSTANT_OBJECT, IS_SIMPLE_SHAPE_CHECK, IS_SINGLE_REALM, receiverCheck -
Constructor Summary
ConstructorsConstructorDescriptionTypeErrorPropertySetNode(PropertyCacheNode.AbstractShapeCheckNode shapeCheckNode) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleansetValue(Object thisObj, Object value, Object receiver, PropertySetNode root, boolean guard) Methods inherited from class com.oracle.truffle.js.nodes.access.PropertySetNode.SetCacheNode
acceptsValue, getNext, setNext, setValueBoolean, setValueDouble, setValueIntMethods inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
accepts, clearExpectedObject, debugString, getExpectedObject, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, isValidFinalAssumption, sweep, withNextMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods 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, toString
-
Constructor Details
-
TypeErrorPropertySetNode
-
-
Method Details
-
setValue
protected boolean setValue(Object thisObj, Object value, Object receiver, PropertySetNode root, boolean guard) - Specified by:
setValuein classPropertySetNode.SetCacheNode
-