read_one

Function read_one 

Source
pub fn read_one(
    file: FileId,
    src: &str,
    diags: &mut Diagnostics,
) -> Option<Node>
Expand description

Read exactly one form; anything after it is an error. Used by tests and by beck ast.