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

Function parseConstLetDeclaration

lib/assets/javascripts/JSXTransformer.js:7147–7157  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

7145 // see http://wiki.ecmascript.org/doku.php?id=harmony:const
7146 // and http://wiki.ecmascript.org/doku.php?id=harmony:let
7147 function parseConstLetDeclaration(kind) {
7148 var declarations, marker = markerCreate();
7149
7150 expectKeyword(kind);
7151
7152 declarations = parseVariableDeclarationList(kind);
7153
7154 consumeSemicolon();
7155
7156 return markerApply(marker, delegate.createVariableDeclaration(declarations, kind));
7157 }
7158
7159 // people.mozilla.org/~jorendorff/es6-draft.html
7160

Callers 1

parseSourceElementFunction · 0.85

Calls 5

markerCreateFunction · 0.85
expectKeywordFunction · 0.85
consumeSemicolonFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected