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

Class Alternation

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

Source from the content-addressed store, hash-verified

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

Callers 6

pop_group_endMethod · 0.85
altFunction · 0.85
into_astMethod · 0.85
alternationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected