(k, noLineBreak)
| 1256 | |
| 1257 | var method = this.startNode(); |
| 1258 | var tryContextual = function (k, noLineBreak) { |
| 1259 | if ( noLineBreak === void 0 ) noLineBreak = false; |
| 1260 | |
| 1261 | var start = this$1.start, startLoc = this$1.startLoc; |
| 1262 | if (!this$1.eatContextual(k)) { return false } |
| 1263 | if (this$1.type !== types.parenL && (!noLineBreak || !this$1.canInsertSemicolon())) { return true } |
| 1264 | if (method.key) { this$1.unexpected(); } |
| 1265 | method.computed = false; |
| 1266 | method.key = this$1.startNodeAt(start, startLoc); |
| 1267 | method.key.name = k; |
| 1268 | this$1.finishNode(method.key, "Identifier"); |
| 1269 | return false |
| 1270 | }; |
| 1271 | |
| 1272 | method.kind = "method"; |
| 1273 | method.static = tryContextual("static"); |
no outgoing calls
no test coverage detected
searching dependent graphs…