MCPcopy Index your code
hub / github.com/reactjs/react-rails / parsePropertyMethodFunction

Function parsePropertyMethodFunction

lib/assets/javascripts/JSXTransformer.js:5414–5439  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

5412
5413
5414 function parsePropertyMethodFunction(options) {
5415 var previousStrict, tmp, method;
5416
5417 previousStrict = strict;
5418 strict = true;
5419
5420 tmp = parseParams();
5421
5422 if (tmp.stricted) {
5423 throwErrorTolerant(tmp.stricted, tmp.message);
5424 }
5425
5426 method = parsePropertyFunction({
5427 params: tmp.params,
5428 defaults: tmp.defaults,
5429 rest: tmp.rest,
5430 generator: options.generator,
5431 async: options.async,
5432 returnType: tmp.returnType,
5433 typeParameters: options.typeParameters
5434 });
5435
5436 strict = previousStrict;
5437
5438 return method;
5439 }
5440
5441
5442 function parseObjectPropertyKey() {

Callers 2

parseObjectPropertyFunction · 0.85
parseMethodDefinitionFunction · 0.85

Calls 3

parseParamsFunction · 0.85
throwErrorTolerantFunction · 0.85
parsePropertyFunctionFunction · 0.85

Tested by

no test coverage detected