in script/lib/variable-collection.ts [69:77]
public flattened(): ReadonlyArray<ModeVariable> {
const tree = this.unresolvedTree()
return [...this.data.values()].map(variable => {
return {
...variable,
value: resolveValue(variable.value, tree)
}
})
}