Class PropertyGetNode.StringObjectLengthPropertyGetNode
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.StringObjectLengthPropertyGetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
PropertyGetNode
public static final class PropertyGetNode.StringObjectLengthPropertyGetNode
extends PropertyGetNode.LinkedPropertyGetNode
-
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
ConstructorsConstructorDescriptionStringObjectLengthPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.ReceiverCheckNode receiverCheck) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) protected doublegetValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) protected intgetValueInt(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) Methods inherited from class PropertyGetNode.GetCacheNode
getNext, getValueBoolean, setNextMethods inherited from class PropertyCacheNode.CacheNode
accepts, acceptsValue, 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
-
StringObjectLengthPropertyGetNode
public StringObjectLengthPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.ReceiverCheckNode receiverCheck)
-
-
Method Details
-
getValue
protected Object getValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) - Specified by:
getValuein classPropertyGetNode.GetCacheNode
-
getValueInt
- Overrides:
getValueIntin classPropertyGetNode.GetCacheNode
-
getValueDouble
protected double getValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) - Overrides:
getValueDoublein classPropertyGetNode.GetCacheNode
-