Dereferencing obtains the target object of a relation by following a direct JavaScript object reference. In the AST representation, a reference is wrapped in an object under a property such as settings.attribute.ref; evaluating that expression directly reaches the referenced AST object. section 3.1.2
This approach avoids ID lookup during ordinary AST interaction. ID-based references would require finding the target, potentially by traversing the entire AST, whereas direct references are simple and fast. Actual object IDs become necessary when ASTs are serialized to or deserialized from JSON. section 3.1.2
const rentalPriceAfterDiscountInitialValue = {
concept: "Attribute Reference",
settings: {
"attribute": {
ref: rentalPriceBeforeDiscountAttribute
}
}
}
Shows an attribute-reference AST object whose ref property points directly to the rental-price attribute. section 3.1.2


