MCPcopy
hub / github.com/jquery/esprima / parseSpreadElement

Method parseSpreadElement

src/parser.ts:704–709  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

702 // https://tc39.github.io/ecma262/#sec-array-initializer
703
704 parseSpreadElement(): Node.SpreadElement {
705 const node = this.createNode();
706 this.expect('...');
707 const arg = this.inheritCoverGrammar(this.parseAssignmentExpression);
708 return this.finalize(node, new Node.SpreadElement(arg));
709 }
710
711 parseArrayInitializer(): Node.ArrayExpression {
712 const node = this.createNode();

Callers 3

parseArrayInitializerMethod · 0.95
parseArgumentsMethod · 0.95
parseAsyncArgumentsMethod · 0.95

Calls 4

createNodeMethod · 0.95
expectMethod · 0.95
inheritCoverGrammarMethod · 0.95
finalizeMethod · 0.95

Tested by

no test coverage detected