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

Method checkEnum

packages/language/src/validator.ts:76–78  ·  view source on GitHub ↗
(node: Enum, accept: ValidationAcceptor)

Source from the content-addressed store, hash-verified

74 }
75
76 checkEnum(node: Enum, accept: ValidationAcceptor): void {
77 new EnumValidator().validate(node, accept);
78 }
79
80 checkAttribute(node: Attribute, accept: ValidationAcceptor): void {
81 new AttributeValidator().validate(node, accept);

Callers

nothing calls this directly

Calls 1

validateMethod · 0.65

Tested by

no test coverage detected