MCPcopy Index your code
hub / github.com/react/react / parseUnary

Function parseUnary

scripts/babel/transform-test-gate-pragma.js:191–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 function parseUnary() {
192 const token = tokens[i];
193 if (token !== undefined) {
194 if (token.type === '!') {
195 i++;
196 const argument = parseUnary();
197 return t.unaryExpression('!', argument);
198 }
199 }
200 return parsePrimary();
201 }
202
203 function parsePrimary() {
204 const token = tokens[i];

Callers 1

parseBinaryFunction · 0.85

Calls 1

parsePrimaryFunction · 0.85

Tested by

no test coverage detected