| 125 | } |
| 126 | |
| 127 | class EffectPrimitive { |
| 128 | public effect_instruction_i0 = undefined |
| 129 | public effect_instruction_i1 = undefined |
| 130 | public effect_instruction_i2 = undefined |
| 131 | public trace = undefined; |
| 132 | [EffectTypeId] = effectVariance |
| 133 | constructor(readonly _op: Primitive["_op"]) {} |
| 134 | [Equal.symbol](this: {}, that: unknown) { |
| 135 | return this === that |
| 136 | } |
| 137 | [Hash.symbol](this: {}) { |
| 138 | return Hash.cached(this, Hash.random(this)) |
| 139 | } |
| 140 | pipe() { |
| 141 | return pipeArguments(this, arguments) |
| 142 | } |
| 143 | toJSON() { |
| 144 | return { |
| 145 | _id: "Effect", |
| 146 | _op: this._op, |
| 147 | effect_instruction_i0: toJSON(this.effect_instruction_i0), |
| 148 | effect_instruction_i1: toJSON(this.effect_instruction_i1), |
| 149 | effect_instruction_i2: toJSON(this.effect_instruction_i2) |
| 150 | } |
| 151 | } |
| 152 | toString() { |
| 153 | return format(this.toJSON()) |
| 154 | } |
| 155 | [NodeInspectSymbol]() { |
| 156 | return this.toJSON() |
| 157 | } |
| 158 | [Symbol.iterator]() { |
| 159 | return new SingleShotGen(new YieldWrap(this)) |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | /** @internal */ |
| 164 | class EffectPrimitiveFailure { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…