Class PropertyGetNode.CheckNoSuchPropertyNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
com.oracle.truffle.js.nodes.access.PropertyGetNode.GetCacheNode
com.oracle.truffle.js.nodes.access.PropertyGetNode.LinkedPropertyGetNode
com.oracle.truffle.js.nodes.access.PropertyGetNode.CheckNoSuchPropertyNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Enclosing class:
PropertyGetNode
public static final class PropertyGetNode.CheckNoSuchPropertyNode
extends PropertyGetNode.LinkedPropertyGetNode
For use when a property is undefined and __noSuchProperty__/__noSuchMethod__ had been set.
-
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.PropertyGetNode.GetCacheNode
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
ConstructorsConstructorDescriptionCheckNoSuchPropertyNode(Object key, PropertyCacheNode.ReceiverCheckNode receiverCheck, JSContext context) -
Method Summary
Methods inherited from class com.oracle.truffle.js.nodes.access.PropertyGetNode.GetCacheNode
getNext, getValueBoolean, getValueDouble, getValueInt, setNextMethods inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
accepts, acceptsValue, 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, 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
-
CheckNoSuchPropertyNode
public CheckNoSuchPropertyNode(Object key, PropertyCacheNode.ReceiverCheckNode receiverCheck, JSContext context)
-
-
Method Details
-
getValue
protected Object getValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) - Specified by:
getValuein classPropertyGetNode.GetCacheNode
-
getNoSuchProperty
-
getNoSuchMethod
-
getHasProperty
-
getCallNoSuch
-