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

Method visitArray

packages/orm/src/utils/schema-utils.ts:36–43  ·  view source on GitHub ↗
(e: ArrayExpression)

Source from the content-addressed store, hash-verified

34 protected visitLiteral(_e: LiteralExpression): VisitResult {}
35
36 protected visitArray(e: ArrayExpression): VisitResult {
37 for (const item of e.items) {
38 const result = this.visit(item);
39 if (result?.abort) {
40 return result;
41 }
42 }
43 }
44
45 protected visitField(_e: FieldExpression): VisitResult {}
46

Callers 1

visitMethod · 0.95

Calls 1

visitMethod · 0.95

Tested by

no test coverage detected