public abstract class CreateDataPropertyNode extends JavaScriptBaseNode
Modifier and Type | Field and Description |
---|---|
protected JSContext |
context |
protected boolean |
enumerable |
protected IsJSObjectNode |
isObject |
protected Object |
key |
Modifier | Constructor and Description |
---|---|
protected |
CreateDataPropertyNode(JSContext context,
Object key,
boolean enumerable) |
Modifier and Type | Method and Description |
---|---|
static CreateDataPropertyNode |
create(JSContext context,
Object key) |
static CreateDataPropertyNode |
createNonEnumerable(JSContext context,
Object key) |
protected static void |
doCached(Object object,
Object value,
PropertySetNode propertyCache) |
protected void |
doNonObject(Object object,
Object value) |
protected void |
doUncached(JSDynamicObject object,
Object value) |
abstract void |
executeVoid(Object object,
Object value) |
void |
executeVoid(Object object,
Object propertyKey,
Object value) |
protected PropertySetNode |
makeDefinePropertyCache() |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplace
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
protected final JSContext context
protected final Object key
protected final boolean enumerable
protected IsJSObjectNode isObject
public static CreateDataPropertyNode create(JSContext context, Object key)
public static CreateDataPropertyNode createNonEnumerable(JSContext context, Object key)
protected static void doCached(Object object, Object value, PropertySetNode propertyCache)
protected final void doUncached(JSDynamicObject object, Object value)
protected final PropertySetNode makeDefinePropertyCache()