ts_query_ls/docs/error.md

224 B

The ERROR Node

When the parser encounters text it does not recognize, it represents this node as (ERROR) in the syntax tree. These error nodes can be queried just like normal nodes:

(ERROR) @error-node