(kind)
| 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 |
no test coverage detected