mirror of
https://github.com/ribru17/ts_query_ls.git
synced 2025-12-23 05:36:52 +00:00
9 lines
224 B
Markdown
9 lines
224 B
Markdown
## 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:
|
|
|
|
```query
|
|
(ERROR) @error-node
|
|
```
|