| 560 | /// An alternation of regular expressions. |
| 561 | #[derive(Clone, Debug, Eq, PartialEq)] |
| 562 | pub struct Alternation { |
| 563 | /// The span of this alternation. |
| 564 | pub span: Span, |
| 565 | /// The alternate regular expressions. |
| 566 | pub asts: Vec<Ast>, |
| 567 | } |
| 568 | |
| 569 | impl Alternation { |
| 570 | /// Return this alternation as an AST. |
no outgoing calls
no test coverage detected