MCPcopy Create free account
hub / github.com/ControlCplusControlV/Scribe / parse_to_tree

Function parse_to_tree

crates/papyrus/src/parser.rs:345–349  ·  view source on GitHub ↗
(yul: &str)

Source from the content-addressed store, hash-verified

343 use super::*;
344
345 fn parse_to_tree(yul: &str) -> String {
346 let ast = parse_yul_syntax(yul);
347 let ast_with_inferred_types = infer_types(&ast);
348 expressions_to_tree(&ast_with_inferred_types)
349 }
350
351 #[test]
352 fn parse_var_declaration() {

Callers

nothing calls this directly

Calls 3

parse_yul_syntaxFunction · 0.85
infer_typesFunction · 0.85
expressions_to_treeFunction · 0.85

Tested by

no test coverage detected