• Home
  • Raw
  • Download

Lines Matching refs:check_spans

230     check_spans(  in span_test()
486 check_spans("// abc", &[]); in non_ascii_tokens()
487 check_spans("// ábc", &[]); in non_ascii_tokens()
488 check_spans("// abc x", &[]); in non_ascii_tokens()
489 check_spans("// ábc x", &[]); in non_ascii_tokens()
490 check_spans("/* abc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens()
491 check_spans("/* ábc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens()
492 check_spans("/* ab\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens()
493 check_spans("/* áb\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens()
494 check_spans("/*** abc */ x", &[(1, 12, 1, 13)]); in non_ascii_tokens()
495 check_spans("/*** ábc */ x", &[(1, 12, 1, 13)]); in non_ascii_tokens()
496 check_spans(r#""abc""#, &[(1, 0, 1, 5)]); in non_ascii_tokens()
497 check_spans(r#""ábc""#, &[(1, 0, 1, 5)]); in non_ascii_tokens()
498 check_spans(r###"r#"abc"#"###, &[(1, 0, 1, 8)]); in non_ascii_tokens()
499 check_spans(r###"r#"ábc"#"###, &[(1, 0, 1, 8)]); in non_ascii_tokens()
500 check_spans("r#\"a\nc\"#", &[(1, 0, 2, 3)]); in non_ascii_tokens()
501 check_spans("r#\"á\nc\"#", &[(1, 0, 2, 3)]); in non_ascii_tokens()
502 check_spans("'a'", &[(1, 0, 1, 3)]); in non_ascii_tokens()
503 check_spans("'á'", &[(1, 0, 1, 3)]); in non_ascii_tokens()
504 check_spans("//! abc", &[(1, 0, 1, 7), (1, 0, 1, 7), (1, 0, 1, 7)]); in non_ascii_tokens()
505 check_spans("//! ábc", &[(1, 0, 1, 7), (1, 0, 1, 7), (1, 0, 1, 7)]); in non_ascii_tokens()
506 check_spans("//! abc\n", &[(1, 0, 1, 7), (1, 0, 1, 7), (1, 0, 1, 7)]); in non_ascii_tokens()
507 check_spans("//! ábc\n", &[(1, 0, 1, 7), (1, 0, 1, 7), (1, 0, 1, 7)]); in non_ascii_tokens()
508 check_spans("/*! abc */", &[(1, 0, 1, 10), (1, 0, 1, 10), (1, 0, 1, 10)]); in non_ascii_tokens()
509 check_spans("/*! ábc */", &[(1, 0, 1, 10), (1, 0, 1, 10), (1, 0, 1, 10)]); in non_ascii_tokens()
510 check_spans("/*! a\nc */", &[(1, 0, 2, 4), (1, 0, 2, 4), (1, 0, 2, 4)]); in non_ascii_tokens()
511 check_spans("/*! á\nc */", &[(1, 0, 2, 4), (1, 0, 2, 4), (1, 0, 2, 4)]); in non_ascii_tokens()
512 check_spans("abc", &[(1, 0, 1, 3)]); in non_ascii_tokens()
513 check_spans("ábc", &[(1, 0, 1, 3)]); in non_ascii_tokens()
514 check_spans("ábć", &[(1, 0, 1, 3)]); in non_ascii_tokens()
515 check_spans("abc// foo", &[(1, 0, 1, 3)]); in non_ascii_tokens()
516 check_spans("ábc// foo", &[(1, 0, 1, 3)]); in non_ascii_tokens()
517 check_spans("ábć// foo", &[(1, 0, 1, 3)]); in non_ascii_tokens()
518 check_spans("b\"a\\\n c\"", &[(1, 0, 2, 3)]); in non_ascii_tokens()
519 check_spans("b\"a\\\n\u{00a0}c\"", &[(1, 0, 2, 3)]); in non_ascii_tokens()
523 fn check_spans(p: &str, mut lines: &[(usize, usize, usize, usize)]) { in check_spans() function