MCPcopy Create free account
hub / github.com/jquery/esprima / parsePrimaryExpression

Method parsePrimaryExpression

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

Source from the content-addressed store, hash-verified

64 }
65
66 parsePrimaryExpression(): Node.Expression | JSXNode.JSXElement {
67 return this.match('<') ? this.parseJSXRoot() : super.parsePrimaryExpression();
68 }
69
70 startJSX() {
71 // Unwind the scanner before the lookahead token.

Callers

nothing calls this directly

Calls 2

parseJSXRootMethod · 0.95
matchMethod · 0.80

Tested by

no test coverage detected