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

Method parseVariable

plugins/shopify/skills/shopify-partner/scripts/validate.mjs:2086–2093  ·  view source on GitHub ↗

* Variable : $ Name

()

Source from the content-addressed store, hash-verified

2084 * Variable : $ Name
2085 */
2086 parseVariable() {
2087 const start = this._lexer.token;
2088 this.expectToken(_tokenKind.TokenKind.DOLLAR);
2089 return this.node(start, {
2090 kind: _kinds.Kind.VARIABLE,
2091 name: this.parseName()
2092 });
2093 }
2094 /**
2095 * ```
2096 * SelectionSet : { Selection+ }

Callers 2

parseValueLiteralMethod · 0.45

Calls 3

expectTokenMethod · 0.45
nodeMethod · 0.45
parseNameMethod · 0.45

Tested by

no test coverage detected