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

Method node

plugins/shopify/skills/shopify-payments-apps/scripts/validate.mjs:3074–3083  ·  view source on GitHub ↗

* Returns a node that, if configured to do so, sets a "loc" field as a * location object, used to identify the place in the source that created a * given parsed object.

(startToken, node)

Source from the content-addressed store, hash-verified

3072 * given parsed object.
3073 */
3074 node(startToken, node) {
3075 if (this._options.noLocation !== true) {
3076 node.loc = new _ast.Location(
3077 startToken,
3078 this._lexer.lastToken,
3079 this._lexer.source
3080 );
3081 }
3082 return node;
3083 }
3084 /**
3085 * Determines if the next token is of a given kind
3086 */

Callers 15

parseNameMethod · 0.45
parseDocumentMethod · 0.45
parseVariableMethod · 0.45
parseSelectionSetMethod · 0.45
parseFieldMethod · 0.45
parseArgumentMethod · 0.45
parseFragmentMethod · 0.45
parseValueLiteralMethod · 0.45
parseStringLiteralMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected