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

Method parseName

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

* Converts a name lex token into a name parse node.

()

Source from the content-addressed store, hash-verified

1910 * Converts a name lex token into a name parse node.
1911 */
1912 parseName() {
1913 const token = this.expectToken(_tokenKind.TokenKind.NAME);
1914 return this.node(token, {
1915 kind: _kinds.Kind.NAME,
1916 value: token.value
1917 });
1918 }
1919 // Implements the parsing rules in the Document section.
1920 /**
1921 * Document : Definition+

Callers 15

parseVariableMethod · 0.45
parseFieldMethod · 0.45
parseArgumentMethod · 0.45
parseFragmentNameMethod · 0.45
parseObjectFieldMethod · 0.45
parseDirectiveMethod · 0.45
parseNamedTypeMethod · 0.45
parseFieldDefinitionMethod · 0.45
parseInputValueDefMethod · 0.45

Calls 2

expectTokenMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected