Lines Matching full:box
72 PosPred(Box<Expr>),
74 NegPred(Box<Expr>),
76 Seq(Box<Expr>, Box<Expr>),
78 Choice(Box<Expr>, Box<Expr>),
80 Opt(Box<Expr>),
82 Rep(Box<Expr>),
84 RepOnce(Box<Expr>),
86 RepExact(Box<Expr>, u32),
88 RepMin(Box<Expr>, u32),
90 RepMax(Box<Expr>, u32),
92 RepMinMax(Box<Expr>, u32, u32),
96 Push(Box<Expr>),
99 NodeTag(Box<Expr>, String),
121 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
125 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
129 let mapped_lhs = Box::new(map_internal(*lhs, f)); in map_top_down()
130 let mapped_rhs = Box::new(map_internal(*rhs, f)); in map_top_down()
134 let mapped_lhs = Box::new(map_internal(*lhs, f)); in map_top_down()
135 let mapped_rhs = Box::new(map_internal(*rhs, f)); in map_top_down()
139 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
143 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
147 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
151 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
155 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
159 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
163 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
167 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
172 let mapped = Box::new(map_internal(*expr, f)); in map_top_down()
193 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
197 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
201 let mapped_lhs = Box::new(map_internal(*lhs, f)); in map_bottom_up()
202 let mapped_rhs = Box::new(map_internal(*rhs, f)); in map_bottom_up()
206 let mapped_lhs = Box::new(map_internal(*lhs, f)); in map_bottom_up()
207 let mapped_rhs = Box::new(map_internal(*rhs, f)); in map_bottom_up()
211 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
215 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
219 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
223 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
227 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
231 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
235 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
239 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
244 let mapped = Box::new(map_internal(*expr, f)); in map_bottom_up()
406 Box::new(Expr::Str(String::from("a"))), in top_down_iterator()
407 Box::new(Expr::Str(String::from("b"))), in top_down_iterator()
419 Box::new(Expr::Seq( in identity()
420 Box::new(Expr::Ident("a".to_owned())), in identity()
421 Box::new(Expr::Str("b".to_owned())), in identity()
423 Box::new(Expr::PosPred(Box::new(Expr::NegPred(Box::new(Expr::Rep( in identity()
424 Box::new(Expr::RepOnce(Box::new(Expr::Opt(Box::new(Expr::Choice( in identity()
425 Box::new(Expr::Insens("c".to_owned())), in identity()
426 Box::new(Expr::Push(Box::new(Expr::Range( in identity()
477 Expr::PosPred(Box::new(Expr::Ident("e".to_owned()))).to_string(), in pos_pred()
485 Expr::NegPred(Box::new(Expr::Ident("e".to_owned()))).to_string(), in neg_pred()
494 Box::new(Expr::Ident("e1".to_owned())), in seq()
495 Box::new(Expr::Ident("e2".to_owned())), in seq()
502 Box::new(Expr::Ident("e1".to_owned())), in seq()
503 Box::new(Expr::Seq( in seq()
504 Box::new(Expr::Ident("e2".to_owned())), in seq()
505 Box::new(Expr::Ident("e3".to_owned())), in seq()
513 Box::new(Expr::Ident("e1".to_owned())), in seq()
514 Box::new(Expr::Seq( in seq()
515 Box::new(Expr::Ident("e2".to_owned())), in seq()
516 Box::new(Expr::Seq( in seq()
517 Box::new(Expr::Ident("e3".to_owned())), in seq()
518 Box::new(Expr::Ident("e4".to_owned())), in seq()
527 Box::new(Expr::Ident("e1".to_owned())), in seq()
528 Box::new(Expr::Choice( in seq()
529 Box::new(Expr::Ident("e2".to_owned())), in seq()
530 Box::new(Expr::Seq( in seq()
531 Box::new(Expr::Ident("e3".to_owned())), in seq()
532 Box::new(Expr::Ident("e4".to_owned())), in seq()
541 Box::new(Expr::Ident("e1".to_owned())), in seq()
542 Box::new(Expr::Seq( in seq()
543 Box::new(Expr::Ident("e2".to_owned())), in seq()
544 Box::new(Expr::Choice( in seq()
545 Box::new(Expr::Ident("e3".to_owned())), in seq()
546 Box::new(Expr::Ident("e4".to_owned())), in seq()
559 Box::new(Expr::Ident("e1".to_owned())), in choice()
560 Box::new(Expr::Ident("e2".to_owned())), in choice()
567 Box::new(Expr::Ident("e1".to_owned())), in choice()
568 Box::new(Expr::Choice( in choice()
569 Box::new(Expr::Ident("e2".to_owned())), in choice()
570 Box::new(Expr::Ident("e3".to_owned())), in choice()
578 Box::new(Expr::Ident("e1".to_owned())), in choice()
579 Box::new(Expr::Choice( in choice()
580 Box::new(Expr::Ident("e2".to_owned())), in choice()
581 Box::new(Expr::Choice( in choice()
582 Box::new(Expr::Ident("e3".to_owned())), in choice()
583 Box::new(Expr::Ident("e4".to_owned())), in choice()
592 Box::new(Expr::Ident("e1".to_owned())), in choice()
593 Box::new(Expr::Seq( in choice()
594 Box::new(Expr::Ident("e2".to_owned())), in choice()
595 Box::new(Expr::Choice( in choice()
596 Box::new(Expr::Ident("e3".to_owned())), in choice()
597 Box::new(Expr::Ident("e4".to_owned())), in choice()
609 Expr::Opt(Box::new(Expr::Ident("e".to_owned()))).to_string(), in opt()
617 Expr::Rep(Box::new(Expr::Ident("e".to_owned()))).to_string(), in rep()
625 Expr::RepOnce(Box::new(Expr::Ident("e".to_owned()))).to_string(), in rep_once()
633 Expr::RepExact(Box::new(Expr::Ident("e".to_owned())), 1).to_string(), in rep_exact()
641 Expr::RepMin(Box::new(Expr::Ident("e".to_owned())), 1).to_string(), in rep_min()
649 Expr::RepMax(Box::new(Expr::Ident("e".to_owned())), 1).to_string(), in rep_max()
657 Expr::RepMinMax(Box::new(Expr::Ident("e".to_owned())), 1, 2).to_string(), in rep_min_max()
679 Expr::Push(Box::new(Expr::Ident("e".to_owned()))).to_string(), in push()
688 Expr::NodeTag(Box::new(Expr::Ident("expr".to_owned())), "label".to_owned()) in node_tag()