Create an alternation with the given span.
(range: Range<usize>, asts: Vec<Ast>)
| 2404 | |
| 2405 | /// Create an alternation with the given span. |
| 2406 | fn alt(range: Range<usize>, asts: Vec<Ast>) -> Ast { |
| 2407 | Ast::Alternation(ast::Alternation { span: span(range), asts: asts }) |
| 2408 | } |
| 2409 | |
| 2410 | /// Create a capturing group with the given span. |
| 2411 | fn group(range: Range<usize>, index: u32, ast: Ast) -> Ast { |
nothing calls this directly
no test coverage detected