Class PropertySetNode.ReadOnlyPropertySetNode
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.ReadOnlyPropertySetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
PropertySetNode
public static final class PropertySetNode.ReadOnlyPropertySetNode
extends PropertySetNode.LinkedPropertySetNode
-
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 PropertySetNode.SetCacheNode
nextFields inherited from class PropertyCacheNode.CacheNode
IS_FINAL, IS_FINAL_CONSTANT_OBJECT, IS_SIMPLE_SHAPE_CHECK, IS_SINGLE_REALM, receiverCheck -
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyPropertySetNode(PropertyCacheNode.ReceiverCheckNode receiverCheck, boolean isStrict) ReadOnlyPropertySetNode(PropertyCacheNode.ReceiverCheckNode receiverCheck, boolean isStrict, com.oracle.truffle.api.object.Property property) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleansetValue(Object thisObj, Object value, Object receiver, PropertySetNode root, boolean guard) Methods inherited from class PropertySetNode.SetCacheNode
acceptsValue, getNext, setNext, setValueBoolean, setValueDouble, setValueIntMethods inherited from class PropertyCacheNode.CacheNode
accepts, clearExpectedObject, debugString, getExpectedObject, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, isValidFinalAssumption, sweep, withNextMethods 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
-
ReadOnlyPropertySetNode
public ReadOnlyPropertySetNode(PropertyCacheNode.ReceiverCheckNode receiverCheck, boolean isStrict, com.oracle.truffle.api.object.Property property) -
ReadOnlyPropertySetNode
-
-
Method Details
-
setValue
protected boolean setValue(Object thisObj, Object value, Object receiver, PropertySetNode root, boolean guard) - Specified by:
setValuein classPropertySetNode.SetCacheNode
-