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

Method setValue

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

Source from the content-addressed store, hash-verified

250 }
251
252 setValue(builder: (a: ExpressionBuilder) => AstFactory<Expression>) {
253 this.value = builder(ExpressionBuilder());
254 this.update({
255 value: this.value!,
256 });
257 return this;
258 }
259}
260
261export class ArrayExprFactory extends AstFactory<ArrayExpr> {

Callers 12

addArgMethod · 0.45
syncEnumsFunction · 0.45
syncTableFunction · 0.45
syncRelationFunction · 0.45
normalizeFloatDefaultFunction · 0.45
normalizeDecimalDefaultFunction · 0.45
getDefaultValueFunction · 0.45
getFieldAttributesFunction · 0.45
getDefaultValueFunction · 0.45
getDefaultValueFunction · 0.45
getFieldAttributesFunction · 0.45
typeCastingConvertFunction · 0.45

Calls 1

ExpressionBuilderFunction · 0.85

Tested by

no test coverage detected