| 1125 | /// A repetition operation applied to a regular expression. |
| 1126 | #[derive(Clone, Debug, Eq, PartialEq)] |
| 1127 | pub struct Repetition { |
| 1128 | /// The span of this operation. |
| 1129 | pub span: Span, |
| 1130 | /// The actual operation. |
| 1131 | pub op: RepetitionOp, |
| 1132 | /// Whether this operation was applied greedily or not. |
| 1133 | pub greedy: bool, |
| 1134 | /// The regular expression under repetition. |
| 1135 | pub ast: Box<Ast>, |
| 1136 | } |
| 1137 | |
| 1138 | /// The repetition operator itself. |
| 1139 | #[derive(Clone, Debug, Eq, PartialEq)] |
no outgoing calls
no test coverage detected