Create a concatenation with the given span.
(span: Span, asts: Vec<Ast>)
| 2399 | |
| 2400 | /// Create a concatenation with the given span. |
| 2401 | fn concat_with(span: Span, asts: Vec<Ast>) -> Ast { |
| 2402 | Ast::Concat(ast::Concat { span: span, asts: asts }) |
| 2403 | } |
| 2404 | |
| 2405 | /// Create an alternation with the given span. |
| 2406 | fn alt(range: Range<usize>, asts: Vec<Ast>) -> Ast { |