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

Function markerCreate

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

Source from the content-addressed store, hash-verified

4101 }
4102
4103 function markerCreate() {
4104 if (!extra.loc && !extra.range) {
4105 return undefined;
4106 }
4107 skipComment();
4108 return {offset: index, line: lineNumber, col: index - lineStart};
4109 }
4110
4111 function markerCreatePreserveWhitespace() {
4112 if (!extra.loc && !extra.range) {

Callers 15

parseArrayInitialiserFunction · 0.85
parsePropertyFunctionFunction · 0.85
parseObjectPropertyKeyFunction · 0.85
parseObjectPropertyFunction · 0.85
parseObjectInitialiserFunction · 0.85
parseTemplateElementFunction · 0.85
parseTemplateLiteralFunction · 0.85
parseGroupExpressionFunction · 0.85
parsePrimaryExpressionFunction · 0.85
parseNonComputedPropertyFunction · 0.85

Calls 1

skipCommentFunction · 0.85

Tested by

no test coverage detected