MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / setRight

Method setRight

packages/language/src/factory/expression.ts:294–300  ·  view source on GitHub ↗
(builder: (arg: ExpressionBuilder) => AstFactory<Expression>)

Source from the content-addressed store, hash-verified

292 return this;
293 }
294 setRight(builder: (arg: ExpressionBuilder) => AstFactory<Expression>) {
295 this.right = builder(ExpressionBuilder());
296 this.update({
297 right: this.right!,
298 });
299 return this;
300 }
301 setLeft(builder: (arg: ExpressionBuilder) => AstFactory<Expression>) {
302 this.left = builder(ExpressionBuilder());
303 this.update({

Callers

nothing calls this directly

Calls 1

ExpressionBuilderFunction · 0.85

Tested by

no test coverage detected