Function parse_inline

Source
pub fn parse_inline(
    sources: &mut SourceDatabase,
    name: &str,
    source: String,
) -> Result<File, Diagnostic<FileId>>
Expand description

Parse PDL source code from a string.

The file is added to the compilation database under the provided name.