Struct Repetition
pub struct Repetition { pub span: Span, pub op: RepetitionOp, pub greedy: bool, pub ast: Box<Ast> }
A repetition operation applied to a regular expression.
Fields
span: SpanThe span of this operation.
op: RepetitionOpThe actual operation.
greedy: boolWhether this operation was applied greedily or not.
ast: Box<Ast>The regular expression under repetition.
Trait Implementations
impl Clone for Repetition
fn clone(&self) -> Self
impl Debug for Repetition
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Repetition
impl PartialEq for Repetition
fn eq(&self, other: &Self) -> bool