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

Method parseJSXEmptyExpression

src/jsx-parser.ts:503–510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

501 }
502
503 parseJSXEmptyExpression(): JSXNode.JSXEmptyExpression {
504 const node = this.createJSXChildNode();
505 this.collectComments();
506 this.lastMarker.index = this.scanner.index;
507 this.lastMarker.line = this.scanner.lineNumber;
508 this.lastMarker.column = this.scanner.index - this.scanner.lineStart;
509 return this.finalize(node, new JSXNode.JSXEmptyExpression());
510 }
511
512 parseJSXExpressionContainer(): JSXNode.JSXExpressionContainer {
513 const node = this.createJSXNode();

Callers 1

Calls 3

createJSXChildNodeMethod · 0.95
collectCommentsMethod · 0.80
finalizeMethod · 0.80

Tested by

no test coverage detected