public static class ObjectLiteralNode.PrivateAutoAccessorMemberNode extends ObjectLiteralNode.PrivateClassElementNode
writePrivateNodeattributes, EMPTY, isAnonymousFunctionDefinition, isFieldOrStaticBlock, isStatic| Modifier and Type | Method and Description |
|---|---|
protected ObjectLiteralNode.ObjectLiteralMemberNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
JSFunctionObject |
createAutoAccessorGetter(com.oracle.truffle.api.object.HiddenKey backingStorageKey,
JSRealm realm) |
JSFunctionObject |
createAutoAccessorSetter(com.oracle.truffle.api.object.HiddenKey backingStorageKey,
JSRealm realm) |
void |
defineClassElement(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject homeObject,
ClassElementDefinitionRecord classElement)
Nothing to do: private accessor frame slot has already been assigned and actual field
value initialization will be performed by
InitializeInstanceElementsNode. |
ClassElementDefinitionRecord |
evaluateClassElementDefinition(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject homeObject,
JSRealm realm,
Object[] decorators) |
int |
getPrivateBrandSlotIndex() |
getPrivateMemberSlotIndex, getPrivateScopeNode, isPrivateexecuteVoidcloneUninitialized, evaluateWithHomeObject, executeVoid, getAttributes, isAnonymousFunctionDefinition, isFieldOrStaticBlock, isMethodNode, isStaticcopy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic ClassElementDefinitionRecord evaluateClassElementDefinition(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject homeObject, JSRealm realm, Object[] decorators)
evaluateClassElementDefinition in class ObjectLiteralNode.ClassElementNodepublic void defineClassElement(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject homeObject,
ClassElementDefinitionRecord classElement)
InitializeInstanceElementsNode.defineClassElement in class ObjectLiteralNode.ClassElementNodepublic JSFunctionObject createAutoAccessorGetter(com.oracle.truffle.api.object.HiddenKey backingStorageKey, JSRealm realm)
public JSFunctionObject createAutoAccessorSetter(com.oracle.truffle.api.object.HiddenKey backingStorageKey, JSRealm realm)
public int getPrivateBrandSlotIndex()
getPrivateBrandSlotIndex in class ObjectLiteralNode.PrivateClassElementNodeprotected ObjectLiteralNode.ObjectLiteralMemberNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class ObjectLiteralNode.ObjectLiteralMemberNode