MCPcopy
hub / github.com/graphql/graphiql / parse

Method parse

packages/monaco-graphql/src/LanguageService.ts:200–202  ·  view source on GitHub ↗

* Uses the configured parser * @param text {string | Source} * @param options {ParseOptions} * @returns {DocumentNode}

(text: string | Source, options?: ParseOptions)

Source from the content-addressed store, hash-verified

198 * @returns {DocumentNode}
199 */
200 public parse(text: string | Source, options?: ParseOptions): DocumentNode {
201 return this._parser(text, options || this._parseOptions);
202 }
203 /**
204 * get completion for the given uri and matching schema
205 * @param uri

Callers 15

LanguageServiceClass · 0.95
curTokenFunction · 0.80
generateSchemaFunction · 0.80
fetchAllMethod · 0.80
defaultSchemaLoaderFunction · 0.80
tryParseJsonObjectFunction · 0.80
parseHeaderStringFunction · 0.80
getDefaultTabStateFunction · 0.80
clearHeadersFromTabsFunction · 0.80
usePrettifyEditorsFunction · 0.80
tabs.spec.tsFile · 0.80
GraphQLCacheClass · 0.80

Calls

no outgoing calls

Tested by 1

serializeRangeFunction · 0.64