Skip to main content

construct_program

Function construct_program 

Source
pub fn construct_program(
    source: &str,
    language: &str,
    project: ProgramProjectContext,
) -> Result<ProgramRepresentation, ProgramRepresentationError>
Expand description

Constructs a program and rejects syntax that cannot be represented cleanly.