public class PropertyDescriptor
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PropertyDescriptor |
fromProperty(Value property) |
Value |
makePropertyWithAttributes()
Creates value to be used in
PropVarOperations.writePropertyWithAttributes(ObjectLabel, String, Value) . |
java.util.Optional<ObjectLabel> |
newPropertyDescriptorObject(GenericSolver.SolverInterface c)
Instantiates a valid property-descriptor object.
|
static PropertyDescriptor |
toDefineGetterSetterPropertyDescriptor(Value fun,
boolean getter,
GenericSolver.SolverInterface c)
ES5 8.10.5
|
static PropertyDescriptor |
toDefinePropertyPropertyDescriptor(Value obj,
GenericSolver.SolverInterface c)
ES5 8.10.5
|
public static PropertyDescriptor fromProperty(Value property)
public Value makePropertyWithAttributes()
PropVarOperations.writePropertyWithAttributes(ObjectLabel, String, Value)
.public java.util.Optional<ObjectLabel> newPropertyDescriptorObject(GenericSolver.SolverInterface c)
public static PropertyDescriptor toDefineGetterSetterPropertyDescriptor(Value fun, boolean getter, GenericSolver.SolverInterface c)
public static PropertyDescriptor toDefinePropertyPropertyDescriptor(Value obj, GenericSolver.SolverInterface c)
Copyright © 2009-2019 Aarhus University