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

Function parse_if

crates/papyrus/src/parser.rs:416–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

414
415 #[test]
416 fn parse_if() {
417 insta::assert_snapshot!(parse_to_tree(
418 "
419 if lt(i, 2) {
420 mstore(i, 1)
421 }
422 "
423 ));
424 }
425
426 #[test]
427 fn parse_cruft() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected