Module utils

Source

Structs§

SimpleParserDatabase
A salsa database for parsing only.

Functions§

get_syntax_file_and_diagnostics
Returns the syntax_file and diagnostic of a file in the db.
get_syntax_root_and_diagnostics
Returns the syntax_root and diagnostic of a file in the db.
get_syntax_root_and_diagnostics_from_file
Reads a cairo file to the db and return the syntax_root and diagnostic of its parsing.