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

Function parseValue

plugins/shopify/skills/shopify-admin/scripts/validate.mjs:1862–1868  ·  view source on GitHub ↗
(source, options)

Source from the content-addressed store, hash-verified

1860 return document;
1861 }
1862 function parseValue(source, options) {
1863 const parser = new Parser(source, options);
1864 parser.expectToken(_tokenKind.TokenKind.SOF);
1865 const value = parser.parseValueLiteral(false);
1866 parser.expectToken(_tokenKind.TokenKind.EOF);
1867 return value;
1868 }
1869 function parseConstValue(source, options) {
1870 const parser = new Parser(source, options);
1871 parser.expectToken(_tokenKind.TokenKind.SOF);

Callers 1

constructorMethod · 0.70

Calls 3

toStringMethod · 0.65
expectTokenMethod · 0.45
parseValueLiteralMethod · 0.45

Tested by

no test coverage detected