Class PropertyDescriptor
java.lang.Object
com.oracle.truffle.tools.chromeinspector.types.PropertyDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyDescriptor(String name, RemoteObject value, Boolean writable, RemoteObject get, RemoteObject set, boolean configurable, boolean enumerable, Boolean wasThrown, Boolean isOwn, RemoteObject symbol) Create an object property descriptor. -
Method Summary
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor(String name, RemoteObject value, Boolean writable, RemoteObject get, RemoteObject set, boolean configurable, boolean enumerable, Boolean wasThrown, Boolean isOwn, RemoteObject symbol) Create an object property descriptor.- Parameters:
name- Property name or symbol description.value- The value associated with the property.writable- True if the value associated with the property may be changed (data descriptors only).get- A function which serves as a getter for the property, orundefinedif there is no getter (accessor descriptors only).set- A function which serves as a setter for the property, orundefinedif there is no setter (accessor descriptors only).configurable- True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.enumerable- True if this property shows up during enumeration of the properties on the corresponding object.wasThrown- True if the result was thrown during the evaluation.isOwn- True if the property is owned for the object.symbol- Property symbol object, if the property is of thesymboltype.
-
-
Method Details
-
toJSON
public org.graalvm.shadowed.org.json.JSONObject toJSON()
-