(context: &Context<'a>, value: Cow<'a, str>)
| 433 | // factory functions |
| 434 | |
| 435 | fn create_string_lit<'a>(context: &Context<'a>, value: Cow<'a, str>) -> StringLit<'a> { |
| 436 | StringLit { |
| 437 | range: context.create_range_from_last_token(), |
| 438 | value, |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | fn create_word<'a>(context: &Context<'a>, value: &'a str) -> WordLit<'a> { |
| 443 | WordLit { |
no test coverage detected
searching dependent graphs…