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

Method addItem

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

Source from the content-addressed store, hash-verified

266 }
267
268 addItem(builder: (a: ExpressionBuilder) => AstFactory<Expression>) {
269 this.items.push(builder(ExpressionBuilder()));
270 this.update({
271 items: this.items,
272 });
273 return this;
274 }
275}
276
277export class BinaryExprFactory extends AstFactory<BinaryExpr> {

Callers 2

syncTableFunction · 0.80
syncRelationFunction · 0.80

Calls 2

ExpressionBuilderFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected