MCPcopy Index your code
hub / github.com/zenstackhq/zenstack / visit

Method visit

packages/orm/src/utils/schema-utils.ts:93–100  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

91 }
92
93 override visit(expr: Expression) {
94 if (this.predicate(expr)) {
95 this.found = true;
96 return { abort: true } as const;
97 } else {
98 return super.visit(expr);
99 }
100 }
101}

Callers 1

findMethod · 0.95

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected