Parsing Error

November 29, 2023 · View on GitHub

CodeSeverityi18nExperimental
ast-errorInformationsast_warnings.ast_error

Introduction

parsing-error warning is throw when the library meriyah fail to parse the javascript source code into an AST. But it can also happen when the AST analysis fails because we don't manage a case properly.

Important

If you are in the second case, please open an issue here

Example

{
  "kind": "parsing-error",
  "value": "[10:30]: Unexpected token: ','",
  "location": [[0,0],[0,0]],
  "file": "helpers\\asyncIterator.js"
}