()
| 18564 | return should === undefined ? true : should |
| 18565 | } |
| 18566 | get typedMap() { |
| 18567 | const obj = {} |
| 18568 | this.forEach(particle => { |
| 18569 | if (!particle._shouldSerialize) return true |
| 18570 | const tuple = particle.typedTuple |
| 18571 | if (!particle.isArrayElement) obj[tuple[0]] = tuple[1] |
| 18572 | else { |
| 18573 | if (!obj[tuple[0]]) obj[tuple[0]] = [] |
| 18574 | obj[tuple[0]].push(tuple[1]) |
| 18575 | } |
| 18576 | }) |
| 18577 | return obj |
| 18578 | } |
| 18579 | fromTypedMap() {} |
| 18580 | compile() { |
| 18581 | if (this.isRoot()) return super.compile() |