| 256 | //--------------------------------------------------------------------- |
| 257 | |
| 258 | _equalities(context: AnalysisContext, equalities) { |
| 259 | let changes = context.changes; |
| 260 | let ix = 0; |
| 261 | for(let [a, b] of equalities) { |
| 262 | let equalityId = `${context.block.id}|equality|${ix++}`; |
| 263 | a = context.value(a); |
| 264 | b = context.value(b); |
| 265 | let aId = a.id ? a.id : a; |
| 266 | let bId = b.id ? b.id : b; |
| 267 | changes.store("session", equalityId, "tag", "equality"); |
| 268 | changes.store("session", equalityId, "block", context.block.id); |
| 269 | changes.store("session", equalityId, "a", aId); |
| 270 | changes.store("session", equalityId, "b", bId); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | //--------------------------------------------------------------------- |
| 275 | // Links |