Struct ClassBracketed
pub struct ClassBracketed { pub span: Span, pub negated: bool, pub kind: ClassSet }
A bracketed character class, e.g., [a-z0-9].
Fields
span: SpanThe span of this class.
negated: boolWhether this class is negated or not. e.g.,
[a]is not negated but[^a]is.kind: ClassSetThe type of this set. A set is either a normal union of things, e.g.,
[abc]or a result of applying set operations, e.g.,[\pL--c].
Trait Implementations
impl Clone for ClassBracketed
fn clone(&self) -> Self
impl Debug for ClassBracketed
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ClassBracketed
impl PartialEq for ClassBracketed
fn eq(&self, other: &Self) -> bool