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

Function wrong_postfix

meta/src/parser.rs:1435–1452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1433
1434 #[test]
1435 fn wrong_postfix() {
1436 fails_with! {
1437 parser: PestParser,
1438 input: "a = { a& }",
1439 rule: Rule::grammar_rules,
1440 positives: vec![
1441 Rule::opening_brace,
1442 Rule::closing_brace,
1443 Rule::sequence_operator,
1444 Rule::choice_operator,
1445 Rule::optional_operator,
1446 Rule::repeat_operator,
1447 Rule::repeat_once_operator
1448 ],
1449 negatives: vec![],
1450 pos: 7
1451 };
1452 }
1453
1454 #[test]
1455 fn node_tag() {

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…