Skip to main content

write_original_ast_file

Function write_original_ast_file 

Source
pub fn write_original_ast_file(
    input: &Path,
    target: &Path,
    request: &TranslationRequest,
) -> Result<OriginalAstWriteReport, ApiError>
Expand description

Writes the bounded pre-generation original AST to an explicit destination. CLI -writeAST passes AST.tla in the current directory. The input module, its backup and configuration are unchanged; no translation is generated.

ยงErrors

I/O, nonregular target, concurrent-edit or bounded-input errors.