Module utils

Module utils 

Source

Structs§

SimpleParserDatabase
A salsa database for parsing only.

Functions§

get_syntax_file_and_diagnostics
Returns the syntax_file and diagnostics of a file in the DB.
get_syntax_root_and_diagnostics
Returns the syntax_root and diagnostics of a file in the DB.
get_syntax_root_and_diagnostics_from_file
Reads a Cairo file to the DB and returns the syntax_root and diagnostics of its parsing.