MCPcopy Index your code
hub / github.com/jquery/esprima / startJSX

Method startJSX

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

Source from the content-addressed store, hash-verified

68 }
69
70 startJSX() {
71 // Unwind the scanner before the lookahead token.
72 this.scanner.index = this.startMarker.index;
73 this.scanner.lineNumber = this.startMarker.line;
74 this.scanner.lineStart = this.startMarker.index - this.startMarker.column;
75 }
76
77 finishJSX() {
78 // Prime the next lookahead.

Callers 2

reenterJSXMethod · 0.95
parseJSXRootMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected