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

Function parseConciseBody

lib/assets/javascripts/JSXTransformer.js:7989–7994  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7987 // 13 Function Definition
7988
7989 function parseConciseBody() {
7990 if (match('{')) {
7991 return parseFunctionSourceElements();
7992 }
7993 return parseAssignmentExpression();
7994 }
7995
7996 function parseFunctionSourceElements() {
7997 var sourceElement, sourceElements = [], token, directive, firstRestricted,

Callers 2

parsePropertyFunctionFunction · 0.85

Calls 3

matchFunction · 0.85

Tested by

no test coverage detected