A delta (∂) is a recorded, local change to DSL content or its abstract syntax tree. Projectional editor actions produce deltas directly, making them suitable for incremental storage and transmission. section 10.1
The identified delta types are:
- Changing the value of a simple AST setting. section 10.1
- Creating or deleting an AST object. section 10.1
- Moving an AST object within a multivalued setting, such as through drag and drop. section 10.1
Value-update delta
A delta can record its change type, target object, property, new value, and previous value: {"changeType":"valueUpdate","objectID":"<ID>","propertyName":"name","newValue":"bar","oldValue":"foo"}. section 10.1
{
"changeType": "valueUpdate",
"objectID": "<ID>",
"propertyName": "name",
"newValue": "bar",
"oldValue": "foo"
}
Inspect a serialized value-update delta and its fields. section 10.1
