MCPcopy Create free account
hub / github.com/2fd/graphdoc / directive

Method directive

plugins/document.schema/index.ts:206–212  ·  view source on GitHub ↗
(directive: Directive)

Source from the content-addressed store, hash-verified

204 }
205
206 directive(directive: Directive): string {
207 return html.line(
208 html.keyword('directive') + ' ' +
209 html.keyword('@' + directive.name) + this.arguments(directive) + ' on ' +
210 directive.locations.map(location => html.keyword(location)).join(' | ')
211 );
212 }
213
214 enum(type: SchemaType): string {
215

Callers 1

codeMethod · 0.95

Calls 3

argumentsMethod · 0.95
lineMethod · 0.80
keywordMethod · 0.80

Tested by

no test coverage detected