Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 715 Bytes

parsing-error.md

File metadata and controls

23 lines (17 loc) · 715 Bytes

Parsing Error

Code Severity i18n Experimental
ast-error Information sast_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"
}