MCPcopy Create free account
hub / github.com/openai/plugins / parseDirectives

Method parseDirectives

plugins/shopify/skills/shopify-admin/scripts/validate.mjs:2381–2387  ·  view source on GitHub ↗

* Directives[Const] : Directive[?Const]+

(isConst)

Source from the content-addressed store, hash-verified

2379 * Directives[Const] : Directive[?Const]+
2380 */
2381 parseDirectives(isConst) {
2382 const directives = [];
2383 while (this.peek(_tokenKind.TokenKind.AT)) {
2384 directives.push(this.parseDirective(isConst));
2385 }
2386 return directives;
2387 }
2388 parseConstDirectives() {
2389 return this.parseDirectives(true);
2390 }

Callers 5

parseFieldMethod · 0.45
parseFragmentMethod · 0.45
parseConstDirectivesMethod · 0.45

Calls 2

peekMethod · 0.45
parseDirectiveMethod · 0.45

Tested by

no test coverage detected