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

Method checkDataSource

packages/language/src/validator.ts:60–62  ·  view source on GitHub ↗
(node: DataSource, accept: ValidationAcceptor)

Source from the content-addressed store, hash-verified

58 }
59
60 checkDataSource(node: DataSource, accept: ValidationAcceptor): void {
61 new DataSourceValidator().validate(node, accept);
62 }
63
64 checkGenerator(node: GeneratorDecl, accept: ValidationAcceptor): void {
65 accept('warning', '"generator" is not used by ZenStack and should be removed.', { node });

Callers

nothing calls this directly

Calls 1

validateMethod · 0.65

Tested by

no test coverage detected