Module syntactic_errors

Module syntactic_errors 

Source

Functions§

check_diagnostic
Helper function for tests to compare the actual diagnostic with the expected one.
detect_syntactic_errors
Detects syntactic issues in the essence source text and returns a vector of Diagnostics.
print_all_error_nodes
Helper function to see all the error nodes tree-sitter generated. Prints each error or missing node’s.
print_diagnostics
Helper function