MCPcopy Create free account
hub / github.com/pest-parser/pest / failing_stack_operations

Function failing_stack_operations

meta/src/validator.rs:1294–1310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1292
1293 #[test]
1294 fn failing_stack_operations() {
1295 assert!(!is_non_failing(
1296 &ParserExpr::Ident("DROP".into()),
1297 &HashMap::new(),
1298 &mut Vec::new()
1299 ));
1300 assert!(!is_non_failing(
1301 &ParserExpr::Ident("POP".into()),
1302 &HashMap::new(),
1303 &mut Vec::new()
1304 ));
1305 assert!(!is_non_failing(
1306 &ParserExpr::Ident("PEEK".into()),
1307 &HashMap::new(),
1308 &mut Vec::new()
1309 ))
1310 }
1311
1312 #[test]
1313 fn non_failing_zero_length_repetitions() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…