* Extract the value expression of a property, expanding shorthand. For a * shorthand `{ temperature }`, the value is the `temperature` Identifier, * which is exactly the reference we want to preserve when relocating.
(prop: Property)
| 172 | * which is exactly the reference we want to preserve when relocating. |
| 173 | */ |
| 174 | function valueOf(prop: Property): Property['value'] { |
| 175 | return prop.value |
| 176 | } |
| 177 | |
| 178 | /** The first object-literal argument of a call, or undefined. */ |
| 179 | function firstObjectArg(node: CallExpression): ObjectExpression | undefined { |