(obj)
| 58209 | this._persistentRefsCache = null; |
| 58210 | } |
| 58211 | getNewPersistentRef(obj) { |
| 58212 | if (this._newPersistentRefNum === null) { |
| 58213 | this._newPersistentRefNum = this.entries.length || 1; |
| 58214 | } |
| 58215 | const num = this._newPersistentRefNum++; |
| 58216 | this._cacheMap.set(num, obj); |
| 58217 | return Ref.get(num, 0); |
| 58218 | } |
| 58219 | getNewTemporaryRef() { |
| 58220 | if (this._newTemporaryRefNum === null) { |
| 58221 | this._newTemporaryRefNum = this.entries.length || 1; |
no test coverage detected