Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 686 Bytes

parsing-error.md

File metadata and controls

22 lines (16 loc) · 686 Bytes

Parsing Error

Code Severity i18n Experimental
ast-error Information sast_warnings.ast_error

Introduction

Parsing Error 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.

Note 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"
}