public tree()

in script/lib/variable-collection.ts [83:93]


  public tree(): Readonly<Record<string, any>> {
    let output = {} as Record<string, any>

    const tree = this.unresolvedTree()
    for (const variable of this.data.values()) {
      const value = resolveValue(variable.value, tree)
      set(output, variable.path, value)
    }

    return output
  }