Skip to main content

parse_python_file

Function parse_python_file 

Source
pub fn parse_python_file(
    file: &ProjectFile,
    source: &str,
    tree: &Tree,
) -> ParsedFile
Expand description

Build the ParsedFile for one Python source file: module unit, type identifiers, and the declaration walk. analyzer/python/adapter.rs’s LanguageAdapter::parse_file is the only caller.