(condition, node, message = '')
| 21 | } |
| 22 | |
| 23 | function assertAt(condition, node, message = '') { |
| 24 | if (!condition) { |
| 25 | if (!process.env.EMCC_DEBUG_SAVE) { |
| 26 | message += ' (use EMCC_DEBUG_SAVE=1 to preserve temporary inputs)'; |
| 27 | } |
| 28 | let err = new Error(message); |
| 29 | err['loc'] = acorn.getLineInfo(input, node.start); |
| 30 | throw err; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | // Visits and walks |
| 35 | // (We don't use acorn-walk because it ignores x in 'x = y'.) |
no outgoing calls
no test coverage detected