Create a verbatim literal with the given span.
(c: char, span: Span)
| 2385 | |
| 2386 | /// Create a verbatim literal with the given span. |
| 2387 | fn lit_with(c: char, span: Span) -> Ast { |
| 2388 | Ast::Literal(ast::Literal { |
| 2389 | span: span, |
| 2390 | kind: ast::LiteralKind::Verbatim, |
| 2391 | c: c, |
| 2392 | }) |
| 2393 | } |
| 2394 | |
| 2395 | /// Create a concatenation with the given range. |
| 2396 | fn concat(range: Range<usize>, asts: Vec<Ast>) -> Ast { |