MCPcopy Create free account
hub / github.com/davidblewett/rure-python / Repetition

Class Repetition

regex/regex-syntax/src/ast/mod.rs:1127–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125/// A repetition operation applied to a regular expression.
1126#[derive(Clone, Debug, Eq, PartialEq)]
1127pub 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)]

Callers 3

inductMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected