cairo-lang-parser 0.1.0

Cairo parser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! > Handling question mark.

//! > test_function_name
get_diagnostics

//! > cairo_code
fn f() {
    let x = calc()?;
    let y = calc1(calc2()?)?;
    let z = w?;
    let block_eval = { other_expr }?;
    let block_eval = 7 + { other_expr };
    let multi = error_of_errors????;
    let super_expr = (a? + b?)?;
}

//! > expected_diagnostics