1 2 3 4 5 6 7 8
use java2flowchart::ast::parse; use java2flowchart::parser; fn main() { let test = "if (first) {firstthen; if (firstthenif) {firstthenifthen} else {firstthenelse}} else {firstelse}"; println!("{:#?}", parse(&parser::parse(test))); }