Skip to content

init

__all__ = ['TreesitterParseError', 'parse_file', 'path_reader'] module-attribute

TreesitterParseError

Bases: BackendError

Generic error parsing code.

parse_file(contents, lang)

Parse a file and return all the information.

path_reader(file)