Class PropertyGetNode.FinalBooleanPropertyGetNode
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.AbstractFinalPropertyGetNode
com.oracle.truffle.js.nodes.access.PropertyGetNode.FinalBooleanPropertyGetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
PropertyGetNode
public static final class PropertyGetNode.FinalBooleanPropertyGetNode
extends PropertyGetNode.AbstractFinalPropertyGetNode
-
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 PropertyGetNode.GetCacheNode
nextFields inherited from class PropertyCacheNode.CacheNode
IS_FINAL, IS_FINAL_CONSTANT_OBJECT, IS_SIMPLE_SHAPE_CHECK, IS_SINGLE_REALM, receiverCheck -
Constructor Summary
ConstructorsConstructorDescriptionFinalBooleanPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, boolean value, JSDynamicObject expectedObj) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) protected booleangetValueBoolean(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) Methods inherited from class PropertyGetNode.AbstractFinalPropertyGetNode
assertFinalValue, clearExpectedObject, debugString, getExpectedObject, isValidFinalAssumptionMethods inherited from class PropertyGetNode.GetCacheNode
getNext, getValueDouble, getValueInt, setNextMethods inherited from class PropertyCacheNode.CacheNode
accepts, acceptsValue, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, 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
-
FinalBooleanPropertyGetNode
public FinalBooleanPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, boolean value, JSDynamicObject expectedObj)
-
-
Method Details
-
getValue
protected Object getValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) - Specified by:
getValuein classPropertyGetNode.GetCacheNode
-
getValueBoolean
protected boolean getValueBoolean(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) - Overrides:
getValueBooleanin classPropertyGetNode.GetCacheNode
-