(s, o)
| 41127 | constructor(s) { |
| 41128 | this.root = context_tree_createNode(s || {}) |
| 41129 | } |
| 41130 | set(s, o) { |
| 41131 | const i = this.getParent(s, !0) |
| 41132 | if (!i) return void context_tree_updateNode(this.root, o, null) |
| 41133 | const a = s[s.length - 1], |
| 41134 | { children: u } = i |
| 41135 | u[a] ? context_tree_updateNode(u[a], o, i) : (u[a] = context_tree_createNode(o, i)) |
| 41136 | } |
| 41137 | get(s) { |
| 41138 | if ((s = s || []).length < 1) return this.root.value |
nothing calls this directly
no test coverage detected