MCPcopy Index your code
hub / github.com/nodejs/node / parseArgumentOrArrayLiteralElement

Function parseArgumentOrArrayLiteralElement

test/fixtures/snapshot/typescript.js:35703–35707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35701 return finishNode(factory.createSpreadElement(expression), pos);
35702 }
35703 function parseArgumentOrArrayLiteralElement() {
35704 return token() === 25 /* SyntaxKind.DotDotDotToken */ ? parseSpreadElement() :
35705 token() === 27 /* SyntaxKind.CommaToken */ ? finishNode(factory.createOmittedExpression(), getNodePos()) :
35706 parseAssignmentExpressionOrHigher();
35707 }
35708 function parseArgumentExpression() {
35709 return doOutsideOfContext(disallowInAndDecoratorContext, parseArgumentOrArrayLiteralElement);
35710 }

Callers

nothing calls this directly

Calls 5

parseSpreadElementFunction · 0.85
finishNodeFunction · 0.85
getNodePosFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…