diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-27 14:25:50 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-27 14:25:50 +0800 |
| commit | 3280c4844e09bed808f08ce6f42932c0cf33e4d6 (patch) | |
| tree | 84ed1ec40db0184b273faabdb7c7be522271eb43 /src/main.rs | |
init
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..8667027 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,7 @@ +use java2flowchart::parser::{delimit, parse}; + +fn main() { + let test = "if (a) {} else {}"; + + println!("{:#?}", parse(delimit(test))); +} |
