Skip to content

SYNG5004 - Query error

Domain: lsp
Severity: USER

The query could not be parsed or validated.

The SYNG query in your .syng file has errors. This wraps the underlying query parsing error.

Solution

Check your query for syntax errors. The editor should show diagnostics indicating the specific problem. Common issues:

  • Unbalanced parentheses
  • Unknown selectors for the target language
  • Invalid arguments to selectors

See the specific error code in the diagnostic for details.

SYNG2008, SYNG1003

Copyright © 2022-present Semantic Works, Inc.