SYMBOL INDEX (8803 symbols across 581 files) FILE: fuzz/fuzz_targets/fuzz_harper_comment.rs type Language (line 8) | struct Language(String); method arbitrary (line 48) | fn arbitrary(u: &mut Unstructured<'a>) -> Result { constant LANGUAGES (line 10) | const LANGUAGES: [&str; 34] = [ type Input (line 55) | struct Input { method arbitrary (line 61) | fn arbitrary(u: &mut Unstructured<'a>) -> Result { method arbitrary_take_rest (line 66) | fn arbitrary_take_rest(u: Unstructured<'a>) -> Result { FILE: harper-asciidoc/src/lib.rs type AsciidocParser (line 6) | pub struct AsciidocParser { method node_condition (line 11) | fn node_condition(n: &Node) -> bool { method default (line 20) | fn default() -> Self { method parse (line 31) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-brill/src/lib.rs constant BRILL_TAGGER_SOURCE (line 9) | const BRILL_TAGGER_SOURCE: &str = include_str!("../trained_tagger_model.... function uncached_brill_tagger (line 14) | fn uncached_brill_tagger() -> BrillTagger { function brill_tagger (line 20) | pub fn brill_tagger() -> Arc> { constant BRILL_CHUNKER_SOURCE (line 24) | const BRILL_CHUNKER_SOURCE: &str = include_str!("../trained_chunker_mode... function uncached_brill_chunker (line 29) | fn uncached_brill_chunker() -> BrillChunker { function brill_chunker (line 35) | pub fn brill_chunker() -> Arc { constant BURN_CHUNKER_VOCAB (line 39) | const BURN_CHUNKER_VOCAB: &[u8; 627993] = include_bytes!("../finished_ch... constant BURN_CHUNKER_BIN (line 40) | const BURN_CHUNKER_BIN: &[u8; 806312] = include_bytes!("../finished_chun... function uncached_burn_chunker (line 46) | fn uncached_burn_chunker() -> CachedChunker { function burn_chunker (line 56) | pub fn burn_chunker() -> Rc> { FILE: harper-cli/src/annotate.rs type Annotation (line 9) | pub(super) struct Annotation { method into_label (line 20) | pub(super) fn into_label( method iter_labels_from_document (line 33) | pub(super) fn iter_labels_from_document<'inpt_id>( method iter_from_document (line 44) | fn iter_from_document( type AnnotationType (line 84) | pub(super) enum AnnotationType { method build_report (line 91) | pub(super) fn build_report<'input_id>( method get_title (line 110) | pub(super) fn get_title(&self) -> &'static str { method get_title_with_tags (line 120) | pub(super) fn get_title_with_tags(&self, tags: &[&str]) -> Cow<'static... type RandomColorIter (line 132) | struct RandomColorIter { method new (line 136) | fn new() -> Self { type Item (line 144) | type Item = Color; method next (line 145) | fn next(&mut self) -> Option { function get_color_for_enum_variant (line 155) | fn get_color_for_enum_variant(variant_t... function get_color_for_index (line 168) | fn get_color_for_index(idx_to_color: usize) -> Color { FILE: harper-cli/src/input.rs type InputTrait (line 14) | pub(crate) trait InputTrait { method get_identifier (line 17) | fn get_identifier(&self) -> Cow<'_, str>; type AnyInput (line 24) | pub(crate) enum AnyInput { method from (line 35) | fn from(input_string: String) -> Self { method from (line 48) | fn from(input_string: String) -> Self { method from (line 57) | fn from(input_string: String) -> Self { FILE: harper-cli/src/input/multi_input.rs type MultiInputTrait (line 11) | pub(crate) trait MultiInputTrait: InputTrait { method iter_inputs (line 17) | fn iter_inputs(&self) -> anyhow::Result anyhow::Result anyhow::Result anyhow::Result Cow<'_, str> { FILE: harper-cli/src/input/single_input.rs type SingleInputTrait (line 24) | pub(crate) trait SingleInputTrait: InputTrait { method load (line 27) | fn load( method load_with_parser (line 38) | fn load_with_parser( method get_parser (line 48) | fn get_parser(&self, _markdown_options: MarkdownOptions) -> Box anyhow::Result>; method get_content (line 131) | fn get_content(&self) -> anyhow::Result> { method get_parser (line 136) | fn get_parser(&self, _markdown_options: MarkdownOptions) -> Box anyhow::Result> { method get_content (line 195) | fn get_content(&self) -> anyhow::Result> { type SingleInput (line 58) | pub(crate) enum SingleInput { method parse_string (line 72) | pub(crate) fn parse_string(input_string: &str) -> Self { type SingleInputOptionExt (line 85) | pub trait SingleInputOptionExt { method unwrap_or_read_from_stdin (line 87) | fn unwrap_or_read_from_stdin(self) -> SingleInput; method unwrap_or_read_from_stdin (line 90) | fn unwrap_or_read_from_stdin(self) -> SingleInput { type FileInput (line 97) | pub(crate) struct FileInput { method path (line 102) | pub(crate) fn path(&self) -> &PathBuf { method try_from_path (line 108) | pub(crate) fn try_from_path(path: &Path) -> anyhow::Result { method from_path_unchecked (line 123) | pub(crate) fn from_path_unchecked(path: &Path) -> Self { method get_identifier (line 168) | fn get_identifier(&self) -> Cow<'_, str> { type TextInput (line 177) | pub(crate) struct TextInput { method get_identifier (line 186) | fn get_identifier(&self) -> Cow<'_, str> { type StdinInput (line 193) | pub(crate) struct StdinInput; method get_identifier (line 202) | fn get_identifier(&self) -> Cow<'_, str> { FILE: harper-cli/src/lint.rs function load_dict (line 28) | fn load_dict(path: &Path) -> anyhow::Result { function load_weirpacks (line 40) | fn load_weirpacks(inputs: &[SingleInput]) -> anyhow::Result PathBuf { type OutputFormat (line 76) | pub enum OutputFormat { type LintOptions (line 86) | pub struct LintOptions { type ReportStyle (line 97) | enum ReportStyle { type JsonFileResult (line 105) | struct JsonFileResult { type JsonLint (line 114) | struct JsonLint { type JsonSpan (line 128) | struct JsonSpan { function char_index_to_line_col (line 134) | fn char_index_to_line_col(source: &[char], index: usize) -> (usize, usiz... type InputInfo (line 141) | struct InputInfo<'a> { type InputJob (line 147) | struct InputJob { function plain_path (line 155) | fn plain_path(&self) -> String { function format_path (line 164) | fn format_path(&self) -> String { function lint (line 178) | pub fn lint( type LintOneResult (line 365) | struct LintOneResult { type FullInputInfo (line 373) | struct FullInputInfo<'a> { function lint_one_input (line 380) | fn lint_one_input( function configure_lint_group (line 537) | fn configure_lint_group( function count_lint_kinds_and_rules (line 564) | fn count_lint_kinds_and_rules( function collect_lint_kind_rule_pairs (line 583) | fn collect_lint_kind_rule_pairs( function collect_spellos (line 600) | fn collect_spellos( function single_input_report (line 615) | fn single_input_report( function find_longest_doc_line (line 750) | fn find_longest_doc_line(toks: &[Token]) -> usize { function final_report (line 781) | fn final_report( function lint_kind_to_rgb (line 912) | fn lint_kind_to_rgb() -> &'static [(LintKind, (u8, u8, u8))] { function rgb_for_lint_kind (line 937) | fn rgb_for_lint_kind(olk: Option<&LintKind>) -> (u8, u8, u8) { function print_formatted_items (line 947) | fn print_formatted_items(items: impl IntoIterator... FILE: harper-cli/src/main.rs type Cli (line 46) | struct Cli { type Args (line 56) | enum Args { function main (line 231) | fn main() -> anyhow::Result<()> { function parse_dialect (line 1004) | fn parse_dialect(dialect: &str) -> anyhow::Result { function line_to_parts (line 1016) | fn line_to_parts(line: &str) -> (String, String) { function print_word_derivations (line 1024) | fn print_word_derivations(word: &str, annot: &str, dictionary: &impl Dic... FILE: harper-cli/tests/no_color.rs function harper_cli (line 3) | fn harper_cli() -> Command { constant BAD_INPUT (line 8) | const BAD_INPUT: &str = "This is an test."; function has_ansi (line 10) | fn has_ansi(bytes: &[u8]) -> bool { function default_output_contains_ansi (line 15) | fn default_output_contains_ansi() { function no_color_flag_strips_ansi (line 30) | fn no_color_flag_strips_ansi() { function no_color_env_strips_ansi (line 45) | fn no_color_env_strips_ansi() { FILE: harper-cli/tests/output_format.rs function harper_cli (line 4) | fn harper_cli() -> Command { constant BAD_INPUT (line 9) | const BAD_INPUT: &str = "This is an test."; function json_format_is_valid_json (line 12) | fn json_format_is_valid_json() { function json_format_no_ansi (line 52) | fn json_format_no_ansi() { function json_directory_paths_no_ansi (line 77) | fn json_directory_paths_no_ansi() { function compact_directory_paths_no_ansi (line 109) | fn compact_directory_paths_no_ansi() { function compact_format_one_line_per_lint (line 132) | fn compact_format_one_line_per_lint() { function default_format_unchanged (line 156) | fn default_format_unchanged() { FILE: harper-comments/src/comment_parser.rs type CommentParser (line 12) | pub struct CommentParser { method create_ident_dict (line 17) | pub fn create_ident_dict(&self, source: &[char]) -> Option Option<&'static str> { method node_condition (line 120) | fn node_condition(n: &Node) -> bool { method parse (line 126) | fn parse(&self, source: &[char]) -> Vec { function hang (line 137) | fn hang() { FILE: harper-comments/src/comment_parsers/go.rs type Go (line 8) | pub struct Go { method new (line 13) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 17) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 23) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-comments/src/comment_parsers/javadoc.rs type JavaDoc (line 10) | pub struct JavaDoc { method parse (line 15) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-comments/src/comment_parsers/jsdoc.rs type JsDoc (line 9) | pub struct JsDoc { method new (line 14) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 18) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 24) | fn parse(&self, source: &[char]) -> Vec { function parse_line (line 51) | fn parse_line(source: &[char], parser: Lrc) -> Vec { function mark_inline_tags (line 94) | pub(super) fn mark_inline_tags(tokens: &mut [Token]) { function parse_inline_tag (line 126) | fn parse_inline_tag(tokens: &[Token]) -> Option { function escapes_loop (line 176) | fn escapes_loop() { function handles_inline_link (line 184) | fn handles_inline_link() { function handles_class (line 229) | fn handles_class() { FILE: harper-comments/src/comment_parsers/lua.rs type Lua (line 9) | pub struct Lua { method new (line 14) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 18) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 24) | fn parse(&self, source: &[char]) -> Vec { function starts_with_prefix (line 60) | fn starts_with_prefix(source: &[char]) -> bool { function parse_line (line 67) | fn parse_line(source: &[char], parser: Lrc) -> Vec { FILE: harper-comments/src/comment_parsers/mod.rs function without_initiators (line 18) | fn without_initiators(source: &[char]) -> Span { function is_comment_character (line 36) | fn is_comment_character(c: char) -> bool { function cleans_empty_comment (line 45) | fn cleans_empty_comment() { function cleans_empty_comment_with_whitespace (line 51) | fn cleans_empty_comment_with_whitespace() { FILE: harper-comments/src/comment_parsers/solidity.rs type Solidity (line 10) | pub struct Solidity { method new (line 15) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 19) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 25) | fn parse(&self, source: &[char]) -> Vec { function parse_line (line 52) | fn parse_line(source: &[char], parser: Lrc) -> Vec { FILE: harper-comments/src/comment_parsers/unit.rs type Unit (line 14) | pub struct Unit { method new (line 19) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 23) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 29) | fn parse(&self, source: &[char]) -> Vec { function parse_line (line 66) | fn parse_line(source: &[char], parser: Lrc) -> Vec { function line_is_code_fence (line 84) | fn line_is_code_fence(source: &[char]) -> bool { FILE: harper-comments/src/masker.rs type CommentMasker (line 5) | pub struct CommentMasker { method create_ident_dict (line 11) | pub fn create_ident_dict(&self, source: &[char]) -> Option harper_core::Mask { FILE: harper-comments/tests/language_support_sources/clean.rs type TestStruct (line 3) | struct TestStruct {} method test_function (line 8) | fn test_function() {} method test_function (line 12) | fn test_function() {} FILE: harper-comments/tests/language_support_sources/eof.rs function main (line 1) | fn main() {} FILE: harper-comments/tests/language_support_sources/ignore_comments.c function main (line 2) | int main() { FILE: harper-comments/tests/language_support_sources/ignore_comments.rs type Testing (line 5) | pub struct Testing { FILE: harper-comments/tests/language_support_sources/issue_132.rs function main (line 6) | fn main() { FILE: harper-comments/tests/language_support_sources/javadoc_clean_simple.java class TestClass (line 1) | class TestClass { method main (line 6) | public static void main(String[] args) { FILE: harper-comments/tests/language_support_sources/javadoc_complex.java class TestClass (line 1) | class TestClass { method main (line 15) | public static void main(String[] args) { method greet (line 24) | public static void greet(String name) { FILE: harper-comments/tests/language_support_sources/jsdoc.ts function test (line 3) | function test(){} class Clazz (line 7) | class Clazz { } function foo (line 24) | function foo(n, o, d) { FILE: harper-comments/tests/language_support_sources/multiline_comments.cpp function test (line 3) | int test() {} function arbitrary (line 10) | int arbitrary() {} FILE: harper-comments/tests/language_support_sources/multiline_comments.ts function test (line 3) | function test() {} function arbitrary (line 10) | function arbitrary() {} FILE: harper-core/benches/parse_essay.rs function parse_essay (line 9) | fn parse_essay(c: &mut Criterion) { function lint_essay (line 15) | fn lint_essay(c: &mut Criterion) { function lint_essay_uncached (line 25) | fn lint_essay_uncached(c: &mut Criterion) { function criterion_benchmark (line 36) | pub fn criterion_benchmark(c: &mut Criterion) { FILE: harper-core/build.rs function main (line 3) | fn main() { FILE: harper-core/src/case.rs function copy_casing (line 14) | pub fn copy_casing( type Case (line 38) | pub enum Case { method apply_to (line 49) | pub fn apply_to(&self, char: char) -> impl Iterator + use... type Error (line 59) | type Error = (); method try_from (line 64) | fn try_from(value: char) -> Result { type CaseIterExt (line 77) | pub trait CaseIterExt { method get_casing (line 78) | fn get_casing(self) -> impl Iterator; method get_casing_unfiltered (line 79) | fn get_casing_unfiltered(self) -> SmallVec<[Option; CHAR_STRING_... method get_casing (line 84) | fn get_casing(self) -> impl Iterator { method get_casing_unfiltered (line 92) | fn get_casing_unfiltered(self) -> SmallVec<[Option; CHAR_STRING_... FILE: harper-core/src/char_ext.rs type Sealed (line 7) | pub trait Sealed {} type CharExt (line 12) | pub trait CharExt: private::Sealed { method is_cjk (line 13) | fn is_cjk(&self) -> bool; method is_english_lingual (line 15) | fn is_english_lingual(&self) -> bool; method is_emoji (line 16) | fn is_emoji(&self) -> bool; method is_punctuation (line 17) | fn is_punctuation(&self) -> bool; method is_vowel (line 21) | fn is_vowel(&self) -> bool; method normalized (line 22) | fn normalized(&self) -> Self; method is_english_lingual (line 26) | fn is_english_lingual(&self) -> bool { method normalized (line 37) | fn normalized(&self) -> Self { method is_emoji (line 46) | fn is_emoji(&self) -> bool { method is_cjk (line 62) | fn is_cjk(&self) -> bool { method is_punctuation (line 97) | fn is_punctuation(&self) -> bool { method is_vowel (line 101) | fn is_vowel(&self) -> bool { function cjk_is_not_english_lingual (line 111) | fn cjk_is_not_english_lingual() { FILE: harper-core/src/char_string.rs constant CHAR_STRING_INLINE_SIZE (line 7) | pub(crate) const CHAR_STRING_INLINE_SIZE: usize = 16; type CharString (line 11) | pub type CharString = SmallVec<[char; CHAR_STRING_INLINE_SIZE]>; type Sealed (line 14) | pub trait Sealed {} type CharStringExt (line 20) | pub trait CharStringExt: private::Sealed { method to_lower (line 22) | fn to_lower(&'_ self) -> Cow<'_, [char]>; method normalized (line 25) | fn normalized(&'_ self) -> Cow<'_, [char]>; method to_string (line 28) | fn to_string(&self) -> String; method eq_ignore_ascii_case_chars (line 32) | fn eq_ignore_ascii_case_chars(&self, other: &[char]) -> bool; method eq_ignore_ascii_case_str (line 36) | fn eq_ignore_ascii_case_str(&self, other: &str) -> bool; method eq_any_ignore_ascii_case_str (line 40) | fn eq_any_ignore_ascii_case_str(&self, others: &[&str]) -> bool; method eq_any_ignore_ascii_case_chars (line 44) | fn eq_any_ignore_ascii_case_chars(&self, others: &[&[char]]) -> bool; method starts_with_ignore_ascii_case_str (line 48) | fn starts_with_ignore_ascii_case_str(&self, prefix: &str) -> bool; method starts_with_any_ignore_ascii_case_str (line 52) | fn starts_with_any_ignore_ascii_case_str(&self, prefixes: &[&str]) -> ... method ends_with_ignore_ascii_case_chars (line 56) | fn ends_with_ignore_ascii_case_chars(&self, suffix: &[char]) -> bool; method ends_with_ignore_ascii_case_str (line 60) | fn ends_with_ignore_ascii_case_str(&self, suffix: &str) -> bool; method ends_with_any_ignore_ascii_case_chars (line 64) | fn ends_with_any_ignore_ascii_case_chars(&self, suffixes: &[&[char]]) ... method contains_vowel (line 67) | fn contains_vowel(&self) -> bool; method to_lower (line 71) | fn to_lower(&'_ self) -> Cow<'_, [char]> { method to_string (line 83) | fn to_string(&self) -> String { method normalized (line 89) | fn normalized(&'_ self) -> Cow<'_, [char]> { method eq_ignore_ascii_case_str (line 103) | fn eq_ignore_ascii_case_str(&self, other: &str) -> bool { method eq_ignore_ascii_case_chars (line 121) | fn eq_ignore_ascii_case_chars(&self, other: &[char]) -> bool { method eq_any_ignore_ascii_case_str (line 129) | fn eq_any_ignore_ascii_case_str(&self, others: &[&str]) -> bool { method eq_any_ignore_ascii_case_chars (line 133) | fn eq_any_ignore_ascii_case_chars(&self, others: &[&[char]]) -> bool { method starts_with_ignore_ascii_case_str (line 139) | fn starts_with_ignore_ascii_case_str(&self, prefix: &str) -> bool { method starts_with_any_ignore_ascii_case_str (line 150) | fn starts_with_any_ignore_ascii_case_str(&self, prefixes: &[&str]) -> ... method ends_with_ignore_ascii_case_str (line 156) | fn ends_with_ignore_ascii_case_str(&self, suffix: &str) -> bool { method ends_with_ignore_ascii_case_chars (line 169) | fn ends_with_ignore_ascii_case_chars(&self, suffix: &[char]) -> bool { method ends_with_any_ignore_ascii_case_chars (line 182) | fn ends_with_any_ignore_ascii_case_chars(&self, suffixes: &[&[char]]) ... method contains_vowel (line 188) | fn contains_vowel(&self) -> bool { function eq_ignore_ascii_case_chars_matches_lowercase (line 208) | fn eq_ignore_ascii_case_chars_matches_lowercase() { function eq_ignore_ascii_case_chars_does_not_match_different_word (line 213) | fn eq_ignore_ascii_case_chars_does_not_match_different_word() { function eq_ignore_ascii_case_str_matches_lowercase (line 218) | fn eq_ignore_ascii_case_str_matches_lowercase() { function eq_ignore_ascii_case_str_does_not_match_different_word (line 223) | fn eq_ignore_ascii_case_str_does_not_match_different_word() { function ends_with_ignore_ascii_case_chars_matches_suffix (line 228) | fn ends_with_ignore_ascii_case_chars_matches_suffix() { function ends_with_ignore_ascii_case_chars_does_not_match_different_suffix (line 233) | fn ends_with_ignore_ascii_case_chars_does_not_match_different_suffix() { function ends_with_ignore_ascii_case_str_matches_suffix (line 241) | fn ends_with_ignore_ascii_case_str_matches_suffix() { function ends_with_ignore_ascii_case_str_does_not_match_different_suffix (line 246) | fn ends_with_ignore_ascii_case_str_does_not_match_different_suffix() { function differs_only_by_length_1 (line 251) | fn differs_only_by_length_1() { function differs_only_by_length_2 (line 256) | fn differs_only_by_length_2() { FILE: harper-core/src/currency.rs type Currency (line 8) | pub enum Currency { method from_char (line 34) | pub fn from_char(c: char) -> Option { method to_char (line 53) | pub fn to_char(&self) -> char { method format_amount (line 70) | pub fn format_amount(&self, amount: &Number) -> String { FILE: harper-core/src/dict_word_metadata.rs type DictWordMetadata (line 20) | pub struct DictWordMetadata { method infer_pos_tag (line 132) | pub fn infer_pos_tag(&self) -> Option { method or (line 187) | pub fn or(&self, other: &Self) -> Self { method enforce_pos_exclusivity (line 200) | pub fn enforce_pos_exclusivity(&mut self, pos: &UPOS) { method get_person (line 396) | pub fn get_person(&self) -> Option { method is_first_person_plural_pronoun (line 400) | pub fn is_first_person_plural_pronoun(&self) -> bool { method is_first_person_singular_pronoun (line 411) | pub fn is_first_person_singular_pronoun(&self) -> bool { method is_third_person_plural_pronoun (line 422) | pub fn is_third_person_plural_pronoun(&self) -> bool { method is_third_person_singular_pronoun (line 433) | pub fn is_third_person_singular_pronoun(&self) -> bool { method is_third_person_pronoun (line 444) | pub fn is_third_person_pronoun(&self) -> bool { method is_second_person_pronoun (line 454) | pub fn is_second_person_pronoun(&self) -> bool { method is_verb_lemma (line 465) | pub fn is_verb_lemma(&self) -> bool { method is_verb_past_form (line 476) | pub fn is_verb_past_form(&self) -> bool { method is_verb_simple_past_form (line 483) | pub fn is_verb_simple_past_form(&self) -> bool { method is_verb_past_participle_form (line 490) | pub fn is_verb_past_participle_form(&self) -> bool { method is_verb_progressive_form (line 497) | pub fn is_verb_progressive_form(&self) -> bool { method is_verb_third_person_singular_present_form (line 504) | pub fn is_verb_third_person_singular_present_form(&self) -> bool { method is_singular_noun (line 514) | pub fn is_singular_noun(&self) -> bool { method is_non_singular_noun (line 524) | pub fn is_non_singular_noun(&self) -> bool { method is_countable_noun (line 536) | pub fn is_countable_noun(&self) -> bool { method is_non_countable_noun (line 546) | pub fn is_non_countable_noun(&self) -> bool { method is_mass_noun_only (line 558) | pub fn is_mass_noun_only(&self) -> bool { method is_nominal (line 572) | pub fn is_nominal(&self) -> bool { method is_singular_nominal (line 577) | pub fn is_singular_nominal(&self) -> bool { method is_plural_nominal (line 582) | pub fn is_plural_nominal(&self) -> bool { method is_possessive_nominal (line 590) | pub fn is_possessive_nominal(&self) -> bool { method is_non_singular_nominal (line 595) | pub fn is_non_singular_nominal(&self) -> bool { method is_non_plural_nominal (line 600) | pub fn is_non_plural_nominal(&self) -> bool { method get_degree (line 606) | pub fn get_degree(&self) -> Option { method is_comparative_adjective (line 610) | pub fn is_comparative_adjective(&self) -> bool { method is_superlative_adjective (line 619) | pub fn is_superlative_adjective(&self) -> bool { method is_positive_adjective (line 629) | pub fn is_positive_adjective(&self) -> bool { method is_quantifier (line 645) | pub fn is_quantifier(&self) -> bool { method is_swear (line 652) | pub fn is_swear(&self) -> bool { method is_lowercase (line 663) | pub fn is_lowercase(&self) -> bool { method is_titlecase (line 677) | pub fn is_titlecase(&self) -> bool { method is_allcaps (line 687) | pub fn is_allcaps(&self) -> bool { method is_lower_camel (line 701) | pub fn is_lower_camel(&self) -> bool { method is_upper_camel (line 720) | pub fn is_upper_camel(&self) -> bool { method is_apostrophized (line 725) | pub fn is_apostrophized(&self) -> bool { method is_roman_numerals (line 729) | pub fn is_roman_numerals(&self) -> bool { method merge (line 734) | pub fn merge(&mut self, other: &Self) -> &mut Self { function default_false (line 59) | fn default_false() -> bool { function default_none (line 64) | fn default_none() -> Option { function default_default (line 69) | fn default_default() -> T { type VerbForm (line 783) | pub enum VerbForm { type VerbFormFlagsUnderlyingType (line 799) | pub type VerbFormFlagsUnderlyingType = u32; type VerbData (line 818) | pub struct VerbData { method or (line 827) | pub fn or(&self, other: &Self) -> Self { type NounData (line 848) | pub struct NounData { method or (line 859) | pub fn or(&self, other: &Self) -> Self { type Person (line 873) | pub enum Person { type PronounData (line 881) | pub struct PronounData { method or (line 894) | pub fn or(&self, other: &Self) -> Self { type DeterminerData (line 910) | pub struct DeterminerData { method or (line 918) | pub fn or(&self, other: &Self) -> Self { type Degree (line 931) | pub enum Degree { type AdjectiveData (line 941) | pub struct AdjectiveData { method or (line 947) | pub fn or(&self, other: &Self) -> Self { type AdverbData (line 958) | pub struct AdverbData { method or (line 966) | pub fn or(&self, _other: &Self) -> Self { type ConjunctionData (line 976) | pub struct ConjunctionData {} method or (line 980) | pub fn or(&self, _other: &Self) -> Self { type AffixData (line 986) | pub struct AffixData { method or (line 993) | pub fn or(&self, _other: &Self) -> Self { type Dialect (line 1022) | pub enum Dialect { method try_guess_from_document (line 1033) | pub fn try_guess_from_document(document: &Document) -> Option { method try_from_abbr (line 1055) | pub fn try_from_abbr(abbr: &str) -> Option { type Error (line 1067) | type Error = (); method try_from (line 1075) | fn try_from(dialect_flags: DialectFlags) -> Result { type DialectFlagsUnderlyingType (line 1096) | type DialectFlagsUnderlyingType = u8; method is_dialect_enabled (line 1116) | pub fn is_dialect_enabled(self, dialect: Dialect) -> bool { method is_dialect_enabled_strict (line 1125) | pub fn is_dialect_enabled_strict(self, dialect: Dialect) -> bool { method from_dialect (line 1137) | pub fn from_dialect(dialect: Dialect) -> Self { method get_most_used_dialects_from_document (line 1150) | pub fn get_most_used_dialects_from_document(document: &Document) -> Self { method default (line 1190) | fn default() -> Self { function md (line 1201) | pub fn md(word: &str) -> DictWordMetadata { function guess_british_dialect (line 1213) | fn guess_british_dialect() { function guess_american_dialect (line 1223) | fn guess_american_dialect() { function puppy_is_noun (line 1237) | fn puppy_is_noun() { function prepare_is_not_noun (line 1242) | fn prepare_is_not_noun() { function paris_is_proper_noun (line 1247) | fn paris_is_proper_noun() { function permit_is_non_proper_noun (line 1252) | fn permit_is_non_proper_noun() { function hound_is_singular_noun (line 1257) | fn hound_is_singular_noun() { function pooches_is_non_singular_noun (line 1262) | fn pooches_is_non_singular_noun() { function loyal_doesnt_pass_is_non_singular_noun (line 1270) | fn loyal_doesnt_pass_is_non_singular_noun() { function hounds_is_plural_noun (line 1275) | fn hounds_is_plural_noun() { function pooch_is_non_plural_noun (line 1280) | fn pooch_is_non_plural_noun() { function fish_is_singular_noun (line 1285) | fn fish_is_singular_noun() { function fish_is_plural_noun (line 1290) | fn fish_is_plural_noun() { function fishes_is_plural_noun (line 1295) | fn fishes_is_plural_noun() { function sheep_is_singular_noun (line 1300) | fn sheep_is_singular_noun() { function sheep_is_plural_noun (line 1305) | fn sheep_is_plural_noun() { function sheeps_is_not_word (line 1311) | fn sheeps_is_not_word() { function bicep_is_singular_noun (line 1316) | fn bicep_is_singular_noun() { function biceps_is_singular_noun (line 1321) | fn biceps_is_singular_noun() { function biceps_is_plural_noun (line 1326) | fn biceps_is_plural_noun() { function aircraft_is_singular_noun (line 1331) | fn aircraft_is_singular_noun() { function aircraft_is_plural_noun (line 1336) | fn aircraft_is_plural_noun() { function aircrafts_is_not_word (line 1342) | fn aircrafts_is_not_word() { function dog_apostrophe_s_is_possessive_noun (line 1347) | fn dog_apostrophe_s_is_possessive_noun() { function dogs_is_non_possessive_noun (line 1352) | fn dogs_is_non_possessive_noun() { function dog_is_countable (line 1359) | fn dog_is_countable() { function dog_is_non_mass_noun (line 1363) | fn dog_is_non_mass_noun() { function furniture_is_mass_noun (line 1368) | fn furniture_is_mass_noun() { function furniture_is_non_countable_noun (line 1372) | fn furniture_is_non_countable_noun() { function equipment_is_mass_noun (line 1377) | fn equipment_is_mass_noun() { function equipment_is_non_countable_noun (line 1381) | fn equipment_is_non_countable_noun() { function beer_is_countable_noun (line 1386) | fn beer_is_countable_noun() { function beer_is_mass_noun (line 1390) | fn beer_is_mass_noun() { function i_is_pronoun (line 1402) | fn i_is_pronoun() { function i_is_personal_pronoun (line 1406) | fn i_is_personal_pronoun() { function i_is_singular_pronoun (line 1410) | fn i_is_singular_pronoun() { function i_is_subject_pronoun (line 1414) | fn i_is_subject_pronoun() { function me_is_pronoun (line 1419) | fn me_is_pronoun() { function me_is_personal_pronoun (line 1423) | fn me_is_personal_pronoun() { function me_is_singular_pronoun (line 1427) | fn me_is_singular_pronoun() { function me_is_object_pronoun (line 1431) | fn me_is_object_pronoun() { function myself_is_pronoun (line 1436) | fn myself_is_pronoun() { function myself_is_personal_pronoun (line 1440) | fn myself_is_personal_pronoun() { function myself_is_singular_pronoun (line 1444) | fn myself_is_singular_pronoun() { function myself_is_reflexive_pronoun (line 1448) | fn myself_is_reflexive_pronoun() { function we_is_pronoun (line 1457) | fn we_is_pronoun() { function we_is_personal_pronoun (line 1461) | fn we_is_personal_pronoun() { function we_is_plural_pronoun (line 1465) | fn we_is_plural_pronoun() { function we_is_subject_pronoun (line 1469) | fn we_is_subject_pronoun() { function us_is_pronoun (line 1474) | fn us_is_pronoun() { function us_is_personal_pronoun (line 1478) | fn us_is_personal_pronoun() { function us_is_plural_pronoun (line 1482) | fn us_is_plural_pronoun() { function us_is_object_pronoun (line 1486) | fn us_is_object_pronoun() { function ourselves_is_pronoun (line 1491) | fn ourselves_is_pronoun() { function ourselves_is_personal_pronoun (line 1495) | fn ourselves_is_personal_pronoun() { function ourselves_is_plural_pronoun (line 1499) | fn ourselves_is_plural_pronoun() { function ourselves_is_reflexive_pronoun (line 1503) | fn ourselves_is_reflexive_pronoun() { function you_is_pronoun (line 1512) | fn you_is_pronoun() { function you_is_personal_pronoun (line 1516) | fn you_is_personal_pronoun() { function you_is_singular_pronoun (line 1520) | fn you_is_singular_pronoun() { function you_is_plural_pronoun (line 1524) | fn you_is_plural_pronoun() { function you_is_subject_pronoun (line 1528) | fn you_is_subject_pronoun() { function you_is_object_pronoun (line 1532) | fn you_is_object_pronoun() { function yourself_is_pronoun (line 1536) | fn yourself_is_pronoun() { function yourself_is_personal_pronoun (line 1540) | fn yourself_is_personal_pronoun() { function yourself_is_singular_pronoun (line 1544) | fn yourself_is_singular_pronoun() { function yourself_is_reflexive_pronoun (line 1548) | fn yourself_is_reflexive_pronoun() { function he_is_pronoun (line 1557) | fn he_is_pronoun() { function he_is_personal_pronoun (line 1561) | fn he_is_personal_pronoun() { function he_is_singular_pronoun (line 1565) | fn he_is_singular_pronoun() { function he_is_subject_pronoun (line 1569) | fn he_is_subject_pronoun() { function him_is_pronoun (line 1574) | fn him_is_pronoun() { function him_is_personal_pronoun (line 1578) | fn him_is_personal_pronoun() { function him_is_singular_pronoun (line 1582) | fn him_is_singular_pronoun() { function him_is_object_pronoun (line 1586) | fn him_is_object_pronoun() { function himself_is_pronoun (line 1591) | fn himself_is_pronoun() { function himself_is_personal_pronoun (line 1595) | fn himself_is_personal_pronoun() { function himself_is_singular_pronoun (line 1599) | fn himself_is_singular_pronoun() { function himself_is_reflexive_pronoun (line 1603) | fn himself_is_reflexive_pronoun() { function she_is_pronoun (line 1612) | fn she_is_pronoun() { function she_is_personal_pronoun (line 1616) | fn she_is_personal_pronoun() { function she_is_singular_pronoun (line 1620) | fn she_is_singular_pronoun() { function she_is_subject_pronoun (line 1624) | fn she_is_subject_pronoun() { function her_is_pronoun (line 1629) | fn her_is_pronoun() { function her_is_personal_pronoun (line 1633) | fn her_is_personal_pronoun() { function her_is_singular_pronoun (line 1637) | fn her_is_singular_pronoun() { function her_is_object_pronoun (line 1641) | fn her_is_object_pronoun() { function herself_is_pronoun (line 1646) | fn herself_is_pronoun() { function herself_is_personal_pronoun (line 1650) | fn herself_is_personal_pronoun() { function herself_is_singular_pronoun (line 1654) | fn herself_is_singular_pronoun() { function herself_is_reflexive_pronoun (line 1658) | fn herself_is_reflexive_pronoun() { function it_is_pronoun (line 1667) | fn it_is_pronoun() { function it_is_personal_pronoun (line 1671) | fn it_is_personal_pronoun() { function it_is_singular_pronoun (line 1675) | fn it_is_singular_pronoun() { function it_is_subject_pronoun (line 1679) | fn it_is_subject_pronoun() { function it_is_object_pronoun (line 1683) | fn it_is_object_pronoun() { function itself_is_pronoun (line 1688) | fn itself_is_pronoun() { function itself_is_personal_pronoun (line 1692) | fn itself_is_personal_pronoun() { function itself_is_singular_pronoun (line 1696) | fn itself_is_singular_pronoun() { function itself_is_reflexive_pronoun (line 1700) | fn itself_is_reflexive_pronoun() { function they_is_pronoun (line 1709) | fn they_is_pronoun() { function they_is_personal_pronoun (line 1713) | fn they_is_personal_pronoun() { function they_is_plural_pronoun (line 1717) | fn they_is_plural_pronoun() { function they_is_subject_pronoun (line 1721) | fn they_is_subject_pronoun() { function them_is_pronoun (line 1726) | fn them_is_pronoun() { function them_is_personal_pronoun (line 1730) | fn them_is_personal_pronoun() { function them_is_plural_pronoun (line 1734) | fn them_is_plural_pronoun() { function them_is_object_pronoun (line 1738) | fn them_is_object_pronoun() { function themselves_is_pronoun (line 1743) | fn themselves_is_pronoun() { function themselves_is_personal_pronoun (line 1747) | fn themselves_is_personal_pronoun() { function themselves_is_plural_pronoun (line 1751) | fn themselves_is_plural_pronoun() { function themselves_is_reflexive_pronoun (line 1755) | fn themselves_is_reflexive_pronoun() { function mine_is_pronoun (line 1762) | fn mine_is_pronoun() { function ours_is_pronoun (line 1766) | fn ours_is_pronoun() { function yours_is_pronoun (line 1770) | fn yours_is_pronoun() { function his_is_pronoun (line 1774) | fn his_is_pronoun() { function hers_is_pronoun (line 1778) | fn hers_is_pronoun() { function its_is_pronoun (line 1782) | fn its_is_pronoun() { function theirs_is_pronoun (line 1786) | fn theirs_is_pronoun() { function archaic_pronouns (line 1792) | fn archaic_pronouns() { function generic_pronouns (line 1801) | fn generic_pronouns() { function relative_and_interrogative_pronouns (line 1808) | fn relative_and_interrogative_pronouns() { function nonstandard_pronouns (line 1819) | fn nonstandard_pronouns() { function my_is_possessive_nominal (line 1829) | fn my_is_possessive_nominal() { function mine_is_not_possessive_nominal (line 1834) | fn mine_is_not_possessive_nominal() { function freds_is_possessive_nominal (line 1839) | fn freds_is_possessive_nominal() { function fred_is_not_possessive_nominal (line 1844) | fn fred_is_not_possessive_nominal() { function dogs_is_possessive_nominal (line 1849) | fn dogs_is_possessive_nominal() { function microsofts_is_possessive_nominal (line 1854) | fn microsofts_is_possessive_nominal() { function big_is_positive (line 1866) | fn big_is_positive() { function bigger_is_comparative (line 1871) | fn bigger_is_comparative() { function biggest_is_superlative (line 1876) | fn biggest_is_superlative() { function bigly_is_not_an_adjective_form_we_track (line 1882) | fn bigly_is_not_an_adjective_form_we_track() { function bigger_is_comparative_adjective (line 1891) | fn bigger_is_comparative_adjective() { function biggest_is_superlative_adjective (line 1896) | fn biggest_is_superlative_adjective() { function the_is_determiner (line 1902) | fn the_is_determiner() { function this_is_demonstrative_determiner (line 1906) | fn this_is_demonstrative_determiner() { function your_is_possessive_determiner (line 1910) | fn your_is_possessive_determiner() { function every_is_quantifier (line 1915) | fn every_is_quantifier() { function the_isnt_quantifier (line 1920) | fn the_isnt_quantifier() { function equipment_is_mass_noun (line 1925) | fn equipment_is_mass_noun() { function equipment_is_non_countable_noun (line 1930) | fn equipment_is_non_countable_noun() { function equipment_isnt_countable_noun (line 1935) | fn equipment_isnt_countable_noun() { function lemma_walk (line 1943) | fn lemma_walk() { function lemma_fix (line 1949) | fn lemma_fix() { function progressive_walking (line 1955) | fn progressive_walking() { function past_walked (line 1961) | fn past_walked() { function simple_past_ate (line 1967) | fn simple_past_ate() { function past_participle_eaten (line 1973) | fn past_participle_eaten() { function third_pers_sing_walks (line 1979) | fn third_pers_sing_walks() { FILE: harper-core/src/dict_word_metadata_orthography.rs type Orthography (line 6) | pub enum Orthography { type OrthographyFlagsUnderlyingType (line 30) | type OrthographyFlagsUnderlyingType = u16; method default (line 51) | fn default() -> Self { method from_letters (line 58) | pub fn from_letters(letters: &[char]) -> Self { function looks_like_roman_numerals (line 148) | fn looks_like_roman_numerals(word: &[char]) -> bool { function is_really_roman_numerals (line 167) | fn is_really_roman_numerals(word: &[char]) -> bool { function check_roman_group (line 196) | fn check_roman_group>( function orth_flags (line 239) | fn orth_flags(s: &str) -> OrthFlags { function test_lowercase_flags (line 245) | fn test_lowercase_flags() { function test_titlecase_flags (line 258) | fn test_titlecase_flags() { function test_allcaps_flags (line 274) | fn test_allcaps_flags() { function test_lower_camel_flags (line 287) | fn test_lower_camel_flags() { function test_upper_camel_flags (line 302) | fn test_upper_camel_flags() { function test_roman_numeral_flags (line 320) | fn test_roman_numeral_flags() { function test_single_roman_numeral_flags (line 331) | fn test_single_roman_numeral_flags() { function empty_string_is_not_roman_numeral (line 336) | fn empty_string_is_not_roman_numeral() { function dont_allow_mixed_case_roman_numerals (line 341) | fn dont_allow_mixed_case_roman_numerals() { function dont_allow_looks_like_but_isnt_roman_numeral (line 346) | fn dont_allow_looks_like_but_isnt_roman_numeral() { function australia_lexeme_is_titlecase_even_when_word_is_lowercase (line 352) | fn australia_lexeme_is_titlecase_even_when_word_is_lowercase() { function australia_lexeme_is_titlecase_even_when_word_is_all_caps (line 357) | fn australia_lexeme_is_titlecase_even_when_word_is_all_caps() { function australia_lexeme_is_titlecase_even_when_word_is_mixed_case (line 362) | fn australia_lexeme_is_titlecase_even_when_word_is_mixed_case() { function db_and_kw_symbols_are_lower_camel_case (line 367) | fn db_and_kw_symbols_are_lower_camel_case() { function am_is_lowercase_and_titlecase_and_all_caps (line 373) | fn am_is_lowercase_and_titlecase_and_all_caps() { function reading_is_both_lowercase_and_titlecase (line 382) | fn reading_is_both_lowercase_and_titlecase() { function ebay_and_esim_are_lower_camel (line 390) | fn ebay_and_esim_are_lower_camel() { FILE: harper-core/src/document.rs type Document (line 19) | pub struct Document { method token_indices_intersecting (line 34) | pub fn token_indices_intersecting(&self, span: Span) -> Vec) -> Vec Self { method new_from_vec (line 71) | pub fn new_from_vec( method new_plain_english_curated_chars (line 86) | pub fn new_plain_english_curated_chars(source: &[char]) -> Self { method new_plain_english_curated (line 96) | pub fn new_plain_english_curated(text: &str) -> Self { method new_basic_tokenize (line 105) | pub(crate) fn new_basic_tokenize(text: &str, parser: &impl Parser) -> ... method new_plain_english (line 115) | pub fn new_plain_english(text: &str, dictionary: &impl Dictionary) -> ... method new_markdown_curated (line 121) | pub fn new_markdown_curated(text: &str, markdown_options: MarkdownOpti... method new_markdown_default_curated_chars (line 131) | pub fn new_markdown_default_curated_chars(chars: &[char]) -> Self { method new_markdown_default_curated (line 141) | pub fn new_markdown_default_curated(text: &str) -> Self { method new_markdown (line 147) | pub fn new_markdown( method new_markdown_default (line 157) | pub fn new_markdown_default(text: &str, dictionary: &impl Dictionary) ... method apply_fixups (line 161) | fn apply_fixups(&mut self) { method parse (line 180) | fn parse(&mut self, dictionary: &impl Dictionary) { method newlines_to_breaks (line 221) | fn newlines_to_breaks(&mut self) { method condense_indices (line 236) | fn condense_indices(&mut self, indices: &[usize], stretch_len: usize) { method get_token_at_char_index (line 273) | pub fn get_token_at_char_index(&self, char_index: usize) -> Option<&To... method get_token (line 289) | pub fn get_token(&self, index: usize) -> Option<&Token> { method get_token_offset (line 294) | pub fn get_token_offset(&self, base: usize, offset: isize) -> Option<&... method tokens (line 302) | pub fn tokens(&self) -> impl Iterator + '_ { method iter_nominal_phrases (line 306) | pub fn iter_nominal_phrases(&self) -> impl Iterator { method fat_tokens (line 341) | pub fn fat_tokens(&self) -> impl Iterator + '_ { method get_next_word_from_offset (line 347) | pub fn get_next_word_from_offset(&self, base: usize, offset: isize) ->... method fat_string_tokens (line 359) | pub fn fat_string_tokens(&self) -> impl Iterator) -> &[char] { method get_span_content_str (line 367) | pub fn get_span_content_str(&self, span: &Span) -> String { method get_full_string (line 371) | pub fn get_full_string(&self) -> String { method get_full_content (line 375) | pub fn get_full_content(&self) -> &[char] { method get_source (line 379) | pub fn get_source(&self) -> &[char] { method get_tokens (line 383) | pub fn get_tokens(&self) -> &[Token] { method match_quotes (line 392) | fn match_quotes(&mut self) { method condense_number_suffixes (line 454) | fn condense_number_suffixes(&mut self) { method condense_spaces (line 481) | fn condense_spaces(&mut self) { method uncached_dotted_truncation_expr (line 527) | fn uncached_dotted_truncation_expr() -> Lrc { method condense_expr (line 541) | fn condense_expr(&mut self, expr: &impl Expr, edit: F) method condense_dotted_truncations (line 558) | fn condense_dotted_truncations(&mut self) { method condense_newlines (line 564) | fn condense_newlines(&mut self) { method condense_dotted_initialisms (line 602) | fn condense_dotted_initialisms(&mut self) { method condense_filename_extensions (line 649) | fn condense_filename_extensions(&mut self) { method condense_common_top_level_domains (line 711) | fn condense_common_top_level_domains(&mut self) { method condense_tldr (line 762) | fn condense_tldr(&mut self) { method condense_delimited_pairs (line 821) | fn condense_delimited_pairs(&mut self, is_delimiter: F, valid_pairs... method condense_ampersand_pairs (line 877) | fn condense_ampersand_pairs(&mut self) { method condense_slash_pairs (line 895) | fn condense_slash_pairs(&mut self) { method uncached_ellipsis_pattern (line 915) | fn uncached_ellipsis_pattern() -> Lrc { method condense_ellipsis (line 924) | fn condense_ellipsis(&mut self) { method default (line 25) | fn default() -> Self { method first_sentence_word (line 985) | fn first_sentence_word(&self) -> Option<&Token> { method first_non_whitespace (line 989) | fn first_non_whitespace(&self) -> Option<&Token> { method span (line 993) | fn span(&self) -> Option> { method iter_linking_verb_indices (line 997) | fn iter_linking_verb_indices(&self) -> impl Iterator + '_ { method iter_linking_verbs (line 1001) | fn iter_linking_verbs(&self) -> impl Iterator + '_ { method iter_chunks (line 1005) | fn iter_chunks(&self) -> impl Iterator + '_ { method iter_paragraphs (line 1009) | fn iter_paragraphs(&self) -> impl Iterator + '_ { method iter_headings (line 1013) | fn iter_headings(&self) -> impl Iterator + '_ { method iter_sentences (line 1017) | fn iter_sentences(&self) -> impl Iterator + '_ { method iter_sentences_mut (line 1021) | fn iter_sentences_mut(&mut self) -> impl Iterator) -> std::fmt::Result { function assert_condensed_contractions (line 1044) | fn assert_condensed_contractions(text: &str, final_tok_count: usize) { function simple_contraction (line 1055) | fn simple_contraction() { function simple_contraction2 (line 1060) | fn simple_contraction2() { function simple_contraction3 (line 1065) | fn simple_contraction3() { function simple_contraction4 (line 1070) | fn simple_contraction4() { function medium_contraction (line 1075) | fn medium_contraction() { function medium_contraction2 (line 1080) | fn medium_contraction2() { function selects_token_at_char_index (line 1085) | fn selects_token_at_char_index() { function assert_token_count (line 1095) | fn assert_token_count(source: &str, count: usize) { function condenses_number_suffixes (line 1103) | fn condenses_number_suffixes() { function condenses_ie (line 1114) | fn condenses_ie() { function condenses_eg (line 1121) | fn condenses_eg() { function condenses_nsa (line 1127) | fn condenses_nsa() { function parses_ellipsis (line 1132) | fn parses_ellipsis() { function parses_long_ellipsis (line 1137) | fn parses_long_ellipsis() { function parses_short_ellipsis (line 1142) | fn parses_short_ellipsis() { function selects_token_at_offset (line 1147) | fn selects_token_at_offset() { function cant_select_token_before_start (line 1156) | fn cant_select_token_before_start() { function select_next_word_pos_offset (line 1165) | fn select_next_word_pos_offset() { function select_next_word_neg_offset (line 1174) | fn select_next_word_neg_offset() { function cant_select_next_word_not_from_whitespace (line 1183) | fn cant_select_next_word_not_from_whitespace() { function cant_select_next_word_before_start (line 1192) | fn cant_select_next_word_before_start() { function cant_select_next_word_with_punctuation_instead_of_whitespace (line 1201) | fn cant_select_next_word_with_punctuation_instead_of_whitespace() { function cant_select_next_word_with_punctuation_after_whitespace (line 1210) | fn cant_select_next_word_with_punctuation_after_whitespace() { function condenses_filename_extensions (line 1219) | fn condenses_filename_extensions() { function condense_filename_extension_ok_at_start_and_end (line 1227) | fn condense_filename_extension_ok_at_start_and_end() { function doesnt_condense_filename_extensions_with_mixed_case (line 1235) | fn doesnt_condense_filename_extensions_with_mixed_case() { function doesnt_condense_filename_extensions_with_non_letters (line 1244) | fn doesnt_condense_filename_extensions_with_non_letters() { function doesnt_condense_filename_extensions_longer_than_three (line 1253) | fn doesnt_condense_filename_extensions_longer_than_three() { function condense_filename_extension_in_parens (line 1262) | fn condense_filename_extension_in_parens() { function condense_tldr_uppercase (line 1273) | fn condense_tldr_uppercase() { function condense_tldr_lowercase (line 1281) | fn condense_tldr_lowercase() { function condense_tldr_mixed_case_1 (line 1288) | fn condense_tldr_mixed_case_1() { function condense_tldr_mixed_case_2 (line 1295) | fn condense_tldr_mixed_case_2() { function condense_tldr_pural (line 1302) | fn condense_tldr_pural() { function condense_common_top_level_domains (line 1323) | fn condense_common_top_level_domains() { function condense_common_top_level_domains_in_parens (line 1332) | fn condense_common_top_level_domains_in_parens() { function doesnt_condense_unknown_top_level_domains (line 1341) | fn doesnt_condense_unknown_top_level_domains() { function condense_r_and_d_caps (line 1349) | fn condense_r_and_d_caps() { function condense_r_and_d_mixed_case (line 1356) | fn condense_r_and_d_mixed_case() { function condense_r_and_d_lowercase (line 1363) | fn condense_r_and_d_lowercase() { function dont_condense_r_and_d_with_spaces (line 1370) | fn dont_condense_r_and_d_with_spaces() { function condense_q_and_a (line 1381) | fn condense_q_and_a() { function dont_allow_mixed_r_and_d_with_q_and_a (line 1390) | fn dont_allow_mixed_r_and_d_with_q_and_a() { function condense_io (line 1397) | fn condense_io() { function finds_unmatched_quotes_in_document (line 1404) | fn finds_unmatched_quotes_in_document() { function issue_1901 (line 1429) | fn issue_1901() { FILE: harper-core/src/edit_distance.rs function edit_distance_min_alloc (line 6) | pub fn edit_distance_min_alloc( function edit_distance (line 41) | pub fn edit_distance(source: &[char], target: &[char]) -> u8 { function assert_edit_dist (line 49) | fn assert_edit_dist(source: &str, target: &str, expected: u8) { function simple_edit_distance_1 (line 58) | fn simple_edit_distance_1() { function simple_edit_distance_2 (line 63) | fn simple_edit_distance_2() { function one_edit_distance (line 68) | fn one_edit_distance() { function zero_edit_distance (line 87) | fn zero_edit_distance() { FILE: harper-core/src/expr/all.rs type All (line 9) | pub struct All { method new (line 14) | pub fn new(children: Vec>) -> Self { method add (line 18) | pub fn add(&mut self, e: impl Expr + 'static) { method run (line 24) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/anchor_end.rs type AnchorEnd (line 9) | pub struct AnchorEnd; method step (line 12) | fn step(&self, tokens: &[Token], cursor: usize, _source: &[char]) -> Opt... function matches_period (line 37) | fn matches_period() { function does_not_match_empty (line 45) | fn does_not_match_empty() { FILE: harper-core/src/expr/anchor_start.rs type AnchorStart (line 7) | pub struct AnchorStart; method step (line 10) | fn step(&self, tokens: &[Token], cursor: usize, _source: &[char]) -> Opt... function matches_first_word (line 27) | fn matches_first_word() { function does_not_match_empty (line 35) | fn does_not_match_empty() { FILE: harper-core/src/expr/duration_expr.rs type DurationExpr (line 7) | pub struct DurationExpr; method run (line 10) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... function detect_10_days (line 40) | fn detect_10_days() { function detect_ten_days (line 47) | fn detect_ten_days() { FILE: harper-core/src/expr/expr_map.rs type ExprMap (line 18) | pub struct ExprMap type Row (line 25) | struct Row method default (line 37) | fn default() -> Self { function insert (line 48) | pub fn insert(&mut self, expr: impl Expr + 'static, value: T) { function lookup (line 56) | pub fn lookup(&self, cursor: usize, tokens: &[Token], source: &[char]) -... method run (line 68) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/filter.rs type Filter (line 29) | pub struct Filter { method new (line 34) | pub fn new(steps: Vec>) -> Self { method run (line 40) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/first_match_of.rs type FirstMatchOf (line 9) | pub struct FirstMatchOf { method new (line 14) | pub fn new(exprs: Vec>) -> Self { method add (line 18) | pub fn add(&mut self, expr: impl Expr + 'static) { method add_boxed (line 22) | pub fn add_boxed(&mut self, expr: Box) { method run (line 28) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/fixed_phrase.rs type FixedPhrase (line 20) | pub struct FixedPhrase { method from_phrase (line 27) | pub fn from_phrase(text: &str) -> Self { method from_document (line 34) | pub fn from_document(doc: &Document) -> Self { method run (line 62) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... function test_not_case_sensitive (line 74) | fn test_not_case_sensitive() { FILE: harper-core/src/expr/longest_match_of.rs type LongestMatchOf (line 5) | pub struct LongestMatchOf { method new (line 10) | pub fn new(exprs: Vec>) -> Self { method add (line 14) | pub fn add(&mut self, expr: impl Expr + 'static) { method run (line 20) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/mergeable_words.rs type PredicateFn (line 7) | type PredicateFn = type MergeableWords (line 14) | pub struct MergeableWords { method new (line 21) | pub fn new( method get_merged_word (line 36) | pub fn get_merged_word( method run (line 64) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... function predicate (line 87) | fn predicate( function merges_open_compound_not_in_dict (line 95) | fn merges_open_compound_not_in_dict() { function does_not_merge_open_compound_in_dict (line 107) | fn does_not_merge_open_compound_in_dict() { function does_not_merge_invalid_compound (line 119) | fn does_not_merge_invalid_compound() { function merges_open_compound (line 131) | fn merges_open_compound() { function merges_hyphenated_compound (line 143) | fn merges_hyphenated_compound() { FILE: harper-core/src/expr/mod.rs type Expr (line 66) | pub trait Expr: LSend { method run (line 67) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Opt... method run (line 74) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Opt... method run (line 89) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Opt... method run (line 95) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Opt... method run (line 105) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Opt... function add (line 110) | fn add(u: usize, i: isize) -> Option { type ExprExt (line 118) | pub trait ExprExt { method iter_matches (line 121) | fn iter_matches<'a>( method iter_matches_in_doc (line 127) | fn iter_matches_in_doc<'a>( method iter_matches (line 137) | fn iter_matches<'a>( method iter_matches_in_doc (line 155) | fn iter_matches_in_doc<'a>( type OwnedExprExt (line 163) | pub trait OwnedExprExt { method or (line 164) | fn or(self, other: impl Expr + 'static) -> FirstMatchOf; method and (line 165) | fn and(self, other: impl Expr + 'static) -> All; method and_not (line 166) | fn and_not(self, other: impl Expr + 'static) -> All; method or_longest (line 167) | fn or_longest(self, other: impl Expr + 'static) -> LongestMatchOf; method or (line 175) | fn or(self, other: impl Expr + 'static) -> FirstMatchOf { method and (line 180) | fn and(self, other: impl Expr + 'static) -> All { method and_not (line 185) | fn and_not(self, other: impl Expr + 'static) -> All { method or_longest (line 192) | fn or_longest(self, other: impl Expr + 'static) -> LongestMatchOf { FILE: harper-core/src/expr/optional.rs type Optional (line 8) | pub struct Optional { method new (line 13) | pub fn new(inner: impl Expr + 'static) -> Self { method run (line 21) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/reflexive_pronoun.rs constant BAD_REFLEXIVE_PRONOUNS (line 9) | const BAD_REFLEXIVE_PRONOUNS: &[&str] = &[ type ReflexivePronoun (line 21) | pub struct ReflexivePronoun { method standard (line 36) | pub fn standard() -> Self { method with_common_errors (line 46) | pub fn with_common_errors() -> Self { method default (line 26) | fn default() -> Self { method run (line 54) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... constant GOOD_REFLEXIVE_PRONOUNS (line 73) | const GOOD_REFLEXIVE_PRONOUNS: &[&str] = &[ function test_pronoun (line 87) | fn test_pronoun(word: &str) { function test_good_reflexive_pronouns (line 116) | fn test_good_reflexive_pronouns() { function test_bad_reflexive_pronouns (line 123) | fn test_bad_reflexive_pronouns() { function test_non_pronouns (line 131) | fn test_non_pronouns() { function ensure_standard_ctor_includes_myself (line 139) | fn ensure_standard_ctor_includes_myself() { function ensure_default_ctor_includes_myself (line 148) | fn ensure_default_ctor_includes_myself() { function ensure_with_common_errors_includes_hisself (line 158) | fn ensure_with_common_errors_includes_hisself() { function ensure_standard_ctor_excludes_hisself (line 166) | fn ensure_standard_ctor_excludes_hisself() { function ensure_default_ctor_excludes_theirself (line 174) | fn ensure_default_ctor_excludes_theirself() { FILE: harper-core/src/expr/repeating.rs type Repeating (line 7) | pub struct Repeating { method new (line 13) | pub fn new(expr: Box, required_repetitions: usize) -> Self { method run (line 22) | fn run(&self, mut cursor: usize, tokens: &[Token], source: &[char]) -> O... function matches_anything (line 62) | fn matches_anything() { function does_not_match_short (line 75) | fn does_not_match_short() { FILE: harper-core/src/expr/sequence_expr.rs type SequenceExpr (line 12) | pub struct SequenceExpr { method with (line 84) | pub fn with(expr: impl Expr + 'static) -> Self { method anything (line 91) | pub fn anything() -> Self { method any_capitalization_of (line 98) | pub fn any_capitalization_of(word: &'static str) -> Self { method aco (line 103) | pub fn aco(word: &'static str) -> Self { method word_set (line 108) | pub fn word_set(words: &'static [&'static str]) -> Self { method any_word (line 113) | pub fn any_word() -> Self { method optional (line 120) | pub fn optional(expr: impl Expr + 'static) -> Self { method fixed_phrase (line 125) | pub fn fixed_phrase(phrase: &'static str) -> Self { method any_of (line 132) | pub fn any_of(exprs: Vec>) -> Self { method longest_of (line 137) | pub fn longest_of(exprs: Vec>) -> Self { method whitespace (line 141) | pub fn whitespace() -> Self { method unless (line 146) | pub fn unless(condition: impl Expr + 'static) -> Self { method then (line 153) | pub fn then(mut self, expr: impl Expr + 'static) -> Self { method then_boxed (line 159) | pub fn then_boxed(mut self, expr: Box) -> Self { method then_optional (line 165) | pub fn then_optional(mut self, expr: impl Expr + 'static) -> Self { method then_any_of (line 175) | pub fn then_any_of(mut self, exprs: Vec>) -> Self { method then_longest_of (line 184) | pub fn then_longest_of(mut self, exprs: Vec>) -> Self { method then_seq (line 191) | pub fn then_seq(mut self, mut other: Self) -> Self { method then_word_set (line 197) | pub fn then_word_set(self, words: &'static [&'static str]) -> Self { method t_set (line 202) | pub fn t_set(self, words: &'static [&'static str]) -> Self { method then_whitespace (line 207) | pub fn then_whitespace(self) -> Self { method t_ws (line 212) | pub fn t_ws(self) -> Self { method then_whitespace_or_hyphen (line 217) | pub fn then_whitespace_or_hyphen(self) -> Self { method t_ws_h (line 222) | pub fn t_ws_h(self) -> Self { method then_zero_or_more (line 227) | pub fn then_zero_or_more(self, expr: impl Expr + 'static) -> Self { method then_one_or_more (line 232) | pub fn then_one_or_more(self, expr: impl Expr + 'static) -> Self { method then_zero_or_more_spaced (line 237) | pub fn then_zero_or_more_spaced(self, expr: impl Expr + 'static) -> Se... method then_unless (line 251) | pub fn then_unless(self, condition: impl Expr + 'static) -> Self { method then_anything (line 260) | pub fn then_anything(self) -> Self { method t_any (line 267) | pub fn t_any(self) -> Self { method then_any_word (line 274) | pub fn then_any_word(self) -> Self { method then_any_capitalization_of (line 279) | pub fn then_any_capitalization_of(self, word: &'static str) -> Self { method t_aco (line 284) | pub fn t_aco(self, word: &'static str) -> Self { method then_exact_word (line 289) | pub fn then_exact_word(self, word: &'static str) -> Self { method then_fixed_phrase (line 294) | pub fn then_fixed_phrase(self, phrase: &'static str) -> Self { method then_word_except (line 299) | pub fn then_word_except(self, words: &'static [&'static str]) -> Self { method then_kind (line 313) | pub fn then_kind(self, kind: TokenKind) -> Self { method then_kind_where (line 318) | pub fn then_kind_where(mut self, predicate: F) -> Self method then_kind_except (line 330) | pub fn then_kind_except(self, pred_is: F, ex: &'static [&'static st... method then_kind_both (line 346) | pub fn then_kind_both(self, pred_is_1: F1, pred_is_2: F2) -> Self method then_kind_either (line 356) | pub fn then_kind_either(self, pred_is_1: F1, pred_is_2: F2) ->... method then_kind_neither (line 366) | pub fn then_kind_neither(self, pred_isnt_1: F1, pred_isnt_2: F... method then_kind_is_but_is_not (line 376) | pub fn then_kind_is_but_is_not(self, pred_is: F1, pred_not: F2... method then_kind_is_but_is_not_except (line 386) | pub fn then_kind_is_but_is_not_except( method then_kind_is_but_isnt_any_of (line 407) | pub fn then_kind_is_but_isnt_any_of( method then_kind_is_but_isnt_any_of_except (line 422) | pub fn then_kind_is_but_isnt_any_of_except( method then_kind_both_but_not (line 446) | pub fn then_kind_both_but_not( method then_kind_any (line 461) | pub fn then_kind_any(self, preds_is: &'static [F]) -> Self method then_kind_none_of (line 470) | pub fn then_kind_none_of(self, preds_isnt: &'static [F]) -> Self method then_kind_any_except (line 479) | pub fn then_kind_any_except( method then_kind_any_or_words (line 497) | pub fn then_kind_any_or_words( method then_kind_any_but_not_except (line 515) | pub fn then_kind_any_but_not_except( method then_indefinite_article (line 604) | pub fn then_indefinite_article(self) -> Self { method from (line 644) | fn from(step: S) -> Self { method run (line 55) | fn run(&self, mut cursor: usize, tokens: &[Token], source: &[char]) -> O... function test_kind_both (line 660) | fn test_kind_both() { function test_adjective_or_determiner (line 669) | fn test_adjective_or_determiner() { function test_noun_but_not_adjective (line 678) | fn test_noun_but_not_adjective() { FILE: harper-core/src/expr/similar_to_phrase.rs type SimilarToPhrase (line 6) | pub struct SimilarToPhrase { method from_phrase (line 18) | pub fn from_phrase(text: &str, max_edit_dist: u8) -> Self { method from_doc (line 30) | pub fn from_doc(document: &Document, max_edit_dist: u8) -> Self { method run (line 61) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/space_or_hyphen.rs type SpaceOrHyphen (line 9) | pub struct SpaceOrHyphen; method run (line 12) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/spelled_number_expr.rs type SpelledNumberExpr (line 9) | pub struct SpelledNumberExpr; method run (line 12) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... function matches_single_digit (line 76) | fn matches_single_digit() { function matches_teens (line 83) | fn matches_teens() { function matches_tens (line 90) | fn matches_tens() { function matches_compound_numbers (line 97) | fn matches_compound_numbers() { function deep_thought (line 117) | fn deep_thought() { function jacksons (line 132) | fn jacksons() { function orwell (line 144) | fn orwell() { function get_smart (line 154) | fn get_smart() { function hyphens_or_spaces (line 166) | fn hyphens_or_spaces() { function waiting_since (line 190) | fn waiting_since() { FILE: harper-core/src/expr/step.rs type Step (line 8) | pub trait Step: LSend { method step (line 9) | fn step(&self, tokens: &[Token], cursor: usize, source: &[char]) -> Op... method step (line 16) | fn step(&self, tokens: &[Token], cursor: usize, source: &[char]) -> Op... FILE: harper-core/src/expr/time_unit_expr.rs type TimeUnitExpr (line 15) | pub struct TimeUnitExpr; method run (line 18) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/expr/unless_step.rs type UnlessStep (line 7) | pub struct UnlessStep { function new (line 17) | pub fn new(condition: E, step: S) -> Self { method step (line 23) | fn step(&self, tokens: &[Token], cursor: usize, source: &[char]) -> Opti... FILE: harper-core/src/expr/word_expr_group.rs type WordExprGroup (line 12) | pub struct WordExprGroup function add (line 20) | pub fn add(&mut self, word: &str, expr: impl Expr + 'static) { function add_word (line 33) | pub fn add_word(&mut self, word: &'static str) { method run (line 42) | fn run(&self, cursor: usize, tokens: &[Token], source: &[char]) -> Optio... FILE: harper-core/src/fat_token.rs type FatToken (line 8) | pub struct FatToken { method from (line 14) | fn from(value: FatStringToken) -> Self { type FatStringToken (line 24) | pub struct FatStringToken { method from (line 30) | fn from(value: FatToken) -> Self { FILE: harper-core/src/ignored_lints/lint_context.rs type LintContext (line 13) | pub struct LintContext { method from_lint (line 22) | pub fn from_lint(lint: &Lint, document: &Document) -> Self { method default_hash (line 57) | pub fn default_hash(&self) -> u64 { FILE: harper-core/src/ignored_lints/mod.rs type IgnoredLints (line 14) | pub struct IgnoredLints { method new (line 19) | pub fn new() -> Self { method append (line 24) | pub fn append(&mut self, other: Self) { method ignore_lint (line 29) | pub fn ignore_lint(&mut self, lint: &Lint, document: &Document) { method ignore_hash (line 37) | pub fn ignore_hash(&mut self, hash: u64) { method is_ignored (line 41) | pub fn is_ignored(&self, lint: &Lint, document: &Document) -> bool { method remove_ignored (line 49) | pub fn remove_ignored(&self, lints: &mut Vec, document: &Documen... function can_ignore_all (line 71) | fn can_ignore_all(text: String) -> bool { function can_ignore_first (line 88) | fn can_ignore_first(text: String) -> TestResult { function assert_ignore_lint_reduction (line 107) | fn assert_ignore_lint_reduction(source: &str, nth_lint: usize) { function an_a (line 129) | fn an_a() { function spelling (line 137) | fn spelling() { FILE: harper-core/src/indefinite_article.rs type InitialSound (line 10) | pub enum InitialSound { function starts_with_vowel (line 21) | pub fn starts_with_vowel(word: &[char], dialect: Dialect) -> Option Cow<'_, [char]> { function is_likely_acronym (line 178) | fn is_likely_acronym(word: &[char]) -> bool { FILE: harper-core/src/irregular_nouns.rs type Noun (line 4) | type Noun = (String, String); type IrregularNouns (line 7) | pub struct IrregularNouns { method new (line 22) | pub fn new() -> Self { method from_json_file (line 26) | pub fn from_json_file(json: &str) -> Result { method curated (line 50) | pub fn curated() -> Arc { method get_plural_for_singular (line 54) | pub fn get_plural_for_singular(&self, singular: &str) -> Option<&str> { method get_singular_for_plural (line 61) | pub fn get_singular_for_plural(&self, plural: &str) -> Option<&str> { function uncached_inner_new (line 13) | fn uncached_inner_new() -> Arc { method default (line 70) | fn default() -> Self { function can_find_irregular_plural_for_singular_lowercase (line 80) | fn can_find_irregular_plural_for_singular_lowercase() { function can_find_irregular_plural_for_singular_uppercase (line 88) | fn can_find_irregular_plural_for_singular_uppercase() { function can_find_singular_for_irregular_plural (line 96) | fn can_find_singular_for_irregular_plural() { function cant_find_regular_plural (line 104) | fn cant_find_regular_plural() { function cant_find_non_noun (line 112) | fn cant_find_non_noun() { FILE: harper-core/src/irregular_verbs.rs type Verb (line 4) | type Verb = (String, String, String); type IrregularVerbs (line 7) | pub struct IrregularVerbs { method new (line 22) | pub fn new() -> Self { method from_json_file (line 26) | pub fn from_json_file(json: &str) -> Result { method curated (line 56) | pub fn curated() -> Arc { method get_past_participle_for_preterite (line 60) | pub fn get_past_participle_for_preterite(&self, preterite: &str) -> Op... method get_lemma_for_preterite (line 67) | pub fn get_lemma_for_preterite(&self, preterite: &str) -> Option<&str> { method get_pasts_for_lemma (line 74) | pub fn get_pasts_for_lemma(&self, lemma: &str) -> Option<(&str, &str)> { function uncached_inner_new (line 13) | fn uncached_inner_new() -> Arc { method default (line 83) | fn default() -> Self { function can_find_irregular_past_participle_for_preterite_lowercase (line 93) | fn can_find_irregular_past_participle_for_preterite_lowercase() { function can_find_irregular_past_participle_for_preterite_uppercase (line 101) | fn can_find_irregular_past_participle_for_preterite_uppercase() { function can_find_irregular_past_participle_same_as_past_tense (line 109) | fn can_find_irregular_past_participle_same_as_past_tense() { function cant_find_regular_past_participle (line 117) | fn cant_find_regular_past_participle() { function cant_find_non_verb (line 125) | fn cant_find_non_verb() { FILE: harper-core/src/language_detection.rs function is_doc_likely_english (line 8) | pub fn is_doc_likely_english(doc: &Document, dict: &impl Dictionary) -> ... function is_likely_english (line 13) | pub fn is_likely_english(toks: &[Token], source: &[char], dict: &impl Di... function assert_not_english (line 60) | fn assert_not_english(source: &'static str) { function assert_english (line 68) | fn assert_english(source: &'static str) { function detects_spanish (line 77) | fn detects_spanish() { function detects_french (line 82) | fn detects_french() { function detects_shebang (line 89) | fn detects_shebang() { function detects_short_english (line 95) | fn detects_short_english() { function detects_english (line 100) | fn detects_english() { function detects_expressive_english (line 105) | fn detects_expressive_english() { function detects_python_fib (line 111) | fn detects_python_fib() { function mixed_french_english_park (line 127) | fn mixed_french_english_park() { function mixed_french_english_drunk (line 132) | fn mixed_french_english_drunk() { function mixed_french_english_dress (line 137) | fn mixed_french_english_dress() { function english_motto (line 144) | fn english_motto() { FILE: harper-core/src/lexing/email_address.rs constant MAX_EMAIL_LEN (line 8) | pub(crate) const MAX_EMAIL_LEN: usize = 254; function lex_email_address (line 10) | pub fn lex_email_address(source: &[char]) -> Option { function validate_local_part (line 49) | fn validate_local_part(mut local_part: &[char]) -> bool { function valid_unquoted_character (line 101) | fn valid_unquoted_character(c: char) -> bool { function example_local_parts (line 133) | fn example_local_parts() -> impl Iterator> { function example_local_parts_pass_validation (line 158) | fn example_local_parts_pass_validation() { function test_many_example_email_addresses (line 166) | fn test_many_example_email_addresses() { function does_not_allow_empty_domain (line 182) | fn does_not_allow_empty_domain() { function survives_random_chars (line 196) | fn survives_random_chars() { FILE: harper-core/src/lexing/hostname.rs function lex_hostname_token (line 6) | pub fn lex_hostname_token(source: &[char]) -> Option { function lex_hostname (line 33) | pub fn lex_hostname(source: &[char]) -> Option { constant COMMON_TLDS (line 61) | const COMMON_TLDS: &[&[char]] = &[ function ends_with_common_tld (line 79) | fn ends_with_common_tld(input: &[char]) -> bool { function example_domain_parts (line 93) | pub fn example_domain_parts() -> impl Iterator> { function can_parse_example_hostnames (line 115) | fn can_parse_example_hostnames() { function hyphen_cannot_open_hostname (line 123) | fn hyphen_cannot_open_hostname() { FILE: harper-core/src/lexing/mod.rs type FoundToken (line 15) | pub struct FoundToken { function lex_with (line 26) | pub fn lex_with(source: &[char], lex_fn: fn(&[char]) -> FoundToken) -> V... function lex_weir_token (line 45) | pub fn lex_weir_token(source: &[char]) -> FoundToken { function lex_english_token (line 65) | pub fn lex_english_token(source: &[char]) -> FoundToken { function lex_word (line 86) | fn lex_word(source: &[char]) -> Option { function lex_number (line 108) | fn lex_number(source: &[char]) -> Option { function lex_regexish (line 151) | fn lex_regexish(src: &[char]) -> Option { function lex_hex_number (line 185) | fn lex_hex_number(source: &[char]) -> Option { function lex_long_decade (line 226) | fn lex_long_decade(source: &[char]) -> Option { function lex_plural_digit (line 253) | fn lex_plural_digit(src: &[char]) -> Option { function lex_newlines (line 280) | fn lex_newlines(source: &[char]) -> Option { function lex_tabs (line 293) | fn lex_tabs(source: &[char]) -> Option { function lex_spaces (line 306) | fn lex_spaces(source: &[char]) -> Option { function lex_punctuation (line 319) | fn lex_punctuation(source: &[char]) -> Option { function lex_quote (line 333) | fn lex_quote(source: &[char]) -> Option { function lex_catch (line 347) | fn lex_catch() -> FoundToken { function lexes_0 (line 369) | fn lexes_0() { function lexes_0_point_0 (line 381) | fn lexes_0_point_0() { function lexes_00 (line 393) | fn lexes_00() { function lexes_negative_1 (line 405) | fn lexes_negative_1() { function lexes_positive_1 (line 417) | fn lexes_positive_1() { function lexes_pi (line 429) | fn lexes_pi() { function lexes_speed_of_light (line 441) | fn lexes_speed_of_light() { function doesnt_lex_cjk_numeral (line 453) | fn doesnt_lex_cjk_numeral() { function doesnt_lex_thai_digit (line 459) | fn doesnt_lex_thai_digit() { function lexes_cjk_as_unlintable (line 465) | fn lexes_cjk_as_unlintable() { function lexes_youtube_as_hostname (line 471) | fn lexes_youtube_as_hostname() { function doesnt_lex_regex_mini_range (line 483) | fn doesnt_lex_regex_mini_range() { function lexes_regex_one_letter (line 495) | fn lexes_regex_one_letter() { function lexes_regex_two_letters (line 507) | fn lexes_regex_two_letters() { function lexes_regex_digits (line 519) | fn lexes_regex_digits() { function lexes_regex_two_alphanumeric (line 531) | fn lexes_regex_two_alphanumeric() { function lexes_regex_one_range (line 543) | fn lexes_regex_one_range() { function lexes_regex_letter_plus_range (line 555) | fn lexes_regex_letter_plus_range() { function lexes_regex_range_plus_letter (line 567) | fn lexes_regex_range_plus_letter() { function lexes_regex_two_ranges (line 579) | fn lexes_regex_two_ranges() { function doesnt_lex_regex_broken_two_ranges (line 591) | fn doesnt_lex_regex_broken_two_ranges() { function doesnt_lex_regex_hyphen_at_start (line 604) | fn doesnt_lex_regex_hyphen_at_start() { function doesnt_lex_regex_hyphen_at_end (line 616) | fn doesnt_lex_regex_hyphen_at_end() { function lexes_good_hex_numeric (line 628) | fn lexes_good_hex_numeric() { function lexes_good_hex_lowercase (line 640) | fn lexes_good_hex_lowercase() { function lexes_good_hex_uppercase (line 652) | fn lexes_good_hex_uppercase() { function lexes_good_hex_mixed_case (line 664) | fn lexes_good_hex_mixed_case() { function lexes_good_hex_lowercase_long (line 676) | fn lexes_good_hex_lowercase_long() { function lexes_good_hex_uppercase_long (line 688) | fn lexes_good_hex_uppercase_long() { function does_not_lex_prefix_only (line 700) | fn does_not_lex_prefix_only() { function does_not_lex_bad_alphabetic (line 706) | fn does_not_lex_bad_alphabetic() { function does_not_lex_bad_after_good (line 712) | fn does_not_lex_bad_after_good() { function does_not_lex_uppercase_prefix (line 718) | fn does_not_lex_uppercase_prefix() { function lexes_0s (line 724) | fn lexes_0s() { function lexes_1_apostrophe_s (line 737) | fn lexes_1_apostrophe_s() { function lexes_0s_and_1s (line 750) | fn lexes_0s_and_1s() { function lexes_1s_and_0s_apostrophes (line 763) | fn lexes_1s_and_0s_apostrophes() { function doesnt_lex_0s_joined_letter (line 776) | fn doesnt_lex_0s_joined_letter() { function doesnt_lex_1s_apostrophe_joined_number (line 782) | fn doesnt_lex_1s_apostrophe_joined_number() { function lexes_20c_decade (line 788) | fn lexes_20c_decade() { function lexes_21c_decade (line 800) | fn lexes_21c_decade() { function lexes_ancient_decade (line 812) | fn lexes_ancient_decade() { function lexes_word_before_decade (line 824) | fn lexes_word_before_decade() { function lexes_word_after_decade (line 836) | fn lexes_word_after_decade() { function doesnt_lex_far_future_decade (line 848) | fn doesnt_lex_far_future_decade() { function doesnt_lex_too_ancient_decade (line 854) | fn doesnt_lex_too_ancient_decade() { function doesnt_lex_0_prefixed_decade (line 860) | fn doesnt_lex_0_prefixed_decade() { function doesnt_lex_uppercase_decade (line 866) | fn doesnt_lex_uppercase_decade() { function doesnt_lex_overlong_decade (line 872) | fn doesnt_lex_overlong_decade() { function doesnt_lex_apostrophe_long_decade (line 878) | fn doesnt_lex_apostrophe_long_decade() { function doesnt_lex_bad_apostrophe_short_decade (line 884) | fn doesnt_lex_bad_apostrophe_short_decade() { function doesnt_lex_good_apostrophe_short_decade (line 890) | fn doesnt_lex_good_apostrophe_short_decade() { function accepts_sentence_with_decade (line 896) | fn accepts_sentence_with_decade() { function rejects_sentence_with_number (line 922) | fn rejects_sentence_with_number() { function issue_1010 (line 954) | fn issue_1010() { function lexes_full_number (line 962) | fn lexes_full_number() { FILE: harper-core/src/lexing/url.rs function lex_url (line 6) | pub fn lex_url(source: &[char]) -> Option { function lex_ip_schemepart (line 29) | fn lex_ip_schemepart(source: &[char]) -> Option { function lex_login (line 60) | fn lex_login(source: &[char]) -> Option { function lex_hostport (line 85) | fn lex_hostport(source: &[char]) -> Option { function valid_scheme_char (line 105) | fn valid_scheme_char(c: char) -> bool { function is_reserved (line 109) | fn is_reserved(c: char) -> bool { function is_safe (line 113) | fn is_safe(c: char) -> bool { function is_extra (line 117) | fn is_extra(c: char) -> bool { function is_unreserved (line 121) | fn is_unreserved(c: char) -> bool { function is_hex (line 125) | fn is_hex(c: char) -> bool { function lex_escaped (line 130) | fn lex_escaped(source: &[char]) -> Option { function lex_xchar_string (line 142) | fn lex_xchar_string(source: &[char]) -> usize { function is_xchar_string (line 156) | fn is_xchar_string(source: &[char]) -> bool { function is_uchar_plus_string (line 161) | fn is_uchar_plus_string(source: &[char]) -> bool { function lex_xchar (line 180) | fn lex_xchar(source: &[char]) -> Option { function lex_uchar (line 188) | fn lex_uchar(source: &[char]) -> Option { function assert_consumes_full (line 202) | fn assert_consumes_full(url: &str) { function assert_consumes_part (line 206) | fn assert_consumes_part(url: &str, len: usize) { function consumes_google (line 213) | fn consumes_google() { function consumes_wikipedia (line 218) | fn consumes_wikipedia() { function consumes_youtube (line 223) | fn consumes_youtube() { function consumes_youtube_not_garbage (line 228) | fn consumes_youtube_not_garbage() { function consumes_with_path (line 233) | fn consumes_with_path() { function consumes_issue_142 (line 238) | fn consumes_issue_142() { function survives_random_chars (line 245) | fn survives_random_chars() { FILE: harper-core/src/lib.rs function core_version (line 70) | pub fn core_version() -> &'static str { function remove_overlaps (line 78) | pub fn remove_overlaps(lints: &mut Vec) { function remove_overlaps_map (line 104) | pub fn remove_overlaps_map(lint_map: &mut BTreeMap>) { function keeps_space_lint (line 180) | fn keeps_space_lint() { function overlap_removals_have_equivalent_behavior (line 195) | fn overlap_removals_have_equivalent_behavior(s: String) { FILE: harper-core/src/linting/a_part.rs type APart (line 10) | pub struct APart { method default (line 15) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 83) | fn description(&self) -> &'static str { function allow_normal_use_of_a_part (line 94) | fn allow_normal_use_of_a_part() { function allow_normal_use_of_apart (line 103) | fn allow_normal_use_of_apart() { function allow_normal_use_of_a_part_of (line 108) | fn allow_normal_use_of_a_part_of() { function allow_normal_use_of_apart_from (line 113) | fn allow_normal_use_of_apart_from() { function allow_normal_us_of_fall_apart (line 118) | fn allow_normal_us_of_fall_apart() { function allow_normal_use_of_far_apart (line 123) | fn allow_normal_use_of_far_apart() { function corrects_a_part_from_to_apart_from_format (line 128) | fn corrects_a_part_from_to_apart_from_format() { function corrects_a_part_from_to_apart_from_english (line 137) | fn corrects_a_part_from_to_apart_from_english() { function corrects_a_part_from_to_a_part_of (line 146) | fn corrects_a_part_from_to_a_part_of() { function corrects_apart_of_to_apart_from_cflinuxfs (line 155) | fn corrects_apart_of_to_apart_from_cflinuxfs() { function corrects_apart_of_to_apart_from_using (line 164) | fn corrects_apart_of_to_apart_from_using() { function corrects_apart_of_to_a_part_of_openai (line 173) | fn corrects_apart_of_to_a_part_of_openai() { function corrects_apart_of_to_a_part_of_formly (line 182) | fn corrects_apart_of_to_a_part_of_formly() { function corrects_far_a_part (line 191) | fn corrects_far_a_part() { function corrects_so_far_a_part_from_being_taken (line 200) | fn corrects_so_far_a_part_from_being_taken() { function corrects_so_far_a_part_from_version_upgrade (line 209) | fn corrects_so_far_a_part_from_version_upgrade() { function corrects_fall_a_part (line 218) | fn corrects_fall_a_part() { FILE: harper-core/src/linting/a_while.rs type AWhile (line 11) | pub struct AWhile { method default (line 16) | fn default() -> Self { type Unit (line 50) | type Unit = Chunk; method expr (line 52) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 56) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 71) | fn description(&self) -> &'static str { function allow_issue_2144 (line 83) | fn allow_issue_2144() { function fix_issue_2144 (line 95) | fn fix_issue_2144() { function correct_in_quite_a_while (line 104) | fn correct_in_quite_a_while() { function correct_in_a_while (line 113) | fn correct_in_a_while() { function correct_for_awhile (line 122) | fn correct_for_awhile() { function correct_after_awhile (line 131) | fn correct_after_awhile() { FILE: harper-core/src/linting/addicting.rs type Addicting (line 8) | pub struct Addicting { method default (line 13) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 44) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 60) | fn description(&self) -> &str { function fix_addicting (line 71) | fn fix_addicting() { function dont_flag_addicting_object_pronoun (line 80) | fn dont_flag_addicting_object_pronoun() { function dont_flag_addicting_reflexive_pronoun (line 85) | fn dont_flag_addicting_reflexive_pronoun() { function fix_yet_highly_addicting (line 90) | fn fix_yet_highly_addicting() { function dont_flag_addicting_them_on (line 99) | fn dont_flag_addicting_them_on() { function fix_find_things_addicting_myself (line 108) | fn fix_find_things_addicting_myself() { function dont_fix_coerced_into_addicting_themselves (line 117) | fn dont_fix_coerced_into_addicting_themselves() { FILE: harper-core/src/linting/adjective_double_degree.rs type AdjectiveDoubleDegree (line 8) | pub struct AdjectiveDoubleDegree { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 105) | fn description(&self) -> &'static str { function fix_double_regular_superlative (line 116) | fn fix_double_regular_superlative() { function fix_double_regular_comparative (line 125) | fn fix_double_regular_comparative() { function fix_double_irregular_comparative (line 134) | fn fix_double_irregular_comparative() { function fix_double_irregular_superlative (line 143) | fn fix_double_irregular_superlative() { function conflicting_moster_offers_two_suggestions (line 152) | fn conflicting_moster_offers_two_suggestions() { function conflicting_morest_offers_two_suggestions (line 165) | fn conflicting_morest_offers_two_suggestions() { function conflicting_most_better_offers_two_suggestions (line 178) | fn conflicting_most_better_offers_two_suggestions() { function conflicting_most_worse_offers_two_suggestions (line 191) | fn conflicting_most_worse_offers_two_suggestions() { FILE: harper-core/src/linting/adjective_of_a.rs type AdjectiveOfA (line 6) | pub struct AdjectiveOfA; constant ADJECTIVE_WHITELIST (line 8) | const ADJECTIVE_WHITELIST: &[&str] = &["bad", "big", "good", "large", "l... constant CONTEXT_WORDS (line 10) | const CONTEXT_WORDS: &[&str] = &[ constant ADJECTIVE_BLACKLIST (line 15) | const ADJECTIVE_BLACKLIST: &[&str] = &["much", "part"]; function has_context_word (line 17) | fn has_context_word(document: &Document, adj_idx: usize) -> bool { function is_good_adjective (line 44) | fn is_good_adjective(word: &str) -> bool { function is_bad_adjective (line 50) | fn is_bad_adjective(word: &str) -> bool { method lint (line 57) | fn lint(&mut self, document: &Document) -> Vec { method description (line 157) | fn description(&self) -> &str { function correct_large_of_a (line 168) | fn correct_large_of_a() { function correct_bad_of_an (line 177) | fn correct_bad_of_an() { function dont_flag_comparative (line 186) | fn dont_flag_comparative() { function dont_flag_superlative (line 195) | fn dont_flag_superlative() { function dont_flag_kind (line 204) | fn dont_flag_kind() { function dont_flag_part (line 214) | fn dont_flag_part() { function dont_flag_much (line 224) | fn dont_flag_much() { function dont_flag_part_uppercase (line 234) | fn dont_flag_part_uppercase() { function dont_flag_all_of (line 244) | fn dont_flag_all_of() { function dont_flag_inside (line 254) | fn dont_flag_inside() { function dont_flag_out (line 264) | fn dont_flag_out() { function dont_flag_full (line 274) | fn dont_flag_full() { function dont_flag_something (line 284) | fn dont_flag_something() { function dont_flag_short (line 294) | fn dont_flag_short() { function dont_flag_bottom (line 304) | fn dont_flag_bottom() { function dont_flag_left (line 314) | fn dont_flag_left() { function dont_flag_full_uppercase (line 320) | fn dont_flag_full_uppercase() { function dont_flag_head (line 325) | fn dont_flag_head() { function dont_flag_middle (line 335) | fn dont_flag_middle() { function dont_flag_chance (line 345) | fn dont_flag_chance() { function dont_flag_potential (line 355) | fn dont_flag_potential() { function dont_flag_sound (line 365) | fn dont_flag_sound() { function dont_flag_rid (line 371) | fn dont_flag_rid() { function dont_flag_precision (line 378) | fn dont_flag_precision() { function dont_flag_back (line 388) | fn dont_flag_back() { function dont_flag_emblematic (line 398) | fn dont_flag_emblematic() { function dont_flag_half (line 408) | fn dont_flag_half() { function dont_flag_bit (line 414) | fn dont_flag_bit() { function dont_flag_dream (line 420) | fn dont_flag_dream() { function dont_flag_beginning (line 426) | fn dont_flag_beginning() { function dont_flag_side (line 432) | fn dont_flag_side() { function dont_flag_derivative (line 442) | fn dont_flag_derivative() { function dont_flag_equivalent (line 452) | fn dont_flag_equivalent() { function dont_flag_up (line 461) | fn dont_flag_up() { function dont_flag_eighth (line 470) | fn dont_flag_eighth() { function dont_flag_shy (line 479) | fn dont_flag_shy() { function dont_flag_fun (line 488) | fn dont_flag_fun() { function dont_flag_off (line 497) | fn dont_flag_off() { function dont_flag_borderline_of (line 508) | fn dont_flag_borderline_of() { function dont_flag_light (line 517) | fn dont_flag_light() { function dont_flag_multiple (line 522) | fn dont_flag_multiple() { function dont_flag_red (line 531) | fn dont_flag_red() { function dont_flag_top (line 536) | fn dont_flag_top() { function dont_flag_slack (line 541) | fn dont_flag_slack() { function dont_flag_illustrative (line 550) | fn dont_flag_illustrative() { function dont_flag_perspective (line 559) | fn dont_flag_perspective() { function correct_too_large_of_a (line 568) | fn correct_too_large_of_a() { function correct_too_long_of_a (line 577) | fn correct_too_long_of_a() { function correct_too_big_of_a (line 586) | fn correct_too_big_of_a() { function correct_too_vague_of_a (line 595) | fn correct_too_vague_of_a() { function correct_too_dumb_of_a (line 604) | fn correct_too_dumb_of_a() { function correct_how_important_of_a (line 613) | fn correct_how_important_of_a() { function correct_that_rare_of_an (line 622) | fn correct_that_rare_of_an() { function correct_as_important_of_a (line 631) | fn correct_as_important_of_a() { function correct_too_short_of_a (line 640) | fn correct_too_short_of_a() { function correct_that_common_of_a (line 649) | fn correct_that_common_of_a() { function correct_as_great_of_an (line 658) | fn correct_as_great_of_an() { function correct_too_uncommon_of_a (line 667) | fn correct_too_uncommon_of_a() { FILE: harper-core/src/linting/after_later.rs type AfterLater (line 7) | pub struct AfterLater { method default (line 12) | fn default() -> Self { type Unit (line 43) | type Unit = Chunk; method expr (line 45) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 49) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 67) | fn description(&self) -> &str { function after_90_days_later (line 78) | fn after_90_days_later() { function after_about_30_minutes_later (line 87) | fn after_about_30_minutes_later() { function after_14_days_later (line 96) | fn after_14_days_later() { function after_exactly_5_minutes_later (line 105) | fn after_exactly_5_minutes_later() { function after_22_years_later_1 (line 114) | fn after_22_years_later_1() { function after_almost_2_years_later (line 123) | fn after_almost_2_years_later() { function after_2_years_later (line 132) | fn after_2_years_later() { function after_a_year_later (line 141) | fn after_a_year_later() { function after_22_years_later_2 (line 150) | fn after_22_years_later_2() { FILE: harper-core/src/linting/all_hell_break_loose.rs type AllHellBreakLoose (line 7) | pub struct AllHellBreakLoose { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method match_to_lint (line 28) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 42) | fn description(&self) -> &str { method expr (line 46) | fn expr(&self) -> &dyn Expr { function fix_break (line 57) | fn fix_break() { function fix_breaks (line 66) | fn fix_breaks() { function fix_breaking (line 75) | fn fix_breaking() { function fix_broke (line 84) | fn fix_broke() { function fix_broken (line 93) | fn fix_broken() { FILE: harper-core/src/linting/all_intents_and_purposes.rs type AllIntentsAndPurposes (line 8) | pub struct AllIntentsAndPurposes { method default (line 13) | fn default() -> Self { type Unit (line 43) | type Unit = Chunk; method expr (line 45) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 49) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 91) | fn description(&self) -> &'static str { function fix_for_intended (line 104) | fn fix_for_intended() { function fix_for_intense (line 113) | fn fix_for_intense() { function fix_for_intensive (line 122) | fn fix_for_intensive() { function fix_for_intrinsic_purposes (line 131) | fn fix_for_intrinsic_purposes() { function fix_in_intense_purposes (line 140) | fn fix_in_intense_purposes() { function fix_to_intensive_purposes (line 149) | fn fix_to_intensive_purposes() { function fix_at_intents_and (line 160) | fn fix_at_intents_and() { function fix_by_intents_and (line 169) | fn fix_by_intents_and() { function fix_for_extents_and (line 178) | fn fix_for_extents_and() { function dont_flag_for_intents_and (line 187) | fn dont_flag_for_intents_and() { function fix_from_intents_and (line 195) | fn fix_from_intents_and() { function fix_in_intents_and (line 204) | fn fix_in_intents_and() { function fix_on_intents_and (line 213) | fn fix_on_intents_and() { function fix_through_intents_and (line 222) | fn fix_through_intents_and() { function fix_to_extents_and (line 231) | fn fix_to_extents_and() { function dont_flag_to_intents_and (line 240) | fn dont_flag_to_intents_and() { function fix_with_intents_and (line 248) | fn fix_with_intents_and() { function fix_by_intensive_purposes (line 259) | fn fix_by_intensive_purposes() { function fix_for_intense_and (line 268) | fn fix_for_intense_and() { function fix_in_intensive_purposes (line 277) | fn fix_in_intensive_purposes() { function fix_to_intense_and (line 286) | fn fix_to_intense_and() { function dont_flag_for_basically_all_intents_and_purposes (line 297) | fn dont_flag_for_basically_all_intents_and_purposes() { function dont_flag_for_nearly_all_intents_and_purposes (line 305) | fn dont_flag_for_nearly_all_intents_and_purposes() { function dont_flag_for_pretty_much_all_intents_and_purposes (line 313) | fn dont_flag_for_pretty_much_all_intents_and_purposes() { function false_positive_for_99_percent_of_all_intents_and_purposes (line 324) | fn false_positive_for_99_percent_of_all_intents_and_purposes() { function false_positive_for_us_constitution_space (line 334) | fn false_positive_for_us_constitution_space() { function false_positive_for_us_constitution_line_break (line 343) | fn false_positive_for_us_constitution_line_break() { FILE: harper-core/src/linting/allow_to.rs type AllowTo (line 7) | pub struct AllowTo { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 50) | fn description(&self) -> &'static str { function flag_allow_to (line 61) | fn flag_allow_to() { function flag_allowing_to (line 70) | fn flag_allowing_to() { function flag_allows_to (line 79) | fn flag_allows_to() { function dont_flag_allowed_to (line 88) | fn dont_flag_allowed_to() { function dont_flag_allow_pronoun_to (line 96) | fn dont_flag_allow_pronoun_to() { function dont_flag_allow_noun_to (line 104) | fn dont_flag_allow_noun_to() { function dont_flag_allow_np_to (line 112) | fn dont_flag_allow_np_to() { FILE: harper-core/src/linting/am_in_the_morning.rs type AmInTheMorning (line 9) | pub struct AmInTheMorning { method default (line 14) | fn default() -> Self { type Unit (line 44) | type Unit = Chunk; method expr (line 46) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 50) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 70) | fn description(&self) -> &'static str { function flag_at_4am_in_the_morning (line 81) | fn flag_at_4am_in_the_morning() { function fix_at_4am_in_the_morning (line 86) | fn fix_at_4am_in_the_morning() { function flag_at_4_am_in_the_morning (line 91) | fn flag_at_4_am_in_the_morning() { function fix_at_4_am_in_the_morning (line 96) | fn fix_at_4_am_in_the_morning() { function flag_at_4am_in_the_morning_caps (line 105) | fn flag_at_4am_in_the_morning_caps() { function fix_at_4am_in_the_morning_caps (line 110) | fn fix_at_4am_in_the_morning_caps() { function flag_at_4_am_in_the_morning_caps (line 115) | fn flag_at_4_am_in_the_morning_caps() { function fix_at_4_am_in_the_morning_caps (line 120) | fn fix_at_4_am_in_the_morning_caps() { function at_4_a_dot_m_dot_in_the_morning (line 129) | fn at_4_a_dot_m_dot_in_the_morning() { function fix_at_4_a_dot_m_dot_in_the_morning (line 134) | fn fix_at_4_a_dot_m_dot_in_the_morning() { function fix_real_world_1_am_in_the_morning (line 145) | fn fix_real_world_1_am_in_the_morning() { function fix_real_world_3am_in_the_morning (line 159) | fn fix_real_world_3am_in_the_morning() { function fix_real_world_3am_at_night (line 173) | fn fix_real_world_3am_at_night() { function fix_real_world_9pm_at_night (line 187) | fn fix_real_world_9pm_at_night() { function fix_real_world_3_30_am_in_the_morning (line 201) | fn fix_real_world_3_30_am_in_the_morning() { function fix_real_world_5_pm_in_the_afternoon_caps_dots (line 215) | fn fix_real_world_5_pm_in_the_afternoon_caps_dots() { function fix_real_world_5_pm_in_the_afternoon_caps (line 229) | fn fix_real_world_5_pm_in_the_afternoon_caps() { function fix_real_world_6_pm_in_the_evening (line 243) | fn fix_real_world_6_pm_in_the_evening() { function fix_real_world_4_am_in_the_morning (line 257) | fn fix_real_world_4_am_in_the_morning() { FILE: harper-core/src/linting/amounts_for.rs type AmountsFor (line 9) | pub struct AmountsFor { method default (line 14) | fn default() -> Self { type Unit (line 36) | type Unit = Chunk; method expr (line 38) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 42) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 90) | fn description(&self) -> &str { function corrects_that_amounts_for_to_amounts_to_entire_value (line 101) | fn corrects_that_amounts_for_to_amounts_to_entire_value() { function corrects_that_amounts_for_to_amounts_to_percent (line 110) | fn corrects_that_amounts_for_to_amounts_to_percent() { function corrects_that_amounts_for_to_accounts_for_setting_up (line 119) | fn corrects_that_amounts_for_to_accounts_for_setting_up() { function corrects_which_amounts_for_to_accounts_for_16k (line 128) | fn corrects_which_amounts_for_to_accounts_for_16k() { function corrects_this_amounts_for_to_accounts_for_large_part (line 137) | fn corrects_this_amounts_for_to_accounts_for_large_part() { function corrects_they_amount_for_to_amount_to_16kb (line 146) | fn corrects_they_amount_for_to_amount_to_16kb() { function corrects_which_amounts_for_to_amounts_to_10_minutes (line 155) | fn corrects_which_amounts_for_to_amounts_to_10_minutes() { function corrects_it_amounts_for_to_amounts_to_redefinition (line 164) | fn corrects_it_amounts_for_to_amounts_to_redefinition() { function corrects_they_amount_for_to_amount_to_nothing (line 173) | fn corrects_they_amount_for_to_amount_to_nothing() { function would_amount_for_to_amount_to_api_requests (line 182) | fn would_amount_for_to_amount_to_api_requests() { function will_amount_for_to_amount_to_relationships (line 191) | fn will_amount_for_to_amount_to_relationships() { function should_amount_for_to_amount_to_half_pack (line 200) | fn should_amount_for_to_amount_to_half_pack() { function can_amount_for_to_amount_to_draw_calls (line 209) | fn can_amount_for_to_amount_to_draw_calls() { FILE: harper-core/src/linting/an_a.rs type AnA (line 8) | pub struct AnA { method new (line 13) | pub fn new(dialect: Dialect) -> Self { method lint (line 19) | fn lint(&mut self, document: &Document) -> Vec { method description (line 89) | fn description(&self) -> &'static str { function detects_html_as_vowel (line 101) | fn detects_html_as_vowel() { function detects_llm_as_vowel (line 106) | fn detects_llm_as_vowel() { function detects_llm_hyphen_as_vowel (line 111) | fn detects_llm_hyphen_as_vowel() { function detects_euler_as_vowel (line 120) | fn detects_euler_as_vowel() { function capitalized_fourier (line 130) | fn capitalized_fourier() { function once_over (line 139) | fn once_over() { function issue_196 (line 144) | fn issue_196() { function allows_lowercase_vowels (line 153) | fn allows_lowercase_vowels() { function allows_lowercase_consonants (line 158) | fn allows_lowercase_consonants() { function disallows_lowercase_vowels (line 163) | fn disallows_lowercase_vowels() { function disallows_lowercase_consonants (line 168) | fn disallows_lowercase_consonants() { function allows_uppercase_vowels (line 173) | fn allows_uppercase_vowels() { function allows_uppercase_consonants (line 178) | fn allows_uppercase_consonants() { function disallows_uppercase_vowels (line 183) | fn disallows_uppercase_vowels() { function disallows_uppercase_consonants (line 188) | fn disallows_uppercase_consonants() { function disallows_a_interface (line 193) | fn disallows_a_interface() { function allow_issue_751 (line 202) | fn allow_issue_751() { function allow_an_mp_and_an_mp3 (line 211) | fn allow_an_mp_and_an_mp3() { function disallow_a_mp_and_a_mp3 (line 216) | fn disallow_a_mp_and_a_mp3() { function recognize_acronyms (line 221) | fn recognize_acronyms() { function dont_misrecognize_as_acronym (line 248) | fn dont_misrecognize_as_acronym() { function a_udev (line 257) | fn a_udev() { function an_mdns (line 262) | fn an_mdns() { function an_rflink (line 267) | fn an_rflink() { function an_ffmpeg (line 272) | fn an_ffmpeg() { function a_honey (line 281) | fn a_honey() { function an_onedrive (line 286) | fn an_onedrive() { function a_ubiquiti (line 291) | fn a_ubiquiti() { function an_honest (line 300) | fn an_honest() { function dont_flag_an_herb_for_american (line 305) | fn dont_flag_an_herb_for_american() { function dont_flag_a_herb_for_british (line 310) | fn dont_flag_a_herb_for_british() { function correct_an_herb_for_australian (line 315) | fn correct_an_herb_for_australian() { function correct_a_herb_for_canadian (line 320) | fn correct_a_herb_for_canadian() { function dont_flag_a_sql (line 325) | fn dont_flag_a_sql() { function dont_flag_an_sql (line 330) | fn dont_flag_an_sql() { function allow_an_and_a_for_led_2550 (line 335) | fn allow_an_and_a_for_led_2550() { FILE: harper-core/src/linting/and_in.rs type AndIn (line 6) | pub struct AndIn { method default (line 11) | fn default() -> Self { type Unit (line 19) | type Unit = Chunk; method expr (line 21) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 25) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 42) | fn description(&self) -> &str { function dont_flag_an_in_house (line 53) | fn dont_flag_an_in_house() { function dont_flag_an_in_memory (line 61) | fn dont_flag_an_in_memory() { function dont_flag_an_in_the_moment (line 69) | fn dont_flag_an_in_the_moment() { function fix_an_in_to_and_in (line 77) | fn fix_an_in_to_and_in() { function dont_flag_an_in_with_company (line 87) | fn dont_flag_an_in_with_company() { FILE: harper-core/src/linting/and_the_like.rs type AndTheLike (line 8) | pub struct AndTheLike { method default (line 13) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method expr (line 41) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 45) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 68) | fn description(&self) -> &str { function dont_flag_and_the_like (line 79) | fn dont_flag_and_the_like() { function dont_flag_or_the_like (line 87) | fn dont_flag_or_the_like() { function flag_an_the_likes (line 95) | fn flag_an_the_likes() { function flag_and_alike (line 104) | fn flag_and_alike() { function flag_and_alikes (line 113) | fn flag_and_alikes() { function flag_and_the_alike (line 122) | fn flag_and_the_alike() { function flag_and_the_likes (line 131) | fn flag_and_the_likes() { function flag_or_alike (line 140) | fn flag_or_alike() { function flag_or_alikes (line 149) | fn flag_or_alikes() { function flag_or_the_likes (line 158) | fn flag_or_the_likes() { FILE: harper-core/src/linting/another_thing_coming.rs type AnotherThingComing (line 9) | pub struct AnotherThingComing { method default (line 14) | fn default() -> Self { type Unit (line 23) | type Unit = Chunk; method expr (line 25) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 29) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 42) | fn description(&self) -> &str { function fix_have_another_think_coming (line 53) | fn fix_have_another_think_coming() { function fix_has_another_think_coming (line 62) | fn fix_has_another_think_coming() { function fix_got_another_think_coming (line 72) | fn fix_got_another_think_coming() { function fix_had_another_think_coming (line 81) | fn fix_had_another_think_coming() { FILE: harper-core/src/linting/another_think_coming.rs type AnotherThinkComing (line 9) | pub struct AnotherThinkComing { method default (line 14) | fn default() -> Self { type Unit (line 23) | type Unit = Chunk; method expr (line 25) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 29) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 42) | fn description(&self) -> &str { function fix_got_another_thing_coming (line 53) | fn fix_got_another_thing_coming() { function fix_has_another_thing_coming (line 62) | fn fix_has_another_thing_coming() { function fix_have_another_thing_coming (line 71) | fn fix_have_another_thing_coming() { function fix_had_another_thing_coming (line 80) | fn fix_had_another_thing_coming() { FILE: harper-core/src/linting/apart_from.rs type ApartFrom (line 7) | pub struct ApartFrom { method default (line 12) | fn default() -> Self { type Unit (line 22) | type Unit = Chunk; method expr (line 24) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 28) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 43) | fn description(&self) -> &'static str { function corrects_basic_typo (line 54) | fn corrects_basic_typo() { function corrects_title_case (line 63) | fn corrects_title_case() { function corrects_all_caps (line 72) | fn corrects_all_caps() { function corrects_with_comma (line 81) | fn corrects_with_comma() { function corrects_with_newline (line 90) | fn corrects_with_newline() { function corrects_extra_spacing (line 99) | fn corrects_extra_spacing() { function allows_correct_phrase (line 108) | fn allows_correct_phrase() { function ignores_hyphenated (line 117) | fn ignores_hyphenated() { function ignores_split_by_comma (line 126) | fn ignores_split_by_comma() { function ignores_unrelated_form_usage (line 135) | fn ignores_unrelated_form_usage() { FILE: harper-core/src/linting/ask_no_preposition.rs type AskNoPreposition (line 10) | pub struct AskNoPreposition { method default (line 15) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 39) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 58) | fn description(&self) -> &str { function flags_ask (line 69) | fn flags_ask() { function flags_ask_all_caps (line 78) | fn flags_ask_all_caps() { function flags_tell (line 87) | fn flags_tell() { function ignores_correct_usage (line 96) | fn ignores_correct_usage() { function flags_ask_us (line 105) | fn flags_ask_us() { function flags_asks_him (line 114) | fn flags_asks_him() { function flags_asked_me (line 123) | fn flags_asked_me() { function flags_told_one (line 132) | fn flags_told_one() { function flags_telling_it (line 141) | fn flags_telling_it() { function flags_tells_them (line 150) | fn flags_tells_them() { function flags_telling_him (line 159) | fn flags_telling_him() { function flags_asking_you (line 168) | fn flags_asking_you() { function ignores_ask_question (line 177) | fn ignores_ask_question() { function ignores_told_to_leave (line 186) | fn ignores_told_to_leave() { function ignores_tell_us (line 195) | fn ignores_tell_us() { function ignores_ask_about (line 200) | fn ignores_ask_about() { FILE: harper-core/src/linting/avoid_curses.rs type AvoidCurses (line 8) | pub struct AvoidCurses { method default (line 13) | fn default() -> Self { type Unit (line 21) | type Unit = Chunk; method expr (line 23) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 27) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 246) | fn description(&self) -> &'static str { function detects_shit (line 257) | fn detects_shit() { function fix_shit (line 266) | fn fix_shit() { function fix_shit_titlecase (line 271) | fn fix_shit_titlecase() { function fix_shit_allcaps (line 276) | fn fix_shit_allcaps() { function fix_f_word_to_all_asterisks (line 281) | fn fix_f_word_to_all_asterisks() { function fix_shit_with_single_asterisk (line 290) | fn fix_shit_with_single_asterisk() { function fix_shite_all_caps_with_single_asterisk (line 295) | fn fix_shite_all_caps_with_single_asterisk() { FILE: harper-core/src/linting/back_in_the_day.rs type BackInTheDay (line 14) | pub struct BackInTheDay { method default (line 21) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 44) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 66) | fn description(&self) -> &'static str { function detects_gem_update_case (line 77) | fn detects_gem_update_case() { function detects_install_case (line 86) | fn detects_install_case() { function detects_composer_json_case (line 95) | fn detects_composer_json_case() { function detects_version_release_case (line 104) | fn detects_version_release_case() { function avoids_false_positive_springfox (line 113) | fn avoids_false_positive_springfox() { function avoids_false_positive_ie (line 122) | fn avoids_false_positive_ie() { function avoids_false_positive_code_usage (line 131) | fn avoids_false_positive_code_usage() { function catches_uppercase (line 139) | fn catches_uppercase() { function catches_lowercase (line 148) | fn catches_lowercase() { function doesnt_catch_false_positive_of (line 157) | fn doesnt_catch_false_positive_of() { function doesnt_catch_false_positive_when (line 166) | fn doesnt_catch_false_positive_when() { function catches_comma_when (line 175) | fn catches_comma_when() { function doesnt_catch_false_positive_before (line 184) | fn doesnt_catch_false_positive_before() { function catches_comma_before (line 193) | fn catches_comma_before() { function doesnt_catch_qualified_days (line 202) | fn doesnt_catch_qualified_days() { FILE: harper-core/src/linting/be_allowed.rs type BeAllowed (line 8) | pub struct BeAllowed { method default (line 13) | fn default() -> Self { type Unit (line 47) | type Unit = Chunk; method expr (line 49) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 53) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 71) | fn description(&self) -> &'static str { function corrects_basic_sentence (line 83) | fn corrects_basic_sentence() { function corrects_first_person_subject (line 92) | fn corrects_first_person_subject() { function corrects_plural_subject (line 101) | fn corrects_plural_subject() { function corrects_with_intro_clause (line 110) | fn corrects_with_intro_clause() { function corrects_contracted_form (line 119) | fn corrects_contracted_form() { function corrects_all_caps (line 128) | fn corrects_all_caps() { function corrects_with_trailing_clause (line 137) | fn corrects_with_trailing_clause() { function corrects_with_modal_context (line 146) | fn corrects_with_modal_context() { function leaves_correct_phrase_untouched (line 155) | fn leaves_correct_phrase_untouched() { function leaves_other_verbs_alone (line 164) | fn leaves_other_verbs_alone() { function leaves_similar_sequence_without_to (line 173) | fn leaves_similar_sequence_without_to() { FILE: harper-core/src/linting/be_worried.rs type BeWorried (line 11) | pub struct BeWorried { method default (line 16) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 44) | fn match_to_lint_with_context( method description (line 74) | fn description(&self) -> &'static str { function he_is (line 88) | fn he_is() { function he_was (line 97) | fn he_was() { function i_am (line 106) | fn i_am() { function i_was (line 115) | fn i_was() { function i_were (line 124) | fn i_were() { function they_are (line 133) | fn they_are() { function theyre_worry (line 142) | fn theyre_worry() { function we_are (line 151) | fn we_are() { function were (line 160) | fn were() { function you_are (line 169) | fn you_are() { function youre (line 178) | fn youre() { function dont_flag_it_is (line 187) | fn dont_flag_it_is() { function dont_flag_it_was (line 195) | fn dont_flag_it_was() { function dont_flag_she_was_worry_free (line 203) | fn dont_flag_she_was_worry_free() { function dont_flag_theyre_worry_free (line 208) | fn dont_flag_theyre_worry_free() { function dont_flag_worry_warts (line 216) | fn dont_flag_worry_warts() { function dont_flag_were_worry_space_free (line 224) | fn dont_flag_were_worry_space_free() { function cant_fix_edge_case_yet (line 233) | fn cant_fix_edge_case_yet() { FILE: harper-core/src/linting/behind_the_scenes.rs type BehindTheScenes (line 7) | pub struct BehindTheScenes { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method description (line 26) | fn description(&self) -> &str { method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 34) | fn match_to_lint_with_context( function pluralize_work_bts (line 69) | fn pluralize_work_bts() { function pluralize_and_hyphenate (line 79) | fn pluralize_and_hyphenate() { function dont_flag_when_hyphenated_to_previous_word (line 88) | fn dont_flag_when_hyphenated_to_previous_word() { function pluralize_bts_processing (line 96) | fn pluralize_bts_processing() { FILE: harper-core/src/linting/best_of_all_time.rs type BestOfAllTime (line 5) | pub struct BestOfAllTime { method default (line 10) | fn default() -> Self { type Unit (line 44) | type Unit = Sentence; method expr (line 46) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 50) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 66) | fn description(&self) -> &'static str { function dont_flag_list_of_all_times (line 78) | fn dont_flag_list_of_all_times() { function fix_after_best (line 87) | fn fix_after_best() { function fix_after_greatest (line 96) | fn fix_after_greatest() { function fix_after_biggest (line 105) | fn fix_after_biggest() { function fix_after_most_influential (line 114) | fn fix_after_most_influential() { function dont_flag_sum_of_all_times (line 123) | fn dont_flag_sum_of_all_times() { function dont_flag_history_stacks_of_all_times (line 132) | fn dont_flag_history_stacks_of_all_times() { function fix_after_favorite (line 141) | fn fix_after_favorite() { function fix_after_favourite (line 150) | fn fix_after_favourite() { function fix_top_out_of_vocabulary (line 159) | fn fix_top_out_of_vocabulary() { function fix_compound_noun (line 168) | fn fix_compound_noun() { function fix_containing_commas (line 177) | fn fix_containing_commas() { FILE: harper-core/src/linting/boring_words.rs type BoringWords (line 10) | pub struct BoringWords { method default (line 15) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 54) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/bought.rs type Bought (line 7) | pub struct Bought { method is_subject_pronoun_like (line 52) | fn is_subject_pronoun_like(token: &Token, source: &[char]) -> bool { method default (line 12) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &'static str { function corrects_he_bough (line 81) | fn corrects_he_bough() { function corrects_she_never_bough (line 90) | fn corrects_she_never_bough() { function corrects_they_already_bough (line 99) | fn corrects_they_already_bough() { function corrects_we_have_bough (line 108) | fn corrects_we_have_bough() { function corrects_they_have_never_bough (line 117) | fn corrects_they_have_never_bough() { function corrects_ive_bough (line 126) | fn corrects_ive_bough() { function corrects_wed_bough (line 135) | fn corrects_wed_bough() { function no_lint_for_tree_bough (line 144) | fn no_lint_for_tree_bough() { function no_lint_for_he_bought (line 149) | fn no_lint_for_he_bought() { function no_lint_for_plural_boughs (line 154) | fn no_lint_for_plural_boughs() { FILE: harper-core/src/linting/brand_brandish.rs type BrandBrandish (line 7) | pub struct BrandBrandish { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 66) | fn description(&self) -> &str { function correct_brandish_a_traitor (line 76) | fn correct_brandish_a_traitor() { function correct_brandish_a_criminal (line 85) | fn correct_brandish_a_criminal() { function correct_brandish_as_a (line 94) | fn correct_brandish_as_a() { function correct_brandish_an_offender (line 103) | fn correct_brandish_an_offender() { function correct_brandish_with_nicknames (line 112) | fn correct_brandish_with_nicknames() { function correct_brandish_as_a_aymbol (line 121) | fn correct_brandish_as_a_aymbol() { function correct_brandish_as_illegal (line 130) | fn correct_brandish_as_illegal() { function correct_brandish_with_nickname (line 139) | fn correct_brandish_with_nickname() { function correct_brandish_with_label (line 148) | fn correct_brandish_with_label() { function correct_brandished_us (line 157) | fn correct_brandished_us() { function correct_brandishing_him (line 166) | fn correct_brandishing_him() { function correct_brandish_us (line 175) | fn correct_brandish_us() { function correct_brandished_him (line 184) | fn correct_brandished_him() { function correct_brandishes_him (line 193) | fn correct_brandishes_him() { FILE: harper-core/src/linting/by_accident.rs type ByAccident (line 12) | pub struct ByAccident { method default (line 17) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method description (line 35) | fn description(&self) -> &str { method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function fix_on_accident (line 66) | fn fix_on_accident() { function fix_on_complete_accident (line 75) | fn fix_on_complete_accident() { function fix_on_happy_accident (line 84) | fn fix_on_happy_accident() { function fix_on_literal_accident (line 93) | fn fix_on_literal_accident() { function fix_on_mere_accident (line 102) | fn fix_on_mere_accident() { function fix_on_pure_accident (line 111) | fn fix_on_pure_accident() { function fix_on_sheer_accident (line 120) | fn fix_on_sheer_accident() { function fix_on_total_accident (line 129) | fn fix_on_total_accident() { FILE: harper-core/src/linting/call_them.rs type CallThem (line 10) | pub struct CallThem { method default (line 15) | fn default() -> Self { type Unit (line 45) | type Unit = Chunk; method expr (line 47) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 51) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 64) | fn description(&self) -> &'static str { function prefer_plug_and_receptacle (line 78) | fn prefer_plug_and_receptacle() { function builtins_id (line 87) | fn builtins_id() { function non_modal_dialogue (line 96) | fn non_modal_dialogue() { function prefer_to_call_them (line 105) | fn prefer_to_call_them() { function called_them_allies (line 114) | fn called_them_allies() { function character_development (line 123) | fn character_development() { function fate_or_time (line 132) | fn fate_or_time() { function abstract_latte_art (line 141) | fn abstract_latte_art() { function sounding_boards (line 150) | fn sounding_boards() { function calling_them_disaster (line 159) | fn calling_them_disaster() { function battle_of_boxes (line 168) | fn battle_of_boxes() { function called_her_shinnasan (line 177) | fn called_her_shinnasan() { function calling_it_otp (line 186) | fn calling_it_otp() { function call_it_procrastination (line 195) | fn call_it_procrastination() { function call_her_important (line 204) | fn call_her_important() { function call_him_kindles (line 213) | fn call_him_kindles() { function call_them_defenders (line 222) | fn call_them_defenders() { function call_it_magical (line 231) | fn call_it_magical() { function forward_lateral (line 240) | fn forward_lateral() { function calling_best_friend (line 249) | fn calling_best_friend() { function calling_everyone_titles (line 258) | fn calling_everyone_titles() { function called_as_he (line 267) | fn called_as_he() { function calls_him_bob (line 276) | fn calls_him_bob() { function pliny_called_it (line 285) | fn pliny_called_it() { function students_call_you (line 294) | fn students_call_you() { function paradoxical_reaction (line 303) | fn paradoxical_reaction() { function rust_module (line 312) | fn rust_module() { function want_to_do (line 320) | fn want_to_do() { FILE: harper-core/src/linting/cant.rs type Cant (line 9) | pub struct Cant { method default (line 14) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 60) | fn description(&self) -> &'static str { function corrects_pronoun_cant (line 71) | fn corrects_pronoun_cant() { function corrects_proper_noun_cant (line 80) | fn corrects_proper_noun_cant() { function corrects_common_noun_cant (line 89) | fn corrects_common_noun_cant() { function corrects_cant_pronoun (line 99) | fn corrects_cant_pronoun() { function dont_flag_if_cant_is_part_of_noun_phrase (line 108) | fn dont_flag_if_cant_is_part_of_noun_phrase() { function dont_flag_cant_project (line 113) | fn dont_flag_cant_project() { function corrects_cant_verb (line 123) | fn corrects_cant_verb() { function dont_flag_legit_noun_sense (line 132) | fn dont_flag_legit_noun_sense() { FILE: harper-core/src/linting/capitalize_personal_pronouns.rs type CapitalizePersonalPronouns (line 7) | pub struct CapitalizePersonalPronouns; method lint (line 10) | fn lint(&mut self, document: &crate::Document) -> Vec { method description (line 42) | fn description(&self) -> &'static str { function start (line 54) | fn start() { function end (line 59) | fn end() { function middle (line 68) | fn middle() { function issue_365 (line 77) | fn issue_365() { function corrects_id (line 86) | fn corrects_id() { function correct_real_world_id (line 91) | fn correct_real_world_id() { function corrects_idve (line 100) | fn corrects_idve() { function correct_real_world_idve (line 105) | fn correct_real_world_idve() { function corrects_ill (line 114) | fn corrects_ill() { function correct_real_world_ill (line 119) | fn correct_real_world_ill() { function corrects_im (line 128) | fn corrects_im() { function correct_real_world_im (line 133) | fn correct_real_world_im() { function corrects_ive (line 142) | fn corrects_ive() { function correct_real_world_ive (line 147) | fn correct_real_world_ive() { FILE: harper-core/src/linting/cautionary_tale.rs type CautionaryTale (line 11) | pub struct CautionaryTale { method default (line 16) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 48) | fn description(&self) -> &'static str { function catches_cautionary_tail (line 59) | fn catches_cautionary_tail() { function catches_inspirational_tail (line 68) | fn catches_inspirational_tail() { function catches_capitalized_cautionary_tail (line 77) | fn catches_capitalized_cautionary_tail() { function catches_uppercase_cautionary_tail (line 86) | fn catches_uppercase_cautionary_tail() { function catches_mixed_case (line 95) | fn catches_mixed_case() { function allows_actual_tail (line 104) | fn allows_actual_tail() { function allows_different_adjective_with_tail (line 113) | fn allows_different_adjective_with_tail() { function allows_correct_tale (line 118) | fn allows_correct_tale() { function allows_inspirational_tale (line 127) | fn allows_inspirational_tale() { function catches_in_longer_text (line 136) | fn catches_in_longer_text() { function catches_multiple_occurrences (line 145) | fn catches_multiple_occurrences() { function allows_tail_in_different_context (line 154) | fn allows_tail_in_different_context() { function catches_at_start_of_sentence (line 163) | fn catches_at_start_of_sentence() { FILE: harper-core/src/linting/change_tack.rs type ChangeTack (line 8) | pub struct ChangeTack { method default (line 13) | fn default() -> Self { type Unit (line 40) | type Unit = Chunk; method expr (line 42) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 46) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 63) | fn description(&self) -> &'static str { function change_tact_atomic (line 76) | fn change_tact_atomic() { function changed_tacks_atomic (line 81) | fn changed_tacks_atomic() { function changes_tacts_atomic (line 86) | fn changes_tacts_atomic() { function changing_tact_atomic (line 91) | fn changing_tact_atomic() { function change_of_tacks_atomic (line 98) | fn change_of_tacks_atomic() { function change_of_tact_real_world (line 103) | fn change_of_tact_real_world() { function change_of_tacts_real_world (line 112) | fn change_of_tacts_real_world() { function changing_of_tacks_real_world (line 121) | fn changing_of_tacks_real_world() { function changes_of_tact_real_world (line 130) | fn changes_of_tact_real_world() { function changed_my_tact (line 141) | fn changed_my_tact() { function changed_our_tact (line 150) | fn changed_our_tact() { function change_your_tact (line 159) | fn change_your_tact() { function change_his_tact (line 168) | fn change_his_tact() { function changed_her_tact (line 177) | fn changed_her_tact() { function change_its_tact (line 186) | fn change_its_tact() { function changing_its_tact_apostrophe (line 195) | fn changing_its_tact_apostrophe() { function changes_their_tact (line 204) | fn changes_their_tact() { function different_tact (line 213) | fn different_tact() { FILE: harper-core/src/linting/chock_full.rs type ChockFull (line 8) | pub struct ChockFull { method default (line 13) | fn default() -> Self { type Unit (line 21) | type Unit = Chunk; method expr (line 23) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 27) | fn match_to_lint(&self, matched_toks: &[Token], source: &[char]) -> Opti... method description (line 49) | fn description(&self) -> &'static str { function allows_correct_form (line 60) | fn allows_correct_form() { function lower_space_chalk (line 69) | fn lower_space_chalk() { function lower_space_choke (line 78) | fn lower_space_choke() { function upper_space_chalk (line 87) | fn upper_space_chalk() { function upper_space_choke (line 96) | fn upper_space_choke() { function lower_hyphen_chalk (line 105) | fn lower_hyphen_chalk() { function lower_hyphen_choke (line 114) | fn lower_hyphen_choke() { function upper_hyphen_chalk (line 123) | fn upper_hyphen_chalk() { function upper_hyphen_choke (line 132) | fn upper_hyphen_choke() { FILE: harper-core/src/linting/closed_compounds.rs function lint_group (line 5) | pub fn lint_group() -> LintGroup { function it_self (line 96) | fn it_self() { function my_self (line 103) | fn my_self() { function there_fore (line 110) | fn there_fore() { function mis_understood (line 117) | fn mis_understood() { function mis_use (line 124) | fn mis_use() { function mis_used (line 131) | fn mis_used() { function world_wide (line 138) | fn world_wide() { function over_all (line 145) | fn over_all() { function how_ever (line 152) | fn how_ever() { function wide_spread (line 159) | fn wide_spread() { function not_with_standing (line 166) | fn not_with_standing() { function any_how (line 173) | fn any_how() { function none_the_less (line 180) | fn none_the_less() { function there_upon (line 187) | fn there_upon() { function in_so_far (line 194) | fn in_so_far() { function where_upon (line 201) | fn where_upon() { function up_ward (line 208) | fn up_ward() { function hence_forth (line 215) | fn hence_forth() { function regard_less (line 222) | fn regard_less() { function over_night (line 229) | fn over_night() { function by_pass (line 236) | fn by_pass() { function dead_lift (line 243) | fn dead_lift() { function chalk_board (line 250) | fn chalk_board() { function key_stoke (line 257) | fn key_stoke() { function in_tact (line 264) | fn in_tact() { function intact_is_allowed (line 271) | fn intact_is_allowed() { function key_stokes (line 276) | fn key_stokes() { function with_out (line 283) | fn with_out() { function the_re (line 290) | fn the_re() { function short_coming (line 297) | fn short_coming() { function short_comings (line 304) | fn short_comings() { FILE: harper-core/src/linting/comma_fixes.rs constant MSG_SPACE_BEFORE (line 8) | const MSG_SPACE_BEFORE: &str = "Don't use a space before a comma."; constant MSG_AVOID_ASIAN (line 9) | const MSG_AVOID_ASIAN: &str = "Avoid East Asian commas in English contex... constant MSG_SPACE_AFTER (line 10) | const MSG_SPACE_AFTER: &str = "Use a space after a comma."; type CommaFixes (line 22) | pub struct CommaFixes; method lint (line 25) | fn lint(&mut self, document: &crate::Document) -> Vec { method description (line 113) | fn description(&self) -> &'static str { function allows_english_comma_atomic (line 124) | fn allows_english_comma_atomic() { function flags_fullwidth_comma_atomic (line 129) | fn flags_fullwidth_comma_atomic() { function flags_ideographic_comma_atomic (line 134) | fn flags_ideographic_comma_atomic() { function corrects_fullwidth_comma_real_world (line 139) | fn corrects_fullwidth_comma_real_world() { function corrects_ideographic_comma_real_world (line 148) | fn corrects_ideographic_comma_real_world() { function doesnt_flag_comma_space_between_words (line 153) | fn doesnt_flag_comma_space_between_words() { function flags_fullwidth_comma_space_between_words (line 158) | fn flags_fullwidth_comma_space_between_words() { function flags_ideographic_comma_space_between_words (line 163) | fn flags_ideographic_comma_space_between_words() { function doesnt_flag_semicolon_space_between_words (line 168) | fn doesnt_flag_semicolon_space_between_words() { function corrects_comma_between_words_with_no_space (line 173) | fn corrects_comma_between_words_with_no_space() { function corrects_asian_comma_between_words_with_no_space (line 178) | fn corrects_asian_comma_between_words_with_no_space() { function corrects_space_on_wrong_side_of_comma_between_words (line 183) | fn corrects_space_on_wrong_side_of_comma_between_words() { function corrects_comma_on_wrong_side_of_asian_comma_between_words (line 188) | fn corrects_comma_on_wrong_side_of_asian_comma_between_words() { function corrects_comma_between_words_with_space_on_both_sides (line 193) | fn corrects_comma_between_words_with_space_on_both_sides() { function corrects_asian_comma_between_words_with_space_on_both_sides (line 198) | fn corrects_asian_comma_between_words_with_space_on_both_sides() { function doesnt_correct_comma_between_non_english_tokens (line 203) | fn doesnt_correct_comma_between_non_english_tokens() { function issue_2233 (line 208) | fn issue_2233() { FILE: harper-core/src/linting/compound_nouns/compound_noun_after_det_adj.rs type CompoundNounAfterDetAdj (line 15) | pub struct CompoundNounAfterDetAdj { method default (line 26) | fn default() -> Self { type Unit (line 52) | type Unit = Chunk; method expr (line 54) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 58) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 87) | fn description(&self) -> &str { FILE: harper-core/src/linting/compound_nouns/compound_noun_after_possessive.rs type CompoundNounAfterPossessive (line 19) | pub struct CompoundNounAfterPossessive { method default (line 25) | fn default() -> Self { type Unit (line 50) | type Unit = Chunk; method expr (line 52) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 56) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 86) | fn description(&self) -> &str { function lets_is_not_possessive (line 97) | fn lets_is_not_possessive() { function lets_is_not_possessive_typographic_apostrophe (line 106) | fn lets_is_not_possessive_typographic_apostrophe() { function thats_is_not_possessive (line 115) | fn thats_is_not_possessive() { FILE: harper-core/src/linting/compound_nouns/compound_noun_before_aux_verb.rs type CompoundNounBeforeAuxVerb (line 13) | pub struct CompoundNounBeforeAuxVerb { method default (line 19) | fn default() -> Self { type Unit (line 41) | type Unit = Chunk; method expr (line 43) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 47) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 68) | fn description(&self) -> &str { FILE: harper-core/src/linting/compound_nouns/mod.rs function is_content_word (line 9) | pub(crate) fn is_content_word(tok: &Token, src: &[char]) -> bool { function predicate (line 20) | pub(crate) fn predicate( function web_cam (line 39) | fn web_cam() { function note_book (line 46) | fn note_book() { function mother_board (line 53) | fn mother_board() { function smart_phone (line 60) | fn smart_phone() { function firm_ware (line 67) | fn firm_ware() { function back_plane (line 74) | fn back_plane() { function spread_sheet (line 81) | fn spread_sheet() { function side_bar (line 88) | fn side_bar() { function back_pack (line 95) | fn back_pack() { function cup_board (line 102) | fn cup_board() { function key_board (line 109) | fn key_board() { function touch_screen (line 116) | fn touch_screen() { function head_set (line 123) | fn head_set() { function frame_work (line 130) | fn frame_work() { function touch_pad (line 137) | fn touch_pad() { function micro_processor (line 144) | fn micro_processor() { function head_phone (line 151) | fn head_phone() { function micro_services (line 158) | fn micro_services() { function dash_board (line 165) | fn dash_board() { function site_map (line 172) | fn site_map() { function fire_wall (line 179) | fn fire_wall() { function bit_stream (line 186) | fn bit_stream() { function block_chain (line 193) | fn block_chain() { function thumb_nail (line 200) | fn thumb_nail() { function bath_room (line 207) | fn bath_room() { function every_one (line 215) | fn every_one() { function play_ground (line 222) | fn play_ground() { function run_way (line 229) | fn run_way() { function cyber_space (line 236) | fn cyber_space() { function cyber_attack (line 243) | fn cyber_attack() { function web_socket (line 250) | fn web_socket() { function finger_print (line 257) | fn finger_print() { function got_is_not_possessive (line 264) | fn got_is_not_possessive() { function allow_issue_662 (line 269) | fn allow_issue_662() { function allow_issue_661 (line 278) | fn allow_issue_661() { function allow_issue_704 (line 283) | fn allow_issue_704() { function allows_issue_721 (line 292) | fn allows_issue_721() { function allows_678 (line 301) | fn allows_678() { function ina_not_suggested (line 310) | fn ina_not_suggested() { function allow_suppress_or (line 319) | fn allow_suppress_or() { function allow_an_arm_and_a_leg (line 328) | fn allow_an_arm_and_a_leg() { function allow_well_and_723 (line 337) | fn allow_well_and_723() { function allow_can_not (line 346) | fn allow_can_not() { function dont_flag_lot_to (line 351) | fn dont_flag_lot_to() { function dont_flag_to_me (line 360) | fn dont_flag_to_me() { function allow_issue_1553 (line 369) | fn allow_issue_1553() { function allow_issue_1496 (line 377) | fn allow_issue_1496() { function allow_issue_1298 (line 385) | fn allow_issue_1298() { function dont_flag_project_or (line 393) | fn dont_flag_project_or() { FILE: harper-core/src/linting/compound_subject_i.rs constant POSSESSIVE_DETERMINERS (line 8) | const POSSESSIVE_DETERMINERS: &[&str] = &["my", "your", "her", "his", "t... type CompoundSubjectI (line 10) | pub struct CompoundSubjectI { method default (line 15) | fn default() -> Self { type Unit (line 42) | type Unit = Chunk; method expr (line 44) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 48) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 65) | fn description(&self) -> &'static str { function corrects_my_mother_and_me (line 76) | fn corrects_my_mother_and_me() { function corrects_my_brother_and_me (line 85) | fn corrects_my_brother_and_me() { function corrects_your_friend_and_me (line 94) | fn corrects_your_friend_and_me() { function corrects_her_manager_and_me (line 103) | fn corrects_her_manager_and_me() { function corrects_his_cat_and_me (line 112) | fn corrects_his_cat_and_me() { function corrects_their_kids_and_me (line 121) | fn corrects_their_kids_and_me() { function corrects_our_neighbor_and_me (line 130) | fn corrects_our_neighbor_and_me() { function corrects_with_quote_prefix (line 139) | fn corrects_with_quote_prefix() { function corrects_all_caps (line 148) | fn corrects_all_caps() { function ignores_between_you_and_me (line 157) | fn ignores_between_you_and_me() { function ignores_comma_after_me (line 166) | fn ignores_comma_after_me() { FILE: harper-core/src/linting/confident.rs type Confident (line 9) | pub struct Confident { method default (line 14) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 47) | fn description(&self) -> &'static str { function describing_person_incorrect (line 58) | fn describing_person_incorrect() { function describing_person_correct (line 67) | fn describing_person_correct() { function certainty_incorrect (line 76) | fn certainty_incorrect() { function certainty_correct (line 85) | fn certainty_correct() { function demeanor_incorrect (line 94) | fn demeanor_incorrect() { function demeanor_correct (line 103) | fn demeanor_correct() { function professional_incorrect (line 112) | fn professional_incorrect() { function professional_correct (line 121) | fn professional_correct() { function assured_tone_incorrect (line 130) | fn assured_tone_incorrect() { function assured_tone_correct (line 139) | fn assured_tone_correct() { function extra_text_between (line 148) | fn extra_text_between() { function linking_verb_was_confidant (line 157) | fn linking_verb_was_confidant() { FILE: harper-core/src/linting/correct_number_suffix.rs type CorrectNumberSuffix (line 7) | pub struct CorrectNumberSuffix; method lint (line 10) | fn lint(&mut self, document: &Document) -> Vec { method description (line 39) | fn description(&self) -> &'static str { function passes_correct_cases (line 50) | fn passes_correct_cases() { function detects_incorrect_cases (line 57) | fn detects_incorrect_cases() { FILE: harper-core/src/linting/criteria_phenomena.rs type CriteriaPhenomena (line 11) | pub struct CriteriaPhenomena { method new (line 18) | fn new() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 64) | fn description(&self) -> &'static str { method default (line 70) | fn default() -> Self { function can_detect_incorrect_criteria (line 81) | fn can_detect_incorrect_criteria() { function can_detect_incorrect_phenomena (line 90) | fn can_detect_incorrect_phenomena() { function allows_correct_criteria (line 99) | fn allows_correct_criteria() { function allows_correct_phenomena (line 108) | fn allows_correct_phenomena() { FILE: harper-core/src/linting/cure_for.rs type CureFor (line 9) | pub struct CureFor { method default (line 14) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 45) | fn description(&self) -> &str { function corrects_simple_cure_against (line 56) | fn corrects_simple_cure_against() { function corrects_plural_cures_against (line 65) | fn corrects_plural_cures_against() { function corrects_past_participle_cured_against (line 74) | fn corrects_past_participle_cured_against() { function corrects_uppercase_against (line 83) | fn corrects_uppercase_against() { function corrects_at_sentence_start (line 92) | fn corrects_at_sentence_start() { function does_not_flag_cure_for (line 101) | fn does_not_flag_cure_for() { function does_not_flag_cure_from (line 110) | fn does_not_flag_cure_from() { function does_not_flag_with_comma (line 119) | fn does_not_flag_with_comma() { function does_not_flag_unrelated_against (line 128) | fn does_not_flag_unrelated_against() { function does_not_flag_secure_against (line 137) | fn does_not_flag_secure_against() { FILE: harper-core/src/linting/currency_placement.rs type CurrencyPlacement (line 8) | pub struct CurrencyPlacement {} method lint (line 11) | fn lint(&mut self, document: &Document) -> Vec { method description (line 33) | fn description(&self) -> &str { function generate_lint_for_tokens (line 39) | fn generate_lint_for_tokens(a: &Token, b: &Token, document: &Document) -... function eof (line 72) | fn eof() { function blog_title_allows_correct (line 81) | fn blog_title_allows_correct() { function blog_title (line 86) | fn blog_title() { function blog_title_cents (line 95) | fn blog_title_cents() { function blog_title_with_space (line 104) | fn blog_title_with_space() { function multiple_dollar_markdown (line 113) | fn multiple_dollar_markdown() { function multiple_dollar_plain_english (line 122) | fn multiple_dollar_plain_english() { function multiple_pound (line 131) | fn multiple_pound() { function suffix (line 140) | fn suffix() { function seven_even_two_decimal_clean (line 149) | fn seven_even_two_decimal_clean() { FILE: harper-core/src/linting/damages.rs type Damages (line 22) | pub struct Damages { method default (line 27) | fn default() -> Self { type Unit (line 35) | type Unit = Sentence; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 41) | fn match_to_lint_with_context( method description (line 162) | fn description(&self) -> &str { function fix_robust_against_damages_by_prev_preposition (line 175) | fn fix_robust_against_damages_by_prev_preposition() { function fix_vehicle_damages_on_a_car_by_fall_through (line 184) | fn fix_vehicle_damages_on_a_car_by_fall_through() { function fix_damages_on_mangoes (line 193) | fn fix_damages_on_mangoes() { function fix_types_of_damages_of_roads (line 202) | fn fix_types_of_damages_of_roads() { function ignore_damages_in_lost_chance_cases (line 214) | fn ignore_damages_in_lost_chance_cases() { function ignore_claim_for_damages (line 222) | fn ignore_claim_for_damages() { function ignore_pay_damages (line 230) | fn ignore_pay_damages() { function ignore_damages_them (line 244) | fn ignore_damages_them() { function ignore_damages_firefox (line 252) | fn ignore_damages_firefox() { function ignore_damages_underlaying_windows (line 260) | fn ignore_damages_underlaying_windows() { function ignore_estimate_the_damages_and_the_damages_result (line 271) | fn ignore_estimate_the_damages_and_the_damages_result() { function ignore_damages_inference (line 281) | fn ignore_damages_inference() { function ignore_received_errors (line 290) | fn ignore_received_errors() { function ignore_asset_level_damages (line 299) | fn ignore_asset_level_damages() { FILE: harper-core/src/linting/dashes.rs constant EN_DASH (line 9) | const EN_DASH: char = '–'; constant EM_DASH (line 10) | const EM_DASH: char = '—'; type Dashes (line 12) | pub struct Dashes { method default (line 17) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 61) | fn description(&self) -> &'static str { function catches_en_dash (line 74) | fn catches_en_dash() { function catches_em_dash (line 83) | fn catches_em_dash() { function no_overlaps (line 92) | fn no_overlaps() { function no_lint_for_long_hyphen_sequences (line 97) | fn no_lint_for_long_hyphen_sequences() { FILE: harper-core/src/linting/day_and_age.rs type DayAndAge (line 7) | pub struct DayAndAge { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method description (line 28) | fn description(&self) -> &str { method expr (line 32) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 36) | fn match_to_lint_with_context( function allow_in_this_day_and_age (line 125) | fn allow_in_this_day_and_age() { function for_this_day_and_age_seems_to_be_acceptable (line 133) | fn for_this_day_and_age_seems_to_be_acceptable() { function at_this_day_and_age (line 143) | fn at_this_day_and_age() { function by_this_day_in_age (line 152) | fn by_this_day_in_age() { function in_these_day_and_age (line 161) | fn in_these_day_and_age() { function in_these_days_and_age (line 170) | fn in_these_days_and_age() { function in_these_days_in_age (line 179) | fn in_these_days_in_age() { function in_this_day_an_age (line 188) | fn in_this_day_an_age() { function in_this_day_and_ages (line 197) | fn in_this_day_and_ages() { function in_this_day_in_age (line 206) | fn in_this_day_in_age() { function in_this_days_and_age (line 215) | fn in_this_days_and_age() { function is_this_day_and_age_typo (line 224) | fn is_this_day_and_age_typo() { function it_this_day_and_age_typo (line 233) | fn it_this_day_and_age_typo() { function of_this_day_and_age (line 242) | fn of_this_day_and_age() { function to_this_day_and_age (line 251) | fn to_this_day_and_age() { function no_prep_this_day_in_age (line 260) | fn no_prep_this_day_in_age() { function no_prep_these_days_and_ages (line 269) | fn no_prep_these_days_and_ages() { function since_is_a_preposition_but_also_a_conjunction (line 278) | fn since_is_a_preposition_but_also_a_conjunction() { FILE: harper-core/src/linting/despite_it_is.rs type DespiteItIs (line 21) | pub struct DespiteItIs { method default (line 26) | fn default() -> Self { type Unit (line 41) | type Unit = Chunk; method description (line 43) | fn description(&self) -> &'static str { method expr (line 47) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 51) | fn match_to_lint_with_context( function despite_i_am (line 141) | fn despite_i_am() { function despite_it_is_available (line 154) | fn despite_it_is_available() { function despite_it_is_detected (line 168) | fn despite_it_is_detected() { function despite_i_am_in (line 182) | fn despite_i_am_in() { function despite_it_was_not (line 196) | fn despite_it_was_not() { function despite_we_are_using (line 210) | fn despite_we_are_using() { function despite_they_are_already (line 223) | fn despite_they_are_already() { function despite_it_was_removed (line 236) | fn despite_it_was_removed() { function ignore_despite_they_shouldnt (line 253) | fn ignore_despite_they_shouldnt() { function ignore_despite_i_was_playing (line 261) | fn ignore_despite_i_was_playing() { function ignore_despite_they_were_valid (line 274) | fn ignore_despite_they_were_valid() { FILE: harper-core/src/linting/despite_of.rs type DespiteOf (line 8) | pub struct DespiteOf { method default (line 13) | fn default() -> Self { type Unit (line 23) | type Unit = Chunk; method expr (line 25) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 29) | fn match_to_lint(&self, matched: &[Token], source: &[char]) -> Option &'static str { function catches_lowercase (line 56) | fn catches_lowercase() { function catches_different_cases (line 65) | fn catches_different_cases() { function likes_correction (line 74) | fn likes_correction() { FILE: harper-core/src/linting/determiner_without_noun.rs type DeterminerWithoutNoun (line 8) | pub struct DeterminerWithoutNoun { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 42) | fn description(&self) -> &'static str { function flags_determiner_followed_by_conjunction (line 53) | fn flags_determiner_followed_by_conjunction() { function flags_indefinite_article_followed_by_conjunction (line 62) | fn flags_indefinite_article_followed_by_conjunction() { function allows_correct_use_with_noun (line 68) | fn allows_correct_use_with_noun() { function allows_determiner_noun_then_conjunction (line 73) | fn allows_determiner_noun_then_conjunction() { FILE: harper-core/src/linting/did_past.rs type DidPast (line 11) | pub struct DidPast { function new (line 20) | pub fn new(dict: D) -> Self { function keep_suggestion_if_lemma (line 37) | fn keep_suggestion_if_lemma(&self, suggs: &mut Vec>, candidate... type Unit (line 52) | type Unit = Chunk; method description (line 54) | fn description(&self) -> &str { method expr (line 58) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 62) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function ed_did_forked (line 131) | fn ed_did_forked() { function d_did_used (line 142) | fn d_did_used() { function y_did_fried (line 153) | fn y_did_fried() { function doubed_consonant_logged (line 164) | fn doubed_consonant_logged() { function did_past (line 175) | fn did_past() { function did_past_with_apostrophe (line 180) | fn did_past_with_apostrophe() { function didnt_past_no_apostrophe (line 189) | fn didnt_past_no_apostrophe() { function did_i_heard (line 198) | fn did_i_heard() { function did_i_heard_with_apostrophe (line 207) | fn did_i_heard_with_apostrophe() { function didnt_i_forgot_no_apostrophe (line 216) | fn didnt_i_forgot_no_apostrophe() { function ignore_lemma_same_as_past_tense (line 227) | fn ignore_lemma_same_as_past_tense() { function fix_did_you_cmae (line 234) | fn fix_did_you_cmae() { function fix_did_you_wrote (line 243) | fn fix_did_you_wrote() { function fix_didnt_had (line 252) | fn fix_didnt_had() { function did_you_went (line 261) | fn did_you_went() { function fix_did_needed (line 270) | fn fix_did_needed() { function fix_did_thought (line 279) | fn fix_did_thought() { function fix_did_wanted (line 288) | fn fix_did_wanted() { function fix_did_not_changed (line 297) | fn fix_did_not_changed() { function ignore_did_you_read (line 306) | fn ignore_did_you_read() { FILE: harper-core/src/linting/didnt.rs type Didnt (line 6) | pub struct Didnt { method default (line 11) | fn default() -> Self { type Unit (line 22) | type Unit = Chunk; method expr (line 24) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 28) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 43) | fn description(&self) -> &str { function corrects_i_dint (line 54) | fn corrects_i_dint() { function corrects_you_dint (line 63) | fn corrects_you_dint() { function corrects_he_dint (line 72) | fn corrects_he_dint() { function corrects_she_dint (line 81) | fn corrects_she_dint() { function corrects_we_dint (line 90) | fn corrects_we_dint() { function corrects_they_dint (line 99) | fn corrects_they_dint() { function corrects_it_dint (line 108) | fn corrects_it_dint() { function does_not_flag_dint_noun (line 117) | fn does_not_flag_dint_noun() { function does_not_flag_quoted_dint (line 122) | fn does_not_flag_quoted_dint() { function does_not_flag_past_tense_with_not (line 127) | fn does_not_flag_past_tense_with_not() { FILE: harper-core/src/linting/discourse_markers.rs type DiscourseMarkers (line 9) | pub struct DiscourseMarkers { method new (line 14) | pub fn new() -> Self { method lint_sentence (line 60) | fn lint_sentence(&self, sent: &[Token], source: &[char]) -> Option Self { method lint (line 84) | fn lint(&mut self, document: &Document) -> Vec { method description (line 91) | fn description(&self) -> &str { function corrects_frankly (line 103) | fn corrects_frankly() { function corrects_however (line 112) | fn corrects_however() { function corrects_therefore (line 121) | fn corrects_therefore() { function corrects_meanwhile (line 130) | fn corrects_meanwhile() { function corrects_furthermore (line 139) | fn corrects_furthermore() { function corrects_nevertheless (line 148) | fn corrects_nevertheless() { function corrects_consequently (line 157) | fn corrects_consequently() { function corrects_thus (line 166) | fn corrects_thus() { function allows_thus_far (line 175) | fn allows_thus_far() { function corrects_instead (line 183) | fn corrects_instead() { function corrects_moreover (line 192) | fn corrects_moreover() { function corrects_alternatively (line 201) | fn corrects_alternatively() { function no_suggestion_if_comma_present (line 210) | fn no_suggestion_if_comma_present() { function no_lint_for_mid_sentence_marker (line 218) | fn no_lint_for_mid_sentence_marker() { function preserves_whitespace (line 226) | fn preserves_whitespace() { function corrects_semicolon_case (line 235) | fn corrects_semicolon_case() { function corrects_multiple_sentences (line 244) | fn corrects_multiple_sentences() { function allows_single_word_sentence (line 253) | fn allows_single_word_sentence() { function corrects_for_example (line 258) | fn corrects_for_example() { function no_suggestion_if_comma_after_for_example (line 267) | fn no_suggestion_if_comma_after_for_example() { function preserves_whitespace_for_example (line 275) | fn preserves_whitespace_for_example() { function corrects_on_the_other_hand (line 284) | fn corrects_on_the_other_hand() { function no_lint_for_mid_sentence_on_the_other_hand (line 293) | fn no_lint_for_mid_sentence_on_the_other_hand() { function check_2966_is_avoided (line 301) | fn check_2966_is_avoided() { FILE: harper-core/src/linting/disjoint_prefixes.rs type DisjointPrefixes (line 8) | pub struct DisjointPrefixes { constant OUT_EXCEPTIONS (line 14) | const OUT_EXCEPTIONS: &[&str] = &["boxes", "facing", "live", "numbers", ... constant OVER_EXCEPTIONS (line 15) | const OVER_EXCEPTIONS: &[&str] = &["all", "joy", "long", "night", "readi... constant UNDER_EXCEPTIONS (line 16) | const UNDER_EXCEPTIONS: &[&str] = &["development", "mine"]; constant UP_EXCEPTIONS (line 17) | const UP_EXCEPTIONS: &[&str] = &["loading", "right", "state", "time", "t... function new (line 23) | pub fn new(dict: D) -> Self { type Unit (line 64) | type Unit = Chunk; method expr (line 66) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 70) | fn match_to_lint_with_context( method description (line 149) | fn description(&self) -> &str { function fix_hyphenated_to_joined (line 163) | fn fix_hyphenated_to_joined() { function fix_open_to_joined (line 172) | fn fix_open_to_joined() { function dont_join_open_co_op (line 181) | fn dont_join_open_co_op() { function dont_join_hyphenated_co_op (line 189) | fn dont_join_hyphenated_co_op() { function fix_open_to_hyphenated (line 197) | fn fix_open_to_hyphenated() { FILE: harper-core/src/linting/do_mistake.rs type DoMistake (line 11) | pub struct DoMistake { method default (line 16) | fn default() -> Self { type Unit (line 45) | type Unit = Chunk; method match_to_lint_with_context (line 47) | fn match_to_lint_with_context( method description (line 86) | fn description(&self) -> &str { method expr (line 90) | fn expr(&self) -> &dyn Expr { function did_a_mistake (line 101) | fn did_a_mistake() { function did_my_mistakes (line 110) | fn did_my_mistakes() { function did_several_mistakes (line 119) | fn did_several_mistakes() { function did_some_mistakes (line 128) | fn did_some_mistakes() { function did_that_mistake (line 137) | fn did_that_mistake() { function did_the_mistake (line 146) | fn did_the_mistake() { function did_this_mistake (line 155) | fn did_this_mistake() { function do_many_mistakes (line 164) | fn do_many_mistakes() { function do_mistake (line 173) | fn do_mistake() { function do_some_mistakes (line 182) | fn do_some_mistakes() { function do_the_mistake (line 191) | fn do_the_mistake() { function do_this_mistake (line 200) | fn do_this_mistake() { function do_this_mistakes (line 209) | fn do_this_mistakes() { function do_those_mistakes (line 218) | fn do_those_mistakes() { function doing_a_mistake (line 227) | fn doing_a_mistake() { function doing_several_mistakes (line 236) | fn doing_several_mistakes() { function doing_the_mistkae (line 245) | fn doing_the_mistkae() { function done_some_mistake (line 254) | fn done_some_mistake() { function done_this_mistake (line 263) | fn done_this_mistake() { function dont_flag_when_does_a_mistake (line 274) | fn dont_flag_when_does_a_mistake() { function dont_flag_did_that_mistake_verb (line 282) | fn dont_flag_did_that_mistake_verb() { function dont_flag_does_this_mistake_verb (line 290) | fn dont_flag_does_this_mistake_verb() { function dont_flag_does_the_mistake_verb (line 298) | fn dont_flag_does_the_mistake_verb() { FILE: harper-core/src/linting/dot_initialisms.rs type DotInitialisms (line 11) | pub struct DotInitialisms { method default (line 17) | fn default() -> Self { type Unit (line 40) | type Unit = Chunk; method expr (line 42) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 46) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 61) | fn description(&self) -> &'static str { function matches_eg (line 72) | fn matches_eg() { FILE: harper-core/src/linting/double_click.rs type DoubleClick (line 8) | pub struct DoubleClick { method double_click_sequence (line 13) | fn double_click_sequence() -> SequenceExpr { method default (line 22) | fn default() -> Self { type Unit (line 53) | type Unit = Chunk; method expr (line 55) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 59) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 84) | fn description(&self) -> &'static str { function corrects_basic_command (line 95) | fn corrects_basic_command() { function corrects_with_preposition (line 104) | fn corrects_with_preposition() { function corrects_with_pronoun (line 113) | fn corrects_with_pronoun() { function corrects_plural_form (line 122) | fn corrects_plural_form() { function corrects_past_tense (line 131) | fn corrects_past_tense() { function corrects_gerund (line 140) | fn corrects_gerund() { function corrects_with_caps (line 149) | fn corrects_with_caps() { function corrects_multiline (line 158) | fn corrects_multiline() { function corrects_at_sentence_end (line 167) | fn corrects_at_sentence_end() { function allows_hyphenated_form (line 176) | fn allows_hyphenated_form() { function ignores_other_double_words (line 181) | fn ignores_other_double_words() { FILE: harper-core/src/linting/double_modal.rs type DoubleModal (line 10) | pub struct DoubleModal { method default (line 15) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 47) | fn description(&self) -> &'static str { function detects_might_could (line 58) | fn detects_might_could() { function detects_should_ought (line 67) | fn detects_should_ought() { function allows_single_modal (line 72) | fn allows_single_modal() { function detects_two_double_modals (line 77) | fn detects_two_double_modals() { function suggests_removing_second_modal_keeps_first (line 86) | fn suggests_removing_second_modal_keeps_first() { function suggests_removing_second_modal_keeps_first_variant_order (line 95) | fn suggests_removing_second_modal_keeps_first_variant_order() { function suggests_removing_second_modal_keeps_first_capitalised (line 104) | fn suggests_removing_second_modal_keeps_first_capitalised() { function allows_will_need (line 113) | fn allows_will_need() { FILE: harper-core/src/linting/ellipsis_length.rs type EllipsisLength (line 9) | pub struct EllipsisLength; method lint (line 12) | fn lint(&mut self, document: &crate::Document) -> Vec { method description (line 39) | fn description(&self) -> &'static str { function allows_correct_ellipsis (line 50) | fn allows_correct_ellipsis() { function corrects_long_ellipsis (line 55) | fn corrects_long_ellipsis() { function corrects_short_ellipsis (line 61) | fn corrects_short_ellipsis() { FILE: harper-core/src/linting/else_possessive.rs type ElsePossessive (line 11) | pub struct ElsePossessive { method default (line 16) | fn default() -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 54) | fn description(&self) -> &str { function fixes_no_one_elses (line 65) | fn fixes_no_one_elses() { function fixes_someone_elses (line 74) | fn fixes_someone_elses() { function fixes_anybody_elses (line 83) | fn fixes_anybody_elses() { function fixes_everyone_elses (line 92) | fn fixes_everyone_elses() { function ignores_correct_form (line 101) | fn ignores_correct_form() { FILE: harper-core/src/linting/ever_every.rs type EverEvery (line 8) | pub struct EverEvery { method default (line 13) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 55) | fn description(&self) -> &str { function fix_can_i_every (line 66) | fn fix_can_i_every() { function fix_can_they_every (line 75) | fn fix_can_they_every() { function fix_can_we_every (line 84) | fn fix_can_we_every() { function fix_did_we_every (line 93) | fn fix_did_we_every() { function fix_did_you_every (line 102) | fn fix_did_you_every() { function fix_do_i_every (line 111) | fn fix_do_i_every() { function fix_do_we_every (line 120) | fn fix_do_we_every() { function fix_do_you_every (line 129) | fn fix_do_you_every() { function fix_dont_i_every (line 138) | fn fix_dont_i_every() { function fix_dont_they_every (line 147) | fn fix_dont_they_every() { function fix_dont_you_every (line 156) | fn fix_dont_you_every() { function fix_have_you_every (line 165) | fn fix_have_you_every() { function fix_should_i_every (line 174) | fn fix_should_i_every() { function fix_should_we_every (line 183) | fn fix_should_we_every() { function fix_should_you_every (line 192) | fn fix_should_you_every() { function fix_would_i_every (line 201) | fn fix_would_i_every() { function fix_would_they_every (line 210) | fn fix_would_they_every() { function dont_flag_should_we_every (line 222) | fn dont_flag_should_we_every() { FILE: harper-core/src/linting/everyday.rs type Everyday (line 9) | pub struct Everyday { method default (line 14) | fn default() -> Self { type Unit (line 124) | type Unit = Chunk; method expr (line 126) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 130) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 185) | fn description(&self) -> &str { function dont_flag_lone_adjective (line 196) | fn dont_flag_lone_adjective() { function dont_flag_lone_adverb (line 201) | fn dont_flag_lone_adverb() { function correct_adjective_at_end_of_chunk (line 206) | fn correct_adjective_at_end_of_chunk() { function correct_adverb_after_article_before_noun (line 215) | fn correct_adverb_after_article_before_noun() { function correct_adjective_without_following_noun (line 225) | fn correct_adjective_without_following_noun() { function dont_flag_everyday_adjective_before_dev (line 234) | fn dont_flag_everyday_adjective_before_dev() { function dont_flag_everyday_adjective_before_present_participle (line 243) | fn dont_flag_everyday_adjective_before_present_participle() { function dont_flag_everyday_adjective_before_plural_noun (line 248) | fn dont_flag_everyday_adjective_before_plural_noun() { function correct_everyday_at_end_of_sentence_after_past_verb (line 257) | fn correct_everyday_at_end_of_sentence_after_past_verb() { function dont_flag_every_day_at_start_of_sentence_before_comma (line 266) | fn dont_flag_every_day_at_start_of_sentence_before_comma() { function dont_flag_every_day_at_start_of_sentence_before_copula (line 275) | fn dont_flag_every_day_at_start_of_sentence_before_copula() { function dont_flag_every_day_at_end_of_sentence_after_noun (line 280) | fn dont_flag_every_day_at_end_of_sentence_after_noun() { function dont_flag_every_day_after_noun_before_conjunction (line 285) | fn dont_flag_every_day_after_noun_before_conjunction() { function correct_every_day_after_article (line 295) | fn correct_every_day_after_article() { function dont_flag_everyday_before_unknown_word (line 304) | fn dont_flag_everyday_before_unknown_word() { function dont_flag_every_day_at_end_of_chunk_after_adverb (line 313) | fn dont_flag_every_day_at_end_of_chunk_after_adverb() { function dont_flag_every_day_after_verb_before_if (line 322) | fn dont_flag_every_day_after_verb_before_if() { function dont_flag_every_day_after_noun_before_preposition (line 331) | fn dont_flag_every_day_after_noun_before_preposition() { function dont_flag_every_day_after_time (line 340) | fn dont_flag_every_day_after_time() { function dont_flag_every_day_at_start_of_chunk_before_np (line 349) | fn dont_flag_every_day_at_start_of_chunk_before_np() { function fix_everyday_and_every_day_used_wrongly (line 358) | fn fix_everyday_and_every_day_used_wrongly() { function fix_reddit_why_does_everyday (line 367) | fn fix_reddit_why_does_everyday() { function fix_reddit_everyday_is_going_to (line 376) | fn fix_reddit_everyday_is_going_to() { function fix_reddit_draw_everyday (line 385) | fn fix_reddit_draw_everyday() { function fix_reddit_two_bad_out_of_three (line 394) | fn fix_reddit_two_bad_out_of_three() { function fix_reddit_every_day_routine (line 403) | fn fix_reddit_every_day_routine() { function fix_stackoverflow_every_day_things (line 412) | fn fix_stackoverflow_every_day_things() { function fix_reddit_everyday_is_same (line 421) | fn fix_reddit_everyday_is_same() { function fix_medium_little_bit_everyday (line 431) | fn fix_medium_little_bit_everyday() { function fix_stackexchange_use_everyday (line 440) | fn fix_stackexchange_use_everyday() { function fix_github_what_i_learned_everyday (line 449) | fn fix_github_what_i_learned_everyday() { function fix_medium_one_bad_out_of_three (line 458) | fn fix_medium_one_bad_out_of_three() { function fix_medium_doing_something_everyday (line 467) | fn fix_medium_doing_something_everyday() { function fix_medium_all_caps (line 476) | fn fix_medium_all_caps() { function dont_flag_every_day_singular_noun_2020 (line 485) | fn dont_flag_every_day_singular_noun_2020() { FILE: harper-core/src/linting/expand_memory_shorthands.rs type ExpandMemoryShorthands (line 10) | pub struct ExpandMemoryShorthands { method new (line 15) | pub fn new() -> Self { method get_replacement (line 29) | fn get_replacement(abbreviation: &str, plural: Option) -> Option... method default (line 64) | fn default() -> Self { type Unit (line 70) | type Unit = Chunk; method expr (line 72) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 76) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 107) | fn description(&self) -> &str { function detects_bytes (line 119) | fn detects_bytes() { function detects_kilobytes (line 124) | fn detects_kilobytes() { function detects_megabytes (line 129) | fn detects_megabytes() { function detects_gigabytes (line 134) | fn detects_gigabytes() { function detects_terabytes (line 139) | fn detects_terabytes() { function detects_kibibytes (line 144) | fn detects_kibibytes() { function detects_mebibytes (line 149) | fn detects_mebibytes() { function detects_gibibytes (line 154) | fn detects_gibibytes() { function detects_tebibytes (line 159) | fn detects_tebibytes() { function detects_petabytes (line 164) | fn detects_petabytes() { function detects_exabytes (line 169) | fn detects_exabytes() { function detects_zettabytes (line 174) | fn detects_zettabytes() { function detects_yottabytes (line 179) | fn detects_yottabytes() { function detects_quettabytes (line 184) | fn detects_quettabytes() { function detects_pebibytes (line 189) | fn detects_pebibytes() { function detects_exbibytes (line 194) | fn detects_exbibytes() { function detects_zebibytes (line 199) | fn detects_zebibytes() { function detects_yobibytes (line 204) | fn detects_yobibytes() { function detects_robibytes (line 209) | fn detects_robibytes() { function detects_quebibytes (line 214) | fn detects_quebibytes() { function handles_punctuation (line 219) | fn handles_punctuation() { function handles_adjacent_number (line 224) | fn handles_adjacent_number() { function handles_hyphen_separated (line 229) | fn handles_hyphen_separated() { function doesnt_handle_wrong_kb_cases (line 234) | fn doesnt_handle_wrong_kb_cases() { FILE: harper-core/src/linting/expand_time_shorthands.rs type ExpandTimeShorthands (line 11) | pub struct ExpandTimeShorthands { method new (line 16) | pub fn new() -> Self { method get_replacement (line 29) | fn get_replacement(abbreviation: &str, plural: Option) -> Option... method default (line 46) | fn default() -> Self { type Unit (line 52) | type Unit = Chunk; method expr (line 54) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 58) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 89) | fn description(&self) -> &str { function detects_singular_hour (line 101) | fn detects_singular_hour() { function detects_singular_minute (line 106) | fn detects_singular_minute() { function detects_singular_second (line 111) | fn detects_singular_second() { function detects_plural_hours (line 116) | fn detects_plural_hours() { function detects_plural_minutes (line 121) | fn detects_plural_minutes() { function detects_plural_seconds (line 126) | fn detects_plural_seconds() { function detects_millisecond (line 131) | fn detects_millisecond() { function detects_milliseconds (line 136) | fn detects_milliseconds() { function handles_punctuation_hour (line 141) | fn handles_punctuation_hour() { function handles_punctuation_minute (line 146) | fn handles_punctuation_minute() { function handles_punctuation_second (line 151) | fn handles_punctuation_second() { function handles_adjacent_number_hour (line 156) | fn handles_adjacent_number_hour() { function handles_adjacent_number_minute (line 161) | fn handles_adjacent_number_minute() { function handles_adjacent_number_second (line 166) | fn handles_adjacent_number_second() { FILE: harper-core/src/linting/expr_linter.rs type DocumentIterator (line 8) | pub trait DocumentIterator { method iter_units (line 11) | fn iter_units<'a>(document: &'a Document) -> Box(document: &'a Document) -> Box(document: &'a Document) -> Box &dyn Expr; method match_to_lint (line 54) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> ... method match_to_lint_with_context (line 64) | fn match_to_lint_with_context( method description (line 75) | fn description(&self) -> &str; type Unit (line 196) | type Unit = Chunk; method expr (line 198) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 202) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 211) | fn description(&self) -> &str { type Unit (line 229) | type Unit = Chunk; method expr (line 231) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 235) | fn match_to_lint_with_context( method description (line 277) | fn description(&self) -> &str { type Unit (line 295) | type Unit = Sentence; method expr (line 297) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 301) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 310) | fn description(&self) -> &str { function find_the_only_token_matching (line 82) | pub fn find_the_only_token_matching<'a, F>( method lint (line 102) | fn lint(&mut self, document: &Document) -> Vec { method description (line 113) | fn description(&self) -> &str { function run_on_chunk (line 118) | pub fn run_on_chunk<'a>( function followed_by_word (line 142) | pub fn followed_by_word( function followed_by_hyphen (line 155) | pub fn followed_by_hyphen(context: Option<(&[Token], &[Token])>) -> bool { function preceded_by_word (line 161) | pub fn preceded_by_word( type TestSimpleLinter (line 183) | pub struct TestSimpleLinter { method default (line 188) | fn default() -> Self { type TestContextLinter (line 216) | pub struct TestContextLinter { method default (line 221) | fn default() -> Self { type TestSentenceLinter (line 282) | pub struct TestSentenceLinter { method default (line 287) | fn default() -> Self { function simple_test_123 (line 316) | fn simple_test_123() { function context_test_123 (line 321) | fn context_test_123() { function context_test_321 (line 326) | fn context_test_321() { function sentence_test_123 (line 331) | fn sentence_test_123() { FILE: harper-core/src/linting/far_be_it.rs type FarBeIt (line 7) | pub struct FarBeIt { method default (line 12) | fn default() -> Self { type Unit (line 27) | type Unit = Chunk; method expr (line 29) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 33) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 59) | fn description(&self) -> &'static str { function far_be_it_for_me_capitalized (line 72) | fn far_be_it_for_me_capitalized() { function far_be_it_for_me_lowercase (line 81) | fn far_be_it_for_me_lowercase() { function far_be_it_that (line 90) | fn far_be_it_that() { function far_be_it_for_the_software (line 99) | fn far_be_it_for_the_software() { function missing_punctuation_false_positive (line 109) | fn missing_punctuation_false_positive() { function far_be_it_to (line 117) | fn far_be_it_to() { FILE: harper-core/src/linting/fascinated_by.rs type FascinatedBy (line 7) | pub struct FascinatedBy { method default (line 12) | fn default() -> Self { type Unit (line 20) | type Unit = Chunk; method expr (line 22) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 26) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 46) | fn description(&self) -> &str { function fix_amiga (line 56) | fn fix_amiga() { function fix_microbit (line 69) | fn fix_microbit() { function fix_software_development (line 82) | fn fix_software_development() { function fix_computer_science (line 95) | fn fix_computer_science() { function fix_possibilities (line 108) | fn fix_possibilities() { function fix_project (line 121) | fn fix_project() { function fix_work (line 134) | fn fix_work() { function fix_ais (line 147) | fn fix_ais() { function fix_innovative_ideas (line 160) | fn fix_innovative_ideas() { function fix_coding (line 173) | fn fix_coding() { FILE: harper-core/src/linting/fed_up_with.rs type FedUpWith (line 7) | pub struct FedUpWith { method new (line 13) | pub fn new(dialect: Dialect) -> Self { type Unit (line 21) | type Unit = Chunk; method expr (line 23) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 27) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 47) | fn description(&self) -> &str { function correct_fed_up_of_in_us_english (line 59) | fn correct_fed_up_of_in_us_english() { function correct_fed_up_of_in_canadian_english (line 68) | fn correct_fed_up_of_in_canadian_english() { function correct_fed_up_of_in_aus_english (line 77) | fn correct_fed_up_of_in_aus_english() { function correct_fed_up_of_in_indian_english (line 86) | fn correct_fed_up_of_in_indian_english() { function dont_flag_fed_up_of_in_british_english (line 95) | fn dont_flag_fed_up_of_in_british_english() { FILE: harper-core/src/linting/feel_fell.rs type FeelFell (line 8) | pub struct FeelFell { method default (line 13) | fn default() -> Self { type Unit (line 42) | type Unit = Chunk; method expr (line 44) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 48) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 67) | fn description(&self) -> &'static str { function fix_i_fell_like (line 79) | fn fix_i_fell_like() { function fix_if_you_fell_like_it (line 88) | fn fix_if_you_fell_like_it() { function fix_i_dont_fell_like (line 97) | fn fix_i_dont_fell_like() { function fix_fell_comfortable (line 106) | fn fix_fell_comfortable() { function fix_fell_good (line 115) | fn fix_fell_good() { function fix_didnt_fell (line 124) | fn fix_didnt_fell() { function fix_fell_free (line 133) | fn fix_fell_free() { function fix_fell_right (line 143) | fn fix_fell_right() { function dont_flag_fell_right_into (line 152) | fn dont_flag_fell_right_into() { function dont_flag_fell_right_through (line 160) | fn dont_flag_fell_right_through() { function fix_does_not_fell_comfortable (line 168) | fn fix_does_not_fell_comfortable() { function dont_flag_didnt_fell_for_it (line 178) | fn dont_flag_didnt_fell_for_it() { function fix_fell_that (line 186) | fn fix_fell_that() { function fix_fell_it (line 195) | fn fix_fell_it() { function fix_fell_its (line 204) | fn fix_fell_its() { function fix_fell_im (line 213) | fn fix_fell_im() { function fix_fell_we (line 222) | fn fix_fell_we() { function fix_fell_i (line 231) | fn fix_fell_i() { function fix_fell_you (line 240) | fn fix_fell_you() { FILE: harper-core/src/linting/few_units_of_time_ago.rs type FewUnitsOfTimeAgo (line 10) | pub struct FewUnitsOfTimeAgo { method default (line 15) | fn default() -> Self { type Unit (line 32) | type Unit = Chunk; method expr (line 34) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 38) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 62) | fn description(&self) -> &'static str { function fix_few_minutes_ago (line 76) | fn fix_few_minutes_ago() { function dont_flag_a_few_minutes_ago (line 85) | fn dont_flag_a_few_minutes_ago() { function fix_done_few_minutes_ago (line 90) | fn fix_done_few_minutes_ago() { function dont_flag_done_a_few_minutes_ago (line 99) | fn dont_flag_done_a_few_minutes_ago() { function fix_after_space (line 105) | fn fix_after_space() { function fix_2nd_sentence (line 115) | fn fix_2nd_sentence() { function fix_days (line 126) | fn fix_days() { function fix_decades (line 135) | fn fix_decades() { function fix_hours (line 144) | fn fix_hours() { function fix_minutes (line 153) | fn fix_minutes() { function fix_months (line 162) | fn fix_months() { function fix_ms (line 171) | fn fix_ms() { function fix_seconds (line 180) | fn fix_seconds() { function fix_weekends (line 189) | fn fix_weekends() { function fix_weeks (line 198) | fn fix_weeks() { function fix_years (line 207) | fn fix_years() { function dont_flag_centuries (line 218) | fn dont_flag_centuries() { function dont_flag_days (line 227) | fn dont_flag_days() { function dont_flag_decades (line 236) | fn dont_flag_decades() { function dont_flag_hours (line 245) | fn dont_flag_hours() { function dont_flag_milliseconds (line 254) | fn dont_flag_milliseconds() { function dont_flag_minutes (line 263) | fn dont_flag_minutes() { function dont_flag_moments (line 272) | fn dont_flag_moments() { function dont_flag_months (line 281) | fn dont_flag_months() { function dont_flag_nights (line 290) | fn dont_flag_nights() { function dont_flag_seconds (line 299) | fn dont_flag_seconds() { function dont_flag_weeks (line 308) | fn dont_flag_weeks() { function dont_flag_years (line 317) | fn dont_flag_years() { function dont_flag_decade (line 328) | fn dont_flag_decade() { function dont_flag_hour (line 337) | fn dont_flag_hour() { function dont_flag_millennia (line 346) | fn dont_flag_millennia() { function dont_flag_minute (line 355) | fn dont_flag_minute() { function dont_flag_moment (line 364) | fn dont_flag_moment() { function dont_flag_month (line 373) | fn dont_flag_month() { function dont_flag_second (line 382) | fn dont_flag_second() { function dont_flag_week (line 391) | fn dont_flag_week() { function dont_flag_year (line 400) | fn dont_flag_year() { function dont_flag_days_apos (line 411) | fn dont_flag_days_apos() { function dont_flag_months_apos (line 420) | fn dont_flag_months_apos() { function dont_flag_weeks_apos (line 429) | fn dont_flag_weeks_apos() { function dont_flag_years_apos (line 438) | fn dont_flag_years_apos() { function fix_day (line 449) | fn fix_day() { function fix_decade (line 459) | fn fix_decade() { function fix_minute (line 468) | fn fix_minute() { function fix_weekend (line 477) | fn fix_weekend() { FILE: harper-core/src/linting/filler_words.rs type FillerWords (line 9) | pub struct FillerWords { method default (line 15) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 45) | fn description(&self) -> &str { function remove_uh (line 56) | fn remove_uh() { function remove_um_st_start (line 65) | fn remove_um_st_start() { FILE: harper-core/src/linting/find_fine.rs type FindFine (line 9) | pub struct FindFine { method default (line 14) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 45) | fn description(&self) -> &'static str { function issue_2115 (line 57) | fn issue_2115() { FILE: harper-core/src/linting/first_aid_kit.rs type FirstAidKit (line 10) | pub struct FirstAidKit { method default (line 15) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function corrects_first_aid_kid (line 58) | fn corrects_first_aid_kid() { function corrects_starter_kid (line 67) | fn corrects_starter_kid() { function corrects_travel_kid (line 76) | fn corrects_travel_kid() { function corrects_tool_kid (line 85) | fn corrects_tool_kid() { function does_not_flag_kid_in_other_contexts (line 94) | fn does_not_flag_kid_in_other_contexts() { FILE: harper-core/src/linting/flesh_out_vs_full_fledged.rs type FleshOutVsFullFledged (line 7) | pub struct FleshOutVsFullFledged { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 32) | fn match_to_lint_with_context( method description (line 179) | fn description(&self) -> &str { function full_fledge_hyphen (line 196) | fn full_fledge_hyphen() { function full_fleshed_space (line 207) | fn full_fleshed_space() { function full_fleshed_webscraper_hyphen (line 216) | fn full_fleshed_webscraper_hyphen() { function full_fleshed_implementation_hyphen (line 225) | fn full_fleshed_implementation_hyphen() { function full_pledged_space (line 234) | fn full_pledged_space() { function full_pledged_hyphen (line 243) | fn full_pledged_hyphen() { function not_fully_fledged_out (line 256) | fn not_fully_fledged_out() { function fully_fledged_out (line 269) | fn fully_fledged_out() { function fully_fleshed_space (line 282) | fn fully_fleshed_space() { function fully_fleshed_hyphen (line 295) | fn fully_fleshed_hyphen() { function fully_pledged_space (line 308) | fn fully_pledged_space() { function fledge_out (line 319) | fn fledge_out() { function fledged_out_space (line 330) | fn fledged_out_space() { FILE: harper-core/src/linting/for_noun.rs type ForNoun (line 12) | pub struct ForNoun { method default (line 17) | fn default() -> Self { type Unit (line 27) | type Unit = Chunk; method expr (line 29) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 33) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 49) | fn description(&self) -> &'static str { function corrects_fro_basic_correction (line 60) | fn corrects_fro_basic_correction() { function allows_for_clean (line 69) | fn allows_for_clean() { function corrects_fro_sure (line 74) | fn corrects_fro_sure() { FILE: harper-core/src/linting/free_predicate.rs type FreePredicate (line 10) | pub struct FreePredicate { method default (line 15) | fn default() -> Self { type Unit (line 41) | type Unit = Chunk; method expr (line 43) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 47) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 63) | fn description(&self) -> &'static str { function matches_fee (line 68) | fn matches_fee(token: &Token, source: &[char]) -> bool { function follows_fee (line 83) | fn follows_fee(token: &Token, _source: &[char]) -> bool { function linking_like (line 93) | fn linking_like(token: &Token, source: &[char]) -> bool { function corrects_is_fee_for (line 109) | fn corrects_is_fee_for() { function corrects_totally_fee (line 118) | fn corrects_totally_fee() { function corrects_really_fee_to (line 127) | fn corrects_really_fee_to() { function corrects_fee_with_comma (line 136) | fn corrects_fee_with_comma() { function corrects_fee_period (line 145) | fn corrects_fee_period() { function corrects_fee_past_tense (line 154) | fn corrects_fee_past_tense() { function allows_fee_based (line 163) | fn allows_fee_based() { function allows_fee_paying (line 168) | fn allows_fee_paying() { function allows_fee_schedule_statement (line 173) | fn allows_fee_schedule_statement() { function allows_fee_free_phrase (line 181) | fn allows_fee_free_phrase() { function counts_single_lint (line 189) | fn counts_single_lint() { FILE: harper-core/src/linting/friend_of_me.rs type FriendOfMe (line 8) | pub struct FriendOfMe { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 59) | fn description(&self) -> &'static str { function corrects_friend_of_me (line 70) | fn corrects_friend_of_me() { function corrects_friend_of_you (line 79) | fn corrects_friend_of_you() { function corrects_friend_of_us (line 88) | fn corrects_friend_of_us() { function corrects_friends_of_them (line 97) | fn corrects_friends_of_them() { function corrects_friend_of_him (line 106) | fn corrects_friend_of_him() { function corrects_friends_of_me (line 115) | fn corrects_friends_of_me() { function corrects_friends_of_us (line 124) | fn corrects_friends_of_us() { FILE: harper-core/src/linting/go_so_far_as_to.rs type GoSoFarAsTo (line 8) | pub struct GoSoFarAsTo { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 71) | fn description(&self) -> &'static str { function go_so_far_to (line 82) | fn go_so_far_to() { function goes_so_far_to (line 91) | fn goes_so_far_to() { function gone_so_far_to (line 100) | fn gone_so_far_to() { function went_so_far_to (line 109) | fn went_so_far_to() { function went_so_far_to_adverb (line 118) | fn went_so_far_to_adverb() { function dont_flag_going_so_far_to (line 128) | fn dont_flag_going_so_far_to() { function dont_flag_goes_so_far_to (line 136) | fn dont_flag_goes_so_far_to() { function dont_flag_go_so_far_to (line 144) | fn dont_flag_go_so_far_to() { FILE: harper-core/src/linting/go_to_war.rs type GoToWar (line 7) | pub struct GoToWar { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method description (line 26) | fn description(&self) -> &str { method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function go_at (line 60) | fn go_at() { function go_in (line 69) | fn go_in() { function go_on (line 78) | fn go_on() { function goes_on (line 87) | fn goes_on() { function going_at (line 96) | fn going_at() { function going_on (line 105) | fn going_on() { function went_at (line 114) | fn went_at() { function went_in (line 123) | fn went_in() { function went_on (line 132) | fn went_on() { FILE: harper-core/src/linting/good_at.rs type GoodAt (line 8) | pub struct GoodAt { method default (line 13) | fn default() -> Self { type Unit (line 73) | type Unit = Chunk; method expr (line 75) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 79) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 94) | fn description(&self) -> &'static str { function fix_good_in_being_frugal (line 105) | fn fix_good_in_being_frugal() { function fix_im_not_good_in_python (line 114) | fn fix_im_not_good_in_python() { function fix_not_good_in_go (line 123) | fn fix_not_good_in_go() { function fix_not_good_in_coding_stuff (line 132) | fn fix_not_good_in_coding_stuff() { function fix_very_good_in_mathematics (line 141) | fn fix_very_good_in_mathematics() { function fix_not_good_in_coding (line 150) | fn fix_not_good_in_coding() { function fix_very_good_in_most_things (line 159) | fn fix_very_good_in_most_things() { function fix_not_good_in_laravel (line 168) | fn fix_not_good_in_laravel() { function fixim_not_good_in_english (line 177) | fn fixim_not_good_in_english() { function fix_not_all_good_in_english (line 186) | fn fix_not_all_good_in_english() { function fix_i_am_not_good_in_english (line 195) | fn fix_i_am_not_good_in_english() { function fix_not_good_in_programming (line 204) | fn fix_not_good_in_programming() { function fix_not_so_good_in_coding (line 213) | fn fix_not_so_good_in_coding() { function fix_im_not_good_in_programming (line 222) | fn fix_im_not_good_in_programming() { FILE: harper-core/src/linting/handful.rs type Handful (line 7) | pub struct Handful { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 65) | fn description(&self) -> &'static str { function suggests_plain_spacing (line 76) | fn suggests_plain_spacing() { function suggests_capitalized_form (line 85) | fn suggests_capitalized_form() { function suggests_hyphenated_form (line 94) | fn suggests_hyphenated_form() { function suggests_space_hyphen_combo (line 103) | fn suggests_space_hyphen_combo() { function suggests_initial_hyphen_variants (line 112) | fn suggests_initial_hyphen_variants() { function flags_multiple_instances (line 121) | fn flags_multiple_instances() { function allows_correct_handful (line 130) | fn allows_correct_handful() { function allows_parenthetical_hand (line 138) | fn allows_parenthetical_hand() { function allows_hand_is_full (line 146) | fn allows_hand_is_full() { function allows_handfull_typo (line 151) | fn allows_handfull_typo() { FILE: harper-core/src/linting/have_pronoun.rs type HavePronoun (line 7) | pub struct HavePronoun { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 50) | fn description(&self) -> &'static str { function corrects_has_we (line 62) | fn corrects_has_we() { function corrects_has_you (line 71) | fn corrects_has_you() { function corrects_has_i (line 80) | fn corrects_has_i() { function corrects_has_they (line 89) | fn corrects_has_they() { function allows_has_he (line 98) | fn allows_has_he() { function ignores_non_initial_usage (line 103) | fn ignores_non_initial_usage() { FILE: harper-core/src/linting/have_take_a_look.rs type HaveTakeALook (line 8) | pub struct HaveTakeALook { method new (line 14) | pub fn new(dialect: Dialect) -> Self { type Unit (line 30) | type Unit = Chunk; method expr (line 32) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 36) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 84) | fn description(&self) -> &str { function correct_taking_a_look (line 95) | fn correct_taking_a_look() { function correct_take_a_look (line 104) | fn correct_take_a_look() { function correct_have_a_look (line 113) | fn correct_have_a_look() { function correct_taken_a_look (line 122) | fn correct_taken_a_look() { function correct_had_a_look (line 131) | fn correct_had_a_look() { function correct_took_a_look (line 140) | fn correct_took_a_look() { function correct_takes_a_look (line 149) | fn correct_takes_a_look() { function correct_having_a_look (line 158) | fn correct_having_a_look() { function correct_has_a_look (line 167) | fn correct_has_a_look() { FILE: harper-core/src/linting/hedging.rs type Hedging (line 9) | pub struct Hedging { method default (line 14) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 46) | fn description(&self) -> &str { function detects_hedging_phrase (line 57) | fn detects_hedging_phrase() { function does_not_flag_clean_text (line 62) | fn does_not_flag_clean_text() { function lowercase_hedging (line 67) | fn lowercase_hedging() { function incomplete_phrase_not_flagged (line 76) | fn incomplete_phrase_not_flagged() { function phrase_with_trailing_comma (line 81) | fn phrase_with_trailing_comma() { function phrase_with_extra_whitespace (line 87) | fn phrase_with_extra_whitespace() { function does_not_flag_similar_but_incorrect_phrase (line 96) | fn does_not_flag_similar_but_incorrect_phrase() { function phrase_split_by_line_break (line 105) | fn phrase_split_by_line_break() { FILE: harper-core/src/linting/hello_greeting.rs type HelloGreeting (line 8) | pub struct HelloGreeting { method default (line 13) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 52) | fn description(&self) -> &'static str { function corrects_basic_greeting (line 63) | fn corrects_basic_greeting() { function corrects_with_comma (line 68) | fn corrects_with_comma() { function corrects_with_world (line 73) | fn corrects_with_world() { function corrects_without_punctuation (line 78) | fn corrects_without_punctuation() { function corrects_single_word_sentence (line 87) | fn corrects_single_word_sentence() { function corrects_question (line 92) | fn corrects_question() { function corrects_uppercase (line 97) | fn corrects_uppercase() { function no_lint_for_optical_term (line 102) | fn no_lint_for_optical_term() { function no_lint_mid_sentence (line 111) | fn no_lint_mid_sentence() { function corrects_in_quotes (line 120) | fn corrects_in_quotes() { FILE: harper-core/src/linting/hereby.rs type Hereby (line 8) | pub struct Hereby { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &'static str { function declare (line 58) | fn declare() { FILE: harper-core/src/linting/hop_hope/mod.rs function corrects_hop_to_hope (line 16) | fn corrects_hop_to_hope() { function does_not_correct_unrelated_use (line 25) | fn does_not_correct_unrelated_use() { function corrects_mixed_case_hop (line 34) | fn corrects_mixed_case_hop() { function corrects_hoping_on_call (line 43) | fn corrects_hoping_on_call() { function corrects_hoped_on_plane (line 52) | fn corrects_hoped_on_plane() { function corrects_hope_on_bus (line 61) | fn corrects_hope_on_bus() { function does_not_correct_unrelated_context (line 70) | fn does_not_correct_unrelated_context() { function corrects_mixed_case (line 79) | fn corrects_mixed_case() { FILE: harper-core/src/linting/hop_hope/to_hop.rs type ToHop (line 9) | pub struct ToHop { method to_correct (line 30) | fn to_correct(word: &str) -> Option { method default (line 14) | fn default() -> Self { type Unit (line 41) | type Unit = Chunk; method expr (line 43) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 47) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 68) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/hop_hope/to_hope.rs type ToHope (line 8) | pub struct ToHope { method default (line 13) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 50) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/hope_youre.rs type HopeYoure (line 9) | pub struct HopeYoure { method default (line 14) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn crate::expr::Expr { method match_to_lint (line 39) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 57) | fn description(&self) -> &str { function corrects_excited_here (line 70) | fn corrects_excited_here() { function corrects_safe_there (line 79) | fn corrects_safe_there() { function corrects_safe_over_there (line 88) | fn corrects_safe_over_there() { function corrects_fine_here (line 97) | fn corrects_fine_here() { function corrects_happy_there (line 106) | fn corrects_happy_there() { function corrects_healthy_out_here (line 115) | fn corrects_healthy_out_here() { function corrects_strong_there (line 124) | fn corrects_strong_there() { function corrects_sorry_here (line 133) | fn corrects_sorry_here() { function no_lint_with_contraction (line 142) | fn no_lint_with_contraction() { function no_lint_without_adjective (line 147) | fn no_lint_without_adjective() { function no_lint_with_following_clause (line 152) | fn no_lint_with_following_clause() { function no_lint_when_possessive_context (line 161) | fn no_lint_when_possessive_context() { FILE: harper-core/src/linting/how_to.rs type HowTo (line 11) | pub struct HowTo { method default (line 16) | fn default() -> Self { type Unit (line 49) | type Unit = Chunk; method expr (line 51) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 55) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 68) | fn description(&self) -> &str { function flags_missing_to (line 79) | fn flags_missing_to() { function ignores_correct_phrase (line 88) | fn ignores_correct_phrase() { function flags_other_verbs (line 93) | fn flags_other_verbs() { function ros_package_install (line 102) | fn ros_package_install() { function extract_and_install_app (line 111) | fn extract_and_install_app() { function dll_files (line 120) | fn dll_files() { function dofus_on_ubuntu (line 129) | fn dofus_on_ubuntu() { function tar_gz_install (line 138) | fn tar_gz_install() { function thrift_libraries (line 147) | fn thrift_libraries() { function windows_adk (line 156) | fn windows_adk() { function accounting_errors (line 165) | fn accounting_errors() { function sentence_fragments (line 174) | fn sentence_fragments() { function zipper_slider (line 183) | fn zipper_slider() { function door_lock (line 192) | fn door_lock() { function already_correct_install (line 201) | fn already_correct_install() { function already_correct_fix (line 210) | fn already_correct_fix() { function how_are_you (line 219) | fn how_are_you() { function how_calm_you_are (line 224) | fn how_calm_you_are() { function how_will_you_make_up (line 229) | fn how_will_you_make_up() { function storytelling_clause (line 238) | fn storytelling_clause() { function dont_flag_how_did_you (line 247) | fn dont_flag_how_did_you() { function dont_flag_how_come (line 252) | fn dont_flag_how_come() { function allows_how_has (line 261) | fn allows_how_has() { function issue_1492 (line 266) | fn issue_1492() { function allow_issue_1298 (line 276) | fn allow_issue_1298() { function dont_flag_false_positive_pr_1846 (line 284) | fn dont_flag_false_positive_pr_1846() { function dont_flag_false_positives_1492_how_indexes (line 292) | fn dont_flag_false_positives_1492_how_indexes() { function issue_2124 (line 300) | fn issue_2124() { FILE: harper-core/src/linting/hyphenate_number_day.rs type HyphenateNumberDay (line 8) | pub struct HyphenateNumberDay { method default (line 13) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 53) | fn description(&self) -> &'static str { function corrects_three_day_training (line 64) | fn corrects_three_day_training() { function corrects_five_day_challenge (line 73) | fn corrects_five_day_challenge() { function corrects_seven_day_plan (line 82) | fn corrects_seven_day_plan() { function does_not_correct_when_not_adjective (line 91) | fn does_not_correct_when_not_adjective() { function corrects_varied_phrases (line 100) | fn corrects_varied_phrases() { function edge_case_day_long (line 115) | fn edge_case_day_long() { function edge_case_plural_days (line 124) | fn edge_case_plural_days() { function ignores_spelled_out_numbers (line 133) | fn ignores_spelled_out_numbers() { FILE: harper-core/src/linting/i_am_agreement.rs type IAmAgreement (line 8) | pub struct IAmAgreement { method default (line 13) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 39) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 53) | fn description(&self) -> &str { function corrects_i_are_simple (line 64) | fn corrects_i_are_simple() { function corrects_i_are (line 69) | fn corrects_i_are() { function dont_flag_you_and_i_are (line 78) | fn dont_flag_you_and_i_are() { function dont_flag_mention_and_i_are (line 87) | fn dont_flag_mention_and_i_are() { function dont_flag_z_and_i_are (line 96) | fn dont_flag_z_and_i_are() { function dont_flag_name_and_i_are (line 105) | fn dont_flag_name_and_i_are() { function fix_so_i_are (line 114) | fn fix_so_i_are() { function fix_if_i_are (line 123) | fn fix_if_i_are() { function fix_what_i_are (line 132) | fn fix_what_i_are() { function fix_where_i_are (line 141) | fn fix_where_i_are() { FILE: harper-core/src/linting/if_wouldve.rs type IfWouldve (line 8) | pub struct IfWouldve { method default (line 13) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 42) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 95) | fn description(&self) -> &str { function flag_if_i_wouldve_done_x (line 107) | fn flag_if_i_wouldve_done_x() { function flag_if_you_would_have_done_y (line 116) | fn flag_if_you_would_have_done_y() { function flag_if_we_would_of_z (line 125) | fn flag_if_we_would_of_z() { function flag_if_he_hadve_done_w (line 134) | fn flag_if_he_hadve_done_w() { function flag_if_she_hadve_done_x (line 143) | fn flag_if_she_hadve_done_x() { function flag_if_it_had_of_done_x (line 152) | fn flag_if_it_had_of_done_x() { function flag_if_np_wouldve (line 161) | fn flag_if_np_wouldve() { function dont_flag_non_counterfactual_done (line 174) | fn dont_flag_non_counterfactual_done() { function dont_flag_non_counterfactual_gotten (line 183) | fn dont_flag_non_counterfactual_gotten() { function dont_flag_non_counterfactual_been (line 192) | fn dont_flag_non_counterfactual_been() { FILE: harper-core/src/linting/in_on_the_cards.rs type InOnTheCards (line 11) | pub struct InOnTheCards { method new (line 17) | pub fn new(dialect: Dialect) -> Self { type Unit (line 41) | type Unit = Chunk; method expr (line 43) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 47) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 80) | fn description(&self) -> &str { function correct_are_on_for_american (line 96) | fn correct_are_on_for_american() { function dont_correct_is_on_for_british (line 105) | fn dont_correct_is_on_for_british() { function correct_not_on_for_american (line 114) | fn correct_not_on_for_american() { function correct_be_on_for_american (line 123) | fn correct_be_on_for_american() { function correct_was_on_for_american (line 132) | fn correct_was_on_for_american() { function correct_isnt_on_no_apostrophe_for_american (line 141) | fn correct_isnt_on_no_apostrophe_for_american() { function correct_its_on_for_american (line 150) | fn correct_its_on_for_american() { function correct_were_on_for_american (line 159) | fn correct_were_on_for_american() { function correct_isnt_on_for_american (line 168) | fn correct_isnt_on_for_american() { function correct_wasnt_on_for_american (line 177) | fn correct_wasnt_on_for_american() { function correct_was_in_for_british (line 188) | fn correct_was_in_for_british() { function dont_correct_is_in_for_american (line 197) | fn dont_correct_is_in_for_american() { function correct_not_in_for_british (line 206) | fn correct_not_in_for_british() { function correct_be_in_for_british (line 215) | fn correct_be_in_for_british() { function correct_are_in_for_british (line 224) | fn correct_are_in_for_british() { function correct_its_in_for_british (line 233) | fn correct_its_in_for_british() { function correct_were_in_for_british (line 242) | fn correct_were_in_for_british() { function correct_isnt_in_for_british (line 251) | fn correct_isnt_in_for_british() { function correct_wasnt_in_for_british (line 260) | fn correct_wasnt_in_for_british() { function correct_werent_in_for_british (line 269) | fn correct_werent_in_for_british() { FILE: harper-core/src/linting/inflected_verb_after_to.rs type InflectedVerbAfterTo (line 6) | pub struct InflectedVerbAfterTo function new (line 14) | pub fn new(dictionary: T) -> Self { method lint (line 20) | fn lint(&mut self, document: &Document) -> Vec { method description (line 126) | fn description(&self) -> &str { function dont_flag_to_check_both_verb_and_noun (line 138) | fn dont_flag_to_check_both_verb_and_noun() { function dont_flag_to_checks_both_verb_and_noun (line 147) | fn dont_flag_to_checks_both_verb_and_noun() { function dont_flag_to_cheques_not_a_verb (line 156) | fn dont_flag_to_cheques_not_a_verb() { function flag_to_checking (line 166) | fn flag_to_checking() { function dont_flag_check_ed (line 175) | fn dont_flag_check_ed() { function dont_flag_noun_belief_s (line 184) | fn dont_flag_noun_belief_s() { function dont_flag_noun_meat_s (line 193) | fn dont_flag_noun_meat_s() { function check_993_suggestions (line 203) | fn check_993_suggestions() { function dont_flag_embarrass_not_in_dictionary (line 212) | fn dont_flag_embarrass_not_in_dictionary() { function corrects_exist_s (line 221) | fn corrects_exist_s() { function corrects_es_ending (line 231) | fn corrects_es_ending() { function corrects_ed_ending (line 240) | fn corrects_ed_ending() { function flags_expire_d (line 249) | fn flags_expire_d() { function corrects_explain_ed (line 258) | fn corrects_explain_ed() { function corrects_explor_ed (line 268) | fn corrects_explor_ed() { function cant_flag_express_ed_also_noun (line 277) | fn cant_flag_express_ed_also_noun() { function correct_feign_ed (line 286) | fn correct_feign_ed() { function issue_241 (line 296) | fn issue_241() { FILE: harper-core/src/linting/initialism_linter.rs type InitialismWord (line 9) | type InitialismWord = Vec; type InitialismPhrase (line 11) | type InitialismPhrase = Vec; type InitialismLinter (line 15) | pub struct InitialismLinter { method new (line 23) | pub fn new(initialism: &str, expansions: &[&str]) -> Self { type Unit (line 42) | type Unit = Chunk; method expr (line 44) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 48) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 82) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/initialisms.rs function lint_group (line 5) | pub fn lint_group() -> LintGroup { function corrects_btw (line 55) | fn corrects_btw() { function corrects_style (line 64) | fn corrects_style() { function corrects_fyi (line 73) | fn corrects_fyi() { function corrects_asap (line 82) | fn corrects_asap() { function corrects_imo (line 91) | fn corrects_imo() { function corrects_omg (line 100) | fn corrects_omg() { function corrects_brb (line 109) | fn corrects_brb() { function corrects_tbh (line 114) | fn corrects_tbh() { function corrects_rly (line 123) | fn corrects_rly() { function issue_2181 (line 132) | fn issue_2181() { function corrects_eli5 (line 141) | fn corrects_eli5() { function corrects_fwiw (line 150) | fn corrects_fwiw() { function corrects_idk (line 159) | fn corrects_idk() { function corrects_iirc (line 168) | fn corrects_iirc() { function corrects_iykyk (line 177) | fn corrects_iykyk() { function corrects_icymi (line 186) | fn corrects_icymi() { function corrects_irl (line 195) | fn corrects_irl() { function corrects_ptal (line 204) | fn corrects_ptal() { function expands_imho_both_ways (line 213) | fn expands_imho_both_ways() { function corrects_iiuc (line 226) | fn corrects_iiuc() { FILE: harper-core/src/linting/interested_in.rs type InterestedIn (line 8) | pub struct InterestedIn { method default (line 13) | fn default() -> Self { type Unit (line 27) | type Unit = Chunk; method expr (line 29) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 33) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function fix_about (line 64) | fn fix_about() { function dont_flag_around (line 73) | fn dont_flag_around() { function fix_at (line 82) | fn fix_at() { function fix_for (line 92) | fn fix_for() { function dont_flag_for_sure (line 101) | fn dont_flag_for_sure() { function fix_into (line 106) | fn fix_into() { function fix_of (line 115) | fn fix_of() { function fix_on (line 124) | fn fix_on() { function dont_flag_through (line 133) | fn dont_flag_through() { function does_not_flag_to (line 142) | fn does_not_flag_to() { function fix_with (line 151) | fn fix_with() { function dont_flag_within (line 160) | fn dont_flag_within() { FILE: harper-core/src/linting/it_is.rs type ItIs (line 8) | pub struct ItIs { method default (line 13) | fn default() -> Self { type Unit (line 53) | type Unit = Chunk; method expr (line 55) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 59) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function flags_simple_case (line 87) | fn flags_simple_case() { function flags_with_preposition (line 96) | fn flags_with_preposition() { function does_not_flag_exception_own (line 105) | fn does_not_flag_exception_own() { function does_not_flag_exception_team (line 110) | fn does_not_flag_exception_team() { function does_not_flag_non_adjective (line 116) | fn does_not_flag_non_adjective() { function does_not_flag_already_correct (line 125) | fn does_not_flag_already_correct() { function flags_search_filter_context (line 130) | fn flags_search_filter_context() { function flags_ens_restart_context (line 139) | fn flags_ens_restart_context() { function flags_academics_support_context (line 148) | fn flags_academics_support_context() { function flags_parents_explain_context (line 157) | fn flags_parents_explain_context() { function flags_chapter_context (line 166) | fn flags_chapter_context() { function flags_microsoft_work_context (line 175) | fn flags_microsoft_work_context() { function flags_feminists_context (line 184) | fn flags_feminists_context() { function flags_students_proofreading_context (line 193) | fn flags_students_proofreading_context() { function flags_americans_context (line 202) | fn flags_americans_context() { function does_not_flag_its_team_lead (line 212) | fn does_not_flag_its_team_lead() { function flags_crucial_api_context (line 218) | fn flags_crucial_api_context() { function flags_essential_standards_context (line 227) | fn flags_essential_standards_context() { function flags_vital_dependencies_context (line 236) | fn flags_vital_dependencies_context() { FILE: harper-core/src/linting/it_looks_like_that.rs type ItLooksLikeThat (line 7) | pub struct ItLooksLikeThat { method default (line 12) | fn default() -> Self { type Unit (line 44) | type Unit = Chunk; method expr (line 46) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 50) | fn match_to_lint(&self, toks: &[Token], _: &[char]) -> Option { method description (line 62) | fn description(&self) -> &str { function dont_flag_that_noun_is_also_verb_part_of_np (line 74) | fn dont_flag_that_noun_is_also_verb_part_of_np() { function dont_flag_that_noun_is_also_adj (line 83) | fn dont_flag_that_noun_is_also_adj() { function cant_flag_that_noun_is_also_verb_function (line 91) | fn cant_flag_that_noun_is_also_verb_function() { function dont_flag_that_noun_is_also_verb_test (line 100) | fn dont_flag_that_noun_is_also_verb_test() { function dont_flag_that_oov (line 108) | fn dont_flag_that_oov() { function dont_flag_that_noun_pad (line 118) | fn dont_flag_that_noun_pad() { function dont_flag_that_noun_plural (line 126) | fn dont_flag_that_noun_plural() { function fix_that_the (line 139) | fn fix_that_the() { function fix_that_some (line 149) | fn fix_that_some() { function dont_flag_that_verb_3p_sing_pres_is (line 163) | fn dont_flag_that_verb_3p_sing_pres_is() { function dont_flag_that_verb_3p_sing_pres_comes (line 173) | fn dont_flag_that_verb_3p_sing_pres_comes() { function fix_that_it_verb_lemma (line 181) | fn fix_that_it_verb_lemma() { function dont_flag_that_modal_verb_might (line 192) | fn dont_flag_that_modal_verb_might() { function dont_flag_that_verb_modal_would (line 200) | fn dont_flag_that_verb_modal_would() { function fix_that_verb_ing_have (line 208) | fn fix_that_verb_ing_have() { function fix_that_verb_ing_using (line 219) | fn fix_that_verb_ing_using() { function dont_flag_that_verb_simple_past (line 228) | fn dont_flag_that_verb_simple_past() { function fix_that_subj_obj_pronoun_it_was (line 241) | fn fix_that_subj_obj_pronoun_it_was() { function fix_that_subj_obj_pronoun_it_works (line 250) | fn fix_that_subj_obj_pronoun_it_works() { function fix_that_subj_obj_pronoun_you (line 260) | fn fix_that_subj_obj_pronoun_you() { function dont_flag_thats (line 269) | fn dont_flag_thats() { function cant_flag_that_if (line 282) | fn cant_flag_that_if() { function cant_flag_that_but (line 291) | fn cant_flag_that_but() { FILE: harper-core/src/linting/it_would_be.rs type ItWouldBe (line 9) | pub struct ItWouldBe { method default (line 14) | fn default() -> Self { type Unit (line 63) | type Unit = Chunk; method expr (line 65) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 69) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 84) | fn description(&self) -> &str { function flags_simple_shame (line 96) | fn flags_simple_shame() { function flags_believe_bummer (line 105) | fn flags_believe_bummer() { function flags_doubt_good_idea (line 114) | fn flags_doubt_good_idea() { function ignores_correct_it (line 123) | fn ignores_correct_it() { function ignores_first_person_statement (line 132) | fn ignores_first_person_statement() { FILE: harper-core/src/linting/its_contraction/general.rs type General (line 10) | pub struct General { method match_to_lint (line 71) | fn match_to_lint(&self, toks: &[Token], source: &[char]) -> Option b... method default (line 15) | fn default() -> Self { method lint (line 48) | fn lint(&mut self, document: &Document) -> Vec { method description (line 65) | fn description(&self) -> &str { function preceding_word (line 209) | fn preceding_word(source: &[char], offset: usize) -> Option { function next_non_whitespace_word (line 231) | fn next_non_whitespace_word(source: &[char], offset: usize) -> Option ... method default (line 17) | fn default() -> Self { method lint (line 55) | fn lint(&mut self, document: &Document) -> Vec { method description (line 73) | fn description(&self) -> &str { FILE: harper-core/src/linting/its_possessive.rs type ItsPossessive (line 14) | pub struct ItsPossessive { method default (line 19) | fn default() -> Self { type Unit (line 126) | type Unit = Chunk; method expr (line 128) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 132) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 148) | fn description(&self) -> &'static str { function corrects_its_various (line 160) | fn corrects_its_various() { function fixes_inspiration (line 169) | fn fixes_inspiration() { function engine_lost_its_compression (line 178) | fn engine_lost_its_compression() { function admired_sculpture_for_its_intricacy (line 187) | fn admired_sculpture_for_its_intricacy() { function paris_is_known_for_its_architecture (line 196) | fn paris_is_known_for_its_architecture() { function plain_sentence_with_apostrophe_s (line 205) | fn plain_sentence_with_apostrophe_s() { function fixes_its_ancestor (line 214) | fn fixes_its_ancestor() { function device_reached_its_100th_cycle (line 223) | fn device_reached_its_100th_cycle() { function oddly_its_wheels_misaligned (line 232) | fn oddly_its_wheels_misaligned() { function leaking_oil_constant_issue (line 241) | fn leaking_oil_constant_issue() { function fiftyth_anniversary (line 246) | fn fiftyth_anniversary() { function second_attempt (line 255) | fn second_attempt() { function third_iteration (line 260) | fn third_iteration() { function tenth_milestone (line 269) | fn tenth_milestone() { function seventh_chapter (line 278) | fn seventh_chapter() { function fifth_version (line 287) | fn fifth_version() { function eighth_floor (line 296) | fn eighth_floor() { function twelfth_episode (line 305) | fn twelfth_episode() { function fourth_draft (line 314) | fn fourth_draft() { function ninth_revision (line 319) | fn ninth_revision() { function allows_hard_to_tell (line 328) | fn allows_hard_to_tell() { function allows_illegible (line 333) | fn allows_illegible() { function allows_good_practice (line 341) | fn allows_good_practice() { function allows_understandable (line 349) | fn allows_understandable() { function allows_insincere (line 357) | fn allows_insincere() { function allows_its_possible (line 365) | fn allows_its_possible() { function allows_many_times_harder (line 373) | fn allows_many_times_harder() { function allow_issue_1658 (line 381) | fn allow_issue_1658() { function allow_issue_2001 (line 389) | fn allow_issue_2001() { function dont_flag_issue_1722_its_whats_accessible (line 397) | fn dont_flag_issue_1722_its_whats_accessible() { function dont_flag_issue_1722_its_early_and (line 405) | fn dont_flag_issue_1722_its_early_and() { function dont_flag_issue_1722_its_big_enough (line 413) | fn dont_flag_issue_1722_its_big_enough() { function allows_its_awesome (line 418) | fn allows_its_awesome() { function flags_all_its_possessive_in_list (line 423) | fn flags_all_its_possessive_in_list() { function fixes_all_its_possessive_in_list (line 432) | fn fixes_all_its_possessive_in_list() { FILE: harper-core/src/linting/jealous_of.rs type JealousOf (line 8) | pub struct JealousOf { method default (line 13) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 39) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function replaces_basic_from (line 65) | fn replaces_basic_from() { function handles_optional_determiner (line 74) | fn handles_optional_determiner() { function fixes_pronoun_object (line 83) | fn fixes_pronoun_object() { function allows_oov_target (line 92) | fn allows_oov_target() { function corrects_uppercase_preposition (line 101) | fn corrects_uppercase_preposition() { function fixes_longer_phrase (line 110) | fn fixes_longer_phrase() { function fixes_minimal_phrase (line 119) | fn fixes_minimal_phrase() { function does_not_flag_correct_usage (line 128) | fn does_not_flag_correct_usage() { function does_not_flag_other_preposition_sequence (line 137) | fn does_not_flag_other_preposition_sequence() { function fixes_following_gerund (line 146) | fn fixes_following_gerund() { function ignores_numbers_after_from (line 155) | fn ignores_numbers_after_from() { FILE: harper-core/src/linting/johns_hopkins.rs type JohnsHopkins (line 8) | pub struct JohnsHopkins { method default (line 13) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 50) | fn description(&self) -> &'static str { function corrects_university_reference (line 61) | fn corrects_university_reference() { function corrects_hospital_reference (line 70) | fn corrects_hospital_reference() { function corrects_standalone_name (line 79) | fn corrects_standalone_name() { function corrects_lowercase_usage (line 88) | fn corrects_lowercase_usage() { function corrects_across_newline_whitespace (line 97) | fn corrects_across_newline_whitespace() { function corrects_with_trailing_punctuation (line 106) | fn corrects_with_trailing_punctuation() { function corrects_before_hyphenated_unit (line 115) | fn corrects_before_hyphenated_unit() { function allows_correct_spelling (line 124) | fn allows_correct_spelling() { function allows_apostrophized_form (line 133) | fn allows_apostrophized_form() { function allows_reversed_name_order (line 142) | fn allows_reversed_name_order() { FILE: harper-core/src/linting/lead_rise_to.rs type LeadRiseTo (line 7) | pub struct LeadRiseTo { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method description (line 26) | fn description(&self) -> &str { method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function fix_led_simple_past (line 77) | fn fix_led_simple_past() { function fix_led_past_participle (line 86) | fn fix_led_past_participle() { function fix_lead_spello_for_led (line 95) | fn fix_lead_spello_for_led() { function fix_lead_not_spello (line 104) | fn fix_lead_not_spello() { function fix_leads (line 113) | fn fix_leads() { function fix_leading (line 122) | fn fix_leading() { FILE: harper-core/src/linting/left_right_hand.rs type LeftRightHand (line 8) | pub struct LeftRightHand { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 44) | fn description(&self) -> &'static str { function corrects_left_hand_side (line 55) | fn corrects_left_hand_side() { function corrects_right_hand_corner (line 64) | fn corrects_right_hand_corner() { function does_not_correct_noun_usage (line 73) | fn does_not_correct_noun_usage() { FILE: harper-core/src/linting/less_worse.rs type LessWorse (line 7) | pub struct LessWorse { method default (line 12) | fn default() -> Self { type Unit (line 22) | type Unit = Chunk; method expr (line 24) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 28) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 96) | fn description(&self) -> &'static str { function correct_least_worse (line 108) | fn correct_least_worse() { function correct_least_worst_hyphen (line 122) | fn correct_least_worst_hyphen() { function correct_less_worse (line 135) | fn correct_less_worse() { function correct_less_worst (line 144) | fn correct_less_worst() { FILE: harper-core/src/linting/let_to_do.rs type LetToDo (line 9) | pub struct LetToDo { method default (line 14) | fn default() -> Self { type Unit (line 48) | type Unit = Chunk; method expr (line 50) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 54) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 64) | fn description(&self) -> &'static str { function let_me_to (line 77) | fn let_me_to() { function let_you_to (line 86) | fn let_you_to() { function let_us_to (line 95) | fn let_us_to() { function let_it_to (line 104) | fn let_it_to() { function let_him_to (line 113) | fn let_him_to() { function let_anybody_to (line 122) | fn let_anybody_to() { function let_anyone_to (line 131) | fn let_anyone_to() { function let_any_one_to (line 140) | fn let_any_one_to() { function let_everybody_to (line 149) | fn let_everybody_to() { function let_everyone_to (line 158) | fn let_everyone_to() { function let_every_one_to (line 167) | fn let_every_one_to() { function let_nobody_to (line 176) | fn let_nobody_to() { function let_no_one_to (line 185) | fn let_no_one_to() { function let_somebody_to (line 194) | fn let_somebody_to() { function let_some_one_to (line 203) | fn let_some_one_to() { function lets_me_to (line 214) | fn lets_me_to() { function lets_you_to (line 223) | fn lets_you_to() { function lets_us_to (line 232) | fn lets_us_to() { function lets_anyone_to (line 241) | fn lets_anyone_to() { function lets_everybody_to (line 250) | fn lets_everybody_to() { function lets_everyone_to (line 259) | fn lets_everyone_to() { function lets_someone_to (line 268) | fn lets_someone_to() { function lets_me_to_apostrophe (line 279) | fn lets_me_to_apostrophe() { function lets_us_to_apostrophe (line 288) | fn lets_us_to_apostrophe() { function lets_you_to_apostrophe (line 297) | fn lets_you_to_apostrophe() { function lets_him_to_apostrophe (line 306) | fn lets_him_to_apostrophe() { function lets_her_to_apostrophe (line 315) | fn lets_her_to_apostrophe() { function lets_it_to_apostrophe (line 324) | fn lets_it_to_apostrophe() { function lets_them_to_apostrophe (line 333) | fn lets_them_to_apostrophe() { function lets_anyone_to_apostrophe (line 342) | fn lets_anyone_to_apostrophe() { function lets_any_one_to_apostrophe (line 351) | fn lets_any_one_to_apostrophe() { function lets_everyone_to_apostrophe (line 360) | fn lets_everyone_to_apostrophe() { function lets_someone_to_apostrophe (line 369) | fn lets_someone_to_apostrophe() { FILE: harper-core/src/linting/lets_confusion/let_us_redundancy.rs type LetUsRedundancy (line 13) | pub struct LetUsRedundancy { method default (line 18) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 57) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/lets_confusion/mod.rs function walking (line 22) | fn walking() { function issue_426_us (line 31) | fn issue_426_us() { function issue_426_me (line 36) | fn issue_426_me() { function from_harper_docs (line 41) | fn from_harper_docs() { function issue_470_missing_apostrophe_play (line 51) | fn issue_470_missing_apostrophe_play() { function issue_470_missing_subject_play (line 57) | fn issue_470_missing_subject_play() { function issue_470_missing_apostrophe_proceed (line 62) | fn issue_470_missing_apostrophe_proceed() { function issue_470_missing_subject_proceed (line 67) | fn issue_470_missing_subject_proceed() { function issue_548 (line 72) | fn issue_548() { FILE: harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs type NoContractionWithVerb (line 18) | pub struct NoContractionWithVerb { method default (line 23) | fn default() -> Self { type Unit (line 59) | type Unit = Chunk; method expr (line 61) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 65) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 91) | fn description(&self) -> &'static str { function fix_lets_inspect (line 104) | fn fix_lets_inspect() { function dont_flag_let_chance (line 115) | fn dont_flag_let_chance() { function dont_flag_let_time (line 120) | fn dont_flag_let_time() { function dont_flag_lets_staff (line 129) | fn dont_flag_lets_staff() { function dont_flag_lets_time (line 138) | fn dont_flag_lets_time() { function dont_flag_lets_play (line 147) | fn dont_flag_lets_play() { function dont_flag_let_sleeping (line 158) | fn dont_flag_let_sleeping() { function dont_flag_let_processed (line 169) | fn dont_flag_let_processed() { function corrects_lets_make_this (line 180) | fn corrects_lets_make_this() { function corrects_lets_mock_them (line 191) | fn corrects_lets_mock_them() { function dont_flag_let_us (line 202) | fn dont_flag_let_us() { function dont_flag_let_go_1202 (line 207) | fn dont_flag_let_go_1202() { function dont_flag_let_in_and (line 218) | fn dont_flag_let_in_and() { FILE: harper-core/src/linting/likewise.rs type Likewise (line 9) | pub struct Likewise { method default (line 13) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 48) | fn description(&self) -> &'static str { function wise_men (line 60) | fn wise_men() { function like_wise (line 69) | fn like_wise() { FILE: harper-core/src/linting/lint.rs type Lint (line 11) | pub struct Lint { method spanless_hash (line 35) | pub fn spanless_hash(&self) -> u64 { method message_html (line 47) | pub fn message_html(&self) -> String { method default (line 53) | fn default() -> Self { FILE: harper-core/src/linting/lint_group.rs function ser_ordered (line 258) | fn ser_ordered(map: &HashMap>, ser: S) -> Result... function de_hashbrown (line 266) | fn de_hashbrown<'de, D>(de: D) -> Result>, ... type LintGroupConfig (line 278) | pub struct LintGroupConfig { method has_rule (line 293) | pub fn has_rule(&self, key: impl AsRef) -> bool { method set_rule_enabled (line 297) | pub fn set_rule_enabled(&mut self, key: impl ToString, val: bool) { method unset_rule_enabled (line 303) | pub fn unset_rule_enabled(&mut self, key: impl AsRef) { method set_rule_enabled_if_unset (line 307) | pub fn set_rule_enabled_if_unset(&mut self, key: impl AsRef, val:... method is_rule_enabled (line 313) | pub fn is_rule_enabled(&self, key: &str) -> bool { method clear (line 319) | pub fn clear(&mut self) { method merge_from (line 329) | pub fn merge_from(&mut self, other: &mut LintGroupConfig) { method fill_with_curated (line 342) | pub fn fill_with_curated(&mut self) { method new_curated (line 348) | pub fn new_curated() -> Self { function curated_config (line 285) | fn curated_config() -> LintGroupConfig { method hash (line 354) | fn hash(&self, hasher: &mut H) { type LintGroup (line 371) | pub struct LintGroup { method empty (line 391) | pub fn empty() -> Self { method contains_key (line 405) | pub fn contains_key(&self, name: impl AsRef) -> bool { method add (line 412) | pub fn add(&mut self, name: impl AsRef, linter: impl Linter + 'st... method add_chunk_expr_linter (line 432) | pub fn add_chunk_expr_linter( method merge_from (line 454) | pub fn merge_from(&mut self, other: &mut LintGroup) { method iter_keys (line 482) | pub fn iter_keys(&self) -> impl Iterator { method set_all_rules_to (line 491) | pub fn set_all_rules_to(&mut self, enabled: Option) { method all_descriptions (line 503) | pub fn all_descriptions(&self) -> HashMap<&str, &str> { method all_descriptions_html (line 516) | pub fn all_descriptions_html(&self) -> HashMap<&str, String> { method with_lint_config (line 529) | pub fn with_lint_config(mut self, config: LintGroupConfig) -> Self { method new_curated (line 534) | pub fn new_curated(dictionary: Arc, dialect... method new_curated_empty_config (line 859) | pub fn new_curated_empty_config( method organized_lints (line 868) | pub fn organized_lints(&mut self, document: &Document) -> BTreeMap Self { method lint (line 932) | fn lint(&mut self, document: &Document) -> Vec { method description (line 939) | fn description(&self) -> &str { function test_group (line 954) | fn test_group() -> LintGroup { function clean_interjection (line 959) | fn clean_interjection() { function clean_consensus (line 967) | fn clean_consensus() { function can_get_all_descriptions (line 972) | fn can_get_all_descriptions() { function can_get_all_descriptions_as_html (line 979) | fn can_get_all_descriptions_as_html() { function dont_flag_low_hanging_fruit_msg (line 986) | fn dont_flag_low_hanging_fruit_msg() { function dont_flag_low_hanging_fruit_desc (line 994) | fn dont_flag_low_hanging_fruit_desc() { function lint_descriptions_are_clean (line 1015) | fn lint_descriptions_are_clean() { function no_linter_names_clash (line 1046) | fn no_linter_names_clash() { FILE: harper-core/src/linting/lint_kind.rs type LintKind (line 10) | pub enum LintKind { method from_string_key (line 59) | pub fn from_string_key(s: &str) -> Option { method to_string_key (line 86) | pub fn to_string_key(&self) -> String { method fmt (line 114) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: harper-core/src/linting/long_sentences.rs type LongSentences (line 7) | pub struct LongSentences; method lint (line 10) | fn lint(&mut self, document: &Document) -> Vec { method description (line 32) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/look_down_ones_nose.rs type LookDownOnesNose (line 7) | pub struct LookDownOnesNose { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method description (line 28) | fn description(&self) -> &str { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method expr (line 55) | fn expr(&self) -> &dyn Expr { function look_his_nose (line 66) | fn look_his_nose() { function look_my_nose (line 75) | fn look_my_nose() { function look_their_nose (line 84) | fn look_their_nose() { function look_their_noses (line 93) | fn look_their_noses() { function look_your_nose (line 102) | fn look_your_nose() { function looking_her_nose (line 111) | fn looking_her_nose() { function looking_his_nose (line 120) | fn looking_his_nose() { function looking_their_noses (line 129) | fn looking_their_noses() { function looking_your_nose (line 138) | fn looking_your_nose() { function looks_her_nose (line 147) | fn looks_her_nose() { function looks_his_nose (line 156) | fn looks_his_nose() { function looks_their_nose (line 165) | fn looks_their_nose() { FILE: harper-core/src/linting/looking_forward_to.rs type LookingForwardTo (line 10) | pub struct LookingForwardTo { method default (line 15) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], src: &[char]) -> Optio... method description (line 86) | fn description(&self) -> &'static str { function not_lint_with_correct_verb (line 98) | fn not_lint_with_correct_verb() { function lint_with_incorrect_verb (line 112) | fn lint_with_incorrect_verb() { function lint_with_incorrect_verb_ending_in_e (line 121) | fn lint_with_incorrect_verb_ending_in_e() { function not_lint_with_non_verb (line 130) | fn not_lint_with_non_verb() { FILE: harper-core/src/linting/map_phrase_linter.rs type MapPhraseLinter (line 11) | pub struct MapPhraseLinter { method new (line 20) | pub fn new( method new_similar_to_phrase (line 36) | pub fn new_similar_to_phrase(phrase: &'static str, detectable_distance... method new_fixed_phrases (line 46) | pub fn new_fixed_phrases( method new_fixed_phrase (line 72) | pub fn new_fixed_phrase( method new_closed_compound (line 88) | pub fn new_closed_compound(phrase: impl AsRef, correct_form: impl... type Unit (line 110) | type Unit = Chunk; method expr (line 112) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 116) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 138) | fn description(&self) -> &str { FILE: harper-core/src/linting/map_phrase_set_linter.rs type MapPhraseSetLinter (line 10) | pub struct MapPhraseSetLinter<'a> { function one_to_one (line 20) | pub fn one_to_one( function many_to_many (line 46) | pub fn many_to_many( type Unit (line 72) | type Unit = Chunk; method expr (line 74) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 78) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 124) | fn description(&self) -> &str { FILE: harper-core/src/linting/mass_nouns/mass_plurals.rs type MassPlurals (line 11) | pub struct MassPlurals { function new (line 20) | pub fn new(dict: D) -> Self { function is_mass_noun_in_dictionary (line 44) | fn is_mass_noun_in_dictionary(&self, chars: &[char]) -> bool { function is_mass_noun_in_dictionary_str (line 50) | fn is_mass_noun_in_dictionary_str(&self, s: &str) -> bool { type Unit (line 61) | type Unit = Chunk; method expr (line 63) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 67) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 148) | fn description(&self) -> &'static str { function flag_advicess (line 163) | fn flag_advicess() { function flag_source_codes_and_softwares (line 172) | fn flag_source_codes_and_softwares() { function flag_noun_ending_in_ies (line 181) | fn flag_noun_ending_in_ies() { function flag_real_estates (line 190) | fn flag_real_estates() { function flag_wear_and_tears (line 199) | fn flag_wear_and_tears() { function fix_wear_and_tears (line 208) | fn fix_wear_and_tears() { FILE: harper-core/src/linting/mass_nouns/mod.rs type MassNouns (line 14) | pub struct MassNouns { function new (line 23) | pub fn new(dict: D) -> Self { method lint (line 35) | fn lint(&mut self, document: &Document) -> Vec { method description (line 46) | fn description(&self) -> &'static str { function flag_advices_and_an_advice (line 61) | fn flag_advices_and_an_advice() { function correct_a_luggage (line 70) | fn correct_a_luggage() { function correct_clothings (line 79) | fn correct_clothings() { FILE: harper-core/src/linting/mass_nouns/noun_countability.rs type Correction (line 10) | pub enum Correction { type NounCountability (line 23) | pub struct NounCountability { method default (line 28) | fn default() -> Self { type Unit (line 65) | type Unit = Chunk; method expr (line 67) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 71) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 197) | fn description(&self) -> &'static str { function corrects_a (line 208) | fn corrects_a() { function corrects_a_title_case (line 218) | fn corrects_a_title_case() { function corrects_an (line 227) | fn corrects_an() { function corrects_an_title_case (line 237) | fn corrects_an_title_case() { function corrects_another (line 246) | fn corrects_another() { function corrects_both (line 255) | fn corrects_both() { function can_correct_each_with_traffic (line 265) | fn can_correct_each_with_traffic() { function corrects_every (line 274) | fn corrects_every() { function corrects_few (line 283) | fn corrects_few() { function corrects_many (line 292) | fn corrects_many() { function corrects_one (line 301) | fn corrects_one() { function corrects_several (line 311) | fn corrects_several() { function dont_correct_many_compound (line 320) | fn dont_correct_many_compound() { function dont_correct_first_do_correct_second (line 330) | fn dont_correct_first_do_correct_second() { function corrects_an_advice (line 339) | fn corrects_an_advice() { function corrects_one_advice (line 348) | fn corrects_one_advice() { function corrects_every_advice (line 357) | fn corrects_every_advice() { function corrects_a_advice (line 366) | fn corrects_a_advice() { function corrects_a_software (line 375) | fn corrects_a_software() { function corrects_a_luggage (line 384) | fn corrects_a_luggage() { function corrects_multiple_advice (line 393) | fn corrects_multiple_advice() { function corrects_every_software (line 402) | fn corrects_every_software() { function corrects_each_furniture (line 411) | fn corrects_each_furniture() { function corrects_one_clothing (line 420) | fn corrects_one_clothing() { function dont_flag_compound_nouns (line 429) | fn dont_flag_compound_nouns() { function corrects_fewer (line 453) | fn corrects_fewer() { function dont_flag_fewer_in_compound_noun (line 462) | fn dont_flag_fewer_in_compound_noun() { function dont_flag_mass_noun_part_of_hyphenated_compound (line 471) | fn dont_flag_mass_noun_part_of_hyphenated_compound() { function corrects_punctuation (line 480) | fn corrects_punctuation() { FILE: harper-core/src/linting/means_a_lot_to.rs type MeansALotTo (line 8) | pub struct MeansALotTo { method default (line 13) | fn default() -> Self { type Unit (line 30) | type Unit = Chunk; method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method expr (line 62) | fn expr(&self) -> &dyn Expr { method description (line 66) | fn description(&self) -> &str { function fix_mean_a_lot_for (line 78) | fn fix_mean_a_lot_for() { function fix_mean_alot_for (line 87) | fn fix_mean_alot_for() { function fix_mean_lot_for (line 96) | fn fix_mean_lot_for() { function fix_means_a_lot_for (line 105) | fn fix_means_a_lot_for() { function fix_means_alot_for (line 114) | fn fix_means_alot_for() { function fix_means_lot_for (line 123) | fn fix_means_lot_for() { function fix_meant_a_lot_for (line 132) | fn fix_meant_a_lot_for() { function fix_meant_alot_for (line 141) | fn fix_meant_alot_for() { FILE: harper-core/src/linting/merge_words.rs type MergeWords (line 9) | pub struct MergeWords { method new (line 14) | pub fn new() -> Self { method default (line 22) | fn default() -> Self { method lint (line 28) | fn lint(&mut self, document: &Document) -> Vec { method description (line 89) | fn description(&self) -> &str { function clean (line 101) | fn clean() { function heretofore (line 110) | fn heretofore() { function therefore (line 119) | fn therefore() { function that_is_contraction (line 124) | fn that_is_contraction() { function allows_issue_722 (line 129) | fn allows_issue_722() { FILE: harper-core/src/linting/missing_preposition.rs type MissingPreposition (line 14) | pub struct MissingPreposition { method default (line 19) | fn default() -> Self { type Unit (line 42) | type Unit = Chunk; method expr (line 44) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 48) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 64) | fn description(&self) -> &'static str { function fixes_issue_1513 (line 76) | fn fixes_issue_1513() { function allows_corrected_issue_1513 (line 90) | fn allows_corrected_issue_1513() { function no_lint_without_adj_noun_sequence (line 102) | fn no_lint_without_adj_noun_sequence() { function no_lint_with_preposition_present (line 107) | fn no_lint_with_preposition_present() { function flag_adj_pron_pair (line 117) | fn flag_adj_pron_pair() { function no_lint_empty (line 122) | fn no_lint_empty() { function allows_tired_herself (line 127) | fn allows_tired_herself() { function allows_terrible_stuff (line 135) | fn allows_terrible_stuff() { function allows_issue_1585 (line 143) | fn allows_issue_1585() { FILE: harper-core/src/linting/missing_space.rs type MissingSpace (line 7) | pub struct MissingSpace; method lint (line 10) | fn lint(&mut self, document: &Document) -> Vec { method description (line 38) | fn description(&self) -> &str { function issue_2191 (line 50) | fn issue_2191() { function coffee_table (line 59) | fn coffee_table() { function open_window (line 68) | fn open_window() { function hallway_cat (line 77) | fn hallway_cat() { function rain_glass (line 86) | fn rain_glass() { function cyclist_house (line 95) | fn cyclist_house() { function kettle_stove (line 104) | fn kettle_stove() { function sparrow_fence (line 113) | fn sparrow_fence() { function streetlamp_dusk (line 122) | fn streetlamp_dusk() { function distant_laughter (line 131) | fn distant_laughter() { function notebook_desk (line 140) | fn notebook_desk() { function question_mark_mid_sentence (line 149) | fn question_mark_mid_sentence() { function question_mark_before_name (line 158) | fn question_mark_before_name() { function exclamation_mid_sentence (line 167) | fn exclamation_mid_sentence() { function exclamation_before_clause (line 176) | fn exclamation_before_clause() { function semicolon_before_adverb (line 185) | fn semicolon_before_adverb() { function semicolon_connecting_clauses (line 194) | fn semicolon_connecting_clauses() { FILE: harper-core/src/linting/missing_to.rs type MissingTo (line 11) | pub struct MissingTo { method strict_controller_words (line 16) | fn strict_controller_words() -> WordSet { method permissive_controller_words (line 35) | fn permissive_controller_words() -> WordSet { method previous_word_with_span (line 134) | fn previous_word_with_span(source: &[char], start: usize) -> Option<(S... method previous_word (line 169) | fn previous_word(source: &[char], start: usize) -> Option { method previous_non_whitespace_char (line 173) | fn previous_non_whitespace_char(source: &[char], start: usize) -> Opti... method next_non_whitespace_char (line 187) | fn next_non_whitespace_char(source: &[char], start: usize) -> Option Self { type Unit (line 249) | type Unit = Chunk; method expr (line 251) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 255) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 400) | fn description(&self) -> &str { function inserts_to_after_meant (line 411) | fn inserts_to_after_meant() { function inserts_to_after_wants (line 420) | fn inserts_to_after_wants() { function inserts_to_after_need (line 429) | fn inserts_to_after_need() { function inserts_to_after_agreed (line 438) | fn inserts_to_after_agreed() { function inserts_to_after_forgot (line 447) | fn inserts_to_after_forgot() { function inserts_to_after_trying (line 456) | fn inserts_to_after_trying() { function inserts_to_after_refused (line 465) | fn inserts_to_after_refused() { function inserts_to_after_ready (line 474) | fn inserts_to_after_ready() { function inserts_to_after_eager (line 483) | fn inserts_to_after_eager() { function inserts_to_after_inclined (line 492) | fn inserts_to_after_inclined() { function inserts_to_after_resolved (line 501) | fn inserts_to_after_resolved() { function no_lint_when_to_present (line 510) | fn no_lint_when_to_present() { function no_lint_with_noun_after_controller (line 515) | fn no_lint_with_noun_after_controller() { function no_lint_needs_follow_up_appointments (line 520) | fn no_lint_needs_follow_up_appointments() { function no_lint_delays_meant_decisions (line 529) | fn no_lint_delays_meant_decisions() { function no_lint_bouquet_of_roses (line 538) | fn no_lint_bouquet_of_roses() { function no_lint_for_intended_word_phrase (line 547) | fn no_lint_for_intended_word_phrase() { function no_lint_long_passage (line 556) | fn no_lint_long_passage() { function no_lint_long_island_sound (line 565) | fn no_lint_long_island_sound() { function no_lint_learn_tag_probabilities (line 574) | fn no_lint_learn_tag_probabilities() { function no_lint_standard_feature_nominal_phrase (line 583) | fn no_lint_standard_feature_nominal_phrase() { function no_lint_mixing_bowl_nominal_phrase (line 592) | fn no_lint_mixing_bowl_nominal_phrase() { function no_lint_try_and_say (line 601) | fn no_lint_try_and_say() { function no_lint_failed_edit_attempts (line 610) | fn no_lint_failed_edit_attempts() { function no_lint_ready_work (line 615) | fn no_lint_ready_work() { function no_lint_bad_at_managing_side_effects (line 620) | fn no_lint_bad_at_managing_side_effects() { function no_lint_a_fully_resolved_conflict (line 625) | fn no_lint_a_fully_resolved_conflict() { function no_lint_a_resolved_configuration (line 630) | fn no_lint_a_resolved_configuration() { function no_lint_a_fully_resolved_configuration (line 635) | fn no_lint_a_fully_resolved_configuration() { function no_lint_a_resolved_set_of_configuration (line 640) | fn no_lint_a_resolved_set_of_configuration() { function no_lint_a_fully_resolved_set_of_configuration (line 645) | fn no_lint_a_fully_resolved_set_of_configuration() { function no_lint_system_produced_a_fully_resolved_set_of_dependencies (line 654) | fn no_lint_system_produced_a_fully_resolved_set_of_dependencies() { function no_lint_a_resolved_list_of_parameters (line 663) | fn no_lint_a_resolved_list_of_parameters() { function no_lint_a_fully_resolved_list_of_parameters (line 668) | fn no_lint_a_fully_resolved_list_of_parameters() { function no_lint_a_prepared_stranger (line 677) | fn no_lint_a_prepared_stranger() { function no_lint_a_fully_prepared_stranger (line 682) | fn no_lint_a_fully_prepared_stranger() { function no_lint_a_prepared_group_of_strangers (line 687) | fn no_lint_a_prepared_group_of_strangers() { function no_lint_a_fully_prepared_group_of_strangers (line 692) | fn no_lint_a_fully_prepared_group_of_strangers() { function no_lint_a_nicely_arranged_set_of_flowers (line 701) | fn no_lint_a_nicely_arranged_set_of_flowers() { function no_lint_a_recently_forgotten_list_of_names (line 710) | fn no_lint_a_recently_forgotten_list_of_names() { FILE: harper-core/src/linting/misspell.rs type Misspell (line 8) | pub struct Misspell { method default (line 13) | fn default() -> Self { type Unit (line 27) | type Unit = Chunk; method expr (line 29) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 33) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 66) | fn description(&self) -> &'static str { function base_form (line 78) | fn base_form() { function past_tense (line 87) | fn past_tense() { function past_tense_hyphen (line 96) | fn past_tense_hyphen() { function gerund_form (line 105) | fn gerund_form() { FILE: harper-core/src/linting/mixed_bag.rs type MixedBag (line 10) | pub struct MixedBag { method default (line 15) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 57) | fn description(&self) -> &'static str { function a_mixed_bad (line 68) | fn a_mixed_bad() { function big_mixed_bag (line 77) | fn big_mixed_bag() { function damn_mixed_bag (line 86) | fn damn_mixed_bag() { function huge_mixed_bag (line 95) | fn huge_mixed_bag() { function large_mixed_bag (line 104) | fn large_mixed_bag() { function massive_mixed_bad (line 113) | fn massive_mixed_bad() { function massively_mixed_bag (line 122) | fn massively_mixed_bag() { function pretty_mixed_bag (line 131) | fn pretty_mixed_bag() { function rather_mixed_bag (line 140) | fn rather_mixed_bag() { function really_mixed_bag (line 149) | fn really_mixed_bag() { function slightly_mixed_bag (line 158) | fn slightly_mixed_bag() { function somewhat_mixed_bag (line 167) | fn somewhat_mixed_bag() { function very_mixed_bag (line 176) | fn very_mixed_bag() { FILE: harper-core/src/linting/mod.rs type Linter (line 275) | pub trait Linter: LSend { method lint (line 278) | fn lint(&mut self, document: &Document) -> Vec; method description (line 281) | fn description(&self) -> &str; method lint (line 385) | fn lint(&mut self, doc: &Document) -> Vec { method description (line 424) | fn description(&self) -> &str { type HtmlDescriptionLinter (line 285) | pub trait HtmlDescriptionLinter { method description_html (line 286) | fn description_html(&self) -> String; method description_html (line 293) | fn description_html(&self) -> String { function format_lint_match (line 316) | pub fn format_lint_match( type SpanVecExt (line 348) | pub trait SpanVecExt { method to_strings (line 349) | fn to_strings(&self, doc: &Document) -> Vec; method to_strings (line 353) | fn to_strings(&self, doc: &Document) -> Vec { type TestLinterMap (line 373) | pub type TestLinterMap<'a> = &'a [(&'a [&'a str], &'a [&'a str])]; type TestLinter (line 376) | pub struct TestLinter<'a> { function new (line 380) | pub fn new(map: TestLinterMap<'a>) -> Self { function test_1_to_1_error_to_fix (line 434) | fn test_1_to_1_error_to_fix() { function test_1_to_2_error_to_fixes (line 439) | fn test_1_to_2_error_to_fixes() { function test_2_to_1_errors_to_fix (line 446) | fn test_2_to_1_errors_to_fix() { function test_2_to_2_errors_to_fixes (line 453) | fn test_2_to_2_errors_to_fixes() { function assert_no_lints (line 463) | pub fn assert_no_lints(text: &str, linter: impl Linter) { function verify_no_lints (line 468) | fn verify_no_lints() { function assert_lint_count (line 473) | pub fn assert_lint_count(text: &str, mut linter: impl Linter, count: usi... function verify_1_lint (line 486) | fn verify_1_lint() { function verify_2_lints (line 495) | fn verify_2_lints() { function assert_suggestion_count (line 506) | pub fn assert_suggestion_count(text: &str, mut linter: impl Linter, coun... function verify_no_suggestions (line 529) | fn verify_no_suggestions() { function verify_1_suggestion (line 534) | fn verify_1_suggestion() { type DocumentType (line 544) | enum DocumentType { function create_document (line 550) | fn create_document(chars: &[char], doc_type: DocumentType) -> Document { function assert_suggestion_result (line 567) | pub fn assert_suggestion_result(text: &str, mut linter: impl Linter, nee... function assert_markdown_suggestion_result (line 580) | pub fn assert_markdown_suggestion_result(text: &str, mut linter: impl Li... function search_for_suggestion (line 588) | fn search_for_suggestion( function verify_fix_one_lint (line 628) | fn verify_fix_one_lint() { function verify_unable_to_fix_one_spanish_lint (line 638) | fn verify_unable_to_fix_one_spanish_lint() { function verify_fix_two_lints (line 643) | fn verify_fix_two_lints() { function verify_fix_five_typos (line 656) | fn verify_fix_five_typos() { function assert_not_in_suggestion_result (line 672) | pub fn assert_not_in_suggestion_result( function verify_sole_suggestion_is_the_one_we_wanted (line 694) | fn verify_sole_suggestion_is_the_one_we_wanted() { function verify_sole_suggestion_not_in_result_fails (line 706) | fn verify_sole_suggestion_not_in_result_fails() { function assert_good_and_bad_suggestions (line 721) | pub fn assert_good_and_bad_suggestions( function verify_mutal_corrections_cause_failure (line 801) | fn verify_mutal_corrections_cause_failure() { function assert_lint_message (line 811) | pub fn assert_lint_message(text: &str, mut linter: impl Linter, expected... FILE: harper-core/src/linting/modal_be_adjective.rs type ModalBeAdjective (line 11) | pub struct ModalBeAdjective { method default (line 16) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method expr (line 41) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 45) | fn match_to_lint_with_context( method description (line 77) | fn description(&self) -> &str { function fix_would_nice (line 89) | fn fix_would_nice() { function fix_could_configured (line 98) | fn fix_could_configured() { function fix_will_accessible (line 107) | fn fix_will_accessible() { function ignore_would_external_traffic (line 116) | fn ignore_would_external_traffic() { function ignore_could_kind_of (line 124) | fn ignore_could_kind_of() { function ignore_you_can_backup (line 132) | fn ignore_you_can_backup() { function ignore_would_incorrect (line 138) | fn ignore_would_incorrect() { function ignore_should_upper (line 147) | fn ignore_should_upper() { FILE: harper-core/src/linting/modal_of.rs type ModalOf (line 8) | pub struct ModalOf { method default (line 13) | fn default() -> Self { type Unit (line 68) | type Unit = Chunk; method expr (line 70) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 74) | fn match_to_lint(&self, matched_toks: &[Token], source_chars: &[char]) -... method description (line 126) | fn description(&self) -> &'static str { function test_lowercase (line 139) | fn test_lowercase() { function test_negative (line 144) | fn test_negative() { function test_uppercase_negative (line 149) | fn test_uppercase_negative() { function test_false_positive_of_course (line 154) | fn test_false_positive_of_course() { function test_false_positive_the_might_of (line 159) | fn test_false_positive_the_might_of() { function test_false_positive_great_might_of (line 164) | fn test_false_positive_great_might_of() { function test_false_positive_capital_negative (line 169) | fn test_false_positive_capital_negative() { function test_buggy_implementation (line 176) | fn test_buggy_implementation() { function test_missed_one (line 185) | fn test_missed_one() { function test_user_option (line 194) | fn test_user_option() { function catches_must_of (line 203) | fn catches_must_of() { function catches_should_of (line 212) | fn catches_should_of() { function catches_would_of (line 221) | fn catches_would_of() { function doesnt_catch_you_could_of_course (line 230) | fn doesnt_catch_you_could_of_course() { function doesnt_catch_compiler_could_of_course (line 239) | fn doesnt_catch_compiler_could_of_course() { function doesnt_catch_might_of_course_be (line 248) | fn doesnt_catch_might_of_course_be() { function doesnt_catch_not_a_must_of_course (line 257) | fn doesnt_catch_not_a_must_of_course() { function doesnt_catch_must_of_course_also (line 266) | fn doesnt_catch_must_of_course_also() { function doesnt_catch_should_of_course_not (line 275) | fn doesnt_catch_should_of_course_not() { function doesnt_catch_would_of_course_just (line 284) | fn doesnt_catch_would_of_course_just() { function doesnt_catch_to_take_on_the_full_might_of_nato (line 293) | fn doesnt_catch_to_take_on_the_full_might_of_nato() { function doesnt_catch_mixed_case_of_course (line 298) | fn doesnt_catch_mixed_case_of_course() { function catches_mixed_case_could_of_put (line 307) | fn catches_mixed_case_could_of_put() { function doesnt_catch_noun_will_of (line 312) | fn doesnt_catch_noun_will_of() { function doesnt_catch_noun_will_of_edgecase (line 317) | fn doesnt_catch_noun_will_of_edgecase() { function catch_modal_will_of (line 322) | fn catch_modal_will_of() { function catch_may_of (line 327) | fn catch_may_of() { function dont_flag_in_may_of_last_year_bug_2786 (line 336) | fn dont_flag_in_may_of_last_year_bug_2786() { function dont_flag_can_of_red_bull_2807 (line 341) | fn dont_flag_can_of_red_bull_2807() { FILE: harper-core/src/linting/modal_seem.rs type MatchContext (line 10) | struct MatchContext { type ModalSeem (line 14) | pub struct ModalSeem { method base_sequence (line 19) | fn base_sequence() -> SequenceExpr { method adjective_step (line 25) | fn adjective_step() -> SequenceExpr { method adverb_then_adjective_step (line 31) | fn adverb_then_adjective_step() -> SequenceExpr { method default (line 41) | fn default() -> Self { type Unit (line 63) | type Unit = Chunk; method expr (line 65) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 69) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 97) | fn description(&self) -> &str { function corrects_basic_case (line 108) | fn corrects_basic_case() { function corrects_with_adverb (line 117) | fn corrects_with_adverb() { function offers_be_option (line 126) | fn offers_be_option() { function respects_uppercase (line 135) | fn respects_uppercase() { function corrects_before_punctuation (line 144) | fn corrects_before_punctuation() { function corrects_across_newline (line 153) | fn corrects_across_newline() { function ignores_correct_seem (line 162) | fn ignores_correct_seem() { function ignores_modal_with_be_seen (line 167) | fn ignores_modal_with_be_seen() { function ignores_modal_seen_noun (line 172) | fn ignores_modal_seen_noun() { function ignores_modal_seen_clause (line 180) | fn ignores_modal_seen_clause() { FILE: harper-core/src/linting/months.rs constant ALL_MONTHS (line 10) | const ALL_MONTHS: &[&str] = &[ type Months (line 25) | pub struct Months { method default (line 30) | fn default() -> Self { type Unit (line 87) | type Unit = Chunk; method expr (line 89) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 93) | fn match_to_lint(&self, tokens: &[Token], src: &[char]) -> Option { method description (line 119) | fn description(&self) -> &str { function fix_in_august (line 130) | fn fix_in_august() { function fix_in_march (line 139) | fn fix_in_march() { function fix_in_may (line 148) | fn fix_in_may() { function fix_last_august (line 157) | fn fix_last_august() { function fix_last_may (line 166) | fn fix_last_may() { function fix_of_august (line 175) | fn fix_of_august() { function fix_march_2019 (line 184) | fn fix_march_2019() { function fix_may_2022 (line 193) | fn fix_may_2022() { function fix_days (line 202) | fn fix_days() { FILE: harper-core/src/linting/more_adjective.rs type MoreAdjective (line 11) | pub struct MoreAdjective { function new (line 20) | pub fn new(dict: D) -> Self { function add_valid_candidate (line 29) | fn add_valid_candidate(&self, candidates: &mut Vec, candidate: S... type Unit (line 45) | type Unit = Chunk; method expr (line 47) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 51) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 173) | fn description(&self) -> &str { function add_er (line 189) | fn add_er() { function add_r (line 198) | fn add_r() { function double_final_consonant (line 207) | fn double_final_consonant() { function final_y (line 216) | fn final_y() { function irregular_good (line 225) | fn irregular_good() { function irregular_far (line 234) | fn irregular_far() { function humane (line 244) | fn humane() { function dont_flag_more_time (line 255) | fn dont_flag_more_time() { function dont_flag_more_model (line 263) | fn dont_flag_more_model() { function dont_flag_more_human (line 271) | fn dont_flag_more_human() { function dont_flag_more_battle (line 279) | fn dont_flag_more_battle() { function dont_flag_more_like (line 287) | fn dont_flag_more_like() { function dont_flag_more_ground (line 295) | fn dont_flag_more_ground() { function dont_flag_more_foreign (line 303) | fn dont_flag_more_foreign() { FILE: harper-core/src/linting/more_better.rs type MoreBetter (line 7) | pub struct MoreBetter { method default (line 12) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 39) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 70) | fn description(&self) -> &'static str { function flag_most_biggest (line 81) | fn flag_most_biggest() { function flag_more_better_and_more_better (line 86) | fn flag_more_better_and_more_better() { FILE: harper-core/src/linting/most_number.rs type MostNumber (line 9) | pub struct MostNumber { method default (line 14) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 44) | fn match_to_lint(&self, toks: &[Token], source: &[char]) -> Option { method description (line 73) | fn description(&self) -> &str { function corrects_most_number (line 85) | fn corrects_most_number() { function corrects_most_amount_title_case (line 95) | fn corrects_most_amount_title_case() { function corrects_most_amount (line 104) | fn corrects_most_amount() { function dont_correct_most_number_without_context (line 113) | fn dont_correct_most_number_without_context() { function corrects_most_amount_with_maximum (line 122) | fn corrects_most_amount_with_maximum() { FILE: harper-core/src/linting/most_of_the_times.rs type MostOfTheTimes (line 7) | pub struct MostOfTheTimes { method default (line 12) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 45) | fn description(&self) -> &str { function hangs_forever (line 57) | fn hangs_forever() { function options_are_ignored (line 66) | fn options_are_ignored() { function parenthesized (line 75) | fn parenthesized() { function i_cant_play (line 84) | fn i_cant_play() { FILE: harper-core/src/linting/multiple_frequency_adverbs.rs type MultipleFrequencyAdverbs (line 7) | pub struct MultipleFrequencyAdverbs { method default (line 12) | fn default() -> Self { type Unit (line 33) | type Unit = Sentence; method description (line 35) | fn description(&self) -> &str { method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function often_never_without_comma (line 72) | fn often_never_without_comma() { function often_never_with_comma (line 78) | fn often_never_with_comma() { function sometimes_never (line 83) | fn sometimes_never() { function usually_always (line 92) | fn usually_always() { function sometimes_usually (line 101) | fn sometimes_usually() { FILE: harper-core/src/linting/multiple_sequential_pronouns.rs type MultipleSequentialPronouns (line 9) | pub struct MultipleSequentialPronouns { method new (line 14) | fn new() -> Self { type Unit (line 30) | type Unit = Chunk; method expr (line 32) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 36) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 87) | fn description(&self) -> &'static str { method default (line 93) | fn default() -> Self { function can_detect_two_pronouns (line 104) | fn can_detect_two_pronouns() { function can_detect_three_pronouns (line 113) | fn can_detect_three_pronouns() { function allows_single_pronouns (line 122) | fn allows_single_pronouns() { function detects_multiple_pronouns_at_end (line 131) | fn detects_multiple_pronouns_at_end() { function comma_separated (line 140) | fn comma_separated() { function dont_flag_578 (line 145) | fn dont_flag_578() { function dont_flag_724 (line 154) | fn dont_flag_724() { function dont_flag_us (line 163) | fn dont_flag_us() { function dont_flag_my_us_your_us (line 172) | fn dont_flag_my_us_your_us() { function dont_flag_subject_after_usa (line 181) | fn dont_flag_subject_after_usa() { function dont_flag_case_insensitive_cost_him_his_life (line 190) | fn dont_flag_case_insensitive_cost_him_his_life() { function dont_flag_2870 (line 199) | fn dont_flag_2870() { FILE: harper-core/src/linting/nail_on_the_head.rs type NailOnTheHead (line 10) | pub struct NailOnTheHead { method default (line 15) | fn default() -> Self { type Unit (line 30) | type Unit = Chunk; method expr (line 32) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 36) | fn match_to_lint(&self, toks: &[Token], _src: &[char]) -> Option { method description (line 47) | fn description(&self) -> &str { function fix_hat (line 58) | fn fix_hat() { function fix_had (line 67) | fn fix_had() { function fix_hit (line 76) | fn fix_hit() { function fix_hid (line 85) | fn fix_hid() { function ignore_correct (line 94) | fn ignore_correct() { FILE: harper-core/src/linting/need_to_noun.rs type NeedToNoun (line 10) | pub struct NeedToNoun { method default (line 15) | fn default() -> Self { type Unit (line 57) | type Unit = Chunk; method expr (line 59) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 63) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 84) | fn description(&self) -> &'static str { function flags_need_to_noun (line 95) | fn flags_need_to_noun() { function allows_need_to_verb (line 104) | fn allows_need_to_verb() { function allows_need_to_finish (line 109) | fn allows_need_to_finish() { function allows_need_to_call (line 118) | fn allows_need_to_call() { function allows_need_to_talk (line 127) | fn allows_need_to_talk() { function allows_need_to_leave (line 136) | fn allows_need_to_leave() { function allows_need_to_practice (line 145) | fn allows_need_to_practice() { function allows_need_to_fix (line 154) | fn allows_need_to_fix() { function allows_need_to_decide (line 163) | fn allows_need_to_decide() { function allows_need_to_update (line 172) | fn allows_need_to_update() { function allows_need_to_take (line 181) | fn allows_need_to_take() { function allows_need_to_clean (line 190) | fn allows_need_to_clean() { function avoids_false_positive_for_need_to_verify (line 199) | fn avoids_false_positive_for_need_to_verify() { function flags_need_to_compiler (line 208) | fn flags_need_to_compiler() { function flags_need_to_verification (line 217) | fn flags_need_to_verification() { function allows_need_to_report (line 226) | fn allows_need_to_report() { function allows_need_to_password (line 234) | fn allows_need_to_password() { function flags_need_to_data (line 242) | fn flags_need_to_data() { function flags_need_to_approval (line 251) | fn flags_need_to_approval() { function allows_need_to_backup (line 260) | fn allows_need_to_backup() { function allows_need_to_permit (line 268) | fn allows_need_to_permit() { function allows_need_to_tools (line 276) | fn allows_need_to_tools() { function allows_need_to_context (line 284) | fn allows_need_to_context() { function allows_need_to_funds (line 292) | fn allows_need_to_funds() { function allows_need_to_silence (line 300) | fn allows_need_to_silence() { function flags_needs_to_approval (line 305) | fn flags_needs_to_approval() { function avoids_false_positive_for_needs_to_coordinate (line 314) | fn avoids_false_positive_for_needs_to_coordinate() { function flags_needs_to_verification (line 323) | fn flags_needs_to_verification() { function allows_needs_to_finalize (line 332) | fn allows_needs_to_finalize() { function allows_needed_to_permit (line 341) | fn allows_needed_to_permit() { function avoids_false_positive_for_needed_to_explain (line 349) | fn avoids_false_positive_for_needed_to_explain() { function catches_false_negative_for_needed_to_authorization (line 358) | fn catches_false_negative_for_needed_to_authorization() { function allows_needed_to_file (line 367) | fn allows_needed_to_file() { function flags_needing_to_documentation (line 376) | fn flags_needing_to_documentation() { function avoids_false_positive_for_needing_to_calibrate (line 385) | fn avoids_false_positive_for_needing_to_calibrate() { function catches_false_negative_for_needing_to_confirmation (line 394) | fn catches_false_negative_for_needing_to_confirmation() { function allows_needing_to_call (line 403) | fn allows_needing_to_call() { function allows_issue_2252 (line 412) | fn allows_issue_2252() { function allows_install (line 417) | fn allows_install() { function allows_lay (line 425) | fn allows_lay() { function allows_overcome (line 433) | fn allows_overcome() { function allows_need_to_run_into_2433 (line 441) | fn allows_need_to_run_into_2433() { function allows_need_to_match_2446 (line 449) | fn allows_need_to_match_2446() { function allows_need_to_match_exactly_2446 (line 457) | fn allows_need_to_match_exactly_2446() { function allows_need_to_use_php_code_fuzz (line 462) | fn allows_need_to_use_php_code_fuzz() { function allows_need_to_display_images_fuzz (line 470) | fn allows_need_to_display_images_fuzz() { function allows_need_to_build_brighter_futures_fuzz (line 478) | fn allows_need_to_build_brighter_futures_fuzz() { function allows_need_to_redefine_success_fuzz (line 486) | fn allows_need_to_redefine_success_fuzz() { function allows_need_to_shift_from_fuzz (line 494) | fn allows_need_to_shift_from_fuzz() { function allows_need_to_research_and_choose_fuzz (line 502) | fn allows_need_to_research_and_choose_fuzz() { function allows_need_to_model_healthy_habits_fuzz (line 510) | fn allows_need_to_model_healthy_habits_fuzz() { FILE: harper-core/src/linting/no_french_spaces.rs type NoFrenchSpaces (line 6) | pub struct NoFrenchSpaces; method lint (line 9) | fn lint(&mut self, document: &Document) -> Vec { method description (line 34) | fn description(&self) -> &str { function fixes_basic (line 46) | fn fixes_basic() { FILE: harper-core/src/linting/no_longer.rs type NoLonger (line 7) | pub struct NoLonger { method default (line 12) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method description (line 44) | fn description(&self) -> &str { method match_to_lint (line 48) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function ignore_than (line 70) | fn ignore_than() { function fix_can_modal (line 77) | fn fix_can_modal() { function fix_done_past_participle (line 87) | fn fix_done_past_participle() { function fix_exist (line 96) | fn fix_exist() { function fix_exists_3rd_person_singular_present (line 105) | fn fix_exists_3rd_person_singular_present() { function fix_render (line 114) | fn fix_render() { function fix_saved_regular_past (line 123) | fn fix_saved_regular_past() { function fix_saving_present_participle (line 132) | fn fix_saving_present_participle() { function fix_written_past_participle (line 141) | fn fix_written_past_participle() { function fix_able (line 152) | fn fix_able() { function fix_affordable (line 161) | fn fix_affordable() { function fix_bad (line 170) | fn fix_bad() { function fix_best (line 179) | fn fix_best() { function fix_effective (line 188) | fn fix_effective() { function fix_empty (line 197) | fn fix_empty() { function fix_enough (line 206) | fn fix_enough() { function fix_equal (line 215) | fn fix_equal() { function fix_equivalent (line 224) | fn fix_equivalent() { function fix_free (line 233) | fn fix_free() { function fix_good (line 242) | fn fix_good() { function fix_near (line 251) | fn fix_near() { function fix_open (line 260) | fn fix_open() { function fix_possible (line 269) | fn fix_possible() { function fix_relevant (line 278) | fn fix_relevant() { function fix_sufficient (line 287) | fn fix_sufficient() { FILE: harper-core/src/linting/no_match_for.rs type NoMatchFor (line 9) | pub struct NoMatchFor { method default (line 14) | fn default() -> Self { type Unit (line 36) | type Unit = Chunk; method expr (line 38) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 42) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 64) | fn description(&self) -> &str { function fix_against (line 75) | fn fix_against() { function fix_to (line 84) | fn fix_to() { function fix_of (line 93) | fn fix_of() { function fix_its_to (line 102) | fn fix_its_to() { function fix_im_to (line 111) | fn fix_im_to() { function theyre_to (line 120) | fn theyre_to() { function fix_hes_to (line 129) | fn fix_hes_to() { function fix_shes_to (line 138) | fn fix_shes_to() { function dont_fix_for (line 147) | fn dont_fix_for() { FILE: harper-core/src/linting/no_oxford_comma.rs type NoOxfordComma (line 7) | pub struct NoOxfordComma { method new (line 12) | pub fn new() -> Self { method match_to_lint (line 29) | fn match_to_lint(&self, matched_toks: &[Token], _source: &[char]) -> O... method default (line 44) | fn default() -> Self { method lint (line 50) | fn lint(&mut self, document: &Document) -> Vec { method description (line 66) | fn description(&self) -> &str { function fruits (line 78) | fn fruits() { function people (line 87) | fn people() { function places (line 96) | fn places() { function foods (line 105) | fn foods() { function allows_clean_music (line 114) | fn allows_clean_music() { function allows_clean_nations (line 123) | fn allows_clean_nations() { function or_writing (line 132) | fn or_writing() { function sports (line 141) | fn sports() { function nor_vegetables (line 150) | fn nor_vegetables() { FILE: harper-core/src/linting/nobody.rs type Nobody (line 8) | pub struct Nobody { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 59) | fn description(&self) -> &'static str { function next_non_whitespace_char (line 64) | fn next_non_whitespace_char(source: &[char], offset: usize) -> Option Option Self { type Unit (line 58) | type Unit = Chunk; method expr (line 60) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 64) | fn match_to_lint(&self, toks: &[Token], source: &[char]) -> Option { method description (line 107) | fn description(&self) -> &str { function fixes_he_wonts (line 118) | fn fixes_he_wonts() { function fixes_it_wont (line 128) | fn fixes_it_wont() { function fixes_she_wont (line 137) | fn fixes_she_wont() { function fixes_i_wont (line 146) | fn fixes_i_wont() { function allows_you_want (line 155) | fn allows_you_want() { function fixes_you_wants (line 160) | fn fixes_you_wants() { function ignores_correct_usage_they (line 169) | fn ignores_correct_usage_they() { function ignores_correct_usage_he (line 174) | fn ignores_correct_usage_he() { function ignores_correct_usage_that_1298 (line 179) | fn ignores_correct_usage_that_1298() { function ignores_correct_usage_make_me (line 188) | fn ignores_correct_usage_make_me() { function ignores_correct_usage_makes_me (line 197) | fn ignores_correct_usage_makes_me() { function ignores_correct_usage_make_us (line 206) | fn ignores_correct_usage_make_us() { function ignores_correct_usage_made_us (line 215) | fn ignores_correct_usage_made_us() { function ignores_correct_usage_help_us (line 224) | fn ignores_correct_usage_help_us() { function ignores_correct_usage_make_you (line 229) | fn ignores_correct_usage_make_you() { function ignores_correct_usage_makes_you (line 238) | fn ignores_correct_usage_makes_you() { function ignores_correct_usage_made_you (line 247) | fn ignores_correct_usage_made_you() { function ignores_correct_usage_make_him (line 256) | fn ignores_correct_usage_make_him() { function ignores_correct_usage_make_her (line 265) | fn ignores_correct_usage_make_her() { function ignores_correct_usage_make_it (line 274) | fn ignores_correct_usage_make_it() { function ignores_correct_usage_makes_it (line 283) | fn ignores_correct_usage_makes_it() { function ignores_correct_usage_make_them (line 292) | fn ignores_correct_usage_make_them() { function ignores_correct_usage_making_them (line 301) | fn ignores_correct_usage_making_them() { function ignores_correct_usage_help_them (line 310) | fn ignores_correct_usage_help_them() { function allows_want_to (line 315) | fn allows_want_to() { function test_2007 (line 323) | fn test_2007() { FILE: harper-core/src/linting/nor_modal_pronoun.rs type NorModalPronoun (line 8) | pub struct NorModalPronoun { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method description (line 27) | fn description(&self) -> &str { method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 35) | fn match_to_lint_with_context( function fix_nor_i_can (line 104) | fn fix_nor_i_can() { function fix_nor_i_could (line 113) | fn fix_nor_i_could() { function fix_nor_i_will (line 122) | fn fix_nor_i_will() { function fix_nor_i_would (line 131) | fn fix_nor_i_would() { function fix_nor_it_can (line 140) | fn fix_nor_it_can() { function fix_nor_it_should (line 149) | fn fix_nor_it_should() { function fix_nor_it_will (line 158) | fn fix_nor_it_will() { function fix_nor_it_would (line 167) | fn fix_nor_it_would() { function fix_nor_they_can (line 176) | fn fix_nor_they_can() { function fix_nor_we_can (line 185) | fn fix_nor_we_can() { function fix_nor_you_can (line 194) | fn fix_nor_you_can() { function fix_nor_you_should (line 203) | fn fix_nor_you_should() { function ignore_neither_they_nor_i_could (line 214) | fn ignore_neither_they_nor_i_could() { function ignore_neither_my_tool_nor_i_shall (line 222) | fn ignore_neither_my_tool_nor_i_shall() { FILE: harper-core/src/linting/not_only_inversion.rs type NotOnlyInversion (line 7) | pub struct NotOnlyInversion { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method description (line 28) | fn description(&self) -> &str { method match_to_lint_with_context (line 32) | fn match_to_lint_with_context( method expr (line 61) | fn expr(&self) -> &dyn Expr { function fix_not_only_he_is (line 73) | fn fix_not_only_he_is() { function fix_not_only_he_was (line 82) | fn fix_not_only_he_was() { function fix_not_only_i_am (line 92) | fn fix_not_only_i_am() { function fix_not_only_i_was (line 102) | fn fix_not_only_i_was() { function fix_not_only_it_is (line 111) | fn fix_not_only_it_is() { function fix_not_only_it_was (line 120) | fn fix_not_only_it_was() { function fix_not_only_they_are (line 129) | fn fix_not_only_they_are() { function fix_not_only_they_were (line 138) | fn fix_not_only_they_were() { function fix_not_only_we_are (line 147) | fn fix_not_only_we_are() { function fix_not_only_we_were (line 156) | fn fix_not_only_we_were() { function fix_not_only_you_are (line 165) | fn fix_not_only_you_are() { function fix_not_only_you_were (line 174) | fn fix_not_only_you_were() { FILE: harper-core/src/linting/noun_verb_confusion/effect_affect/affect_to_effect.rs type AffectToEffect (line 11) | pub(super) struct AffectToEffect { method default (line 16) | fn default() -> Self { type Unit (line 77) | type Unit = Chunk; method expr (line 79) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 83) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 120) | fn description(&self) -> &'static str { function is_affect_word (line 125) | fn is_affect_word(token: &Token, source: &[char]) -> bool { function is_take_form (line 137) | fn is_take_form(chars: &[char]) -> bool { function is_modal_like (line 145) | fn is_modal_like(token: &Token, source: &[char], prev: &[char]) -> bool { function matches_preceding_context (line 164) | fn matches_preceding_context(token: &Token, source: &[char]) -> bool { function matches_preceding_context_adj_noun (line 168) | fn matches_preceding_context_adj_noun(token: &Token, source: &[char]) ->... function matches_preceding_context_verb_follow (line 172) | fn matches_preceding_context_verb_follow(token: &Token, source: &[char])... function matches_preceding_context_impl (line 176) | fn matches_preceding_context_impl( function behaves_like_verb (line 211) | fn behaves_like_verb(token: &Token, source: &[char], prev: &[char]) -> b... function is_preceding_context (line 217) | fn is_preceding_context(token: &Token) -> bool { FILE: harper-core/src/linting/noun_verb_confusion/effect_affect/effect_to_affect.rs type EffectToAffect (line 11) | pub(super) struct EffectToAffect { method default (line 16) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 148) | fn description(&self) -> &'static str { function is_effect_word (line 153) | fn is_effect_word(token: &Token, source: &[char]) -> bool { function is_token_to (line 165) | fn is_token_to(token: &Token, source: &[char]) -> bool { function is_change_like (line 172) | fn is_change_like(token: &Token, source: &[char]) -> bool { function matches_preceding_context (line 187) | fn matches_preceding_context(token: &Token, _source: &[char]) -> bool { function matches_following_context (line 203) | fn matches_following_context(token: &Token, _source: &[char]) -> bool { function matches_optional_following (line 222) | fn matches_optional_following(token: &Token, _source: &[char]) -> bool { function tag_matches_any (line 230) | fn tag_matches_any(token: &Token, allowed: &[UPOS]) -> bool { FILE: harper-core/src/linting/noun_verb_confusion/mod.rs constant NOUN_VERB_PAIRS (line 9) | pub(crate) const NOUN_VERB_PAIRS: &[(&str, &str)] = &[ function corrects_good_advise (line 37) | fn corrects_good_advise() { function corrects_bad_advise (line 42) | fn corrects_bad_advise() { function dont_flag_correct_better_advise (line 51) | fn dont_flag_correct_better_advise() { function correct_better_advise (line 61) | fn correct_better_advise() { function dont_flag_correct_better_believe (line 70) | fn dont_flag_correct_better_believe() { function correct_strong_believe (line 79) | fn correct_strong_believe() { function correct_deep_breathe (line 88) | fn correct_deep_breathe() { function correct_bad_intend (line 97) | fn correct_bad_intend() { function corrects_belief_instead_of_verb (line 106) | fn corrects_belief_instead_of_verb() { function corrects_breath_instead_of_verb (line 116) | fn corrects_breath_instead_of_verb() { function does_not_flag_correct_believe (line 125) | fn does_not_flag_correct_believe() { function does_not_flag_correct_breath (line 130) | fn does_not_flag_correct_breath() { function fix_when_i_breath_you_breath (line 137) | fn fix_when_i_breath_you_breath() { function fix_weather_climate_and_the_air_we_breath (line 146) | fn fix_weather_climate_and_the_air_we_breath() { function fix_always_breath (line 155) | fn fix_always_breath() { function fix_never_breath_a_word (line 164) | fn fix_never_breath_a_word() { function fix_breath_for_seconds (line 173) | fn fix_breath_for_seconds() { function fix_breath_a_little_more_life (line 182) | fn fix_breath_a_little_more_life() { function fix_the_diversity_we_breath (line 191) | fn fix_the_diversity_we_breath() { function fix_belief (line 200) | fn fix_belief() { function fix_we_belief (line 209) | fn fix_we_belief() { function fix_i_can_breath (line 219) | fn fix_i_can_breath() { function fix_caps_should_breath (line 228) | fn fix_caps_should_breath() { function fix_can_you_advice_me (line 237) | fn fix_can_you_advice_me() { function fix_we_can_advice_you (line 246) | fn fix_we_can_advice_you() { function fix_would_advice_against (line 255) | fn fix_would_advice_against() { function fix_advice_to_listen (line 264) | fn fix_advice_to_listen() { function dont_fix_advice_on_that (line 274) | fn dont_fix_advice_on_that() { function fix_advice_to_stick_with_openvscode (line 283) | fn fix_advice_to_stick_with_openvscode() { function fix_advice_to_back_up_os_image (line 292) | fn fix_advice_to_back_up_os_image() { function fix_advice_to_use_ms_store (line 301) | fn fix_advice_to_use_ms_store() { function fix_should_intent_be (line 310) | fn fix_should_intent_be() { function fix_if_you_intent (line 319) | fn fix_if_you_intent() { function fix_what_you_would_intent_to_do (line 328) | fn fix_what_you_would_intent_to_do() { function dont_flag_intent_records (line 337) | fn dont_flag_intent_records() { function fix_did_you_always_intent_to (line 346) | fn fix_did_you_always_intent_to() { function fix_we_recommend_you_create_a_new_issue_on_github_explaining_what_you_intent_to_do (line 355) | fn fix_we_recommend_you_create_a_new_issue_on_github_explaining_what_you... function fix_intent_to_use_non_imported_symbol (line 364) | fn fix_intent_to_use_non_imported_symbol() { function fix_to_emphasis_the (line 375) | fn fix_to_emphasis_the() { function allow_to_emphasis_at_end (line 384) | fn allow_to_emphasis_at_end() { function allow_to_intent_adjective (line 393) | fn allow_to_intent_adjective() { function fix_to_advice_a_class (line 402) | fn fix_to_advice_a_class() { function fix_to_breath_some (line 411) | fn fix_to_breath_some() { function fix_to_emphasis_a (line 420) | fn fix_to_emphasis_a() { function fix_to_advice_their (line 429) | fn fix_to_advice_their() { function fix_positive_affect_on_small_businesses (line 440) | fn fix_positive_affect_on_small_businesses() { function fix_measured_the_affect_of_caffeine (line 449) | fn fix_measured_the_affect_of_caffeine() { function fix_side_affects_included_nausea (line 458) | fn fix_side_affects_included_nausea() { function fix_cause_and_affect_not_same (line 467) | fn fix_cause_and_affect_not_same() { function fix_change_will_have_an_affect_on_revenue (line 476) | fn fix_change_will_have_an_affect_on_revenue() { function fix_medicine_took_affect_within_minutes (line 485) | fn fix_medicine_took_affect_within_minutes() { function fix_policy_will_come_into_affect (line 494) | fn fix_policy_will_come_into_affect() { function fix_rules_are_now_in_affect (line 503) | fn fix_rules_are_now_in_affect() { function fix_with_immediate_affect_office_closed (line 512) | fn fix_with_immediate_affect_office_closed() { function fix_stunning_special_affects (line 521) | fn fix_stunning_special_affects() { function fix_placebo_affect_can_be_powerful (line 530) | fn fix_placebo_affect_can_be_powerful() { function fix_ripple_affect_across_market (line 539) | fn fix_ripple_affect_across_market() { function fix_snowball_affect_amplified_problem (line 548) | fn fix_snowball_affect_amplified_problem() { function fix_knock_on_affect_throughout_team (line 557) | fn fix_knock_on_affect_throughout_team() { function fix_greenhouse_affect_warms_planet (line 566) | fn fix_greenhouse_affect_warms_planet() { function fix_apology_had_little_affect (line 575) | fn fix_apology_had_little_affect() { function fix_settings_go_into_affect (line 584) | fn fix_settings_go_into_affect() { function fix_put_plan_into_affect (line 593) | fn fix_put_plan_into_affect() { function fix_contract_comes_into_affect (line 602) | fn fix_contract_comes_into_affect() { function fix_warning_had_no_affect_on_behavior (line 611) | fn fix_warning_had_no_affect_on_behavior() { function fix_inflation_had_opposite_affect (line 620) | fn fix_inflation_had_opposite_affect() { function fix_regulation_remains_in_affect (line 629) | fn fix_regulation_remains_in_affect() { function fix_app_changes_take_affect (line 638) | fn fix_app_changes_take_affect() { function fix_sound_affects_were_added (line 647) | fn fix_sound_affects_were_added() { function corrects_noun_subject_effects_object (line 658) | fn corrects_noun_subject_effects_object() { function corrects_effects_variant (line 667) | fn corrects_effects_variant() { function ignores_effect_change_idiom (line 676) | fn ignores_effect_change_idiom() { function ignores_effect_noun_phrase (line 685) | fn ignores_effect_noun_phrase() { function ignores_effect_as_result_noun (line 694) | fn ignores_effect_as_result_noun() { function ignores_to_effect_substitutions (line 703) | fn ignores_to_effect_substitutions() { function ignores_effect_followed_by_of_phrase (line 712) | fn ignores_effect_followed_by_of_phrase() { function ignores_side_effects_usage (line 721) | fn ignores_side_effects_usage() { function ignores_special_effects_phrase (line 730) | fn ignores_special_effects_phrase() { function ignores_effect_in_cause_and_effect (line 739) | fn ignores_effect_in_cause_and_effect() { function ignores_effects_with_pronoun_subject (line 748) | fn ignores_effects_with_pronoun_subject() { function corrects_tariff_effect_import_prices (line 757) | fn corrects_tariff_effect_import_prices() { function corrects_droughts_effect_crop_yields (line 766) | fn corrects_droughts_effect_crop_yields() { function corrects_caffeine_effect_sleep (line 775) | fn corrects_caffeine_effect_sleep() { function corrects_bug_effect_devices (line 784) | fn corrects_bug_effect_devices() { function corrects_sarcasm_effect_morale (line 793) | fn corrects_sarcasm_effect_morale() { function corrects_outage_effect_timeline (line 802) | fn corrects_outage_effect_timeline() { function corrects_temperatures_effect_battery (line 811) | fn corrects_temperatures_effect_battery() { function corrects_policy_effect_eligibility (line 820) | fn corrects_policy_effect_eligibility() { function corrects_variables_effect_results (line 829) | fn corrects_variables_effect_results() { function corrects_fans_effect_concentration (line 838) | fn corrects_fans_effect_concentration() { function corrects_hormones_effect_immunity (line 847) | fn corrects_hormones_effect_immunity() { function corrects_pacing_effect_engagement (line 856) | fn corrects_pacing_effect_engagement() { function corrects_humidity_effect_paint (line 865) | fn corrects_humidity_effect_paint() { function corrects_exchange_effect_invoice (line 874) | fn corrects_exchange_effect_invoice() { function corrects_brightness_effect_contrast (line 883) | fn corrects_brightness_effect_contrast() { function corrects_medication_effect_him (line 892) | fn corrects_medication_effect_him() { function corrects_payments_effect_credit (line 901) | fn corrects_payments_effect_credit() { function corrects_wording_effect_interpretation (line 910) | fn corrects_wording_effect_interpretation() { function corrects_traffic_effect_delivery (line 919) | fn corrects_traffic_effect_delivery() { function corrects_rumor_effect_confidence (line 928) | fn corrects_rumor_effect_confidence() { function corrects_allergies_effect_productivity (line 937) | fn corrects_allergies_effect_productivity() { function corrects_feedback_effect_roadmap (line 946) | fn corrects_feedback_effect_roadmap() { function corrects_rules_effect_honeypot (line 955) | fn corrects_rules_effect_honeypot() { function corrects_bandwidth_effect_video (line 964) | fn corrects_bandwidth_effect_video() { function corrects_gradient_effect_sensor (line 973) | fn corrects_gradient_effect_sensor() { function corrects_delays_effect_satisfaction (line 982) | fn corrects_delays_effect_satisfaction() { function corrects_architecture_effect_gps (line 991) | fn corrects_architecture_effect_gps() { function corrects_lighting_effect_color (line 1000) | fn corrects_lighting_effect_color() { function corrects_coach_effect_roles (line 1009) | fn corrects_coach_effect_roles() { function corrects_overtraining_effect_reaction (line 1018) | fn corrects_overtraining_effect_reaction() { function corrects_label_effect_behavior (line 1027) | fn corrects_label_effect_behavior() { function corrects_because_affect_is (line 1037) | fn corrects_because_affect_is() { function ignores_psychology_usage (line 1046) | fn ignores_psychology_usage() { function corrects_positive_affect_on (line 1055) | fn corrects_positive_affect_on() { function corrects_great_affect (line 1064) | fn corrects_great_affect() { function corrects_affect_of (line 1073) | fn corrects_affect_of() { function corrects_side_affects (line 1082) | fn corrects_side_affects() { function corrects_cause_and_affect (line 1091) | fn corrects_cause_and_affect() { function corrects_have_an_affect_on (line 1100) | fn corrects_have_an_affect_on() { function corrects_took_affect (line 1109) | fn corrects_took_affect() { function corrects_come_into_affect (line 1118) | fn corrects_come_into_affect() { function corrects_in_affect_sentence (line 1127) | fn corrects_in_affect_sentence() { function corrects_with_immediate_affect (line 1136) | fn corrects_with_immediate_affect() { function corrects_special_affects (line 1145) | fn corrects_special_affects() { function corrects_placebo_affect (line 1154) | fn corrects_placebo_affect() { function corrects_ripple_affect (line 1163) | fn corrects_ripple_affect() { function corrects_snowball_affect (line 1172) | fn corrects_snowball_affect() { function corrects_knock_on_affect (line 1181) | fn corrects_knock_on_affect() { function corrects_greenhouse_affect (line 1190) | fn corrects_greenhouse_affect() { function corrects_little_affect (line 1199) | fn corrects_little_affect() { function corrects_go_into_affect (line 1208) | fn corrects_go_into_affect() { function corrects_put_plan_into_affect (line 1217) | fn corrects_put_plan_into_affect() { function corrects_contract_into_affect (line 1226) | fn corrects_contract_into_affect() { function corrects_no_affect_on_behavior (line 1235) | fn corrects_no_affect_on_behavior() { function corrects_opposite_affect (line 1244) | fn corrects_opposite_affect() { function corrects_remains_in_affect (line 1253) | fn corrects_remains_in_affect() { function corrects_take_affect_next_week (line 1262) | fn corrects_take_affect_next_week() { function corrects_sound_affects (line 1271) | fn corrects_sound_affects() { function does_not_flag_best_affect (line 1280) | fn does_not_flag_best_affect() { function does_not_flag_sound_affect (line 1289) | fn does_not_flag_sound_affect() { function corrects_sound_affect (line 1298) | fn corrects_sound_affect() { function does_not_flag_affect_as_verb (line 1307) | fn does_not_flag_affect_as_verb() { function does_not_flag_affects_as_verb (line 1316) | fn does_not_flag_affects_as_verb() { function does_not_flag_correct_effect_noun (line 1325) | fn does_not_flag_correct_effect_noun() { function does_not_flag_sound_effects (line 1334) | fn does_not_flag_sound_effects() { function issue_1997 (line 1343) | fn issue_1997() { function issue_1996 (line 1351) | fn issue_1996() { function issue_2008 (line 1359) | fn issue_2008() { function issue_2041 (line 1367) | fn issue_2041() { function fix_helps_you_weight (line 1376) | fn fix_helps_you_weight() { function fix_do_you_weight (line 1385) | fn fix_do_you_weight() { function fix_more_than_you_weight (line 1394) | fn fix_more_than_you_weight() { FILE: harper-core/src/linting/noun_verb_confusion/noun_instead_of_verb/general.rs constant PRONOUNS (line 11) | const PRONOUNS: &[&str] = &["he", "I", "it", "she", "they", "we", "who",... type GeneralNounInsteadOfVerb (line 14) | pub(super) struct GeneralNounInsteadOfVerb { method default (line 19) | fn default() -> Self { type Unit (line 69) | type Unit = Chunk; method expr (line 71) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 75) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 139) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/noun_verb_confusion/verb_instead_of_noun.rs type VerbInsteadOfNoun (line 12) | pub struct VerbInsteadOfNoun { method default (line 17) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 81) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/number_suffix_capitalization.rs type NumberSuffixCapitalization (line 7) | pub struct NumberSuffixCapitalization; method lint (line 10) | fn lint(&mut self, document: &Document) -> Vec { method description (line 39) | fn description(&self) -> &'static str { function detects_uppercase_suffix (line 50) | fn detects_uppercase_suffix() { function detects_inconsistent_suffix (line 55) | fn detects_inconsistent_suffix() { function passes_correct_case (line 60) | fn passes_correct_case() { FILE: harper-core/src/linting/obsess_preposition.rs type ObsessPreposition (line 7) | pub struct ObsessPreposition { method default (line 12) | fn default() -> Self { type Unit (line 22) | type Unit = Chunk; method expr (line 24) | fn expr(&self) -> &dyn Expr { method description (line 28) | fn description(&self) -> &str { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function fix_obsess_on (line 108) | fn fix_obsess_on() { function fix_obsessing_on (line 117) | fn fix_obsessing_on() { function fix_obsessing_with (line 126) | fn fix_obsessing_with() { function fix_obsess_with (line 135) | fn fix_obsess_with() { function fix_obsesses_with (line 144) | fn fix_obsesses_with() { function fix_obsessed_on (line 153) | fn fix_obsessed_on() { function fix_obsess_about_2743 (line 162) | fn fix_obsess_about_2743() { FILE: harper-core/src/linting/of_course.rs type OfCourse (line 12) | pub struct OfCourse { method default (line 17) | fn default() -> Self { type Unit (line 43) | type Unit = Chunk; method expr (line 45) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 49) | fn match_to_lint(&self, matched: &[Token], source: &[char]) -> Option &str { function preceding_word (line 84) | fn preceding_word(source: &[char], offset: usize) -> Option { function preceding_non_whitespace_char (line 106) | fn preceding_non_whitespace_char(source: &[char], offset: usize) -> Opti... function flags_of_curse (line 117) | fn flags_of_curse() { function flags_of_corse (line 122) | fn flags_of_corse() { function ignores_kind_of_curse (line 131) | fn ignores_kind_of_curse() { function ignores_sort_of_curse (line 136) | fn ignores_sort_of_curse() { function ignores_curse_of_title (line 141) | fn ignores_curse_of_title() { function flags_off_course (line 150) | fn flags_off_course() { function flags_o_course (line 159) | fn flags_o_course() { function flags_ofcourse (line 168) | fn flags_ofcourse() { function flags_off_coarse (line 177) | fn flags_off_coarse() { function ignores_literal_off_course (line 186) | fn ignores_literal_off_course() { FILE: harper-core/src/linting/oldest_in_the_book.rs type OldestInTheBook (line 7) | pub struct OldestInTheBook { method default (line 12) | fn default() -> Self { type Unit (line 52) | type Unit = Chunk; method expr (line 54) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 58) | fn match_to_lint_with_context( method description (line 90) | fn description(&self) -> &'static str { function fix_delphi_mistake (line 103) | fn fix_delphi_mistake() { function fix_trick (line 112) | fn fix_trick() { function fix_virus_trick (line 121) | fn fix_virus_trick() { function fix_mistake (line 130) | fn fix_mistake() { function fix_tricks (line 139) | fn fix_tricks() { function fix_military_plays (line 148) | fn fix_military_plays() { function is_oldest_trick_in_the_books_ref_to_idom (line 159) | fn is_oldest_trick_in_the_books_ref_to_idom() { function is_chromatic_alterations_ref_to_idom (line 168) | fn is_chromatic_alterations_ref_to_idom() { FILE: harper-core/src/linting/on_floor.rs type OnFloor (line 12) | pub struct OnFloor { method default (line 17) | fn default() -> Self { type Unit (line 56) | type Unit = Chunk; method expr (line 58) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 62) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 86) | fn description(&self) -> &'static str { function not_lint_with_correct_phrase (line 97) | fn not_lint_with_correct_phrase() { function lint_with_in (line 106) | fn lint_with_in() { function lint_with_at (line 115) | fn lint_with_at() { function in_the_start_of_sentence (line 124) | fn in_the_start_of_sentence() { function at_the_start_of_sentence (line 133) | fn at_the_start_of_sentence() { function no_lint_with_look_up_at (line 142) | fn no_lint_with_look_up_at() { function no_lint_with_stop_at (line 147) | fn no_lint_with_stop_at() { function no_lint_with_looking_up_at (line 156) | fn no_lint_with_looking_up_at() { FILE: harper-core/src/linting/once_or_twice.rs type OnceOrTwice (line 8) | pub struct OnceOrTwice { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 48) | fn description(&self) -> &'static str { function corrects_once_a_twice (line 60) | fn corrects_once_a_twice() { function allows_once_or_twice (line 69) | fn allows_once_or_twice() { function corrects_once_a_twice_sentence_start (line 77) | fn corrects_once_a_twice_sentence_start() { function corrects_once_a_twice_uppercase (line 86) | fn corrects_once_a_twice_uppercase() { function corrects_once_a_twice_mixed_case (line 95) | fn corrects_once_a_twice_mixed_case() { function corrects_once_a_twice_with_exclamation (line 104) | fn corrects_once_a_twice_with_exclamation() { function corrects_once_a_twice_with_question_mark (line 113) | fn corrects_once_a_twice_with_question_mark() { function corrects_once_a_twice_inside_quotes (line 122) | fn corrects_once_a_twice_inside_quotes() { function corrects_once_a_twice_with_comma (line 131) | fn corrects_once_a_twice_with_comma() { function corrects_once_a_twice_with_parentheses (line 140) | fn corrects_once_a_twice_with_parentheses() { function corrects_once_a_twice_after_colon (line 149) | fn corrects_once_a_twice_after_colon() { function corrects_once_a_twice_with_double_space (line 158) | fn corrects_once_a_twice_with_double_space() { function corrects_once_a_twice_before_semicolon (line 167) | fn corrects_once_a_twice_before_semicolon() { function corrects_once_a_twice_newline_split (line 176) | fn corrects_once_a_twice_newline_split() { function corrects_once_a_twice_with_tab (line 185) | fn corrects_once_a_twice_with_tab() { function corrects_once_a_twice_multiple_sentences (line 194) | fn corrects_once_a_twice_multiple_sentences() { function corrects_once_a_twice_before_period (line 203) | fn corrects_once_a_twice_before_period() { function corrects_once_a_twice_with_trailing_space (line 212) | fn corrects_once_a_twice_with_trailing_space() { function corrects_once_a_twice_before_dash (line 221) | fn corrects_once_a_twice_before_dash() { function corrects_once_a_twice_around_em_dash (line 230) | fn corrects_once_a_twice_around_em_dash() { function corrects_once_a_twice_before_quote (line 239) | fn corrects_once_a_twice_before_quote() { function corrects_once_a_twice_all_caps_sentence (line 248) | fn corrects_once_a_twice_all_caps_sentence() { function allows_once_a_time_story (line 257) | fn allows_once_a_time_story() { function allows_once_a_week_routine (line 262) | fn allows_once_a_week_routine() { function allows_once_a_while_phrase (line 267) | fn allows_once_a_while_phrase() { function allows_once_or_twice_uppercase (line 275) | fn allows_once_or_twice_uppercase() { function allows_twice_without_once (line 280) | fn allows_twice_without_once() { function allows_once_and_twice_separated (line 288) | fn allows_once_and_twice_separated() { function allows_oncemisatypo (line 293) | fn allows_oncemisatypo() { function allows_spaced_words (line 298) | fn allows_spaced_words() { FILE: harper-core/src/linting/one_and_the_same.rs type OneAndTheSame (line 10) | pub struct OneAndTheSame { method default (line 15) | fn default() -> Self { function ws_word (line 35) | fn ws_word(word: &'static str) -> SequenceExpr { type Unit (line 40) | type Unit = Chunk; method expr (line 42) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 46) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 65) | fn description(&self) -> &'static str { function corrects_after_are_atomic (line 76) | fn corrects_after_are_atomic() { function corrects_after_were_atomic (line 85) | fn corrects_after_were_atomic() { function doesnt_flag_after_other_words_atomic (line 94) | fn doesnt_flag_after_other_words_atomic() { function corrects_github_are (line 103) | fn corrects_github_are() { function corrects_github_were (line 112) | fn corrects_github_were() { function corrects_before_as_atomic (line 121) | fn corrects_before_as_atomic() { function corrects_before_as_github (line 130) | fn corrects_before_as_github() { function corrects_at_end (line 140) | fn corrects_at_end() { function corrects_is_as (line 149) | fn corrects_is_as() { function avoids_false_positive (line 158) | fn avoids_false_positive() { function corrects_is_of (line 168) | fn corrects_is_of() { function doesnt_flag_ambiguous_before_noun (line 177) | fn doesnt_flag_ambiguous_before_noun() { FILE: harper-core/src/linting/one_of_the_singular.rs type OneOfTheSingular (line 8) | pub struct OneOfTheSingular { type SeqExprExt (line 13) | pub trait SeqExprExt { method then_my_noun_or_adjective (line 14) | fn then_my_noun_or_adjective(self) -> Self; method then_my_noun_or_adjective (line 18) | fn then_my_noun_or_adjective(self) -> Self { function new (line 36) | pub fn new(dict: D) -> Self { type Unit (line 52) | type Unit = Chunk; method description (line 54) | fn description(&self) -> &str { method match_to_lint_with_context (line 58) | fn match_to_lint_with_context( method expr (line 144) | fn expr(&self) -> &dyn Expr { function fix_one_of_the_noun (line 156) | fn fix_one_of_the_noun() { function fix_one_of_the_noun_noun (line 165) | fn fix_one_of_the_noun_noun() { function fix_one_of_the_adj_noun (line 174) | fn fix_one_of_the_adj_noun() { function fix_one_of_the_adv_adv_adj_adj_noun_noun (line 183) | fn fix_one_of_the_adv_adv_adj_adj_noun_noun() { function fix_one_of_the_best_tutorial (line 192) | fn fix_one_of_the_best_tutorial() { function fix_one_of_the_neat_trick (line 201) | fn fix_one_of_the_neat_trick() { function fix_one_of_the_latest_version (line 210) | fn fix_one_of_the_latest_version() { function fix_one_of_the_node (line 219) | fn fix_one_of_the_node() { function fix_one_of_the_unstaged_file (line 228) | fn fix_one_of_the_unstaged_file() { function fix_one_of_the_tedious_things (line 237) | fn fix_one_of_the_tedious_things() { function fix_one_of_the_brave_process (line 246) | fn fix_one_of_the_brave_process() { function fix_one_of_the_most_cumbersome_thing (line 255) | fn fix_one_of_the_most_cumbersome_thing() { function fix_one_of_the_test (line 264) | fn fix_one_of_the_test() { function fix_one_of_the_process_main_thread (line 273) | fn fix_one_of_the_process_main_thread() { function dont_flag_being (line 282) | fn dont_flag_being() { function dont_flag_one_of_the_rabbits_gloves (line 290) | fn dont_flag_one_of_the_rabbits_gloves() { FILE: harper-core/src/linting/open_compounds.rs type OpenCompounds (line 8) | pub struct OpenCompounds { method default (line 14) | fn default() -> Self { type Unit (line 65) | type Unit = Chunk; method expr (line 67) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 71) | fn match_to_lint(&self, matched_toks: &[Token], source_chars: &[char]) -... method description (line 113) | fn description(&self) -> &str { function get_compound_idx (line 118) | fn get_compound_idx(toks: &[Token], src: &[char], compound: &str) -> Opt... function corrects_lone_infront (line 160) | fn corrects_lone_infront() { function corrects_infront (line 169) | fn corrects_infront() { function ignores_pascalcase (line 178) | fn ignores_pascalcase() { function ignores_camelcase (line 187) | fn ignores_camelcase() { function correct_with_period_after (line 196) | fn correct_with_period_after() { function ignore_hyphen_before (line 205) | fn ignore_hyphen_before() { function ignore_hyphen_after (line 210) | fn ignore_hyphen_after() { function ignores_with_hyphen_before (line 215) | fn ignores_with_hyphen_before() { function ignores_with_hyphen_after (line 224) | fn ignores_with_hyphen_after() { function even_repeated_infront_works (line 233) | fn even_repeated_infront_works() { function correct_afew_atomic (line 244) | fn correct_afew_atomic() { function correct_alot_atomic (line 255) | fn correct_alot_atomic() { function correct_aswell_atomic (line 262) | fn correct_aswell_atomic() { function corrects_as_keyboards_aswell (line 267) | fn corrects_as_keyboards_aswell() { function corrects_aswell_as (line 276) | fn corrects_aswell_as() { function corrects_toml_aswell (line 285) | fn corrects_toml_aswell() { function correct_aswell (line 294) | fn correct_aswell() { function correct_atall (line 305) | fn correct_atall() { function correct_atleast_atomic (line 316) | fn correct_atleast_atomic() { function ignore_atleast_pascalcase (line 321) | fn ignore_atleast_pascalcase() { function ignore_atleast_camelcase (line 330) | fn ignore_atleast_camelcase() { function correct_atleast (line 339) | fn correct_atleast() { function correct_eachother_atomic (line 350) | fn correct_eachother_atomic() { function correct_eachother (line 355) | fn correct_eachother() { function correct_incase_atomic (line 366) | fn correct_incase_atomic() { function correct_in_case (line 371) | fn correct_in_case() { function ignore_incase_pascalcase (line 380) | fn ignore_incase_pascalcase() { function correct_infact_atomic (line 391) | fn correct_infact_atomic() { function correct_upto (line 402) | fn correct_upto() { FILE: harper-core/src/linting/open_the_light.rs type OpenTheLight (line 12) | pub struct OpenTheLight { method default (line 17) | fn default() -> Self { type Unit (line 59) | type Unit = Chunk; method expr (line 61) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 65) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 125) | fn description(&self) -> &'static str { function fix_open_the_tv (line 138) | fn fix_open_the_tv() { function fix_he_opens_the_tv (line 143) | fn fix_he_opens_the_tv() { function fix_she_opened_the_tv (line 152) | fn fix_she_opened_the_tv() { function opening_the_tv (line 161) | fn opening_the_tv() { function dont_flag_open_the_tv_app (line 170) | fn dont_flag_open_the_tv_app() { function fix_open_the_tv_to_watch_the_news (line 175) | fn fix_open_the_tv_to_watch_the_news() { function fix_dont_forget_to_open_the_lights (line 184) | fn fix_dont_forget_to_open_the_lights() { function fix_can_you_open_the_fan (line 193) | fn fix_can_you_open_the_fan() { function fix_opened_the_radio (line 202) | fn fix_opened_the_radio() { function fix_open_the_aircon (line 211) | fn fix_open_the_aircon() { function dont_flag_open_the_tv_mode (line 220) | fn dont_flag_open_the_tv_mode() { function dont_flag_radio_configuration (line 227) | fn dont_flag_radio_configuration() { function dont_flag_open_the_lamp (line 237) | fn dont_flag_open_the_lamp() { function dont_flag_open_tv_up_to (line 246) | fn dont_flag_open_tv_up_to() { function dont_flag_open_the_light_slash_sound (line 256) | fn dont_flag_open_the_light_slash_sound() { function dont_flag_cutting_open (line 266) | fn dont_flag_cutting_open() { function dont_flag_open_the_light_source (line 275) | fn dont_flag_open_the_light_source() { function dont_flag_opening_lamp (line 285) | fn dont_flag_opening_lamp() { function dont_flag_fan_control (line 294) | fn dont_flag_fan_control() { function dont_flag_open_tv_to_access_eeprom (line 304) | fn dont_flag_open_tv_to_access_eeprom() { function dont_flag_open_tv_viewing_application (line 313) | fn dont_flag_open_tv_viewing_application() { function dont_flag_open_as_noun (line 323) | fn dont_flag_open_as_noun() { function dont_flag_opening_as_noun (line 333) | fn dont_flag_opening_as_noun() { function fix_opening_fan (line 342) | fn fix_opening_fan() { function fix_opening_tv (line 351) | fn fix_opening_tv() { function dont_flag_opens_fan_like (line 361) | fn dont_flag_opens_fan_like() { function fix_opening_lights (line 370) | fn fix_opening_lights() { FILE: harper-core/src/linting/orthographic_consistency.rs type OrthographicConsistency (line 10) | pub struct OrthographicConsistency { method new (line 16) | pub fn new() -> Self { method default (line 25) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method description (line 33) | fn description(&self) -> &str { method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 41) | fn match_to_lint_with_context( function alphabetic_differs (line 138) | fn alphabetic_differs(a: &[char], b: &[char]) -> bool { function nasa_should_be_all_caps (line 151) | fn nasa_should_be_all_caps() { function ikea_should_be_all_caps (line 160) | fn ikea_should_be_all_caps() { function lego_should_be_all_caps (line 169) | fn lego_should_be_all_caps() { function nato_should_be_all_caps (line 178) | fn nato_should_be_all_caps() { function fbi_should_be_all_caps (line 187) | fn fbi_should_be_all_caps() { function cia_should_be_all_caps (line 196) | fn cia_should_be_all_caps() { function hiv_should_be_all_caps (line 205) | fn hiv_should_be_all_caps() { function dna_should_be_all_caps (line 214) | fn dna_should_be_all_caps() { function rna_should_be_all_caps (line 223) | fn rna_should_be_all_caps() { function cpu_should_be_all_caps (line 232) | fn cpu_should_be_all_caps() { function gpu_should_be_all_caps (line 241) | fn gpu_should_be_all_caps() { function html_should_be_all_caps (line 250) | fn html_should_be_all_caps() { function url_should_be_all_caps (line 259) | fn url_should_be_all_caps() { function faq_should_be_all_caps (line 268) | fn faq_should_be_all_caps() { function linkedin_should_use_canonical_case (line 277) | fn linkedin_should_use_canonical_case() { function wordpress_should_use_canonical_case (line 286) | fn wordpress_should_use_canonical_case() { function pdf_should_be_all_caps (line 295) | fn pdf_should_be_all_caps() { function ceo_should_be_all_caps (line 304) | fn ceo_should_be_all_caps() { function cfo_should_be_all_caps (line 313) | fn cfo_should_be_all_caps() { function hr_should_be_all_caps (line 322) | fn hr_should_be_all_caps() { function ai_should_be_all_caps (line 331) | fn ai_should_be_all_caps() { function ufo_should_be_all_caps (line 340) | fn ufo_should_be_all_caps() { function markdown_should_be_caps (line 349) | fn markdown_should_be_caps() { function canonical_forms_should_not_be_flagged (line 358) | fn canonical_forms_should_not_be_flagged() { function allows_news (line 391) | fn allows_news() { function allows_issue_2465 (line 399) | fn allows_issue_2465() { FILE: harper-core/src/linting/ought_to_be.rs type OughtToBe (line 13) | pub struct OughtToBe { method default (line 18) | fn default() -> Self { type Unit (line 55) | type Unit = Chunk; method expr (line 57) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 61) | fn match_to_lint(&self, matched: &[Token], source: &[char]) -> Option &str { function flags_you_out_to_be_able_to_see (line 92) | fn flags_you_out_to_be_able_to_see() { function flags_as_it_out_to_be (line 101) | fn flags_as_it_out_to_be() { function flags_then_it_out_to_be (line 106) | fn flags_then_it_out_to_be() { function ignores_turned_out_to_be (line 116) | fn ignores_turned_out_to_be() { function ignores_turns_out_to_be (line 121) | fn ignores_turns_out_to_be() { function ignores_make_it_out_to_be (line 126) | fn ignores_make_it_out_to_be() { function ignores_makes_it_out_to_be (line 135) | fn ignores_makes_it_out_to_be() { function ignores_worked_out_to_be (line 144) | fn ignores_worked_out_to_be() { function ignores_figured_it_out_to_be (line 149) | fn ignores_figured_it_out_to_be() { function ignores_try_it_out_to_be (line 158) | fn ignores_try_it_out_to_be() { function ignores_separate_it_out_to_be (line 163) | fn ignores_separate_it_out_to_be() { function ignores_rotate_it_out_to_be (line 172) | fn ignores_rotate_it_out_to_be() { function ignores_flesh_it_out_to_be (line 181) | fn ignores_flesh_it_out_to_be() { FILE: harper-core/src/linting/out_of_date.rs type OutOfDate (line 9) | pub struct OutOfDate { method default (line 14) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 48) | fn description(&self) -> &'static str { function corrects_out_of_date (line 59) | fn corrects_out_of_date() { function corrects_out_of_date_with_variation (line 68) | fn corrects_out_of_date_with_variation() { function allows_correct_usage (line 77) | fn allows_correct_usage() { FILE: harper-core/src/linting/oxford_comma.rs type OxfordComma (line 8) | pub struct OxfordComma { method match_to_lint (line 39) | fn match_to_lint(&self, matched_toks: &[Token], _source: &[char]) -> O... method default (line 13) | fn default() -> Self { method lint (line 54) | fn lint(&mut self, document: &crate::Document) -> Vec &str { function fruits (line 100) | fn fruits() { function people (line 109) | fn people() { function places (line 118) | fn places() { function foods (line 127) | fn foods() { function allows_clean_music (line 136) | fn allows_clean_music() { function allows_clean_nations (line 145) | fn allows_clean_nations() { function or_writing (line 154) | fn or_writing() { function sports (line 163) | fn sports() { function nor_vegetables (line 172) | fn nor_vegetables() { function allow_non_list_transportation (line 181) | fn allow_non_list_transportation() { function allow_pill (line 190) | fn allow_pill() { function allow_at_first (line 199) | fn allow_at_first() { function allow_standoff (line 208) | fn allow_standoff() { FILE: harper-core/src/linting/oxymorons.rs type Oxymorons (line 9) | pub struct Oxymorons { method new (line 14) | pub fn new() -> Self { method default (line 49) | fn default() -> Self { type Unit (line 55) | type Unit = Chunk; method expr (line 58) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 62) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 74) | fn description(&self) -> &str { function detects_amateur_expert (line 85) | fn detects_amateur_expert() { function detects_increasingly_less (line 90) | fn detects_increasingly_less() { function detects_advancing_backwards (line 99) | fn detects_advancing_backwards() { function detects_alludes_explicitly_to (line 104) | fn detects_alludes_explicitly_to() { function detects_explicitly_alludes_to (line 113) | fn detects_explicitly_alludes_to() { function does_not_flag_clean_text (line 122) | fn does_not_flag_clean_text() { function lowercase_match (line 127) | fn lowercase_match() { function phrase_with_extra_whitespace (line 136) | fn phrase_with_extra_whitespace() { function phrase_split_by_line_break (line 141) | fn phrase_split_by_line_break() { FILE: harper-core/src/linting/phrasal_verb_as_compound_noun.rs type PhrasalVerbAsCompoundNoun (line 8) | pub struct PhrasalVerbAsCompoundNoun { method new (line 19) | pub fn new() -> Self { method logic_and_heuristics (line 55) | fn logic_and_heuristics( type Confidence (line 13) | enum Confidence { method default (line 27) | fn default() -> Self { type Why (line 35) | enum Why { method lint (line 277) | fn lint(&mut self, document: &Document) -> Vec { method description (line 306) | fn description(&self) -> &str { function is_part_of_noun_list (line 312) | fn is_part_of_noun_list(document: &Document, current_index: usize) -> bo... function flag_breakup_and_workout (line 344) | fn flag_breakup_and_workout() { function correct_breakup_and_workout (line 353) | fn correct_breakup_and_workout() { function dont_flag_random_words_that_happen_to_end_like_a_particle (line 362) | fn dont_flag_random_words_that_happen_to_end_like_a_particle() { function dont_flag_non_verb_particles (line 367) | fn dont_flag_non_verb_particles() { function correct_after_i (line 372) | fn correct_after_i() { function correct_after_we (line 381) | fn correct_after_we() { function dont_flag_checkin (line 390) | fn dont_flag_checkin() { function dont_flag_cleanup (line 396) | fn dont_flag_cleanup() { function correct_after_you_lowercase (line 401) | fn correct_after_you_lowercase() { function correct_after_you_capitalized (line 410) | fn correct_after_you_capitalized() { function flag_checkout_after_you (line 419) | fn flag_checkout_after_you() { function correct_after_they_lowercase (line 424) | fn correct_after_they_lowercase() { function flag_cleanup_after_they (line 433) | fn flag_cleanup_after_they() { function dont_flag_dictionary_lookup (line 438) | fn dont_flag_dictionary_lookup() { function flag_couples_breakup (line 443) | fn flag_couples_breakup() { function dont_flag_gallon (line 448) | fn dont_flag_gallon() { function dont_flag_startup_funding (line 456) | fn dont_flag_startup_funding() { function dont_flag_huge_markup (line 464) | fn dont_flag_huge_markup() { function dont_flag_another_layoff (line 472) | fn dont_flag_another_layoff() { function dont_flag_a_threat_or_shakedown (line 481) | fn dont_flag_a_threat_or_shakedown() { function dont_flag_a_flyover (line 489) | fn dont_flag_a_flyover() { function dont_flag_mafia_style_shakedown (line 497) | fn dont_flag_mafia_style_shakedown() { function dont_flag_my_meetup_repository (line 505) | fn dont_flag_my_meetup_repository() { function ignore_multi_word (line 513) | fn ignore_multi_word() { function dont_flag_list_of_nouns_1298 (line 518) | fn dont_flag_list_of_nouns_1298() { function dont_flag_oov_nvim_plugin_1280 (line 526) | fn dont_flag_oov_nvim_plugin_1280() { function flag_title_case (line 534) | fn flag_title_case() { function dont_flag_all_caps (line 543) | fn dont_flag_all_caps() { function false_positive_issue_1495 (line 551) | fn false_positive_issue_1495() { function dont_flag_thanks_a_lot_linter_description (line 559) | fn dont_flag_thanks_a_lot_linter_description() { function dont_flag_backup_location (line 568) | fn dont_flag_backup_location() { function dont_flag_backup_plan (line 576) | fn dont_flag_backup_plan() { function dont_flag_backup_program (line 584) | fn dont_flag_backup_program() { function dont_flag_backup_solution_or_backup_problems (line 592) | fn dont_flag_backup_solution_or_backup_problems() { function dont_flag_backup_utilities_backup_system_or_backup_snapshots (line 600) | fn dont_flag_backup_utilities_backup_system_or_backup_snapshots() { function dont_flag_backup_images (line 608) | fn dont_flag_backup_images() { function fix_backup_individual_apps (line 616) | fn fix_backup_individual_apps() { function dont_flag_backup_strategy (line 625) | fn dont_flag_backup_strategy() { function dont_flag_helm_backup_plugin (line 633) | fn dont_flag_helm_backup_plugin() { function dont_flag_callback_function (line 638) | fn dont_flag_callback_function() { function dont_flag_playback_latency (line 646) | fn dont_flag_playback_latency() { function dont_flag_workout_constraints (line 654) | fn dont_flag_workout_constraints() { function dont_flag_workout_preference (line 659) | fn dont_flag_workout_preference() { function dont_flag_rollout_status (line 664) | fn dont_flag_rollout_status() { function font_flag_with_plugin (line 672) | fn font_flag_with_plugin() { function dont_flag_and_layout_of_data (line 680) | fn dont_flag_and_layout_of_data() { function dont_flag_in_noun_list_without_space_after_comma (line 688) | fn dont_flag_in_noun_list_without_space_after_comma() { function dont_flag_layout_estimation (line 696) | fn dont_flag_layout_estimation() { function dont_flag_plugin_that (line 704) | fn dont_flag_plugin_that() { function dont_flag_load_balancing_and_failover (line 712) | fn dont_flag_load_balancing_and_failover() { function dont_flag_plugin_for (line 720) | fn dont_flag_plugin_for() { function dont_flag_markup_language (line 728) | fn dont_flag_markup_language() { function dont_flag_plugin_ecosystem_or_plugin_development (line 736) | fn dont_flag_plugin_ecosystem_or_plugin_development() { function dont_flag_plugin_files_or_plugin_packages (line 744) | fn dont_flag_plugin_files_or_plugin_packages() { function dont_flag_plugin_docs (line 752) | fn dont_flag_plugin_docs() { function dont_flag_plugin_suite (line 760) | fn dont_flag_plugin_suite() { function dont_flag_hacker_news_throwback_machine (line 768) | fn dont_flag_hacker_news_throwback_machine() { function dont_flag_plugin_interface (line 776) | fn dont_flag_plugin_interface() { function issue_1918 (line 781) | fn issue_1918() { function dont_flag_pop_up_2217 (line 789) | fn dont_flag_pop_up_2217() { function issue_1772 (line 797) | fn issue_1772() { function issue_2369 (line 805) | fn issue_2369() { function issue_2505_dont_flag_backup_links (line 813) | fn issue_2505_dont_flag_backup_links() { function issue_2505_correct_setup_but_dont_flag_backup_link (line 821) | fn issue_2505_correct_setup_but_dont_flag_backup_link() { FILE: harper-core/src/linting/phrase_set_corrections/mod.rs function lint_group (line 9) | pub fn lint_group() -> LintGroup { FILE: harper-core/src/linting/phrase_set_corrections/tests.rs function corrects_further_ado (line 12) | fn corrects_further_ado() { function corrects_much_ado (line 21) | fn corrects_much_ado() { function fix_complete_bullocks (line 32) | fn fix_complete_bullocks() { function fix_dogs (line 41) | fn fix_dogs() { function fix_dogs_no_apostrophe_bullocks (line 50) | fn fix_dogs_no_apostrophe_bullocks() { function fix_is_bullocks (line 59) | fn fix_is_bullocks() { function fix_its_bullocks (line 68) | fn fix_its_bullocks() { function fix_its_no_apostrophe_bullocks (line 77) | fn fix_its_no_apostrophe_bullocks() { function fix_such_bullocks (line 86) | fn fix_such_bullocks() { function fix_thats_bullocks (line 95) | fn fix_thats_bullocks() { function fix_thats_no_apostrophe_bullocks (line 104) | fn fix_thats_no_apostrophe_bullocks() { function fix_total_bullocks (line 113) | fn fix_total_bullocks() { function fix_utter_bullocks (line 122) | fn fix_utter_bullocks() { function fix_was_bullocks (line 131) | fn fix_was_bullocks() { function fix_bullocks_exclamation (line 140) | fn fix_bullocks_exclamation() { function dont_flag_herd_of_bullocks (line 149) | fn dont_flag_herd_of_bullocks() { function correct_chomp_at_the_bit (line 158) | fn correct_chomp_at_the_bit() { function correct_chomped_at_the_bit (line 167) | fn correct_chomped_at_the_bit() { function correct_chomping_at_the_bit (line 176) | fn correct_chomping_at_the_bit() { function correct_chomps_at_the_bit (line 185) | fn correct_chomps_at_the_bit() { function correct_clients_side (line 197) | fn correct_clients_side() { function correct_servers_side (line 207) | fn correct_servers_side() { function correct_compulse (line 218) | fn correct_compulse() { function correct_compulsed (line 227) | fn correct_compulsed() { function correct_compulses (line 236) | fn correct_compulses() { function correct_compulsing (line 245) | fn correct_compulsing() { function correct_conform_that (line 256) | fn correct_conform_that() { function corrects_conformed_that (line 265) | fn corrects_conformed_that() { function corrects_conforms_that (line 274) | fn corrects_conforms_that() { function dont_flag_conforming_that (line 284) | fn dont_flag_conforming_that() { function corrects_conforming_that (line 293) | fn corrects_conforming_that() { function corrects_definite_article (line 304) | fn corrects_definite_article() { function corrects_definite_articles_title_case (line 314) | fn corrects_definite_articles_title_case() { function corrects_definite_articles_lowercase (line 323) | fn corrects_definite_articles_lowercase() { function dont_flag_digestive_track (line 334) | fn dont_flag_digestive_track() { function corrects_digestive_tracks (line 343) | fn corrects_digestive_tracks() { function corrects_dose_not (line 358) | fn corrects_dose_not() { function corrects_dose_it (line 369) | fn corrects_dose_it() { function dont_flag_excessive_dose_it_might (line 382) | fn dont_flag_excessive_dose_it_might() { function dont_flag_second_dose_it_is_not (line 393) | fn dont_flag_second_dose_it_is_not() { function dont_flag_a_dose_it_was (line 404) | fn dont_flag_a_dose_it_was() { function dont_flag_what_dose_it_takes (line 411) | fn dont_flag_what_dose_it_takes() { function dont_flag_to_dose_it (line 423) | fn dont_flag_to_dose_it() { function dont_flag_dont_dose_it_too_high (line 433) | fn dont_flag_dont_dose_it_too_high() { function dont_flag_to_dose_it_off (line 443) | fn dont_flag_to_dose_it_off() { function corrects_he_does (line 453) | fn corrects_he_does() { function corrects_she_does (line 462) | fn corrects_she_does() { function corrects_it_dose (line 472) | fn corrects_it_dose() { function corrects_someone_dose (line 482) | fn corrects_someone_dose() { function corrects_how_dose (line 492) | fn corrects_how_dose() { function dont_fix_how_dose_false_positive (line 502) | fn dont_fix_how_dose_false_positive() { function corrects_when_dose (line 511) | fn corrects_when_dose() { function dont_fix_when_dose_false_positive (line 521) | fn dont_fix_when_dose_false_positive() { function corrects_where_dose (line 530) | fn corrects_where_dose() { function dont_fix_where_dose_false_positive (line 540) | fn dont_fix_where_dose_false_positive() { function corrects_who_dose (line 549) | fn corrects_who_dose() { function corrects_why_dose (line 558) | fn corrects_why_dose() { function corrects_arg (line 571) | fn corrects_arg() { function corrects_args (line 580) | fn corrects_args() { function corrects_decl (line 591) | fn corrects_decl() { function corrects_decls (line 600) | fn corrects_decls() { function expand_deref (line 614) | fn expand_deref() { function corrects_derefs (line 623) | fn corrects_derefs() { function corrects_param (line 634) | fn corrects_param() { function corrects_params (line 643) | fn corrects_params() { function correct_ptr (line 653) | fn correct_ptr() { function correct_ptrs (line 661) | fn correct_ptrs() { function detect_explanation_mark_atomic (line 679) | fn detect_explanation_mark_atomic() { function detect_explanation_marks_atomic (line 684) | fn detect_explanation_marks_atomic() { function detect_explanation_mark_real_world (line 689) | fn detect_explanation_mark_real_world() { function detect_explanation_marks_real_world (line 698) | fn detect_explanation_marks_real_world() { function detect_explanation_point_atomic (line 707) | fn detect_explanation_point_atomic() { function detect_explanation_point_real_world (line 712) | fn detect_explanation_point_real_world() { function correct_certain_extend (line 723) | fn correct_certain_extend() { function correct_to_the_extend (line 732) | fn correct_to_the_extend() { function correct_to_some_extend (line 741) | fn correct_to_some_extend() { function correct_to_an_extend (line 750) | fn correct_to_an_extend() { function corrects_flaunt_the_rules (line 761) | fn corrects_flaunt_the_rules() { function corrects_flaunted_the_law (line 770) | fn corrects_flaunted_the_law() { function corrects_flaunting_authority (line 779) | fn corrects_flaunting_authority() { function allows_flaunt_wealth (line 788) | fn allows_flaunt_wealth() { function correct_foam_out_the_mouth (line 795) | fn correct_foam_out_the_mouth() { function correct_foamed_out_the_mouth (line 804) | fn correct_foamed_out_the_mouth() { function correct_foaming_out_the_mouth (line 813) | fn correct_foaming_out_the_mouth() { function correct_foams_out_the_mouth (line 822) | fn correct_foams_out_the_mouth() { function correct_flip_the_bill (line 833) | fn correct_flip_the_bill() { function correct_flipped_the_bill (line 842) | fn correct_flipped_the_bill() { function correct_flipping_the_bill (line 851) | fn correct_flipping_the_bill() { function correct_flips_the_bill (line 860) | fn correct_flips_the_bill() { function corrects_get_used_of (line 872) | fn corrects_get_used_of() { function corrects_gets_used_of (line 882) | fn corrects_gets_used_of() { function corrects_getting_used_of (line 892) | fn corrects_getting_used_of() { function corrects_got_used_of (line 902) | fn corrects_got_used_of() { function corrects_gotten_used_of (line 912) | fn corrects_gotten_used_of() { function corrects_grind_to_halt (line 923) | fn corrects_grind_to_halt() { function corrects_grind_to_halt_title_case (line 934) | fn corrects_grind_to_halt_title_case() { function corrects_grinding_to_halt (line 943) | fn corrects_grinding_to_halt() { function corrects_grinds_to_halt (line 952) | fn corrects_grinds_to_halt() { function corrects_ground_to_halt (line 961) | fn corrects_ground_to_halt() { function correct_has_past (line 972) | fn correct_has_past() { function correct_have_past (line 981) | fn correct_have_past() { function correct_had_past (line 990) | fn correct_had_past() { function correct_having_past (line 999) | fn correct_having_past() { function correct_hit_the_nail (line 1010) | fn correct_hit_the_nail() { function correct_hits_the_nail (line 1019) | fn correct_hits_the_nail() { function correct_hitting_the_nail (line 1028) | fn correct_hitting_the_nail() { function correct_hitted_the_nail (line 1037) | fn correct_hitted_the_nail() { function correct_hone_in_on (line 1048) | fn correct_hone_in_on() { function correct_honing_in_on (line 1057) | fn correct_honing_in_on() { function correct_hones_in_on (line 1066) | fn correct_hones_in_on() { function correct_honed_in_on (line 1075) | fn correct_honed_in_on() { function in_detail_atomic (line 1087) | fn in_detail_atomic() { function in_detail_real_world (line 1092) | fn in_detail_real_world() { function in_more_detail_atomic (line 1102) | fn in_more_detail_atomic() { function in_more_detail_real_world (line 1107) | fn in_more_detail_real_world() { function corrects_invest_into (line 1118) | fn corrects_invest_into() { function corrects_investing_into (line 1127) | fn corrects_investing_into() { function corrects_invested_into (line 1136) | fn corrects_invested_into() { function corrects_invests_into (line 1145) | fn corrects_invests_into() { function corrects_investment_into (line 1154) | fn corrects_investment_into() { function corrects_layouted (line 1165) | fn corrects_layouted() { function corrects_layouting (line 1174) | fn corrects_layouting() { function litotes_not_uncommon_atomic (line 1185) | fn litotes_not_uncommon_atomic() { function litotes_not_uncommon_sentence (line 1190) | fn litotes_not_uncommon_sentence() { function litotes_not_unlikely (line 1199) | fn litotes_not_unlikely() { function litotes_not_insignificant (line 1208) | fn litotes_not_insignificant() { function litotes_more_preferable (line 1217) | fn litotes_more_preferable() { function corrects_make_due_with (line 1228) | fn corrects_make_due_with() { function corrects_made_due_with (line 1237) | fn corrects_made_due_with() { function corrects_makes_due_with (line 1246) | fn corrects_makes_due_with() { function corrects_making_due_with (line 1255) | fn corrects_making_due_with() { function fix_make_senses (line 1266) | fn fix_make_senses() { function fix_made_senses (line 1275) | fn fix_made_senses() { function fix_makes_senses (line 1284) | fn fix_makes_senses() { function fix_making_senses (line 1293) | fn fix_making_senses() { function point_is_moot (line 1305) | fn point_is_moot() { function operative_system (line 1312) | fn operative_system() { function operative_systems (line 1321) | fn operative_systems() { function correct_passerbys (line 1331) | fn correct_passerbys() { function correct_passer_bys_hyphen (line 1340) | fn correct_passer_bys_hyphen() { function fix_peak (line 1351) | fn fix_peak() { function fix_peaked (line 1360) | fn fix_peaked() { function fix_peaking (line 1369) | fn fix_peaking() { function fix_peaks (line 1378) | fn fix_peaks() { function redundant_more_optimal (line 1392) | fn redundant_more_optimal() { function redundant_most_ideal (line 1397) | fn redundant_most_ideal() { function fix_take (line 1408) | fn fix_take() { function fix_taken (line 1417) | fn fix_taken() { function fix_takes (line 1426) | fn fix_takes() { function fix_taking (line 1435) | fn fix_taking() { function fix_took (line 1444) | fn fix_took() { function fix_assume (line 1453) | fn fix_assume() { function fix_assumed (line 1462) | fn fix_assumed() { function fix_assumes (line 1471) | fn fix_assumes() { function fix_assuming (line 1480) | fn fix_assuming() { function fix_claim (line 1489) | fn fix_claim() { function fix_claimed (line 1498) | fn fix_claimed() { function fix_claiming (line 1507) | fn fix_claiming() { function fix_claims (line 1516) | fn fix_claims() { function fix_an_escape_goat (line 1527) | fn fix_an_escape_goat() { function fix_escape_goat (line 1536) | fn fix_escape_goat() { function fix_escape_goats (line 1545) | fn fix_escape_goats() { function fix_seam_to_be (line 1557) | fn fix_seam_to_be() { function fix_seams_to_be (line 1566) | fn fix_seams_to_be() { function fix_i_seam (line 1576) | fn fix_i_seam() { function fix_we_seam (line 1586) | fn fix_we_seam() { function fix_we_all_seam (line 1596) | fn fix_we_all_seam() { function fix_we_both_seam (line 1607) | fn fix_we_both_seam() { function fix_you_seam (line 1617) | fn fix_you_seam() { function fix_you_all_seam (line 1627) | fn fix_you_all_seam() { function fix_you_both_seam (line 1637) | fn fix_you_both_seam() { function fix_he_seams (line 1647) | fn fix_he_seams() { function fix_she_seams (line 1657) | fn fix_she_seams() { function fix_it_seams (line 1667) | fn fix_it_seams() { function fix_they_seam (line 1677) | fn fix_they_seam() { function fix_they_all_seam (line 1687) | fn fix_they_all_seam() { function fix_they_both_seam (line 1697) | fn fix_they_both_seam() { function fix_everything_seams (line 1707) | fn fix_everything_seams() { function fix_everybody_seams (line 1717) | fn fix_everybody_seams() { function fix_everyone_seams (line 1727) | fn fix_everyone_seams() { function if_only_there_was (line 1739) | fn if_only_there_was() { function if_only_i_was (line 1749) | fn if_only_i_was() { function if_only_he_was (line 1759) | fn if_only_he_was() { function if_only_she_was (line 1769) | fn if_only_she_was() { function if_only_it_was (line 1779) | fn if_only_it_was() { function i_wish_there_was (line 1789) | fn i_wish_there_was() { function i_wish_i_was (line 1799) | fn i_wish_i_was() { function i_wish_he_was (line 1809) | fn i_wish_he_was() { function i_wish_she_was (line 1819) | fn i_wish_she_was() { function i_wish_it_was (line 1829) | fn i_wish_it_was() { function fix_wreck_havoc (line 1840) | fn fix_wreck_havoc() { function fix_wrecked_havoc (line 1849) | fn fix_wrecked_havoc() { function fix_wrecking_havoc (line 1858) | fn fix_wrecking_havoc() { function fix_wrecks_havoc (line 1867) | fn fix_wrecks_havoc() { function fix_by_wrote (line 1878) | fn fix_by_wrote() { function fix_by_wrote_hyphen (line 1887) | fn fix_by_wrote_hyphen() { function fix_wrote_learning (line 1896) | fn fix_wrote_learning() { function fix_wrote_memorisation (line 1905) | fn fix_wrote_memorisation() { function fix_wrote_memorisation_hyphen (line 1914) | fn fix_wrote_memorisation_hyphen() { function fix_wrote_memorization (line 1923) | fn fix_wrote_memorization() { function fix_wrote_memorization_hyphen (line 1932) | fn fix_wrote_memorization_hyphen() { function fix_wrote_memorizing (line 1941) | fn fix_wrote_memorizing() { function correct_awaits_for (line 1954) | fn correct_awaits_for() { function correct_awaiting_for (line 1967) | fn correct_awaiting_for() { function correct_await_for (line 1980) | fn correct_await_for() { function correct_awaited_for (line 1993) | fn correct_awaited_for() { function singular_towards (line 2008) | fn singular_towards() { function plural_towards (line 2017) | fn plural_towards() { function singular_toward (line 2026) | fn singular_toward() { function plural_toward (line 2035) | fn plural_toward() { function copywritten (line 2046) | fn copywritten() { function copywrites (line 2055) | fn copywrites() { function copywrited (line 2064) | fn copywrited() { function copywrited_all_caps (line 2073) | fn copywrited_all_caps() { function copywrote (line 2082) | fn copywrote() { function correct_double_edge_hyphen (line 2093) | fn correct_double_edge_hyphen() { function correct_double_edge_space (line 2102) | fn correct_double_edge_space() { function correct_double_edge_space_plural (line 2111) | fn correct_double_edge_space_plural() { function correct_double_edged_space (line 2120) | fn correct_double_edged_space() { function correct_double_edged_space_plural (line 2129) | fn correct_double_edged_space_plural() { function corrects_allocs (line 2140) | fn corrects_allocs() { function expand_alloc (line 2149) | fn expand_alloc() { function correct_ex_pat_hyphen (line 2160) | fn correct_ex_pat_hyphen() { function correct_ex_pats_hyphen (line 2169) | fn correct_ex_pats_hyphen() { function correct_ex_pat_space (line 2178) | fn correct_ex_pat_space() { function correct_ex_pats_space (line 2188) | fn correct_ex_pats_space() { function correct_expatriot (line 2199) | fn correct_expatriot() { function correct_expatriots (line 2208) | fn correct_expatriots() { function correct_ex_patriot_hyphen (line 2217) | fn correct_ex_patriot_hyphen() { function correct_ex_patriots_hyphen (line 2226) | fn correct_ex_patriots_hyphen() { function get_rid_off (line 2237) | fn get_rid_off() { function gets_rid_off (line 2246) | fn gets_rid_off() { function getting_rid_off (line 2255) | fn getting_rid_off() { function got_rid_off (line 2264) | fn got_rid_off() { function gotten_rid_off (line 2273) | fn gotten_rid_off() { function get_ride_of (line 2282) | fn get_ride_of() { function get_ride_off (line 2291) | fn get_ride_off() { function getting_ride_of (line 2300) | fn getting_ride_of() { function gets_ride_of (line 2309) | fn gets_ride_of() { function gotten_ride_of (line 2318) | fn gotten_ride_of() { function got_ride_of (line 2327) | fn got_ride_of() { function correct_holy_war (line 2339) | fn correct_holy_war() { function correct_holly_wars (line 2348) | fn correct_holly_wars() { function correct_how_it_looks_like_1 (line 2359) | fn correct_how_it_looks_like_1() { function correct_how_it_looks_like_2 (line 2368) | fn correct_how_it_looks_like_2() { function correct_how_they_look_like_1 (line 2377) | fn correct_how_they_look_like_1() { function correct_how_they_look_like_2 (line 2386) | fn correct_how_they_look_like_2() { function correct_how_they_looks_like_1 (line 2395) | fn correct_how_they_looks_like_1() { function correct_how_they_looks_like_2 (line 2404) | fn correct_how_they_looks_like_2() { function correct_how_she_looks_like_1 (line 2413) | fn correct_how_she_looks_like_1() { function correct_how_he_looks_like_2 (line 2422) | fn correct_how_he_looks_like_2() { function correct_how_it_look_like_1 (line 2431) | fn correct_how_it_look_like_1() { function correct_how_it_look_like_2 (line 2440) | fn correct_how_it_look_like_2() { function correct_how_it_looks_like_with_apostrophe (line 2449) | fn correct_how_it_looks_like_with_apostrophe() { function corrects_make_it_seems (line 2460) | fn corrects_make_it_seems() { function corrects_made_it_seems (line 2469) | fn corrects_made_it_seems() { function corrects_makes_it_seems (line 2478) | fn corrects_makes_it_seems() { function corrects_making_it_seems (line 2487) | fn corrects_making_it_seems() { function corrects_made_it_seemed (line 2496) | fn corrects_made_it_seemed() { function correct_nerve_wreck_space_title_case (line 2508) | fn correct_nerve_wreck_space_title_case() { function correct_nerve_wreck_space (line 2517) | fn correct_nerve_wreck_space() { function correct_nerve_wreck_hyphen (line 2526) | fn correct_nerve_wreck_hyphen() { function correct_nerve_wreck_hyphen_plural (line 2535) | fn correct_nerve_wreck_hyphen_plural() { function dont_correct_it_was_a_nerve_wreck (line 2545) | fn dont_correct_it_was_a_nerve_wreck() { function dont_correct_so_much_nerve_wreck (line 2554) | fn dont_correct_so_much_nerve_wreck() { function fix_no_only_are (line 2565) | fn fix_no_only_are() { function fix_no_only_is (line 2575) | fn fix_no_only_is() { function fix_no_only_was (line 2585) | fn fix_no_only_was() { function fix_no_only_were (line 2595) | fn fix_no_only_were() { function detect_rise_the_question (line 2607) | fn detect_rise_the_question() { function detect_arise_the_question (line 2616) | fn detect_arise_the_question() { function detect_rises_the_question (line 2626) | fn detect_rises_the_question() { function detect_arises_the_question (line 2635) | fn detect_arises_the_question() { function detect_rising_the_question (line 2645) | fn detect_rising_the_question() { function detect_arising_the_question (line 2654) | fn detect_arising_the_question() { function detect_rose_the_question (line 2664) | fn detect_rose_the_question() { function detect_risen_the_question (line 2673) | fn detect_risen_the_question() { function detect_rised_the_question (line 2682) | fn detect_rised_the_question() { function dont_fag_there_arose_the_question (line 2692) | fn dont_fag_there_arose_the_question() { function detect_arised_the_question (line 2701) | fn detect_arised_the_question() { function detect_arose_the_question (line 2710) | fn detect_arose_the_question() { function detect_arisen_the_question (line 2719) | fn detect_arisen_the_question() { function fix_a_bridge_too_far (line 2731) | fn fix_a_bridge_too_far() { function fix_cake_and_eat_it_too (line 2741) | fn fix_cake_and_eat_it_too() { function fix_go_to_far (line 2751) | fn fix_go_to_far() { function fix_goes_to_far (line 2761) | fn fix_goes_to_far() { function fix_going_to_far (line 2771) | fn fix_going_to_far() { function fix_gone_to_far (line 2781) | fn fix_gone_to_far() { function fix_went_to_far (line 2791) | fn fix_went_to_far() { function fix_life_s_too_short (line 2801) | fn fix_life_s_too_short() { function fix_lifes_to_short (line 2810) | fn fix_lifes_to_short() { function fix_life_is_too_short (line 2820) | fn fix_life_is_too_short() { function fix_put_too_fine_a_point (line 2830) | fn fix_put_too_fine_a_point() { function fix_speak_too_soon (line 2840) | fn fix_speak_too_soon() { function fix_speaking_too_soon (line 2850) | fn fix_speaking_too_soon() { function fix_spoke_too_soon (line 2860) | fn fix_spoke_too_soon() { function fix_spoken_too_soon (line 2870) | fn fix_spoken_too_soon() { function fix_think_too_much (line 2880) | fn fix_think_too_much() { function fix_too_big_for (line 2890) | fn fix_too_big_for() { function fix_too_big_to_fail (line 2900) | fn fix_too_big_to_fail() { function fix_too_good_to_be_true (line 2910) | fn fix_too_good_to_be_true() { function fix_too_good_too_be_true (line 2919) | fn fix_too_good_too_be_true() { function fix_too_much_information (line 2929) | fn fix_too_much_information() { function fix_too_big_too_fail (line 2941) | fn fix_too_big_too_fail() { function detect_atomic_whole_entire (line 2952) | fn detect_atomic_whole_entire() { function correct_real_world_whole_entire (line 2957) | fn correct_real_world_whole_entire() { function correct_atomic_a_whole_entire_to_a_whole (line 2967) | fn correct_atomic_a_whole_entire_to_a_whole() { function correct_atomic_a_whole_entire_to_an_entire (line 2972) | fn correct_atomic_a_whole_entire_to_an_entire() { function correct_real_world_a_whole_entire_to_a_whole (line 2977) | fn correct_real_world_a_whole_entire_to_a_whole() { function correct_real_world_a_whole_entire_to_an_entire (line 2986) | fn correct_real_world_a_whole_entire_to_an_entire() { function detect_a_lot_worse_atomic (line 2998) | fn detect_a_lot_worse_atomic() { function detect_a_lot_worse_real_world (line 3003) | fn detect_a_lot_worse_real_world() { function fix_became_worst (line 3013) | fn fix_became_worst() { function fix_become_worst (line 3022) | fn fix_become_worst() { function fix_becomes_worst (line 3031) | fn fix_becomes_worst() { function fix_becoming_worst (line 3040) | fn fix_becoming_worst() { function detect_far_worse_atomic (line 3050) | fn detect_far_worse_atomic() { function detect_far_worse_real_world (line 3055) | fn detect_far_worse_real_world() { function fix_get_worse (line 3065) | fn fix_get_worse() { function fix_gets_worse (line 3074) | fn fix_gets_worse() { function dont_flag_getting_worst (line 3084) | fn dont_flag_getting_worst() { function fix_getting_worst (line 3096) | fn fix_getting_worst() { function fix_got_worst (line 3105) | fn fix_got_worst() { function fix_gotten_worst (line 3114) | fn fix_gotten_worst() { function detect_much_worse_atomic (line 3124) | fn detect_much_worse_atomic() { function detect_much_worse_real_world (line 3129) | fn detect_much_worse_real_world() { function detect_turn_for_the_worse_atomic (line 3139) | fn detect_turn_for_the_worse_atomic() { function detect_turn_for_the_worse_real_world (line 3144) | fn detect_turn_for_the_worse_real_world() { function detect_worse_than_atomic (line 3154) | fn detect_worse_than_atomic() { function detect_worse_than_real_world (line 3159) | fn detect_worse_than_real_world() { function detect_worst_ever_atomic (line 3169) | fn detect_worst_ever_atomic() { function detect_worst_ever_real_world (line 3174) | fn detect_worst_ever_real_world() { function detect_worst_and_worst_atomic (line 3184) | fn detect_worst_and_worst_atomic() { function detect_worst_and_worst_real_world (line 3189) | fn detect_worst_and_worst_real_world() { function detect_worse_and_worst_real_world (line 3198) | fn detect_worse_and_worst_real_world() { function detect_at_worst_atomic (line 3208) | fn detect_at_worst_atomic() { function correct_worse_case_space (line 3218) | fn correct_worse_case_space() { function correct_worse_case_hyphen (line 3227) | fn correct_worse_case_hyphen() { function correct_worse_case_two_hyphens (line 3236) | fn correct_worse_case_two_hyphens() { function detect_make_it_worst_atomic (line 3246) | fn detect_make_it_worst_atomic() { function detect_made_it_worst_atomic (line 3256) | fn detect_made_it_worst_atomic() { function detect_makes_it_worst_atomic (line 3266) | fn detect_makes_it_worst_atomic() { function detect_making_it_worst_atomic (line 3276) | fn detect_making_it_worst_atomic() { function detect_make_them_worst_atomic (line 3286) | fn detect_make_them_worst_atomic() { function detect_made_them_worst_atomic (line 3296) | fn detect_made_them_worst_atomic() { function detect_makes_them_worst_atomic (line 3306) | fn detect_makes_them_worst_atomic() { function dont_flag_makes_them_worst_case (line 3316) | fn dont_flag_makes_them_worst_case() { function detect_making_them_worst_atomic (line 3326) | fn detect_making_them_worst_atomic() { FILE: harper-core/src/linting/pique_interest.rs type PiqueInterest (line 9) | pub struct PiqueInterest { method to_correct (line 30) | fn to_correct(word: &str) -> Option { method default (line 14) | fn default() -> Self { type Unit (line 44) | type Unit = Chunk; method expr (line 46) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 50) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 71) | fn description(&self) -> &'static str { function corrects_peak_interest (line 82) | fn corrects_peak_interest() { function corrects_peeked_interest_at_start (line 91) | fn corrects_peeked_interest_at_start() { function corrects_peak_interest_in_middle (line 100) | fn corrects_peak_interest_in_middle() { function corrects_peaked_interest_at_end (line 109) | fn corrects_peaked_interest_at_end() { function does_not_correct_unrelated_peak (line 118) | fn does_not_correct_unrelated_peak() { function corrects_peaking_interest (line 127) | fn corrects_peaking_interest() { function corrects_peaked_my_interest (line 136) | fn corrects_peaked_my_interest() { FILE: harper-core/src/linting/plural_decades/four_digits.rs function match_to_lint_four_digits (line 6) | pub fn match_to_lint_four_digits( function eighties (line 103) | fn eighties() { function nineties (line 109) | fn nineties() { function dont_flag_three_digits (line 114) | fn dont_flag_three_digits() { function dont_flag_five_digits (line 123) | fn dont_flag_five_digits() { function dont_flag_with_thousands_separator (line 132) | fn dont_flag_with_thousands_separator() { function dont_flag_not_ending_with_0 (line 141) | fn dont_flag_not_ending_with_0() { function dont_flag_ambiguous_1900s_nppl (line 152) | fn dont_flag_ambiguous_1900s_nppl() { function fix_in_1900s_npsg (line 161) | fn fix_in_1900s_npsg() { function ignore_hp_1910s (line 173) | fn ignore_hp_1910s() { function fix_the_roaring_1920s (line 181) | fn fix_the_roaring_1920s() { function fix_special_1920s_touch (line 191) | fn fix_special_1920s_touch() { function fix_in_the_1920s (line 200) | fn fix_in_the_1920s() { function dont_flag_ambiguous_1950s_npsg (line 212) | fn dont_flag_ambiguous_1950s_npsg() { function fix_in_the_1950s (line 220) | fn fix_in_the_1950s() { function fix_a_adj_1950s_npsg (line 230) | fn fix_a_adj_1950s_npsg() { function fix_1950s_npsg (line 240) | fn fix_1950s_npsg() { function fix_from_1950s_npsg (line 250) | fn fix_from_1950s_npsg() { function fix_from_1950 (line 259) | fn fix_from_1950() { function fix_1950s_brick_built_house (line 269) | fn fix_1950s_brick_built_house() { function fix_a_adj_1960s_npsg (line 281) | fn fix_a_adj_1960s_npsg() { function ignore_ambiguous_1960s_npsg (line 291) | fn ignore_ambiguous_1960s_npsg() { function fix_1960s_npsg (line 300) | fn fix_1960s_npsg() { function ignore_in_1960s_aperture (line 310) | fn ignore_in_1960s_aperture() { function fix_1970s_npsg (line 321) | fn fix_1970s_npsg() { function fix_vprog_1970s_nppl_dates (line 331) | fn fix_vprog_1970s_nppl_dates() { function fix_in_a_1970s_style_npsg (line 340) | fn fix_in_a_1970s_style_npsg() { function fix_1970s_pong_game (line 350) | fn fix_1970s_pong_game() { function fix_1970s_in_parens (line 360) | fn fix_1970s_in_parens() { function fix_in_the_1970s (line 369) | fn fix_in_the_1970s() { function ignore_username_hyphen_1970s_gists (line 378) | fn ignore_username_hyphen_1970s_gists() { function fix_after_1970s_nppl_minicomputers (line 387) | fn fix_after_1970s_nppl_minicomputers() { function fix_of_the_1970s (line 396) | fn fix_of_the_1970s() { function fix_couples_in_the_1970s (line 405) | fn fix_couples_in_the_1970s() { function fix_developed_in_early_1970s (line 414) | fn fix_developed_in_early_1970s() { function fix_from_the_1980s_like (line 425) | fn fix_from_the_1980s_like() { function fix_its_the_1980s (line 435) | fn fix_its_the_1980s() { function fix_from_the_1980s_end (line 444) | fn fix_from_the_1980s_end() { function fix_a_1980s_npsg (line 454) | fn fix_a_1980s_npsg() { function fix_of_the_1980s (line 463) | fn fix_of_the_1980s() { function fix_of_the_1980s_npsg (line 472) | fn fix_of_the_1980s_npsg() { function fix_based_off_of_the_1980s_npsg (line 481) | fn fix_based_off_of_the_1980s_npsg() { function ignore_ambiguous_1980s (line 491) | fn ignore_ambiguous_1980s() { function fix_1980s_nppl (line 500) | fn fix_1980s_nppl() { function fix_the_end_of_missing_determiner_1980s (line 510) | fn fix_the_end_of_missing_determiner_1980s() { function fix_in_the_1980s_for (line 519) | fn fix_in_the_1980s_for() { function fix_the_adj_1980s_npsg (line 529) | fn fix_the_adj_1980s_npsg() { function fix_since_the_1980s (line 538) | fn fix_since_the_1980s() { function fix_the_adj_1990s_npsg (line 550) | fn fix_the_adj_1990s_npsg() { function fix_a_1990s_npsg (line 560) | fn fix_a_1990s_npsg() { function lacks_determiner_stuck_in_1990s (line 570) | fn lacks_determiner_stuck_in_1990s() { function fix_the_1990s_npsg (line 580) | fn fix_the_1990s_npsg() { function fix_in_the_1990s_comma (line 589) | fn fix_in_the_1990s_comma() { function fix_a_mid_1990s_npsg (line 598) | fn fix_a_mid_1990s_npsg() { function lacks_determiner_written_in_java_in_1990s (line 608) | fn lacks_determiner_written_in_java_in_1990s() { function fix_a_adj_1990s_npsg (line 618) | fn fix_a_adj_1990s_npsg() { function fix_circa_1990s (line 628) | fn fix_circa_1990s() { function fix_for_1990s_nppl (line 638) | fn fix_for_1990s_nppl() { function fix_the_1990s_classic_mario_hit (line 647) | fn fix_the_1990s_classic_mario_hit() { function fix_developed_in_early_1990s (line 656) | fn fix_developed_in_early_1990s() { function fix_2000s_style (line 667) | fn fix_2000s_style() { function ignore_fork_username_hyphen_2000s_nppl (line 676) | fn ignore_fork_username_hyphen_2000s_nppl() { function fix_in_the_2000s (line 684) | fn fix_in_the_2000s() { function fix_in_the_early_2000s_missing_determiner (line 694) | fn fix_in_the_early_2000s_missing_determiner() { function ignore_view_username_hyphen_2000s_npsg (line 703) | fn ignore_view_username_hyphen_2000s_npsg() { function fix_early_2000s_style_npsg (line 711) | fn fix_early_2000s_style_npsg() { function fix_from_the_mid_2000s (line 720) | fn fix_from_the_mid_2000s() { function fix_for_the_early_2000s_games (line 729) | fn fix_for_the_early_2000s_games() { function fix_back_in_the_2000s (line 738) | fn fix_back_in_the_2000s() { function fix_mid_2000s (line 747) | fn fix_mid_2000s() { function ignore_author_2010s_publication_reference (line 759) | fn ignore_author_2010s_publication_reference() { function ignore_bazel_calls_vs_2010s_cl (line 768) | fn ignore_bazel_calls_vs_2010s_cl() { function fix_since_the_early_2010s (line 776) | fn fix_since_the_early_2010s() { function fix_blog_posts_of_the_2010s (line 785) | fn fix_blog_posts_of_the_2010s() { function ignore_ambiguous_2020s (line 797) | fn ignore_ambiguous_2020s() { function ignore_ambiguous_2020s_2 (line 806) | fn ignore_ambiguous_2020s_2() { function ignore_ambiguous_2020s_2024s (line 815) | fn ignore_ambiguous_2020s_2024s() { function ignore_erum_2020s (line 824) | fn ignore_erum_2020s() { function ignore_ambiguous_2020s_3 (line 833) | fn ignore_ambiguous_2020s_3() { function ignore_defcon_2020s_event (line 842) | fn ignore_defcon_2020s_event() { function ignore_username_hyphen_2020s_avatar (line 850) | fn ignore_username_hyphen_2020s_avatar() { function ignore_ambiguous_2020s_scipy (line 859) | fn ignore_ambiguous_2020s_scipy() { function ignore_pull_into_2020s (line 868) | fn ignore_pull_into_2020s() { function ignore_blasas_et_al_2020s (line 874) | fn ignore_blasas_et_al_2020s() { function fix_in_the_1990s_and_the_2000s (line 884) | fn fix_in_the_1990s_and_the_2000s() { function fix_early_2000s_early_1990s_early_1980s (line 893) | fn fix_early_2000s_early_1990s_early_1980s() { function fix_dates_in_the_1960s_comma_1950s_early_1900s (line 903) | fn fix_dates_in_the_1960s_comma_1950s_early_1900s() { function fix_late_1970s_early_1980s (line 912) | fn fix_late_1970s_early_1980s() { function fix_in_the_1970s_and_early_1980s (line 921) | fn fix_in_the_1970s_and_early_1980s() { function fix_from_the_late_1970s_early_1980s (line 930) | fn fix_from_the_late_1970s_early_1980s() { function ignore_on_80s_on_90s_on_2000s_on_2010s_on_2020s (line 940) | fn ignore_on_80s_on_90s_on_2000s_on_2010s_on_2020s() { function fix_in_the_80s_in_the_90s_2000s_2010s (line 949) | fn fix_in_the_80s_in_the_90s_2000s_2010s() { function fix_in_the_1990s_and_2000s (line 959) | fn fix_in_the_1990s_and_2000s() { function fix_1930s_ampersand_1940s (line 969) | fn fix_1930s_ampersand_1940s() { function fix_80s_90s_2000s_2020s (line 979) | fn fix_80s_90s_2000s_2020s() { FILE: harper-core/src/linting/plural_decades/mod.rs type PluralDecades (line 13) | pub struct PluralDecades { method default (line 18) | fn default() -> Self { type Unit (line 29) | type Unit = Sentence; method expr (line 31) | fn expr(&self) -> &dyn Expr { method description (line 35) | fn description(&self) -> &str { method match_to_lint_with_context (line 39) | fn match_to_lint_with_context( FILE: harper-core/src/linting/plural_decades/two_digits.rs type UsageJudgment (line 7) | enum UsageJudgment { type Tok (line 15) | enum Tok<'a> { function match_to_lint_two_digits (line 22) | pub fn match_to_lint_two_digits( function eighties (line 163) | fn eighties() { function nineties (line 169) | fn nineties() { function dont_flag_three_digits (line 174) | fn dont_flag_three_digits() { function dont_flag_one_digit (line 179) | fn dont_flag_one_digit() { function dont_flag_not_ending_with_0 (line 184) | fn dont_flag_not_ending_with_0() { function dont_flag_dot_version_numbers (line 194) | fn dont_flag_dot_version_numbers() { function fix_showing_the_10s_of_hours (line 203) | fn fix_showing_the_10s_of_hours() { function dont_flag_windows_10 (line 212) | fn dont_flag_windows_10() { function dont_flag_space_version_numbers_resharper_10 (line 221) | fn dont_flag_space_version_numbers_resharper_10() { function dont_flag_space_version_numbers_mermaid_10 (line 230) | fn dont_flag_space_version_numbers_mermaid_10() { function dont_flag_npm_10s_npsg (line 239) | fn dont_flag_npm_10s_npsg() { function dont_flag_xcode_10s_version_number (line 247) | fn dont_flag_xcode_10s_version_number() { function dont_flag_modo_10s_version_number (line 256) | fn dont_flag_modo_10s_version_number() { function dont_flag_windows_10s_touch_keyboard (line 264) | fn dont_flag_windows_10s_touch_keyboard() { function dont_flag_android_10s_scoped_storage (line 272) | fn dont_flag_android_10s_scoped_storage() { function dont_flag_windows_10s_openssh (line 280) | fn dont_flag_windows_10s_openssh() { function dont_flag_node10s_resolution_algorithm (line 289) | fn dont_flag_node10s_resolution_algorithm() { function dont_flag_xcode_10s_new_build_system (line 297) | fn dont_flag_xcode_10s_new_build_system() { function dont_flag_windows_10s_controlled_folder_access (line 305) | fn dont_flag_windows_10s_controlled_folder_access() { function dont_flag_windows_10s_wsl (line 313) | fn dont_flag_windows_10s_wsl() { function dont_flag_cpp20s_std_span (line 323) | fn dont_flag_cpp20s_std_span() { function dont_flag_space_version_numbers_virtualenv_20 (line 332) | fn dont_flag_space_version_numbers_virtualenv_20() { function dont_flag_hyphenated_version_numbers_soi_20 (line 341) | fn dont_flag_hyphenated_version_numbers_soi_20() { function dont_flag_cpp20s_concepts (line 346) | fn dont_flag_cpp20s_concepts() { function dont_flag_cpp20s_std_latch (line 355) | fn dont_flag_cpp20s_std_latch() { function dont_flag_team_20s_application (line 364) | fn dont_flag_team_20s_application() { function dont_flag_lesson_20s_sql_query (line 373) | fn dont_flag_lesson_20s_sql_query() { function dont_flag_cpp20s_initialization_change (line 381) | fn dont_flag_cpp20s_initialization_change() { function fix_my_20s (line 389) | fn fix_my_20s() { function fix_my_early_20s (line 398) | fn fix_my_early_20s() { function fix_my_late_20s (line 407) | fn fix_my_late_20s() { function dont_flag_sdk_versions (line 419) | fn dont_flag_sdk_versions() { function dont_flag_jxn_hyphen_30s_username (line 428) | fn dont_flag_jxn_hyphen_30s_username() { function fix_my_30s (line 436) | fn fix_my_30s() { function fix_my_mid_30s (line 445) | fn fix_my_mid_30s() { function fix_my_early_30s (line 454) | fn fix_my_early_30s() { function dont_flag_group_40s (line 466) | fn dont_flag_group_40s() { function fix_my_40s (line 471) | fn fix_my_40s() { function fix_their_40s (line 480) | fn fix_their_40s() { function fix_my_mid_40s (line 489) | fn fix_my_mid_40s() { function fix_their_mid_40s (line 498) | fn fix_their_mid_40s() { function dont_flag_50s_username (line 510) | fn dont_flag_50s_username() { function dont_flag_60_seconds (line 518) | fn dont_flag_60_seconds() { function fix_my_late_60s (line 523) | fn fix_my_late_60s() { function dont_flag_dotnet_runtime_70s (line 535) | fn dont_flag_dotnet_runtime_70s() { function fix_late_hyphen_70s (line 543) | fn fix_late_hyphen_70s() { function fix_a_fun_70s_industrial (line 553) | fn fix_a_fun_70s_industrial() { function fix_of_the_80s_npsg (line 564) | fn fix_of_the_80s_npsg() { function fix_an_80s_npsg (line 574) | fn fix_an_80s_npsg() { function fix_the_80s_npsg (line 583) | fn fix_the_80s_npsg() { function fix_the_80s_style_game_breakout (line 592) | fn fix_the_80s_style_game_breakout() { function fix_the_80s_microwriter (line 601) | fn fix_the_80s_microwriter() { function fix_80s_neon_theme (line 611) | fn fix_80s_neon_theme() { function fix_80s_neon_theme_colors (line 621) | fn fix_80s_neon_theme_colors() { function fix_80s_synthwave_theme (line 631) | fn fix_80s_synthwave_theme() { function fix_80s_3d_era (line 641) | fn fix_80s_3d_era() { function fix_80s_theme_80s_aesthetics (line 651) | fn fix_80s_theme_80s_aesthetics() { function fix_80s_dark_retro_theme (line 661) | fn fix_80s_dark_retro_theme() { function fix_80s_chorus_effect (line 670) | fn fix_80s_chorus_effect() { function dont_flag_chrome_80s (line 680) | fn dont_flag_chrome_80s() { function fix_80s_style (line 688) | fn fix_80s_style() { function fix_early_80s (line 697) | fn fix_early_80s() { function fix_modest_80s_fighter_game (line 707) | fn fix_modest_80s_fighter_game() { function fix_straight_from_80s (line 717) | fn fix_straight_from_80s() { function fix_the_90s_were (line 729) | fn fix_the_90s_were() { function fix_late_90s (line 739) | fn fix_late_90s() { function fix_the_90s_npsg (line 748) | fn fix_the_90s_npsg() { function fix_from_the_90s (line 757) | fn fix_from_the_90s() { function fix_the_late_90s (line 766) | fn fix_the_late_90s() { function fix_rad_90s_website (line 776) | fn fix_rad_90s_website() { function fix_mixed_80s_and_90s (line 786) | fn fix_mixed_80s_and_90s() { function dont_flag_all_90_degrees (line 797) | fn dont_flag_all_90_degrees() { function fix_a_90s_workstation (line 806) | fn fix_a_90s_workstation() { function fix_domains_in_the_90s (line 815) | fn fix_domains_in_the_90s() { function fix_the_classic_90s_game (line 825) | fn fix_the_classic_90s_game() { function fix_multiple_ages (line 837) | fn fix_multiple_ages() { function fix_missing_the (line 847) | fn fix_missing_the() { function fix_my_20s_and_30s (line 857) | fn fix_my_20s_and_30s() { FILE: harper-core/src/linting/plural_wrong_word_of_phrase.rs type PluralWrongWordOfPhrase (line 7) | pub struct PluralWrongWordOfPhrase { constant PATTERNS (line 12) | const PATTERNS: &[(&[&str], &str, &[&str])] = &[ method default (line 23) | fn default() -> Self { type Unit (line 69) | type Unit = Chunk; method description (line 71) | fn description(&self) -> &str { method expr (line 75) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 79) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function corrects_line_of_codes (line 122) | fn corrects_line_of_codes() { function corrects_line_of_codes_title_case (line 132) | fn corrects_line_of_codes_title_case() { function corrects_lines_of_codes (line 141) | fn corrects_lines_of_codes() { function corrects_part_of_speeches (line 152) | fn corrects_part_of_speeches() { function corrects_parts_of_speeches (line 161) | fn corrects_parts_of_speeches() { function corrects_point_of_views (line 172) | fn corrects_point_of_views() { function corrects_points_of_views (line 181) | fn corrects_points_of_views() { function correct_rule_of_thumbs (line 192) | fn correct_rule_of_thumbs() { function correct_rules_of_thumbs (line 201) | fn correct_rules_of_thumbs() { function correct_rules_of_thumbs_hyphenated (line 210) | fn correct_rules_of_thumbs_hyphenated() { function correct_body_in_whites_1 (line 221) | fn correct_body_in_whites_1() { function correct_body_in_whites_2 (line 230) | fn correct_body_in_whites_2() { function correct_flash_in_the_pans (line 241) | fn correct_flash_in_the_pans() { function correct_flash_in_the_pans_hyphenated (line 250) | fn correct_flash_in_the_pans_hyphenated() { function correct_flashes_in_the_pans (line 259) | fn correct_flashes_in_the_pans() { FILE: harper-core/src/linting/possessive_noun.rs type PossessiveNoun (line 10) | pub struct PossessiveNoun { function new (line 19) | pub fn new(dict: D) -> Self { type Unit (line 51) | type Unit = Chunk; method expr (line 53) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 57) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 89) | fn description(&self) -> &'static str { function test_linter (line 102) | fn test_linter() -> PossessiveNoun> { function fixes_hn (line 108) | fn fixes_hn() { function fixes_cats_tail (line 117) | fn fixes_cats_tail() { function fixes_children_toys (line 126) | fn fixes_children_toys() { function fixes_teachers_lounge (line 135) | fn fixes_teachers_lounge() { function fixes_ducks_park (line 144) | fn fixes_ducks_park() { function no_lint_for_already_possessive (line 153) | fn no_lint_for_already_possessive() { function no_lint_for_alrreaady_possessive (line 158) | fn no_lint_for_alrreaady_possessive() { function fixes_dogs_bone (line 163) | fn fixes_dogs_bone() { function fixes_students_books (line 172) | fn fixes_students_books() { function fixes_farmers_field (line 181) | fn fixes_farmers_field() { function fixes_women_dress (line 190) | fn fixes_women_dress() { function fixes_birds_song (line 199) | fn fixes_birds_song() { function fixes_scientists_research (line 208) | fn fixes_scientists_research() { function fixes_artists_gallery (line 217) | fn fixes_artists_gallery() { function no_lint_for_plural_noun (line 226) | fn no_lint_for_plural_noun() { function no_lint_for_proper_noun (line 231) | fn no_lint_for_proper_noun() { function fixes_the_students_assignment (line 236) | fn fixes_the_students_assignment() { function fixes_the_birds_flight (line 245) | fn fixes_the_birds_flight() { function allows_the_city_lights (line 254) | fn allows_the_city_lights() { function fixes_the_farmers_crops (line 263) | fn fixes_the_farmers_crops() { function fixes_the_artists_inspiration (line 272) | fn fixes_the_artists_inspiration() { function fixes_the_scientists_discovery (line 281) | fn fixes_the_scientists_discovery() { function fixes_the_writers_novel (line 290) | fn fixes_the_writers_novel() { function fixes_the_students_presentation (line 299) | fn fixes_the_students_presentation() { function fixes_the_teams_victory (line 308) | fn fixes_the_teams_victory() { function fixes_the_museums_collection (line 317) | fn fixes_the_museums_collection() { function no_lint_for_already_possessive_2 (line 326) | fn no_lint_for_already_possessive_2() { function no_lint_for_proper_noun_2 (line 331) | fn no_lint_for_proper_noun_2() { function fixes_the_doctors_office (line 336) | fn fixes_the_doctors_office() { function fixes_the_neighbors_garden (line 345) | fn fixes_the_neighbors_garden() { function fixes_the_architects_design (line 354) | fn fixes_the_architects_design() { function fixes_the_bakers_shop (line 363) | fn fixes_the_bakers_shop() { function fixes_the_musics_performance (line 372) | fn fixes_the_musics_performance() { function fixes_the_flowers_scent (line 381) | fn fixes_the_flowers_scent() { function allows_birds_hurried (line 390) | fn allows_birds_hurried() { function allows_1582_harms_readability (line 396) | fn allows_1582_harms_readability() { function allows_1582_imports_couples (line 406) | fn allows_1582_imports_couples() { function allows_1582_graphics_programmer (line 416) | fn allows_1582_graphics_programmer() { function allows_1582_data_sources (line 426) | fn allows_1582_data_sources() { FILE: harper-core/src/linting/possessive_your.rs type PossessiveYour (line 10) | pub struct PossessiveYour { method default (line 15) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 35) | fn match_to_lint_with_context( method description (line 62) | fn description(&self) -> &'static str { function your_comments (line 75) | fn your_comments() { function allow_intro_page (line 84) | fn allow_intro_page() { function allow_you_guys (line 93) | fn allow_you_guys() { function test_suggestion_your (line 102) | fn test_suggestion_your() { function test_suggestion_youre_a (line 111) | fn test_suggestion_youre_a() { function test_suggestion_multiple (line 121) | fn test_suggestion_multiple() { function dont_flag_just_showing_you (line 130) | fn dont_flag_just_showing_you() { function allows_issue_1583 (line 139) | fn allows_issue_1583() { function dont_flag_1919_brought_you (line 147) | fn dont_flag_1919_brought_you() { function dont_flag_1919_teaches_you (line 156) | fn dont_flag_1919_teaches_you() { FILE: harper-core/src/linting/progressive_needs_be.rs type ProgressiveNeedsBe (line 7) | pub struct ProgressiveNeedsBe { method default (line 12) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 88) | fn description(&self) -> &'static str { function suggests_im_looking (line 101) | fn suggests_im_looking() { function corrects_basic_im (line 110) | fn corrects_basic_im() { function offers_both_suggestions (line 119) | fn offers_both_suggestions() { function allows_ive_looked (line 129) | fn allows_ive_looked() { function allows_ive_been_looking (line 134) | fn allows_ive_been_looking() { function allows_ive_seen (line 143) | fn allows_ive_seen() { function allows_ive_long_been_looking (line 148) | fn allows_ive_long_been_looking() { function no_match_with_punctuation_between (line 157) | fn no_match_with_punctuation_between() { function handles_newline_whitespace (line 162) | fn handles_newline_whitespace() { function capitalization_all_caps_base (line 171) | fn capitalization_all_caps_base() { function works_for_weve (line 180) | fn works_for_weve() { function suggests_im_looking_non_contracted (line 189) | fn suggests_im_looking_non_contracted() { function offers_both_suggestions_non_contracted (line 198) | fn offers_both_suggestions_non_contracted() { function allows_i_have_been_looking (line 211) | fn allows_i_have_been_looking() { function allows_i_have_looked (line 220) | fn allows_i_have_looked() { function ive_working (line 227) | fn ive_working() { function weve_working (line 235) | fn weve_working() { function youve_working (line 243) | fn youve_working() { function theyve_working (line 251) | fn theyve_working() { function ive_eating (line 260) | fn ive_eating() { function weve_eating (line 268) | fn weve_eating() { function youve_eating (line 276) | fn youve_eating() { function theyve_eating (line 284) | fn theyve_eating() { function ive_reading (line 293) | fn ive_reading() { function weve_reading (line 301) | fn weve_reading() { function youve_reading (line 309) | fn youve_reading() { function theyve_reading (line 317) | fn theyve_reading() { function ive_writing (line 326) | fn ive_writing() { function weve_writing (line 334) | fn weve_writing() { function youve_writing (line 342) | fn youve_writing() { function theyve_writing (line 350) | fn theyve_writing() { function ive_speaking (line 359) | fn ive_speaking() { function weve_speaking (line 367) | fn weve_speaking() { function youve_speaking (line 375) | fn youve_speaking() { function theyve_speaking (line 383) | fn theyve_speaking() { function ive_studying (line 392) | fn ive_studying() { function weve_studying (line 400) | fn weve_studying() { function youve_studying (line 408) | fn youve_studying() { function theyve_studying (line 416) | fn theyve_studying() { function ive_testing (line 425) | fn ive_testing() { function weve_testing (line 433) | fn weve_testing() { function youve_testing (line 441) | fn youve_testing() { function theyve_testing (line 449) | fn theyve_testing() { function ive_using (line 458) | fn ive_using() { function weve_using (line 466) | fn weve_using() { function youve_using (line 474) | fn youve_using() { function theyve_using (line 482) | fn theyve_using() { function i_have_working (line 492) | fn i_have_working() { function we_have_working (line 500) | fn we_have_working() { function you_have_working (line 508) | fn you_have_working() { function they_have_working (line 516) | fn they_have_working() { function i_have_eating (line 525) | fn i_have_eating() { function we_have_eating (line 533) | fn we_have_eating() { function you_have_eating (line 541) | fn you_have_eating() { function they_have_eating (line 549) | fn they_have_eating() { function i_have_reading (line 558) | fn i_have_reading() { function we_have_reading (line 566) | fn we_have_reading() { function you_have_reading (line 574) | fn you_have_reading() { function they_have_reading (line 582) | fn they_have_reading() { function i_have_writing (line 591) | fn i_have_writing() { function we_have_writing (line 599) | fn we_have_writing() { function you_have_writing (line 607) | fn you_have_writing() { function they_have_writing (line 615) | fn they_have_writing() { function i_have_speaking (line 624) | fn i_have_speaking() { function we_have_speaking (line 632) | fn we_have_speaking() { function you_have_speaking (line 640) | fn you_have_speaking() { function they_have_speaking (line 648) | fn they_have_speaking() { function i_have_studying (line 657) | fn i_have_studying() { function we_have_studying (line 665) | fn we_have_studying() { function you_have_studying (line 673) | fn you_have_studying() { function they_have_studying (line 681) | fn they_have_studying() { function i_have_testing (line 690) | fn i_have_testing() { function we_have_testing (line 698) | fn we_have_testing() { function you_have_testing (line 706) | fn you_have_testing() { function they_have_testing (line 714) | fn they_have_testing() { function i_have_using (line 723) | fn i_have_using() { function we_have_using (line 731) | fn we_have_using() { function you_have_using (line 739) | fn you_have_using() { function they_have_using (line 747) | fn they_have_using() { function both_suggestions_ive_working (line 757) | fn both_suggestions_ive_working() { function both_suggestions_we_have_reading (line 766) | fn both_suggestions_we_have_reading() { function both_suggestions_youve_reading (line 775) | fn both_suggestions_youve_reading() { function both_suggestions_they_have_writing (line 784) | fn both_suggestions_they_have_writing() { function no_match_punctuation_contracted (line 794) | fn no_match_punctuation_contracted() { function no_match_punctuation_non_contracted (line 798) | fn no_match_punctuation_non_contracted() { function no_match_adverb_interruption (line 802) | fn no_match_adverb_interruption() { function allowed_contracted_have_been (line 810) | fn allowed_contracted_have_been() { function allowed_non_contracted_have_been (line 818) | fn allowed_non_contracted_have_been() { function allowed_they_have_been (line 826) | fn allowed_they_have_been() { function allowed_theyve_been (line 834) | fn allowed_theyve_been() { function capitalization_variants_non_contracted (line 843) | fn capitalization_variants_non_contracted() { function newline_variants_non_contracted (line 851) | fn newline_variants_non_contracted() { function test_ive_being (line 863) | fn test_ive_being() { function test_ive_doing_no_apostrophe (line 876) | fn test_ive_doing_no_apostrophe() { function test_ive_looking_no_apostrophe (line 885) | fn test_ive_looking_no_apostrophe() { function test_youve_being (line 895) | fn test_youve_being() { function test_theyve_doing (line 904) | fn test_theyve_doing() { FILE: harper-core/src/linting/pronoun_are.rs type PronounAre (line 9) | pub struct PronounAre { method default (line 14) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function fixes_you_r (line 97) | fn fixes_you_r() { function offers_contraction_option (line 106) | fn offers_contraction_option() { function keeps_uppercase_pronoun (line 115) | fn keeps_uppercase_pronoun() { function fixes_they_r_with_comma (line 124) | fn fixes_they_r_with_comma() { function fixes_we_r_lowercase (line 133) | fn fixes_we_r_lowercase() { function fixes_they_r_sentence_start (line 142) | fn fixes_they_r_sentence_start() { function fixes_lowercase_sentence (line 151) | fn fixes_lowercase_sentence() { function handles_line_break (line 160) | fn handles_line_break() { function does_not_flag_contraction (line 169) | fn does_not_flag_contraction() { function does_not_flag_full_form (line 174) | fn does_not_flag_full_form() { function ignores_similar_word (line 179) | fn ignores_similar_word() { FILE: harper-core/src/linting/pronoun_contraction/avoid_contraction.rs type AvoidContraction (line 7) | pub struct AvoidContraction { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/pronoun_contraction/mod.rs function issue_225 (line 17) | fn issue_225() { function were_team (line 26) | fn were_team() { function issue_139 (line 35) | fn issue_139() { function car (line 44) | fn car() { function allows_you_are_still (line 53) | fn allows_you_are_still() { function issue_576 (line 62) | fn issue_576() { FILE: harper-core/src/linting/pronoun_contraction/should_contract.rs type ShouldContract (line 19) | pub struct ShouldContract { method mistake_to_correct (line 48) | fn mistake_to_correct(mistake: &str) -> Option>> { method default (line 24) | fn default() -> Self { type Unit (line 63) | type Unit = Chunk; method expr (line 65) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 69) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 100) | fn description(&self) -> &'static str { function contracts_your_correctly (line 111) | fn contracts_your_correctly() { function contracts_were_complex_correctly (line 120) | fn contracts_were_complex_correctly() { function case_insensitive_handling (line 129) | fn case_insensitive_handling() { function no_match_without_the (line 138) | fn no_match_without_the() { function no_match_with_punctuation (line 144) | fn no_match_with_punctuation() { function allow_norm (line 149) | fn allow_norm() { function allow_issue_1508 (line 158) | fn allow_issue_1508() { function allows_issue_1673 (line 164) | fn allows_issue_1673() { FILE: harper-core/src/linting/pronoun_inflection_be.rs type PronounInflectionBe (line 11) | pub struct PronounInflectionBe { method new (line 17) | pub fn new() -> Self { method default (line 133) | fn default() -> Self { type Unit (line 139) | type Unit = Chunk; method expr (line 141) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 145) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 162) | fn description(&self) -> &str { function corrects_he_are (line 177) | fn corrects_he_are() { function corrects_she_are (line 186) | fn corrects_she_are() { function corrects_they_is (line 195) | fn corrects_they_is() { function allows_they_are (line 204) | fn allows_they_are() { function corrects_it_are (line 213) | fn corrects_it_are() { function corrects_he_are_negation (line 222) | fn corrects_he_are_negation() { function corrects_she_are_progressive (line 231) | fn corrects_she_are_progressive() { function corrects_they_is_negation (line 240) | fn corrects_they_is_negation() { function corrects_they_is_progressive (line 249) | fn corrects_they_is_progressive() { function allows_he_is (line 258) | fn allows_he_is() { function allows_she_is_lowercase (line 263) | fn allows_she_is_lowercase() { function allows_it_is (line 268) | fn allows_it_is() { function allows_they_are_negation (line 273) | fn allows_they_are_negation() { function allows_they_were (line 282) | fn allows_they_were() { function allows_asdf_is (line 287) | fn allows_asdf_is() { function no_subject (line 292) | fn no_subject() { function corrects_i_were (line 297) | fn corrects_i_were() { function corrects_we_was (line 306) | fn corrects_we_was() { function corrects_you_was (line 315) | fn corrects_you_was() { function allows_you_were (line 324) | fn allows_you_were() { function corrects_he_were (line 333) | fn corrects_he_were() { function corrects_they_was (line 342) | fn corrects_they_was() { function allows_he_was (line 351) | fn allows_he_was() { function allows_we_were (line 356) | fn allows_we_were() { function corrects_he_arent (line 361) | fn corrects_he_arent() { function corrects_they_isnt (line 370) | fn corrects_they_isnt() { function allows_he_isnt (line 379) | fn allows_he_isnt() { function allows_they_arent (line 384) | fn allows_they_arent() { function corrects_she_really_are (line 389) | fn corrects_she_really_are() { function corrects_they_often_is (line 398) | fn corrects_they_often_is() { function corrects_because_he_are (line 407) | fn corrects_because_he_are() { function allow_behind_him (line 416) | fn allow_behind_him() { function issue_1682 (line 424) | fn issue_1682() { FILE: harper-core/src/linting/pronoun_knew.rs type PronounKnew (line 12) | pub struct PronounKnew { type PronounKnewExt (line 16) | trait PronounKnewExt { method then_pronoun (line 17) | fn then_pronoun(self) -> Self; method default (line 21) | fn default() -> Self { type Unit (line 61) | type Unit = Chunk; method expr (line 63) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 67) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function simple_pronoun_new (line 95) | fn simple_pronoun_new() { function with_adverb (line 104) | fn with_adverb() { function does_not_flag_without_pronoun (line 113) | fn does_not_flag_without_pronoun() { function does_not_flag_other_context (line 118) | fn does_not_flag_other_context() { function does_not_flag_with_its (line 123) | fn does_not_flag_with_its() { function does_not_flag_with_his (line 132) | fn does_not_flag_with_his() { function does_not_flag_with_her (line 137) | fn does_not_flag_with_her() { function does_not_flag_with_nothing_1298 (line 142) | fn does_not_flag_with_nothing_1298() { function issue_1381_tricks (line 147) | fn issue_1381_tricks() { function issue_1381_template (line 152) | fn issue_1381_template() { function issue_1381_file (line 161) | fn issue_1381_file() { function fixes_i_knew_what (line 170) | fn fixes_i_knew_what() { function fixes_she_knew_what (line 179) | fn fixes_she_knew_what() { function flags_she_new_danger (line 188) | fn flags_she_new_danger() { function allows_issue_1518 (line 193) | fn allows_issue_1518() { FILE: harper-core/src/linting/pronoun_verb_agreement.rs type PronounVerbAgreement (line 33) | pub struct PronounVerbAgreement { function new (line 42) | pub fn new(dict: D) -> Self { function third_person_singular_present_to_lemma (line 99) | fn third_person_singular_present_to_lemma(&self, form: &[char]) -> Vec Vec &dyn Expr { method match_to_lint_with_context (line 182) | fn match_to_lint_with_context( method description (line 241) | fn description(&self) -> &str { function issue_233_1 (line 255) | fn issue_233_1() { function issue_233_2 (line 264) | fn issue_233_2() { function issue_233_1_reverse (line 274) | fn issue_233_1_reverse() { function why_we_cant_flag_like_yet (line 283) | fn why_we_cant_flag_like_yet() { function issue_233_2_reverse (line 291) | fn issue_233_2_reverse() { function dont_flag_correct_agreement (line 300) | fn dont_flag_correct_agreement() { function fixes_i (line 312) | fn fixes_i() { function fixes_we (line 321) | fn fixes_we() { function fixes_you (line 330) | fn fixes_you() { function fixes_he (line 339) | fn fixes_he() { function fixes_she (line 348) | fn fixes_she() { function we_cant_fix_it_yet (line 358) | fn we_cant_fix_it_yet() { function why_we_cant_fix_it_yet (line 367) | fn why_we_cant_fix_it_yet() { function fixes_they (line 375) | fn fixes_they() { function dont_flag_i (line 386) | fn dont_flag_i() { function dont_flag_we (line 391) | fn dont_flag_we() { function dont_flag_you (line 399) | fn dont_flag_you() { function dont_flag_he (line 407) | fn dont_flag_he() { function dont_flag_she (line 415) | fn dont_flag_she() { function dont_flag_it (line 423) | fn dont_flag_it() { function dont_flag_they (line 431) | fn dont_flag_they() { function fix_flies (line 442) | fn fix_flies() { function fix_cry (line 450) | fn fix_cry() { function fix_go (line 460) | fn fix_go() { function fix_goes (line 468) | fn fix_goes() { function fix_has (line 480) | fn fix_has() { function fix_have (line 488) | fn fix_have() { function fix_hasnt (line 498) | fn fix_hasnt() { function fix_havent (line 506) | fn fix_havent() { function fix_box (line 516) | fn fix_box() { function fix_boxes (line 524) | fn fix_boxes() { function fix_doesnt (line 539) | fn fix_doesnt() { function fix_dont (line 548) | fn fix_dont() { function fix_do (line 558) | fn fix_do() { function fix_does (line 566) | fn fix_does() { function false_positive_she_consider (line 577) | fn false_positive_she_consider() { function false_positive_she_sell (line 585) | fn false_positive_she_sell() { function false_positive_she_rent (line 593) | fn false_positive_she_rent() { function false_positive_he_donned (line 601) | fn false_positive_he_donned() { function false_positive_he_cannot (line 609) | fn false_positive_he_cannot() { function false_positive_insisting_she_return (line 617) | fn false_positive_insisting_she_return() { function false_positive_pride_in_you_is (line 625) | fn false_positive_pride_in_you_is() { function false_positive_she_sought (line 633) | fn false_positive_she_sought() { function false_positive_lose_you_points (line 641) | fn false_positive_lose_you_points() { function false_positive_she_hung_up (line 649) | fn false_positive_she_hung_up() { FILE: harper-core/src/linting/proper_noun_capitalization_linters.rs type ProperNounCapitalizationLinter (line 18) | pub struct ProperNounCapitalizationLinter { function new_strs (line 26) | pub fn new_strs( type Unit (line 52) | type Unit = Chunk; method expr (line 54) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 58) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 86) | fn description(&self) -> &str { type RuleEntry (line 92) | struct RuleEntry { function lint_group_from_json (line 99) | fn lint_group_from_json(json: &str, dictionary: Arc) -> LintGro... function americas_lowercase (line 131) | fn americas_lowercase() { function americas_uppercase (line 145) | fn americas_uppercase() { function americas_allow_correct (line 159) | fn americas_allow_correct() { function issue_798 (line 165) | fn issue_798() { function united_nations_uppercase (line 174) | fn united_nations_uppercase() { function united_arab_emirates_lowercase (line 183) | fn united_arab_emirates_lowercase() { function united_nations_allow_correct (line 192) | fn united_nations_allow_correct() { function meta_allow_correct (line 197) | fn meta_allow_correct() { function microsoft_lowercase (line 202) | fn microsoft_lowercase() { function microsoft_first_word_is_correct (line 211) | fn microsoft_first_word_is_correct() { function test_atlantic_ocean_lowercase (line 220) | fn test_atlantic_ocean_lowercase() { function test_pacific_ocean_lowercase (line 226) | fn test_pacific_ocean_lowercase() { function test_indian_ocean_lowercase (line 232) | fn test_indian_ocean_lowercase() { function test_southern_ocean_lowercase (line 238) | fn test_southern_ocean_lowercase() { function test_arctic_ocean_lowercase (line 244) | fn test_arctic_ocean_lowercase() { function test_mediterranean_sea_lowercase (line 250) | fn test_mediterranean_sea_lowercase() { function test_caribbean_sea_lowercase (line 260) | fn test_caribbean_sea_lowercase() { function test_south_china_sea_lowercase (line 266) | fn test_south_china_sea_lowercase() { function test_atlantic_ocean_correct (line 272) | fn test_atlantic_ocean_correct() { function test_pacific_ocean_correct (line 278) | fn test_pacific_ocean_correct() { function test_indian_ocean_correct (line 284) | fn test_indian_ocean_correct() { function test_mediterranean_sea_correct (line 290) | fn test_mediterranean_sea_correct() { function test_south_china_sea_correct (line 296) | fn test_south_china_sea_correct() { function day_one_in_sentence (line 302) | fn day_one_in_sentence() { function gilded_age_in_sentence (line 311) | fn gilded_age_in_sentence() { FILE: harper-core/src/linting/quantifier_needs_of.rs type QuantifierNeedsOf (line 8) | pub struct QuantifierNeedsOf { method default (line 13) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> O... method description (line 42) | fn description(&self) -> &'static str { function fixes_a_couple_months (line 54) | fn fixes_a_couple_months() { function fixes_a_couple_weeks (line 63) | fn fixes_a_couple_weeks() { function fixes_a_couple_days (line 72) | fn fixes_a_couple_days() { function fixes_a_couple_seconds (line 81) | fn fixes_a_couple_seconds() { function fixes_a_couple_minutes (line 90) | fn fixes_a_couple_minutes() { function fixes_a_couple_houses (line 99) | fn fixes_a_couple_houses() { function fixes_a_couple_centuries (line 108) | fn fixes_a_couple_centuries() { function fixes_a_couple_people (line 117) | fn fixes_a_couple_people() { FILE: harper-core/src/linting/quantifier_numeral_conflict.rs type QuantifierNumeralConflict (line 8) | pub struct QuantifierNumeralConflict { method default (line 13) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method expr (line 41) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 45) | fn match_to_lint_with_context( method description (line 117) | fn description(&self) -> &'static str { function flag_several_two (line 129) | fn flag_several_two() { function dont_flag_at_least (line 138) | fn dont_flag_at_least() { function dont_flag_at_most (line 146) | fn dont_flag_at_most() { function dont_flag_both_32_bit_and_64_bit (line 154) | fn dont_flag_both_32_bit_and_64_bit() { function dont_flag_more_1_click (line 162) | fn dont_flag_more_1_click() { function correct_each_2 (line 170) | fn correct_each_2() { function ignore_no_two_adjacent_characters_2486 (line 179) | fn ignore_no_two_adjacent_characters_2486() { FILE: harper-core/src/linting/quite_quiet.rs type QuiteQuiet (line 6) | pub struct QuiteQuiet { method default (line 11) | fn default() -> Self { type Unit (line 55) | type Unit = Chunk; method expr (line 57) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 61) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 108) | fn description(&self) -> &str { function fix_quiet_adverb (line 119) | fn fix_quiet_adverb() { function fix_quiet_adjective (line 128) | fn fix_quiet_adjective() { function fix_very_quite (line 137) | fn fix_very_quite() { function fix_doesnt_quiet (line 146) | fn fix_doesnt_quiet() { function fix_doesnt_quiet_typographical_apostrophe (line 151) | fn fix_doesnt_quiet_typographical_apostrophe() { function fix_doesnt_quiet_in_context (line 156) | fn fix_doesnt_quiet_in_context() { function dont_flag_quiet_light (line 165) | fn dont_flag_quiet_light() { function dont_flag_quiet_till (line 170) | fn dont_flag_quiet_till() { function fix_cant_quiet (line 179) | fn fix_cant_quiet() { function fix_wont_quiet (line 188) | fn fix_wont_quiet() { function fix_couldnt_quiet (line 197) | fn fix_couldnt_quiet() { function fix_but_its_not_quite_clear_1956 (line 206) | fn fix_but_its_not_quite_clear_1956() { function dont_flag_adv_quite_1971 (line 211) | fn dont_flag_adv_quite_1971() { function issue_2003 (line 219) | fn issue_2003() { FILE: harper-core/src/linting/quote_spacing.rs type QuoteSpacing (line 7) | pub struct QuoteSpacing { method new (line 12) | pub fn new() -> Self { method default (line 20) | fn default() -> Self { method lint (line 26) | fn lint(&mut self, document: &Document) -> Vec { method description (line 48) | fn description(&self) -> &str { function flags_missing_space_before_quote (line 59) | fn flags_missing_space_before_quote() { function flags_missing_space_after_quote (line 64) | fn flags_missing_space_after_quote() { function allows_quotes_with_spacing (line 73) | fn allows_quotes_with_spacing() { function allows_quotes_at_end_of_sentence (line 78) | fn allows_quotes_at_end_of_sentence() { FILE: harper-core/src/linting/reason_for_doing.rs type ReasonForDoing (line 10) | pub struct ReasonForDoing { method default (line 15) | fn default() -> Self { type Unit (line 27) | type Unit = Chunk; method expr (line 29) | fn expr(&self) -> &dyn Expr { method description (line 33) | fn description(&self) -> &str { method match_to_lint_with_context (line 37) | fn match_to_lint_with_context( function fix_sg_of_doing (line 86) | fn fix_sg_of_doing() { function fix_pl_of_doing (line 95) | fn fix_pl_of_doing() { function fix_sg_of_having (line 104) | fn fix_sg_of_having() { function fix_pl_of_having (line 113) | fn fix_pl_of_having() { function ignore_for_reasons_of_logging (line 122) | fn ignore_for_reasons_of_logging() { function fix_sg_of_making (line 130) | fn fix_sg_of_making() { function fix_pl_of_making (line 139) | fn fix_pl_of_making() { function allow_for_reasons_of_making (line 148) | fn allow_for_reasons_of_making() { function fix_for_reasons_of_doing_this (line 157) | fn fix_for_reasons_of_doing_this() { function fix_sg_of_needing (line 166) | fn fix_sg_of_needing() { function fix_sg_of_opening (line 175) | fn fix_sg_of_opening() { function fix_sg_of_saving (line 184) | fn fix_sg_of_saving() { function fix_sg_of_wanting (line 193) | fn fix_sg_of_wanting() { function allow_for_reasons_of_wanting (line 203) | fn allow_for_reasons_of_wanting() { FILE: harper-core/src/linting/redundant_acronyms.rs constant ACRONYMS (line 10) | const ACRONYMS: &[(&str, &[&str], &str)] = &[ type RedundantAcronyms (line 21) | pub struct RedundantAcronyms { method default (line 26) | fn default() -> Self { type Unit (line 49) | type Unit = Chunk; method expr (line 51) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 55) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 105) | fn description(&self) -> &str { function test_made_up (line 116) | fn test_made_up() { function test_all_caps_singular (line 129) | fn test_all_caps_singular() { function test_all_caps_plural (line 142) | fn test_all_caps_plural() { function test_all_lowercase_singular (line 155) | fn test_all_lowercase_singular() { function test_all_lowercase_plural (line 168) | fn test_all_lowercase_plural() { function correct_atm_machine (line 181) | fn correct_atm_machine() { function correct_atm_machines (line 195) | fn correct_atm_machines() { function correct_gui_interface (line 209) | fn correct_gui_interface() { function correct_gui_interfaces (line 222) | fn correct_gui_interfaces() { function correct_lcd_display (line 235) | fn correct_lcd_display() { function correct_lcd_displays (line 248) | fn correct_lcd_displays() { function correct_pin_numbers_caps (line 261) | fn correct_pin_numbers_caps() { function correct_pin_number_all_caps (line 274) | fn correct_pin_number_all_caps() { function dont_correct_pin_number_lowercase (line 287) | fn dont_correct_pin_number_lowercase() { function dont_correct_pin_number_titlecase (line 295) | fn dont_correct_pin_number_titlecase() { function correct_tui_interface (line 303) | fn correct_tui_interface() { function correct_ui_interface (line 317) | fn correct_ui_interface() { function correct_vin_numbers (line 330) | fn correct_vin_numbers() { function correct_vin_number (line 343) | fn correct_vin_number() { FILE: harper-core/src/linting/redundant_additive_adverbs.rs type RedundantAdditiveAdverbs (line 9) | pub struct RedundantAdditiveAdverbs { method default (line 14) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 108) | fn description(&self) -> &'static str { function flag_as_well_too (line 121) | fn flag_as_well_too() { function flag_too_also (line 130) | fn flag_too_also() { function dont_flag_also_too (line 139) | fn dont_flag_also_too() { function dont_flag_also_as_well_as (line 148) | fn dont_flag_also_as_well_as() { function do_flag_too_also_as_well_as (line 157) | fn do_flag_too_also_as_well_as() { function flag_too_as_well (line 166) | fn flag_too_as_well() { FILE: harper-core/src/linting/redundant_progressive_comparative.rs type RedundantProgressiveComparative (line 7) | pub struct RedundantProgressiveComparative { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], src: &[char]) -> Optio... method description (line 72) | fn description(&self) -> &'static str { function fixes_increasingly_more (line 83) | fn fixes_increasingly_more() { function fixes_increasingly_less (line 92) | fn fixes_increasingly_less() { function preserves_match_case_title (line 101) | fn preserves_match_case_title() { function preserves_match_case_all_caps (line 110) | fn preserves_match_case_all_caps() { function preserves_match_case_less_all_caps (line 119) | fn preserves_match_case_less_all_caps() { function ignores_progressively_more (line 128) | fn ignores_progressively_more() { function ignores_steadily_more (line 136) | fn ignores_steadily_more() { function ignores_progressively_less (line 144) | fn ignores_progressively_less() { function ignores_steadily_less (line 152) | fn ignores_steadily_less() { function ignores_more_than (line 160) | fn ignores_more_than() { function ignores_less_than (line 168) | fn ignores_less_than() { function ignores_noun_after_more (line 176) | fn ignores_noun_after_more() { function ignores_noun_after_less (line 184) | fn ignores_noun_after_less() { function ignores_without_comparator (line 192) | fn ignores_without_comparator() { function ignores_other_adverbial_comparatives (line 200) | fn ignores_other_adverbial_comparatives() { function message_mentions_less_and_less_for_less_branch (line 216) | fn message_mentions_less_and_less_for_less_branch() { function emits_expected_lint_count (line 227) | fn emits_expected_lint_count() { FILE: harper-core/src/linting/regionalisms.rs type CanFlag (line 12) | enum CanFlag { type Concept (line 27) | enum Concept { type Term (line 78) | struct Term<'a> { constant REGIONAL_TERMS (line 92) | const REGIONAL_TERMS: &[Term<'_>] = &[ type Regionalisms (line 606) | pub struct Regionalisms { method new (line 612) | pub fn new(dialect: Dialect) -> Self { type Unit (line 627) | type Unit = Chunk; method expr (line 629) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 633) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 691) | fn description(&self) -> &str { function uk_to_us_food (line 702) | fn uk_to_us_food() { function au_to_us_phone (line 711) | fn au_to_us_phone() { function au_to_uk_cars (line 721) | fn au_to_uk_cars() { function au_to_us_cars (line 730) | fn au_to_us_cars() { function us_to_au_baby (line 739) | fn us_to_au_baby() { function us_to_uk_fuel (line 748) | fn us_to_uk_fuel() { function au_to_uk_light (line 757) | fn au_to_uk_light() { function us_to_au_oops (line 766) | fn us_to_au_oops() { function caravan_doesnt_always_mean_trailer (line 775) | fn caravan_doesnt_always_mean_trailer() { function uk_to_us_windscreen (line 784) | fn uk_to_us_windscreen() { function au_to_uk_blood_nose (line 793) | fn au_to_uk_blood_nose() { function in_to_non_in_updation (line 802) | fn in_to_non_in_updation() { function dont_flag_update_or_updation_for_indian (line 811) | fn dont_flag_update_or_updation_for_indian() { function flag_crore_and_lakh_for_non_indian (line 820) | fn flag_crore_and_lakh_for_non_indian() { function dont_flag_lakh_or_crore_for_indian (line 829) | fn dont_flag_lakh_or_crore_for_indian() { function a_brinjal_is_an_aubergine (line 838) | fn a_brinjal_is_an_aubergine() { function a_brinjal_is_an_eggplant (line 847) | fn a_brinjal_is_an_eggplant() { FILE: harper-core/src/linting/regular_irregulars.rs type RegularIrregulars (line 12) | pub struct RegularIrregulars { function new (line 21) | pub fn new(dict: D) -> Self { type Unit (line 44) | type Unit = Chunk; method description (line 46) | fn description(&self) -> &'static str { method expr (line 50) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 54) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function get_irreg_compar (line 96) | fn get_irreg_compar(word: &str) -> Option<&'static [&'static str]> { function get_irreg_super (line 106) | fn get_irreg_super(word: &str) -> Option<&'static [&'static str]> { function handle_adjectives (line 116) | fn handle_adjectives(suggs: &mut HashSet, chars: &[char]) { function handle_plural_nouns (line 134) | fn handle_plural_nouns(dict: &dyn Dictionary, suggs: &mut HashSet,... function fix_irregulars (line 257) | fn fix_irregulars() { function fix_ys_and_fs (line 266) | fn fix_ys_and_fs() { function fix_os_and_oes (line 275) | fn fix_os_and_oes() { function fix_oxen_and_meatloaves (line 284) | fn fix_oxen_and_meatloaves() { function fix_irregular_past_verb (line 299) | fn fix_irregular_past_verb() { function fix_readed (line 308) | fn fix_readed() { function fix_writed (line 317) | fn fix_writed() { function fix_runned (line 326) | fn fix_runned() { function fix_resetted (line 335) | fn fix_resetted() { function fix_eat_drink_sleep (line 344) | fn fix_eat_drink_sleep() { function fix_adjectives (line 359) | fn fix_adjectives() { FILE: harper-core/src/linting/repeated_words.rs type RepeatedWords (line 7) | pub struct RepeatedWords { method new (line 13) | pub fn new() -> Self { method is_special_case (line 19) | fn is_special_case(&self, chars: &[char]) -> bool { method default (line 29) | fn default() -> Self { method lint (line 35) | fn lint(&mut self, document: &Document) -> Vec { method description (line 84) | fn description(&self) -> &'static str { function catches_basic (line 97) | fn catches_basic() { function does_not_lint_homographs_address (line 102) | fn does_not_lint_homographs_address() { function does_not_lint_homographs_record (line 107) | fn does_not_lint_homographs_record() { function issue_253 (line 112) | fn issue_253() { function issue_333 (line 121) | fn issue_333() { function double_a (line 130) | fn double_a() { function double_and (line 139) | fn double_and() { function on_on_github (line 148) | fn on_on_github() { function as_as (line 157) | fn as_as() { function dont_flag_first_hyphenated (line 166) | fn dont_flag_first_hyphenated() { function dont_flag_hyphenated_either_side (line 175) | fn dont_flag_hyphenated_either_side() { FILE: harper-core/src/linting/respond.rs type Respond (line 6) | pub struct Respond { method default (line 11) | fn default() -> Self { type Unit (line 57) | type Unit = Chunk; method expr (line 59) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 63) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 79) | fn description(&self) -> &'static str { function fixes_will_response (line 90) | fn fixes_will_response() { function fixes_can_response (line 99) | fn fixes_can_response() { function fixes_did_not_response (line 108) | fn fixes_did_not_response() { function fixes_might_quickly_response (line 117) | fn fixes_might_quickly_response() { function fixes_wont_response (line 126) | fn fixes_wont_response() { function fixes_would_response (line 135) | fn fixes_would_response() { function fixes_should_response (line 144) | fn fixes_should_response() { function does_not_flag_correct_respond (line 153) | fn does_not_flag_correct_respond() { function does_not_flag_noun_use (line 158) | fn does_not_flag_noun_use() { function does_not_flag_question_subject (line 163) | fn does_not_flag_question_subject() { function does_not_flag_response_as_object (line 168) | fn does_not_flag_response_as_object() { FILE: harper-core/src/linting/right_click.rs type RightClick (line 9) | pub struct RightClick { method default (line 14) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 60) | fn description(&self) -> &'static str { function hyphenates_basic_command (line 71) | fn hyphenates_basic_command() { function hyphenates_with_preposition (line 80) | fn hyphenates_with_preposition() { function hyphenates_past_tense (line 89) | fn hyphenates_past_tense() { function hyphenates_gerund (line 98) | fn hyphenates_gerund() { function hyphenates_plural_noun (line 107) | fn hyphenates_plural_noun() { function hyphenates_all_caps (line 116) | fn hyphenates_all_caps() { function hyphenates_left_click (line 125) | fn hyphenates_left_click() { function hyphenates_middle_click (line 134) | fn hyphenates_middle_click() { function allows_hyphenated_form (line 143) | fn allows_hyphenated_form() { function ignores_unrelated_right_and_click (line 148) | fn ignores_unrelated_right_and_click() { FILE: harper-core/src/linting/rise_the_ranks.rs type RiseTheRanks (line 7) | pub struct RiseTheRanks { method default (line 12) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method description (line 41) | fn description(&self) -> &str { method expr (line 45) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 49) | fn match_to_lint_with_context( function fix_rise_the_ranks (line 76) | fn fix_rise_the_ranks() { function fix_rised_the_ranks (line 85) | fn fix_rised_the_ranks() { function fix_risen_the_ranks (line 94) | fn fix_risen_the_ranks() { function fix_rising_the_ranks (line 103) | fn fix_rising_the_ranks() { function fix_rose_the_ranks (line 112) | fn fix_rose_the_ranks() { function dont_flag_rise_through_the_ranks (line 121) | fn dont_flag_rise_through_the_ranks() { function dont_flag_rises_through_the_ranks (line 129) | fn dont_flag_rises_through_the_ranks() { function dont_flag_rising_from_the_ranks (line 137) | fn dont_flag_rising_from_the_ranks() { function dont_flag_rising_through_the_ranks (line 145) | fn dont_flag_rising_through_the_ranks() { FILE: harper-core/src/linting/roller_skated.rs type RollerSkated (line 9) | pub struct RollerSkated { method roller_pair (line 14) | fn roller_pair() -> SequenceExpr { method default (line 23) | fn default() -> Self { type Unit (line 62) | type Unit = Chunk; method expr (line 64) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 68) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 87) | fn description(&self) -> &'static str { function corrects_basic_sentence (line 98) | fn corrects_basic_sentence() { function corrects_with_adverb (line 107) | fn corrects_with_adverb() { function corrects_with_auxiliary (line 116) | fn corrects_with_auxiliary() { function corrects_with_contraction (line 125) | fn corrects_with_contraction() { function corrects_caps (line 134) | fn corrects_caps() { function corrects_in_quotes (line 143) | fn corrects_in_quotes() { function corrects_across_line_break (line 152) | fn corrects_across_line_break() { function corrects_with_trailing_punctuation (line 161) | fn corrects_with_trailing_punctuation() { function corrects_without_space_after_punctuation (line 170) | fn corrects_without_space_after_punctuation() { function allows_hyphenated_form (line 179) | fn allows_hyphenated_form() { function allows_subject_named_roller (line 184) | fn allows_subject_named_roller() { function allows_other_compounds (line 193) | fn allows_other_compounds() { FILE: harper-core/src/linting/safe_to_save.rs type SafeToSave (line 14) | pub struct SafeToSave { method default (line 19) | fn default() -> Self { type Unit (line 41) | type Unit = Chunk; method expr (line 43) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 47) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 63) | fn description(&self) -> &str { function corrects_could_safe (line 74) | fn corrects_could_safe() { function corrects_should_safe (line 83) | fn corrects_should_safe() { function corrects_will_safe (line 92) | fn corrects_will_safe() { function corrects_would_safe (line 101) | fn corrects_would_safe() { function corrects_can_safe (line 110) | fn corrects_can_safe() { function corrects_might_safe (line 119) | fn corrects_might_safe() { function corrects_must_safe (line 128) | fn corrects_must_safe() { function corrects_may_safe (line 137) | fn corrects_may_safe() { function corrects_with_adverb (line 146) | fn corrects_with_adverb() { function corrects_shall_safe (line 155) | fn corrects_shall_safe() { function corrects_couldnt_safe (line 164) | fn corrects_couldnt_safe() { function allows_safe_to_verb (line 173) | fn allows_safe_to_verb() { function allows_safe_noun (line 178) | fn allows_safe_noun() { function allows_correct_save (line 183) | fn allows_correct_save() { FILE: harper-core/src/linting/save_to_safe.rs type SaveToSafe (line 11) | pub struct SaveToSafe { method default (line 16) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 48) | fn description(&self) -> &str { function fix_ignore (line 59) | fn fix_ignore() { function fix_travel (line 68) | fn fix_travel() { function ignore_correct (line 77) | fn ignore_correct() { FILE: harper-core/src/linting/sentence_capitalization.rs type SentenceCapitalization (line 7) | pub struct SentenceCapitalization function new (line 15) | pub fn new(dictionary: T) -> Self { method lint (line 23) | fn lint(&mut self, document: &Document) -> Vec { method description (line 96) | fn description(&self) -> &'static str { function is_full_sentence (line 101) | fn is_full_sentence(toks: &[Token]) -> bool { function catches_basic (line 127) | fn catches_basic() { function no_period (line 136) | fn no_period() { function two_sentence (line 145) | fn two_sentence() { function start_with_number (line 154) | fn start_with_number() { function ignores_unlintable (line 163) | fn ignores_unlintable() { function unfazed_unlintable (line 172) | fn unfazed_unlintable() { function unfazed_ellipsis (line 181) | fn unfazed_ellipsis() { function unfazed_comma (line 190) | fn unfazed_comma() { function issue_228_allows_labels (line 199) | fn issue_228_allows_labels() { function allow_camel_case_trademarks (line 208) | fn allow_camel_case_trademarks() { function uppercase_unamerican_at_start (line 219) | fn uppercase_unamerican_at_start() { function allow_lowercase_proper_nouns (line 228) | fn allow_lowercase_proper_nouns() { function doesnt_flag_after_esp_issue_2753 (line 243) | fn doesnt_flag_after_esp_issue_2753() { function allow_lower_camel_case_non_proper_nouns (line 252) | fn allow_lower_camel_case_non_proper_nouns() { FILE: harper-core/src/linting/shoot_oneself_in_the_foot.rs type ShootOneselfInTheFoot (line 11) | pub struct ShootOneselfInTheFoot { method default (line 16) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 83) | fn description(&self) -> &str { function ignore_correct (line 94) | fn ignore_correct() { function ignore_title_case (line 103) | fn ignore_title_case() { function ignore_all_caps (line 112) | fn ignore_all_caps() { function fix_shoot_leg (line 121) | fn fix_shoot_leg() { function fix_shoot_into_foot (line 130) | fn fix_shoot_into_foot() { function fix_shoot_into_feet (line 139) | fn fix_shoot_into_feet() { function ignore_themselves_foot (line 148) | fn ignore_themselves_foot() { function ignore_ourselves_feet (line 157) | fn ignore_ourselves_feet() { function fix_a_foot (line 166) | fn fix_a_foot() { function ignore_shoots_himself (line 175) | fn ignore_shoots_himself() { function ignore_shooting_oneself_in_the_foot (line 184) | fn ignore_shooting_oneself_in_the_foot() { function fix_oneself_in_a_foot (line 193) | fn fix_oneself_in_a_foot() { function fix_oneself_in_the_feet (line 202) | fn fix_oneself_in_the_feet() { function fix_oneself_into_the_leg (line 211) | fn fix_oneself_into_the_leg() { function ignore_oneself_in_the_toes (line 220) | fn ignore_oneself_in_the_toes() { FILE: harper-core/src/linting/simple_past_to_past_participle.rs type SimplePastToPastParticiple (line 11) | pub struct SimplePastToPastParticiple { method default (line 16) | fn default() -> Self { type Unit (line 59) | type Unit = Chunk; method expr (line 61) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 65) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 100) | fn description(&self) -> &str { function correct_have_went (line 113) | fn correct_have_went() { function correct_had_went (line 122) | fn correct_had_went() { function correct_having_went (line 131) | fn correct_having_went() { function correct_has_went (line 140) | fn correct_has_went() { function correct_have_wrote (line 149) | fn correct_have_wrote() { function correct_has_came (line 158) | fn correct_has_came() { function correct_have_took (line 167) | fn correct_have_took() { function correct_have_did (line 176) | fn correct_have_did() { function correct_has_fell (line 185) | fn correct_has_fell() { function correct_have_broke (line 194) | fn correct_have_broke() { function correct_had_began (line 203) | fn correct_had_began() { function correct_have_gave (line 212) | fn correct_have_gave() { function correct_have_saw (line 221) | fn correct_have_saw() { function correct_have_spoke (line 230) | fn correct_have_spoke() { function correct_has_became (line 239) | fn correct_has_became() { function correct_have_knew (line 248) | fn correct_have_knew() { function correct_have_drank (line 257) | fn correct_have_drank() { function being_woke (line 267) | fn being_woke() { function correct_has_flew (line 276) | fn correct_has_flew() { function correct_being_stole (line 285) | fn correct_being_stole() { function correct_are_broke (line 294) | fn correct_are_broke() { function correct_were_gave (line 303) | fn correct_were_gave() { function correct_be_saw (line 312) | fn correct_be_saw() { function correct_was_began (line 321) | fn correct_was_began() { function correct_was_gave (line 330) | fn correct_was_gave() { function correct_be_began (line 339) | fn correct_be_began() { function correct_being_took (line 348) | fn correct_being_took() { function correct_are_took (line 357) | fn correct_are_took() { function correct_ive_went (line 368) | fn correct_ive_went() { function correct_ive_went_no_apostrophe (line 377) | fn correct_ive_went_no_apostrophe() { function correct_id_did (line 386) | fn correct_id_did() { function correct_weve_went (line 395) | fn correct_weve_went() { function correct_wed_chose (line 404) | fn correct_wed_chose() { function correct_youve_wrote (line 413) | fn correct_youve_wrote() { function correct_youve_ran_no_apostrophe (line 422) | fn correct_youve_ran_no_apostrophe() { function correct_youd_wrote (line 431) | fn correct_youd_wrote() { function correct_its_broke (line 440) | fn correct_its_broke() { function correct_its_broke_no_apostrophe (line 449) | fn correct_its_broke_no_apostrophe() { function correct_theyve_broke (line 458) | fn correct_theyve_broke() { function correct_theyd_forgot (line 467) | fn correct_theyd_forgot() { function dont_flag_being_woke (line 478) | fn dont_flag_being_woke() { function dont_flag_be_woke (line 486) | fn dont_flag_be_woke() { function dont_flag_id_did (line 494) | fn dont_flag_id_did() { function dont_flag_id_came (line 502) | fn dont_flag_id_came() { function dont_flag_id_went (line 510) | fn dont_flag_id_went() { FILE: harper-core/src/linting/since_duration.rs constant AGO_VARIANTS (line 7) | const AGO_VARIANTS: [&[char]; 3] = [&['a', 'g', 'o'], &['A', 'g', 'o'], ... constant FOR_VARIANTS (line 8) | const FOR_VARIANTS: [&[char]; 3] = [&['f', 'o', 'r'], &['F', 'o', 'r'], ... function match_case_string (line 10) | fn match_case_string<'a>(template: &[char], variants: [&'a [char]; 3]) -... type SinceDuration (line 22) | pub struct SinceDuration { method default (line 27) | fn default() -> Self { type Unit (line 42) | type Unit = Chunk; method expr (line 44) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 48) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 85) | fn description(&self) -> &str { function catches_spelled (line 96) | fn catches_spelled() { function permits_spelled_with_ago (line 105) | fn permits_spelled_with_ago() { function catches_numerals (line 113) | fn catches_numerals() { function permits_numerals_with_ago (line 122) | fn permits_numerals_with_ago() { function correct_without_issues (line 130) | fn correct_without_issues() { function correct_anything_back (line 139) | fn correct_anything_back() { function correct_get_done (line 148) | fn correct_get_done() { function correct_deprecated (line 157) | fn correct_deprecated() { function correct_same (line 166) | fn correct_same() { function correct_what_changed (line 175) | fn correct_what_changed() { function correct_with_period (line 184) | fn correct_with_period() { function correct_with_exclamation (line 193) | fn correct_with_exclamation() { function correct_with_question_mark (line 202) | fn correct_with_question_mark() { function correct_with_comma (line 211) | fn correct_with_comma() { function correct_for_title_case (line 220) | fn correct_for_title_case() { function correct_for_all_caps (line 229) | fn correct_for_all_caps() { function correct_ago_title_case (line 238) | fn correct_ago_title_case() { function correct_ago_all_caps (line 247) | fn correct_ago_all_caps() { function not_yet_handled (line 257) | fn not_yet_handled() { function not_yet_handled_2 (line 267) | fn not_yet_handled_2() { function not_yet_handled_3 (line 277) | fn not_yet_handled_3() { function ignore_since_years_old (line 286) | fn ignore_since_years_old() { FILE: harper-core/src/linting/single_be.rs function be_forms (line 10) | fn be_forms(token: &Token) -> Option { function is_past_flag (line 20) | fn is_past_flag(forms: VerbFormFlags) -> bool { function looks_like_be_contraction (line 24) | fn looks_like_be_contraction(token: &Token, source: &[char]) -> bool { type SingleBe (line 59) | pub struct SingleBe { method default (line 64) | fn default() -> Self { type Unit (line 82) | type Unit = Chunk; method expr (line 84) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 88) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 167) | fn description(&self) -> &'static str { function removes_double_is (line 179) | fn removes_double_is() { function removes_is_are (line 188) | fn removes_is_are() { function removes_are_were_mismatch (line 197) | fn removes_are_were_mismatch() { function removes_mismatched_pair (line 206) | fn removes_mismatched_pair() { function handles_s_contraction (line 211) | fn handles_s_contraction() { function handles_re_contraction (line 220) | fn handles_re_contraction() { function handles_m_contraction (line 229) | fn handles_m_contraction() { function handles_future_repetition (line 234) | fn handles_future_repetition() { function skips_being_chain (line 243) | fn skips_being_chain() { function allows_simple_be_statement (line 248) | fn allows_simple_be_statement() { function allows_possessive_before_are (line 253) | fn allows_possessive_before_are() { function removes_across_newline (line 261) | fn removes_across_newline() { function ignores_separated_forms (line 270) | fn ignores_separated_forms() { function ignores_single_be (line 275) | fn ignores_single_be() { FILE: harper-core/src/linting/some_without_article.rs type SomeWithoutArticle (line 8) | pub struct SomeWithoutArticle { method default (line 13) | fn default() -> Self { type Unit (line 23) | type Unit = Chunk; method expr (line 25) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 29) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 50) | fn description(&self) -> &'static str { function fixes_simple_lowercase (line 62) | fn fixes_simple_lowercase() { function fixes_sentence_case (line 71) | fn fixes_sentence_case() { function preserves_uppercase_block (line 80) | fn preserves_uppercase_block() { function second_suggestion_produces_the_same (line 89) | fn second_suggestion_produces_the_same() { function ignores_already_correct_some (line 98) | fn ignores_already_correct_some() { function ignores_the_same (line 107) | fn ignores_the_same() { function ignores_the_something (line 116) | fn ignores_the_something() { function works_before_comma (line 125) | fn works_before_comma() { function works_before_possessive_noun (line 134) | fn works_before_possessive_noun() { function handles_line_break_spacing (line 143) | fn handles_line_break_spacing() { FILE: harper-core/src/linting/something_is.rs type SomethingIs (line 8) | pub struct SomethingIs { method default (line 13) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 58) | fn description(&self) -> &str { function fixes_somethings_going (line 69) | fn fixes_somethings_going() { function fixes_anythings_happening (line 78) | fn fixes_anythings_happening() { function fixes_everythings_working (line 87) | fn fixes_everythings_working() { function fixes_nothings_changing (line 96) | fn fixes_nothings_changing() { function fixes_with_adverb (line 105) | fn fixes_with_adverb() { function fixes_uppercase (line 114) | fn fixes_uppercase() { function offers_is_expansion (line 123) | fn offers_is_expansion() { function no_lint_when_contracted (line 132) | fn no_lint_when_contracted() { function no_lint_when_plural_noun (line 137) | fn no_lint_when_plural_noun() { function no_lint_at_sentence_end (line 146) | fn no_lint_at_sentence_end() { FILE: harper-core/src/linting/somewhat_something.rs type SomewhatSomething (line 7) | pub struct SomewhatSomething { method default (line 12) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 43) | fn description(&self) -> &'static str { function issue_414 (line 55) | fn issue_414() { function flag_these (line 64) | fn flag_these() { FILE: harper-core/src/linting/soon_to_be.rs type SoonToBe (line 11) | pub struct SoonToBe { method default (line 16) | fn default() -> Self { type Unit (line 81) | type Unit = Chunk; method expr (line 83) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 87) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 128) | fn description(&self) -> &'static str { function hyphenates_possessive_phrase (line 139) | fn hyphenates_possessive_phrase() { function hyphenates_article_phrase (line 148) | fn hyphenates_article_phrase() { function hyphenates_sentence_start (line 157) | fn hyphenates_sentence_start() { function allows_existing_hyphens (line 166) | fn allows_existing_hyphens() { function keeps_non_adjectival_use (line 171) | fn keeps_non_adjectival_use() { function hyphenates_with_adverb (line 176) | fn hyphenates_with_adverb() { function hyphenates_hyphenated_number_phrase (line 185) | fn hyphenates_hyphenated_number_phrase() { function hyphenates_in_law_phrase (line 194) | fn hyphenates_in_law_phrase() { function hyphenates_future_event (line 203) | fn hyphenates_future_event() { function ignores_misaligned_verb_chain (line 212) | fn ignores_misaligned_verb_chain() { function hyphenates_guest_example (line 221) | fn hyphenates_guest_example() { function ignores_rearranged_phrase (line 230) | fn ignores_rearranged_phrase() { FILE: harper-core/src/linting/sought_after.rs type SoughtAfter (line 7) | pub struct SoughtAfter { method default (line 12) | fn default() -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 58) | fn description(&self) -> &'static str { function fix_abit_sort_after (line 70) | fn fix_abit_sort_after() { function dont_flag_always_sort_after (line 79) | fn dont_flag_always_sort_after() { function fix_are_sort_after (line 88) | fn fix_are_sort_after() { function fix_are_sort_after_hyphenated (line 97) | fn fix_are_sort_after_hyphenated() { function fix_bit_sort_after (line 106) | fn fix_bit_sort_after() { function fix_extremely_sort_after (line 115) | fn fix_extremely_sort_after() { function fix_fairly_sort_after (line 124) | fn fix_fairly_sort_after() { function fix_highly_sort_after (line 133) | fn fix_highly_sort_after() { function fix_hugely_sort_after (line 142) | fn fix_hugely_sort_after() { function fix_incredibly_sort_after (line 151) | fn fix_incredibly_sort_after() { function fix_is_sort_after (line 161) | fn fix_is_sort_after() { function dont_flag_is_sort_after (line 170) | fn dont_flag_is_sort_after() { function fix_kinda_sort_after (line 179) | fn fix_kinda_sort_after() { function dont_flag_maybe_sort_after (line 188) | fn dont_flag_maybe_sort_after() { function fix_most_sort_after (line 197) | fn fix_most_sort_after() { function fix_mostly_sort_after (line 206) | fn fix_mostly_sort_after() { function fix_much_sort_after (line 215) | fn fix_much_sort_after() { function dont_flag_not_sort_after (line 224) | fn dont_flag_not_sort_after() { function fix_occasionally_sort_after (line 234) | fn fix_occasionally_sort_after() { function fix_of_sort_after (line 243) | fn fix_of_sort_after() { function fix_often_sort_after (line 252) | fn fix_often_sort_after() { function fix_perhaps_sort_after (line 262) | fn fix_perhaps_sort_after() { function dont_flat_perhaps_sort_after (line 271) | fn dont_flat_perhaps_sort_after() { function flag_pretty_sort_after (line 280) | fn flag_pretty_sort_after() { function fix_quiet_sort_after_sic (line 289) | fn fix_quiet_sort_after_sic() { function fix_quite_sort_after (line 299) | fn fix_quite_sort_after() { function fix_rather_sort_after (line 308) | fn fix_rather_sort_after() { function fix_really_sort_after (line 317) | fn fix_really_sort_after() { function fix_sometimes_sort_after (line 326) | fn fix_sometimes_sort_after() { function fix_somewhat_sort_after (line 335) | fn fix_somewhat_sort_after() { function fix_strongly_sort_after (line 344) | fn fix_strongly_sort_after() { function fix_vastly_sort_after (line 353) | fn fix_vastly_sort_after() { function fix_very_sort_after (line 362) | fn fix_very_sort_after() { FILE: harper-core/src/linting/spaces.rs type Spaces (line 6) | pub struct Spaces; method lint (line 9) | fn lint(&mut self, document: &Document) -> Vec { method description (line 69) | fn description(&self) -> &'static str { function detects_space_before_period (line 80) | fn detects_space_before_period() { function allows_period_without_space (line 87) | fn allows_period_without_space() { function ignores_french_spacing (line 94) | fn ignores_french_spacing() { FILE: harper-core/src/linting/spell_check.rs type SpellCheck (line 12) | pub struct SpellCheck function new (line 22) | pub fn new(dictionary: T, dialect: Dialect) -> Self { constant MAX_SUGGESTIONS (line 30) | const MAX_SUGGESTIONS: usize = 3; function suggest_correct_spelling (line 32) | fn suggest_correct_spelling(&mut self, word: &[char]) -> Vec { function uncached_suggest_correct_spelling (line 41) | fn uncached_suggest_correct_spelling(&self, word: &[char]) -> Vec Vec { method description (line 133) | fn description(&self) -> &'static str { function america_capitalized (line 156) | fn america_capitalized() { function harper_automattic_capitalized (line 167) | fn harper_automattic_capitalized() { function american_color_in_british_dialect (line 176) | fn american_color_in_british_dialect() { function canadian_words_in_australian_dialect (line 185) | fn canadian_words_in_australian_dialect() { function australian_words_in_canadian_dialect (line 194) | fn australian_words_in_canadian_dialect() { function mum_and_mummy_not_just_commonwealth (line 203) | fn mum_and_mummy_not_just_commonwealth() { function australian_verandah (line 212) | fn australian_verandah() { function australian_verandah_in_american_dialect (line 221) | fn australian_verandah_in_american_dialect() { function australian_verandah_in_british_dialect (line 230) | fn australian_verandah_in_british_dialect() { function australian_verandah_in_canadian_dialect (line 239) | fn australian_verandah_in_canadian_dialect() { function mixing_australian_and_canadian_dialects (line 248) | fn mixing_australian_and_canadian_dialects() { function mixing_canadian_and_australian_dialects (line 257) | fn mixing_canadian_and_australian_dialects() { function australian_and_canadian_spellings_that_are_not_american (line 266) | fn australian_and_canadian_spellings_that_are_not_american() { function australian_and_canadian_spellings_that_are_not_british (line 275) | fn australian_and_canadian_spellings_that_are_not_british() { function australian_labour_vs_labor (line 284) | fn australian_labour_vs_labor() { function australian_words_flagged_for_american_english (line 293) | fn australian_words_flagged_for_american_english() { function american_words_not_flagged_for_australian_english (line 302) | fn american_words_not_flagged_for_australian_english() { function abandonware_correction (line 311) | fn abandonware_correction() { function corrects_abandonedware_1131_1166 (line 322) | fn corrects_abandonedware_1131_1166() { function afterwards_not_us (line 332) | fn afterwards_not_us() { function afterward_is_us (line 341) | fn afterward_is_us() { function afterward_not_au (line 350) | fn afterward_not_au() { function afterwards_is_au (line 359) | fn afterwards_is_au() { function afterward_not_ca (line 368) | fn afterward_not_ca() { function afterwards_is_ca (line 377) | fn afterwards_is_ca() { function afterward_not_uk (line 386) | fn afterward_not_uk() { function afterwards_is_uk (line 395) | fn afterwards_is_uk() { function corrects_hes (line 404) | fn corrects_hes() { function corrects_shes (line 413) | fn corrects_shes() { function issue_1876 (line 422) | fn issue_1876() { function matt_is_allowed (line 465) | fn matt_is_allowed() { function issue_2026 (line 476) | fn issue_2026() { function issue_2261 (line 490) | fn issue_2261() { function flag_prepone_in_non_indian_english (line 499) | fn flag_prepone_in_non_indian_english() { function dont_flag_prepone_in_indian_english (line 508) | fn dont_flag_prepone_in_indian_english() { function dont_flag_pr (line 516) | fn dont_flag_pr() { function no_improper_suggestion_for_macos (line 524) | fn no_improper_suggestion_for_macos() { function suggest_color_for_colour_lowercase (line 539) | fn suggest_color_for_colour_lowercase() { function suggest_colour_for_color_lowercase (line 548) | fn suggest_colour_for_color_lowercase() { function suggest_color_for_colour_titlecase (line 558) | fn suggest_color_for_colour_titlecase() { function suggest_colour_for_color_titlecase (line 568) | fn suggest_colour_for_color_titlecase() { function suggest_color_for_colour_all_caps (line 579) | fn suggest_color_for_colour_all_caps() { function suggest_colour_for_color_all_caps (line 589) | fn suggest_colour_for_color_all_caps() { function suggest_realise_for_realize (line 602) | fn suggest_realise_for_realize() { function suggest_realize_for_realise (line 611) | fn suggest_realize_for_realise() { function suggest_realise_for_realize_titlecase (line 621) | fn suggest_realise_for_realize_titlecase() { function suggest_realize_for_realise_titlecase (line 631) | fn suggest_realize_for_realise_titlecase() { function suggest_realise_for_realize_all_caps (line 641) | fn suggest_realise_for_realize_all_caps() { function suggest_realize_for_realise_all_caps (line 651) | fn suggest_realize_for_realise_all_caps() { function suggest_defence_for_defense (line 661) | fn suggest_defence_for_defense() { function suggest_defense_for_defence (line 670) | fn suggest_defense_for_defence() { function suggest_defense_for_defence_titlecase (line 679) | fn suggest_defense_for_defence_titlecase() { function suggest_defence_for_defense_titlecase (line 688) | fn suggest_defence_for_defense_titlecase() { function suggest_defense_for_defence_all_caps (line 698) | fn suggest_defense_for_defence_all_caps() { function suggest_defence_for_defense_all_caps (line 708) | fn suggest_defence_for_defense_all_caps() { function suggest_sceptic_for_skeptic (line 718) | fn suggest_sceptic_for_skeptic() { function suggest_skeptic_for_sceptic (line 727) | fn suggest_skeptic_for_sceptic() { function suggest_sceptic_for_skeptic_titlecase (line 736) | fn suggest_sceptic_for_skeptic_titlecase() { function suggest_skeptic_for_sceptic_titlecase (line 746) | fn suggest_skeptic_for_sceptic_titlecase() { function suggest_skeptic_for_sceptic_all_caps (line 756) | fn suggest_skeptic_for_sceptic_all_caps() { function suggest_sceptic_for_skeptic_all_caps (line 766) | fn suggest_sceptic_for_skeptic_all_caps() { function suggest_centimeter_for_centimetre (line 777) | fn suggest_centimeter_for_centimetre() { function suggest_centimetre_for_centimeter (line 786) | fn suggest_centimetre_for_centimeter() { function suggest_centimeter_for_centimetre_titlecase (line 795) | fn suggest_centimeter_for_centimetre_titlecase() { function suggest_centimetre_for_centimeter_titlecase (line 805) | fn suggest_centimetre_for_centimeter_titlecase() { function suggest_centimeter_for_centimetre_all_caps (line 815) | fn suggest_centimeter_for_centimetre_all_caps() { function suggest_centimetre_for_centimeter_all_caps (line 825) | fn suggest_centimetre_for_centimeter_all_caps() { function suggest_traveler_for_traveller (line 836) | fn suggest_traveler_for_traveller() { function suggest_traveller_for_traveler (line 845) | fn suggest_traveller_for_traveler() { function suggest_traveler_for_traveller_titlecase (line 854) | fn suggest_traveler_for_traveller_titlecase() { function suggest_traveller_for_traveler_titlecase (line 864) | fn suggest_traveller_for_traveler_titlecase() { function suggest_traveler_for_traveller_all_caps (line 874) | fn suggest_traveler_for_traveller_all_caps() { function suggest_traveller_for_traveler_all_caps (line 884) | fn suggest_traveller_for_traveler_all_caps() { function suggest_grey_for_gray_in_non_american (line 896) | fn suggest_grey_for_gray_in_non_american() { function suggest_gray_for_grey_in_american (line 905) | fn suggest_gray_for_grey_in_american() { function suggest_grey_for_gray_in_non_american_titlecase (line 915) | fn suggest_grey_for_gray_in_non_american_titlecase() { function suggest_gray_for_grey_in_american_titlecase (line 924) | fn suggest_gray_for_grey_in_american_titlecase() { function suggest_grey_for_gray_in_non_american_all_caps (line 934) | fn suggest_grey_for_gray_in_non_american_all_caps() { function suggest_gray_for_grey_in_american_all_caps (line 944) | fn suggest_gray_for_grey_in_american_all_caps() { function fix_cheif_and_recieved (line 956) | fn fix_cheif_and_recieved() { function fix_cheif_and_recieved_titlecase (line 966) | fn fix_cheif_and_recieved_titlecase() { function fix_cheif_and_recieved_all_caps (line 976) | fn fix_cheif_and_recieved_all_caps() { function fix_vs_apostrophe (line 985) | fn fix_vs_apostrophe() { function fix_vs_typographical_apostrophe (line 994) | fn fix_vs_typographical_apostrophe() { function fix_childrens_missing_apostrophe (line 1003) | fn fix_childrens_missing_apostrophe() { FILE: harper-core/src/linting/spelled_numbers.rs type SpelledNumbers (line 7) | pub struct SpelledNumbers; method lint (line 10) | fn lint(&mut self, document: &Document) -> Vec { method description (line 40) | fn description(&self) -> &'static str { function spell_out_number (line 50) | fn spell_out_number(num: u64) -> Option { function produces_zero (line 109) | fn produces_zero() { function produces_eighty_two (line 114) | fn produces_eighty_two() { function produces_nine_hundred_ninety_nine (line 119) | fn produces_nine_hundred_ninety_nine() { function corrects_nine (line 127) | fn corrects_nine() { function does_not_correct_ten (line 132) | fn does_not_correct_ten() { function services_range (line 138) | fn services_range() { FILE: harper-core/src/linting/split_words.rs type SplitWords (line 10) | pub struct SplitWords { method new (line 16) | pub fn new() -> Self { method default (line 25) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method description (line 33) | fn description(&self) -> &str { method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... function issue_1905 (line 155) | fn issue_1905() { function issue_1905_rev (line 165) | fn issue_1905_rev() { function split_common (line 174) | fn split_common() { function splits_multiple_compound_words (line 183) | fn splits_multiple_compound_words() { function splits_word_with_longer_prefix (line 192) | fn splits_word_with_longer_prefix() { function splits_before_punctuation (line 201) | fn splits_before_punctuation() { function ignores_known_compound_words (line 210) | fn ignores_known_compound_words() { function ignores_prefix_without_valid_remainder (line 215) | fn ignores_prefix_without_valid_remainder() { function test_atall_to_at_all (line 220) | fn test_atall_to_at_all() { function test_atall_to_a_tall (line 229) | fn test_atall_to_a_tall() { function atall_should_split_to_a_tall_and_at_all (line 234) | fn atall_should_split_to_a_tall_and_at_all() { function issue_2763_leaves (line 239) | fn issue_2763_leaves() { function issue_2763_husks (line 248) | fn issue_2763_husks() { function issue_2763_singular (line 257) | fn issue_2763_singular() { FILE: harper-core/src/linting/subject_pronoun.rs type SubjectPronoun (line 7) | pub struct SubjectPronoun { method default (line 12) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 47) | fn description(&self) -> &'static str { function append_token_chars (line 52) | fn append_token_chars(chars: &mut Vec, token: &Token, source: &[ch... function append_tokens_chars (line 56) | fn append_tokens_chars(chars: &mut Vec, tokens: &[Token], source: ... function alex_ladder (line 68) | fn alex_ladder() { function jordan_lamp (line 77) | fn jordan_lamp() { function taylor_crate (line 86) | fn taylor_crate() { function kayla_dog (line 95) | fn kayla_dog() { function madison_yard (line 104) | fn madison_yard() { function avery_tree (line 113) | fn avery_tree() { function blake_room (line 122) | fn blake_room() { function riley_train (line 131) | fn riley_train() { function cameron_door (line 140) | fn cameron_door() { function jamie_bag (line 149) | fn jamie_bag() { FILE: harper-core/src/linting/suggestion.rs type Suggestion (line 13) | pub enum Suggestion { method replace_with_match_case_str (line 24) | pub fn replace_with_match_case_str( method replace_with_match_case (line 36) | pub fn replace_with_match_case( method apply (line 44) | pub fn apply(&self, span: Span, source: &mut Vec) { method fmt (line 76) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 93) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SuggestionCollectionExt (line 98) | pub trait SuggestionCollectionExt { method to_replace_suggestions (line 99) | fn to_replace_suggestions( method to_replace_suggestions (line 110) | fn to_replace_suggestions( function insert_comma_after (line 127) | fn insert_comma_after() { function suggestion_your_match_case (line 137) | fn suggestion_your_match_case() { function issue_1065 (line 150) | fn issue_1065() { FILE: harper-core/src/linting/take_a_look_to.rs type TakeALookTo (line 14) | pub struct TakeALookTo { method default (line 19) | fn default() -> Self { type Unit (line 36) | type Unit = Chunk; method description (line 38) | fn description(&self) -> &str { method expr (line 42) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 46) | fn match_to_lint_with_context( function take_a_look_to_a_new (line 87) | fn take_a_look_to_a_new() { function have_a_look_to_url (line 96) | fn have_a_look_to_url() { function having_a_look_to_mode (line 105) | fn having_a_look_to_mode() { function taking_a_look_to_this (line 114) | fn taking_a_look_to_this() { function have_had_a_look_to_your (line 123) | fn have_had_a_look_to_your() { function took_a_look_to_both (line 132) | fn took_a_look_to_both() { function taken_a_look_to_that (line 141) | fn taken_a_look_to_that() { function takes_a_look_to_the (line 150) | fn takes_a_look_to_the() { function dont_flag_have_a_look_to_see_if (line 161) | fn dont_flag_have_a_look_to_see_if() { function dont_flag_taking_a_look_to_decide (line 169) | fn dont_flag_taking_a_look_to_decide() { function dont_flag_takes_a_look_to_see (line 177) | fn dont_flag_takes_a_look_to_see() { function dont_flag_has_a_look_to_it (line 185) | fn dont_flag_has_a_look_to_it() { function but_dont_ignore_takes_a_look_to_it (line 193) | fn but_dont_ignore_takes_a_look_to_it() { FILE: harper-core/src/linting/take_medicine.rs type TakeMedicine (line 9) | pub struct TakeMedicine { method default (line 14) | fn default() -> Self { function replacement_for (line 48) | fn replacement_for( type Unit (line 76) | type Unit = Chunk; method expr (line 78) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 82) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 109) | fn description(&self) -> &'static str { function swaps_ate_antibiotics (line 120) | fn swaps_ate_antibiotics() { function swaps_eat_medicine (line 129) | fn swaps_eat_medicine() { function swaps_eats_medication (line 138) | fn swaps_eats_medication() { function swaps_eating_medicines (line 147) | fn swaps_eating_medicines() { function swaps_eaten_medication (line 156) | fn swaps_eaten_medication() { function swaps_eat_pills (line 165) | fn swaps_eat_pills() { function swaps_eating_paracetamol (line 174) | fn swaps_eating_paracetamol() { function handles_possessive_modifier (line 183) | fn handles_possessive_modifier() { function handles_adjectives (line 192) | fn handles_adjectives() { function supports_uppercase (line 201) | fn supports_uppercase() { function offers_swallow_alternative (line 210) | fn offers_swallow_alternative() { function ignores_correct_usage (line 219) | fn ignores_correct_usage() { function ignores_unrelated_eat (line 228) | fn ignores_unrelated_eat() { FILE: harper-core/src/linting/take_serious.rs type TakeSerious (line 13) | pub struct TakeSerious { method default (line 24) | fn default() -> Self { type Unit (line 36) | type Unit = Chunk; method expr (line 38) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 42) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 65) | fn description(&self) -> &'static str { function take_it (line 77) | fn take_it() { function take_this (line 87) | fn take_this() { function not_take_security (line 96) | fn not_take_security() { function we_take_security (line 105) | fn we_take_security() { function take_me (line 114) | fn take_me() { function taken_adv (line 124) | fn taken_adv() { function takes_these_numbers (line 133) | fn takes_these_numbers() { function takes_bf (line 143) | fn takes_bf() { function taken_very (line 153) | fn taken_very() { FILE: harper-core/src/linting/that_than.rs type ThatThan (line 8) | pub struct ThatThan { method default (line 13) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 57) | fn description(&self) -> &'static str { function fix_slower_that (line 70) | fn fix_slower_that() { function dont_flag_more_that (line 79) | fn dont_flag_more_that() { function dont_flag_easier_that_way (line 88) | fn dont_flag_easier_that_way() { function dont_flag_better_that (line 97) | fn dont_flag_better_that() { function fix_better_that (line 107) | fn fix_better_that() { function fix_smaller_that (line 116) | fn fix_smaller_that() { function cant_flag_bigger_that (line 126) | fn cant_flag_bigger_that() { function fix_longer_that (line 135) | fn fix_longer_that() { function fix_less_that (line 145) | fn fix_less_that() { function fix_faster_that (line 154) | fn fix_faster_that() { function fix_taller_that (line 163) | fn fix_taller_that() { function dont_fix_faster_that_way (line 173) | fn dont_fix_faster_that_way() { function dont_fix_lighter_that (line 182) | fn dont_fix_lighter_that() { function dont_flag_more_explicit_that (line 193) | fn dont_flag_more_explicit_that() { function dont_flag_more_clear_that (line 202) | fn dont_flag_more_clear_that() { function dont_flag_i_gathered_later_that (line 213) | fn dont_flag_i_gathered_later_that() { function dont_flag_its_better_that (line 222) | fn dont_flag_its_better_that() { function dont_flag_number_that_1663 (line 231) | fn dont_flag_number_that_1663() { FILE: harper-core/src/linting/that_which.rs type ThatWhich (line 12) | pub struct ThatWhich { method default (line 17) | fn default() -> Self { type Unit (line 34) | type Unit = Chunk; method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 40) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 61) | fn description(&self) -> &'static str { function catches_lowercase (line 72) | fn catches_lowercase() { function catches_different_cases (line 81) | fn catches_different_cases() { function likes_correction (line 86) | fn likes_correction() { FILE: harper-core/src/linting/the_how_why.rs type TheHowWhy (line 12) | pub struct TheHowWhy { method default (line 17) | fn default() -> Self { type Unit (line 63) | type Unit = Chunk; method expr (line 65) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 69) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 87) | fn description(&self) -> &str { function basic_the_how (line 98) | fn basic_the_how() { function the_why (line 107) | fn the_why() { function skip_how_to (line 116) | fn skip_how_to() { function skip_whos_who (line 125) | fn skip_whos_who() { function the_who (line 134) | fn the_who() { function the_when (line 143) | fn the_when() { function the_what (line 152) | fn the_what() { function no_false_positive (line 161) | fn no_false_positive() { FILE: harper-core/src/linting/the_my.rs type TheMy (line 11) | pub struct TheMy { method default (line 16) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 80) | fn description(&self) -> &'static str { function correct_the_my_atomic_lowercase (line 91) | fn correct_the_my_atomic_lowercase() { function correct_the_my_atomic_2nd_suggestion (line 96) | fn correct_the_my_atomic_2nd_suggestion() { function correct_the_my_atomic_uppercase (line 101) | fn correct_the_my_atomic_uppercase() { function correct_my_the_atomic_lowercase (line 106) | fn correct_my_the_atomic_lowercase() { function correct_my_the_atomic_2nd_suggestion (line 111) | fn correct_my_the_atomic_2nd_suggestion() { function correct_my_the_atomic_uppercase (line 116) | fn correct_my_the_atomic_uppercase() { function dont_correct_capitalized_possessive (line 121) | fn dont_correct_capitalized_possessive() { function correct_the_my_github (line 127) | fn correct_the_my_github() { function correct_the_our_github (line 136) | fn correct_the_our_github() { function correct_the_their_github (line 145) | fn correct_the_their_github() { function correct_your_the_github (line 154) | fn correct_your_the_github() { function correct_my_the_github (line 163) | fn correct_my_the_github() { function dont_correct_the_your_github (line 172) | fn dont_correct_the_your_github() { function dont_correct_my_the_github (line 181) | fn dont_correct_my_the_github() { function correct_our_the_github (line 190) | fn correct_our_the_github() { function correct_their_the_github (line 199) | fn correct_their_the_github() { function dont_correct_her_the_github (line 208) | fn dont_correct_her_the_github() { function correct_the_his_github (line 217) | fn correct_the_his_github() { function correct_his_the_github (line 226) | fn correct_his_the_github() { function correct_the_her_github (line 235) | fn correct_the_her_github() { FILE: harper-core/src/linting/the_point_for.rs type ThePointFor (line 8) | pub struct ThePointFor { method default (line 13) | fn default() -> Self { type Unit (line 30) | type Unit = Chunk; method description (line 32) | fn description(&self) -> &str { method expr (line 36) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 40) | fn match_to_lint_with_context( function fix_is (line 78) | fn fix_is() { function fix_thats_the_point_no_apostrophe (line 88) | fn fix_thats_the_point_no_apostrophe() { function fix_was_the_point (line 97) | fn fix_was_the_point() { function fix_whats_the_point (line 106) | fn fix_whats_the_point() { function fix_whats_the_point_no_apostrophe (line 115) | fn fix_whats_the_point_no_apostrophe() { function avoid_flagging_the_point_for_which (line 125) | fn avoid_flagging_the_point_for_which() { FILE: harper-core/src/linting/the_proper_noun_possessive.rs type TheProperNounPossessive (line 7) | pub struct TheProperNounPossessive { method default (line 12) | fn default() -> Self { type Unit (line 32) | type Unit = Chunk; method expr (line 34) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 38) | fn match_to_lint(&self, toks: &[Token], _: &[char]) -> Option { method description (line 50) | fn description(&self) -> &str { function fix_the_putins_war (line 63) | fn fix_the_putins_war() { function fix_the_londons_population (line 72) | fn fix_the_londons_population() { function dont_flag_common_noun_in_titlecase (line 81) | fn dont_flag_common_noun_in_titlecase() { function fix_proper_noun_stylized_to_begin_lowercase (line 87) | fn fix_proper_noun_stylized_to_begin_lowercase() { function fix_even_when_capitalisation_omitted (line 96) | fn fix_even_when_capitalisation_omitted() { function dont_flag_proper_noun_thats_also_common_noun (line 105) | fn dont_flag_proper_noun_thats_also_common_noun() { function dont_flag_the_internets (line 110) | fn dont_flag_the_internets() { function dont_flag_the_internets_curly_apostrophe (line 118) | fn dont_flag_the_internets_curly_apostrophe() { FILE: harper-core/src/linting/then_than.rs type ThenThan (line 9) | pub struct ThenThan { method new (line 14) | pub fn new() -> Self { function is_comparative (line 56) | fn is_comparative(tok: &Token, source: &[char]) -> bool { method default (line 65) | fn default() -> Self { type Unit (line 71) | type Unit = Chunk; method expr (line 73) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 77) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 109) | fn description(&self) -> &'static str { function allows_back_then (line 120) | fn allows_back_then() { function catches_shorter_then (line 125) | fn catches_shorter_then() { function catches_better_then (line 134) | fn catches_better_then() { function catches_longer_then (line 143) | fn catches_longer_then() { function catches_less_then (line 152) | fn catches_less_then() { function catches_more_then (line 161) | fn catches_more_then() { function stronger_should_change (line 170) | fn stronger_should_change() { function half_a_loaf_should_change (line 179) | fn half_a_loaf_should_change() { function then_everyone_clapped_should_be_allowed (line 188) | fn then_everyone_clapped_should_be_allowed() { function crazier_than_rat_should_change (line 193) | fn crazier_than_rat_should_change() { function poke_in_eye_should_change (line 202) | fn poke_in_eye_should_change() { function other_then_should_change (line 211) | fn other_then_should_change() { function allows_and_then (line 220) | fn allows_and_then() { function allows_this_then (line 225) | fn allows_this_then() { function allows_issue_720 (line 230) | fn allows_issue_720() { function allows_issue_744 (line 251) | fn allows_issue_744() { function issue_720_school_but_then_his (line 260) | fn issue_720_school_but_then_his() { function issue_720_so_then_these_resistors (line 284) | fn issue_720_so_then_these_resistors() { function issue_720_yes_so_then_sorry (line 313) | fn issue_720_yes_so_then_sorry() { function more_talented_then_her_issue_720 (line 342) | fn more_talented_then_her_issue_720() { function simpler_then_hers_issue_720 (line 351) | fn simpler_then_hers_issue_720() { function earlier_then_him_issue_720 (line 360) | fn earlier_then_him_issue_720() { function more_robust_then_his_issue_720 (line 369) | fn more_robust_then_his_issue_720() { function patch_more_recently_then_last_week_issue_720 (line 378) | fn patch_more_recently_then_last_week_issue_720() { function allows_well_then (line 387) | fn allows_well_then() { function allows_nervous_then (line 396) | fn allows_nervous_then() { function flags_stupider_then_and_more_and_less_stupid_then (line 405) | fn flags_stupider_then_and_more_and_less_stupid_then() { function patch_worse_then (line 414) | fn patch_worse_then() { function patch_rather_then (line 423) | fn patch_rather_then() { function patch_easier_said_then_done (line 432) | fn patch_easier_said_then_done() { function patch_every_now_and_than (line 441) | fn patch_every_now_and_than() { function patch_until_than (line 450) | fn patch_until_than() { function patch_now_and_than (line 459) | fn patch_now_and_than() { FILE: harper-core/src/linting/theres.rs type Theres (line 8) | pub struct Theres { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn crate::expr::Expr { method match_to_lint (line 30) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { function corrects_lowercase_before_the (line 55) | fn corrects_lowercase_before_the() { function corrects_sentence_start (line 64) | fn corrects_sentence_start() { function corrects_before_no (line 73) | fn corrects_before_no() { function corrects_before_an (line 82) | fn corrects_before_an() { function corrects_before_a (line 91) | fn corrects_before_a() { function corrects_before_another (line 100) | fn corrects_before_another() { function corrects_before_enough (line 109) | fn corrects_before_enough() { function allows_possessive_pronoun_form (line 118) | fn allows_possessive_pronoun_form() { function ignores_without_determiner_afterward (line 123) | fn ignores_without_determiner_afterward() { function ignores_correct_contraction (line 128) | fn ignores_correct_contraction() { FILE: harper-core/src/linting/theses_these.rs type ThesesThese (line 8) | pub struct ThesesThese { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &'static str { function corrects_theses_scenes (line 58) | fn corrects_theses_scenes() { function corrects_theses_days (line 67) | fn corrects_theses_days() { function allows_correct_theses (line 76) | fn allows_correct_theses() { function allows_theses_followed_by_verb (line 84) | fn allows_theses_followed_by_verb() { function works_with_capitalization (line 92) | fn works_with_capitalization() { function works_with_mixed_capitalization (line 101) | fn works_with_mixed_capitalization() { function simple_case (line 110) | fn simple_case() { function with_punctuation (line 119) | fn with_punctuation() { function in_the_middle_of_sentence (line 124) | fn in_the_middle_of_sentence() { function another_example (line 133) | fn another_example() { function allows_band_name (line 138) | fn allows_band_name() { function does_not_correct_valid_theses (line 143) | fn does_not_correct_valid_theses() { FILE: harper-core/src/linting/theyre_confusions/mod.rs function token_is_theyre (line 12) | fn token_is_theyre(token: &Token, source: &[char]) -> bool { function token_is_typographic_theyre (line 24) | fn token_is_typographic_theyre(token: &Token, source: &[char]) -> bool { function token_is_likely_their_possession (line 34) | fn token_is_likely_their_possession(token: &Token, source: &[char]) -> b... FILE: harper-core/src/linting/theyre_confusions/over_theyre_to_there.rs type OverTheyreToThere (line 9) | pub struct OverTheyreToThere { method default (line 14) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn crate::expr::Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 45) | fn description(&self) -> &'static str { function corrects_locative_ascii_apostrophe (line 56) | fn corrects_locative_ascii_apostrophe() { function corrects_locative_smart_apostrophe (line 65) | fn corrects_locative_smart_apostrophe() { function ignores_correct_form (line 74) | fn ignores_correct_form() { FILE: harper-core/src/linting/theyre_confusions/typographic_theyre_to_their.rs type TypographicTheyreToTheir (line 9) | pub struct TypographicTheyreToTheir { method default (line 14) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn crate::expr::Expr { method match_to_lint (line 32) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 45) | fn description(&self) -> &'static str { function corrects_smart_apostrophe_possessive (line 56) | fn corrects_smart_apostrophe_possessive() { function ignores_ascii_form_for_existing_rule (line 65) | fn ignores_ascii_form_for_existing_rule() { function ignores_non_possessive_usage (line 74) | fn ignores_non_possessive_usage() { function ignores_contraction_examples_from_books (line 83) | fn ignores_contraction_examples_from_books() { FILE: harper-core/src/linting/thing_think.rs type ThingThink (line 10) | pub struct ThingThink { method default (line 15) | fn default() -> Self { type Unit (line 75) | type Unit = Chunk; method expr (line 77) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 81) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 96) | fn description(&self) -> &'static str { function fix_you_thing (line 109) | fn fix_you_thing() { function fix_i_thing (line 118) | fn fix_i_thing() { function fix_we_thing (line 127) | fn fix_we_thing() { function fix_they_thing (line 136) | fn fix_they_thing() { function fix_everyone_thing (line 145) | fn fix_everyone_thing() { function fix_anyone_thing (line 154) | fn fix_anyone_thing() { function fix_anybody_thing (line 163) | fn fix_anybody_thing() { function fix_every_body_thing (line 172) | fn fix_every_body_thing() { function fix_have_to_thing (line 183) | fn fix_have_to_thing() { function fix_need_to_thing (line 192) | fn fix_need_to_thing() { function fix_want_to_thing (line 201) | fn fix_want_to_thing() { function fix_having_to_thing (line 210) | fn fix_having_to_thing() { function fix_needs_to (line 219) | fn fix_needs_to() { function fix_needed_to (line 228) | fn fix_needed_to() { function fix_had_to (line 237) | fn fix_had_to() { function fix_trying_to_thing (line 246) | fn fix_trying_to_thing() { function fix_can_thing (line 257) | fn fix_can_thing() { function fix_could_thing (line 266) | fn fix_could_thing() { function fix_might_thing (line 275) | fn fix_might_thing() { function fix_should_thing (line 284) | fn fix_should_thing() { function fix_may_thing (line 293) | fn fix_may_thing() { function fix_cannot_thing (line 302) | fn fix_cannot_thing() { function fix_will_thing (line 311) | fn fix_will_thing() { function fix_cant_thing (line 320) | fn fix_cant_thing() { function fix_couldnt_thing (line 329) | fn fix_couldnt_thing() { function fix_shouldnt_thing (line 338) | fn fix_shouldnt_thing() { function fix_wont_thing (line 347) | fn fix_wont_thing() { function fix_always_thing (line 358) | fn fix_always_thing() { function fix_sometimes_thing (line 367) | fn fix_sometimes_thing() { function fix_often_thing (line 376) | fn fix_often_thing() { function fix_never_thing (line 385) | fn fix_never_thing() { function fix_usually_thing (line 394) | fn fix_usually_thing() { FILE: harper-core/src/linting/this_type_of_thing.rs type ThisTypeOfThing (line 8) | pub struct ThisTypeOfThing { method default (line 13) | fn default() -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method description (line 43) | fn description(&self) -> &str { method match_to_lint (line 47) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { function fix_that_kind_of_things (line 157) | fn fix_that_kind_of_things() { function fix_that_sort_of_things (line 166) | fn fix_that_sort_of_things() { function fix_these_kind_of_things (line 175) | fn fix_these_kind_of_things() { function fix_these_sort_of_thing (line 184) | fn fix_these_sort_of_thing() { function fix_these_sort_of_things (line 193) | fn fix_these_sort_of_things() { function fix_these_sorts_of_thing (line 202) | fn fix_these_sorts_of_thing() { function fix_these_type_of_things (line 211) | fn fix_these_type_of_things() { function fix_this_kind_of_things (line 220) | fn fix_this_kind_of_things() { function fix_this_sort_of_things (line 229) | fn fix_this_sort_of_things() { function fix_this_type_of_things (line 238) | fn fix_this_type_of_things() { function fix_those_kind_of_things (line 247) | fn fix_those_kind_of_things() { FILE: harper-core/src/linting/though_thought.rs type ThoughThought (line 7) | pub struct ThoughThought { method default (line 12) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 56) | fn description(&self) -> &'static str { function fix_i_though_i (line 67) | fn fix_i_though_i() { function fix_i_though_it (line 76) | fn fix_i_though_it() { function fix_i_though_that (line 85) | fn fix_i_though_that() { function fix_i_though_they (line 94) | fn fix_i_though_they() { function fix_i_though_we (line 103) | fn fix_i_though_we() { function fix_i_though_you (line 112) | fn fix_i_though_you() { function dont_flag_it_though_i (line 121) | fn dont_flag_it_though_i() { function dont_flag_it_though_it (line 129) | fn dont_flag_it_though_it() { function fix_you_though_it (line 138) | fn fix_you_though_it() { function dont_flag_you_though_that_1 (line 147) | fn dont_flag_you_though_that_1() { function dont_flag_you_though_that_2 (line 156) | fn dont_flag_you_though_that_2() { FILE: harper-core/src/linting/throw_away.rs type ThrowAway (line 8) | pub struct ThrowAway { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 47) | fn description(&self) -> &str { function corrects_simple_case (line 58) | fn corrects_simple_case() { function offers_past_tense_option (line 67) | fn offers_past_tense_option() { function corrects_sentence_start_capital (line 76) | fn corrects_sentence_start_capital() { function corrects_all_caps_instance (line 85) | fn corrects_all_caps_instance() { function corrects_with_extra_whitespace (line 94) | fn corrects_with_extra_whitespace() { function does_not_flag_throw_away (line 103) | fn does_not_flag_throw_away() { function does_not_flag_through_tunnel (line 111) | fn does_not_flag_through_tunnel() { function flags_multiple_occurrences (line 119) | fn flags_multiple_occurrences() { function does_not_flag_thorough (line 128) | fn does_not_flag_thorough() { function corrects_with_contraction (line 136) | fn corrects_with_contraction() { function does_not_flag_spread_words (line 145) | fn does_not_flag_spread_words() { FILE: harper-core/src/linting/throw_rubbish.rs type ThrowRubbish (line 29) | pub struct ThrowRubbish; method lint (line 32) | fn lint(&mut self, document: &Document) -> Vec { method description (line 113) | fn description(&self) -> &str { function is_progressive_verb_form (line 119) | fn is_progressive_verb_form(document: &Document, token: &crate::Token) -... function allow_throw_away_rubbish (line 134) | fn allow_throw_away_rubbish() { function allow_throws_garbage_away (line 139) | fn allow_throws_garbage_away() { function allow_threw_out_trash (line 144) | fn allow_threw_out_trash() { function allow_throw_junk_into (line 149) | fn allow_throw_junk_into() { function reject_throw_garbage (line 155) | fn reject_throw_garbage() { function reject_throwing_rubbish (line 160) | fn reject_throwing_rubbish() { function correct_thrown_some_trash (line 166) | fn correct_thrown_some_trash() { function correct_throws_garbage (line 175) | fn correct_throws_garbage() { function ignore_throw_ball (line 185) | fn ignore_throw_ball() { function correct_come_close_to_throw_trash (line 191) | fn correct_come_close_to_throw_trash() { function correct_thrown_rubbish (line 200) | fn correct_thrown_rubbish() { function correct_encourage_people_to_throw_trash (line 210) | fn correct_encourage_people_to_throw_trash() { function correct_a_person_throwing_trash (line 219) | fn correct_a_person_throwing_trash() { function allow_at_and_back (line 228) | fn allow_at_and_back() { function correct_responsibly_throw_trash (line 237) | fn correct_responsibly_throw_trash() { function dont_flag_throws_junk_errors (line 247) | fn dont_flag_throws_junk_errors() { function dont_flag_throwing_garbage_data (line 256) | fn dont_flag_throwing_garbage_data() { function dont_flag_throwing_garbage_value (line 265) | fn dont_flag_throwing_garbage_value() { function correct_threw_trash_properly (line 270) | fn correct_threw_trash_properly() { function dont_flag_throw_junk_bytes (line 279) | fn dont_flag_throw_junk_bytes() { function dont_flag_throw_trash_everywhere (line 288) | fn dont_flag_throw_trash_everywhere() { function dont_flag_throws_garbage_comments (line 297) | fn dont_flag_throws_garbage_comments() { function dont_flag_trash_can_be_thrown_into_the_trash (line 306) | fn dont_flag_trash_can_be_thrown_into_the_trash() { function correct_throwing_rubbish (line 315) | fn correct_throwing_rubbish() { FILE: harper-core/src/linting/to_adverb.rs constant AMBIGUOUS_ADVERBS (line 10) | const AMBIGUOUS_ADVERBS: &[&str] = &["just", "not"]; type ToAdverb (line 12) | pub struct ToAdverb { method default (line 17) | fn default() -> Self { type Unit (line 32) | type Unit = Chunk; method expr (line 34) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 38) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &'static str { function corrects_to_never_to (line 80) | fn corrects_to_never_to() { function alternative_moves_adverb (line 89) | fn alternative_moves_adverb() { function corrects_to_maybe_to (line 98) | fn corrects_to_maybe_to() { function corrects_to_not_to (line 107) | fn corrects_to_not_to() { function corrects_to_just_to (line 116) | fn corrects_to_just_to() { function corrects_to_really_to (line 125) | fn corrects_to_really_to() { function offers_two_suggestions (line 134) | fn offers_two_suggestions() { function allows_single_to_with_adverb (line 143) | fn allows_single_to_with_adverb() { function corrects_to_quickly_to (line 148) | fn corrects_to_quickly_to() { function ignores_missing_verb_after_second_to (line 157) | fn ignores_missing_verb_after_second_to() { function handles_capitalized_to (line 162) | fn handles_capitalized_to() { FILE: harper-core/src/linting/to_two_too/mod.rs function fixes_to_ambitious (line 44) | fn fixes_to_ambitious() { function fixes_end_of_sent (line 53) | fn fixes_end_of_sent() { function flags_to_hungry (line 62) | fn flags_to_hungry() { function no_lint_on_proper_too (line 67) | fn no_lint_on_proper_too() { function flags_to_with_irregular_whitespace (line 72) | fn flags_to_with_irregular_whitespace() { function flags_to_with_trailing_punct (line 78) | fn flags_to_with_trailing_punct() { function no_lint_to_eat (line 85) | fn no_lint_to_eat() { function no_lint_to_nashville_or_you (line 93) | fn no_lint_to_nashville_or_you() { function no_lint_distance_from_center (line 99) | fn no_lint_distance_from_center() { function fixes_too_go (line 104) | fn fixes_too_go() { function fixes_too_him (line 113) | fn fixes_too_him() { function fixes_too_the (line 122) | fn fixes_too_the() { function fixes_too_a (line 131) | fn fixes_too_a() { function fixes_to_hard (line 140) | fn fixes_to_hard() { function no_lint_too_hot (line 149) | fn no_lint_too_hot() { function no_lint_too_loud (line 154) | fn no_lint_too_loud() { function no_lint_too_shy (line 162) | fn no_lint_too_shy() { function no_lint_too_sweet (line 167) | fn no_lint_too_sweet() { function no_lint_too_expensive (line 172) | fn no_lint_too_expensive() { function no_lint_too_hard (line 180) | fn no_lint_too_hard() { function no_lint_too_complicated (line 188) | fn no_lint_too_complicated() { function no_lint_too_too (line 196) | fn no_lint_too_too() { function no_lint_too_too_2 (line 204) | fn no_lint_too_too_2() { function no_lint_too_too_3 (line 212) | fn no_lint_too_too_3() { function no_lint_too_too_4 (line 220) | fn no_lint_too_too_4() { function no_lint_too_too_5 (line 228) | fn no_lint_too_too_5() { function no_lint_too_difficult_too_close (line 236) | fn no_lint_too_difficult_too_close() { function no_lint_too_good_too_nice (line 244) | fn no_lint_too_good_too_nice() { function allow_young_musicians (line 252) | fn allow_young_musicians() { function allow_semicolon (line 260) | fn allow_semicolon() { function allow_build_brighter (line 265) | fn allow_build_brighter() { function allow_delegate (line 273) | fn allow_delegate() { function no_lint_soundscapes (line 281) | fn no_lint_soundscapes() { function no_lint_speed_flexibility (line 289) | fn no_lint_speed_flexibility() { function no_lint_explicitly_cast (line 297) | fn no_lint_explicitly_cast() { function no_lint_buried_under_data (line 305) | fn no_lint_buried_under_data() { function no_lint_familiarize (line 313) | fn no_lint_familiarize() { function no_lint_great_deal_of_energy (line 321) | fn no_lint_great_deal_of_energy() { function no_lint_occasionally_troubleshoot (line 329) | fn no_lint_occasionally_troubleshoot() { function ccoveille_suggestion (line 337) | fn ccoveille_suggestion() { function no_lint_auto_detect_debuggers (line 342) | fn no_lint_auto_detect_debuggers() { function no_lint_commitment_open_source (line 350) | fn no_lint_commitment_open_source() { function no_lint_feeling_confident_dominate (line 358) | fn no_lint_feeling_confident_dominate() { function no_lint_egyptian_smiling_faces_commentary (line 366) | fn no_lint_egyptian_smiling_faces_commentary() { function no_lint_intended_to_leave_it_to (line 374) | fn no_lint_intended_to_leave_it_to() { function no_lint_time_for_good_girl_to_bed (line 382) | fn no_lint_time_for_good_girl_to_bed() { function no_lint_connected_to_many_other_fields (line 387) | fn no_lint_connected_to_many_other_fields() { function no_lint_till_she_too_began_dreaming (line 395) | fn no_lint_till_she_too_began_dreaming() { function no_lint_to_quickly_find_a_factory (line 403) | fn no_lint_to_quickly_find_a_factory() { function no_lint_asking_to_simply_in_scare_quotes (line 411) | fn no_lint_asking_to_simply_in_scare_quotes() { function no_lint_llm_as_judge_to_automatically_score (line 419) | fn no_lint_llm_as_judge_to_automatically_score() { function no_lint_all_the_way_to_advanced_usage (line 427) | fn no_lint_all_the_way_to_advanced_usage() { function no_lint_access_to_over_400_integrations (line 435) | fn no_lint_access_to_over_400_integrations() { function no_lint_accustomed_to_precision (line 443) | fn no_lint_accustomed_to_precision() { function no_lint_prone_to_melancholy (line 448) | fn no_lint_prone_to_melancholy() { function no_lint_superlative_range (line 453) | fn no_lint_superlative_range() { function no_lint_comparative_range (line 458) | fn no_lint_comparative_range() { function still_lints_positive_adjective_end (line 463) | fn still_lints_positive_adjective_end() { FILE: harper-core/src/linting/to_two_too/to_too_adjective_end.rs type ToTooAdjectiveEnd (line 11) | pub struct ToTooAdjectiveEnd { method default (line 16) | fn default() -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_adjective_punct.rs type ToTooAdjectivePunct (line 11) | pub struct ToTooAdjectivePunct { method default (line 16) | fn default() -> Self { type Unit (line 35) | type Unit = Chunk; method expr (line 37) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 41) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_adjverb_ed_punct.rs type ToTooAdjVerbEdPunct (line 10) | pub struct ToTooAdjVerbEdPunct { method default (line 15) | fn default() -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_adverb.rs type ToTooAdverb (line 11) | pub struct ToTooAdverb { method default (line 16) | fn default() -> Self { type Unit (line 38) | type Unit = Sentence; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 44) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_chunk_start_comma.rs type ToTooChunkStartComma (line 11) | pub struct ToTooChunkStartComma { method default (line 16) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method expr (line 31) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 35) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_degree_words.rs type ToTooDegreeWords (line 10) | pub struct ToTooDegreeWords { method default (line 15) | fn default() -> Self { type Unit (line 38) | type Unit = Chunk; method expr (line 40) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 44) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/to_too_eos.rs type ToTooEos (line 9) | pub struct ToTooEos { method new (line 14) | pub fn new() -> Self { method default (line 26) | fn default() -> Self { method lint (line 32) | fn lint(&mut self, document: &Document) -> Vec { method description (line 53) | fn description(&self) -> &str { FILE: harper-core/src/linting/to_two_too/to_too_pronoun_end.rs type ToTooPronounEnd (line 11) | pub struct ToTooPronounEnd { method default (line 16) | fn default() -> Self { type Unit (line 50) | type Unit = Chunk; method expr (line 52) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 56) | fn match_to_lint(&self, tokens: &[Token], source: &[char]) -> Option &str { FILE: harper-core/src/linting/to_two_too/too_to.rs type TooTo (line 11) | pub struct TooTo { method default (line 16) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 60) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/touristic.rs type SuggestionPreference (line 9) | pub enum SuggestionPreference { type Touristic (line 21) | pub struct Touristic { constant BLACKLIST (line 26) | const BLACKLIST: &[&str] = &[ constant WHITELIST (line 43) | const WHITELIST: &[&str] = &[ method default (line 61) | fn default() -> Self { type Unit (line 87) | type Unit = Chunk; method expr (line 89) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 93) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 183) | fn description(&self) -> &'static str { function fixes_touristic_alone (line 194) | fn fixes_touristic_alone() { function fixes_very_t (line 204) | fn fixes_very_t() { function fixes_t_location_good_and_bad (line 214) | fn fixes_t_location_good_and_bad() { function fixes_is_t (line 224) | fn fixes_is_t() { function fixes_t_information (line 234) | fn fixes_t_information() { function fixes_t_data (line 249) | fn fixes_t_data() { function corrects_t_information_2 (line 262) | fn corrects_t_information_2() { function corrects_very_t_spot (line 277) | fn corrects_very_t_spot() { function fixes_t_platform (line 293) | fn fixes_t_platform() { function fixes_t_service_providers (line 306) | fn fixes_t_service_providers() { function fixes_are_t_areas (line 321) | fn fixes_are_t_areas() { function fixes_very_t_area (line 335) | fn fixes_very_t_area() { function fixes_for_t_photographic (line 348) | fn fixes_for_t_photographic() { function fixes_czech_t_routes (line 363) | fn fixes_czech_t_routes() { function fixes_promote_t_activities (line 377) | fn fixes_promote_t_activities() { function fixes_a_t_flutter (line 391) | fn fixes_a_t_flutter() { function fixes_of_t_interest (line 404) | fn fixes_of_t_interest() { function fixes_t_establishments (line 417) | fn fixes_t_establishments() { FILE: harper-core/src/linting/transposed_space.rs type TransposedSpace (line 8) | pub struct TransposedSpace { function new (line 14) | pub fn new(dict: D) -> Self { function sensitive (line 23) | pub fn sensitive(dict: D) -> Self { function keep_unique (line 35) | fn keep_unique(values: &mut Vec, word1: &[char], word2: &[char]) { type Unit (line 47) | type Unit = Chunk; method expr (line 49) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 53) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 137) | fn description(&self) -> &str { function space_too_early (line 148) | fn space_too_early() { function space_too_late (line 157) | fn space_too_late() { function test_early (line 166) | fn test_early() { function test_late (line 174) | fn test_late() { FILE: harper-core/src/linting/try_ones_hand_at.rs type TryOnesHandAt (line 7) | pub struct TryOnesHandAt { method default (line 12) | fn default() -> Self { type Unit (line 26) | type Unit = Chunk; method expr (line 28) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 32) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 50) | fn description(&self) -> &str { function fix_tried_my (line 61) | fn fix_tried_my() { function fix_tried_their (line 70) | fn fix_tried_their() { function fix_tries_his (line 79) | fn fix_tries_his() { function fix_try_my (line 88) | fn fix_try_my() { function fix_try_our (line 97) | fn fix_try_our() { function fix_try_their (line 106) | fn fix_try_their() { function fix_try_your (line 115) | fn fix_try_your() { function fix_trying_my (line 124) | fn fix_trying_my() { FILE: harper-core/src/linting/unclosed_quotes.rs type UnclosedQuotes (line 6) | pub struct UnclosedQuotes; method lint (line 9) | fn lint(&mut self, document: &Document) -> Vec { method description (line 29) | fn description(&self) -> &'static str { FILE: harper-core/src/linting/update_place_names.rs type PlaceNameMappings (line 6) | type PlaceNameMappings<'a> = &'a [((i16, &'a str), &'a [&'a str])]; type UpdatePlaceNames (line 8) | pub struct UpdatePlaceNames<'a> { method default (line 14) | fn default() -> Self { function new (line 91) | pub fn new(expr: LongestMatchOf, place_name_mappings: PlaceNameMappings<... type Unit (line 100) | type Unit = Chunk; method expr (line 102) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 106) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 134) | fn description(&self) -> &str { function update_single_word_name_alone (line 147) | fn update_single_word_name_alone() { function update_single_word_name_after_space (line 152) | fn update_single_word_name_after_space() { function update_single_word_name_after_punctuation (line 157) | fn update_single_word_name_after_punctuation() { function update_two_word_name_to_single_word_alone (line 162) | fn update_two_word_name_to_single_word_alone() { function update_two_word_name_to_single_word_after_space (line 167) | fn update_two_word_name_to_single_word_after_space() { function update_two_word_name_to_single_word_after_punctuation (line 172) | fn update_two_word_name_to_single_word_after_punctuation() { function update_single_word_name_to_multi_word_name_alone (line 177) | fn update_single_word_name_to_multi_word_name_alone() { function update_two_word_name_to_two_word_name_alone (line 182) | fn update_two_word_name_to_two_word_name_alone() { function dont_flag_multiword_name_with_non_space (line 187) | fn dont_flag_multiword_name_with_non_space() { function dont_flag_multiword_name_with_hyphen (line 192) | fn dont_flag_multiword_name_with_hyphen() { function flag_multiword_name_with_tabs (line 199) | fn flag_multiword_name_with_tabs() { function flag_multiword_name_with_newline (line 206) | fn flag_multiword_name_with_newline() { function update_two_word_name_to_single_word_at_end_of_sentence (line 211) | fn update_two_word_name_to_single_word_at_end_of_sentence() { function update_two_word_name_to_single_word_at_start_of_sentence (line 220) | fn update_two_word_name_to_single_word_at_start_of_sentence() { function update_first_old_name (line 229) | fn update_first_old_name() { function update_second_old_name (line 234) | fn update_second_old_name() { function update_two_word_name_with_two_word_name (line 243) | fn update_two_word_name_with_two_word_name() { function dont_flag_czech_republic (line 252) | fn dont_flag_czech_republic() { function update_to_name_with_punctuation (line 262) | fn update_to_name_with_punctuation() { FILE: harper-core/src/linting/use_title_case.rs type UseTitleCase (line 5) | pub struct UseTitleCase { function new (line 10) | pub fn new(dict: D) -> Self { method lint (line 16) | fn lint(&mut self, document: &Document) -> Vec { method description (line 40) | fn description(&self) -> &str { function simple_correction (line 53) | fn simple_correction() { function double_correction (line 62) | fn double_correction() { function doesnt_lowercase_this_in_github_template_title (line 71) | fn doesnt_lowercase_this_in_github_template_title() { function shoud_uppercase_possessive_determiners (line 79) | fn shoud_uppercase_possessive_determiners() { function ignores_leading_number_list_marker_in_heading (line 88) | fn ignores_leading_number_list_marker_in_heading() { function still_fixes_non_first_small_words_after_leading_number (line 96) | fn still_fixes_non_first_small_words_after_leading_number() { FILE: harper-core/src/linting/verb_to_adjective.rs type VerbToAdjective (line 9) | pub struct VerbToAdjective { method default (line 14) | fn default() -> Self { type Unit (line 28) | type Unit = Chunk; method expr (line 30) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 34) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 56) | fn description(&self) -> &'static str { function assert_each_lints (line 67) | fn assert_each_lints(cases: &[&str]) { function assert_each_no_lints (line 73) | fn assert_each_no_lints(cases: &[&str]) { function flags_issue_2855_and_similar_gerund_noun_phrases (line 80) | fn flags_issue_2855_and_similar_gerund_noun_phrases() { function message_points_to_the_adverb_and_noun (line 94) | fn message_points_to_the_adverb_and_noun() { function allows_the_issue_2855_regressions (line 103) | fn allows_the_issue_2855_regressions() { function allows_correct_adjective_plus_gerund_noun_of_phrases (line 117) | fn allows_correct_adjective_plus_gerund_noun_of_phrases() { function allows_nonmatching_determiner_phrases_and_previous_regressions (line 131) | fn allows_nonmatching_determiner_phrases_and_previous_regressions() { FILE: harper-core/src/linting/very_unique.rs type VeryUnique (line 8) | pub struct VeryUnique { method default (line 13) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 62) | fn description(&self) -> &str { function fix_very_unique (line 73) | fn fix_very_unique() { function fix_pretty_unique (line 85) | fn fix_pretty_unique() { function fix_fairly_unique (line 94) | fn fix_fairly_unique() { function fix_somewhat_unique (line 106) | fn fix_somewhat_unique() { function fix_quite_unique (line 115) | fn fix_quite_unique() { function fix_rather_unique (line 127) | fn fix_rather_unique() { FILE: harper-core/src/linting/vice_versa.rs function matches_hyphen (line 6) | fn matches_hyphen(token: &Token, _source: &[char]) -> bool { function replacement_for (line 10) | fn replacement_for(template: &[char]) -> Vec { type ViceVersa (line 72) | pub struct ViceVersa { method default (line 77) | fn default() -> Self { type Unit (line 88) | type Unit = Chunk; method expr (line 90) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 94) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 107) | fn description(&self) -> &str { function corrects_basic_hyphenated (line 118) | fn corrects_basic_hyphenated() { function corrects_leading_capitalization (line 127) | fn corrects_leading_capitalization() { function corrects_all_caps (line 136) | fn corrects_all_caps() { function corrects_with_extra_a (line 145) | fn corrects_with_extra_a() { function corrects_vise_variant (line 154) | fn corrects_vise_variant() { function corrects_vise_extra_a_variant (line 163) | fn corrects_vise_extra_a_variant() { function corrects_with_trailing_suffix (line 172) | fn corrects_with_trailing_suffix() { function allows_correct_spelling (line 181) | fn allows_correct_spelling() { function allows_sentence_case (line 190) | fn allows_sentence_case() { function does_not_flag_unrelated_words (line 199) | fn does_not_flag_unrelated_words() { FILE: harper-core/src/linting/vicious_loop/mod.rs type Prefer (line 8) | enum Prefer { type ViciousCircle (line 14) | pub struct ViciousCircle { type ViciousCycle (line 17) | pub struct ViciousCycle { type ViciousCircleOrCycle (line 20) | pub struct ViciousCircleOrCycle { function build_expr (line 26) | fn build_expr(flag: Prefer) -> Box { function to_lint (line 54) | fn to_lint(toks: &[Token], src: &[char], pref: Prefer) -> Option { function vicious_singular (line 207) | fn vicious_singular() { function vicious_plural (line 211) | fn vicious_plural() { function viscous_singular (line 219) | fn viscous_singular() { function viscous_plural (line 223) | fn viscous_plural() { function ignore_vicious_singular (line 232) | fn ignore_vicious_singular() { function ignore_virtuous_plural (line 236) | fn ignore_virtuous_plural() { function fix_singular_and_plural_nouns (line 243) | fn fix_singular_and_plural_nouns() { function fix_virtuous (line 252) | fn fix_virtuous() { function fix_singular (line 263) | fn fix_singular() { function fix_plural (line 267) | fn fix_plural() { function fix_viscous_singular (line 275) | fn fix_viscous_singular() { function fix_viscous_plural (line 279) | fn fix_viscous_plural() { function dont_flag_singular (line 283) | fn dont_flag_singular() { function dont_flag_plural (line 287) | fn dont_flag_plural() { function fix_its_a_virtuous (line 294) | fn fix_its_a_virtuous() { function fix_viscous (line 304) | fn fix_viscous() { function dont_flag_either (line 315) | fn dont_flag_either() { function fix_both_viscous (line 323) | fn fix_both_viscous() { function dont_flag_combo (line 334) | fn dont_flag_combo() { function fix_its_a_viscous_cycle (line 342) | fn fix_its_a_viscous_cycle() { FILE: harper-core/src/linting/was_aloud.rs type WasAloud (line 9) | pub struct WasAloud { method default (line 14) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 45) | fn description(&self) -> &'static str { function corrects_was_aloud (line 56) | fn corrects_was_aloud() { function corrects_were_aloud (line 65) | fn corrects_were_aloud() { function does_not_correct_proper_use_of_aloud (line 74) | fn does_not_correct_proper_use_of_aloud() { function does_not_flag_unrelated_text (line 83) | fn does_not_flag_unrelated_text() { function be_aloud (line 92) | fn be_aloud() { function been_aloud (line 101) | fn been_aloud() { FILE: harper-core/src/linting/way_too_adjective.rs type WayTooAdjective (line 10) | pub struct WayTooAdjective { method default (line 15) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method expr (line 41) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 45) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 62) | fn description(&self) -> &'static str { function corrects_way_to_fast (line 74) | fn corrects_way_to_fast() { function corrects_way_to_complicated (line 83) | fn corrects_way_to_complicated() { function corrects_way_to_much (line 92) | fn corrects_way_to_much() { function allows_fast_way_to_test (line 101) | fn allows_fast_way_to_test() { FILE: harper-core/src/linting/well_educated.rs type WellEducated (line 10) | pub struct WellEducated { method default (line 15) | fn default() -> Self { type Unit (line 32) | type Unit = Chunk; method expr (line 34) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 38) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 54) | fn description(&self) -> &'static str { function corrects_simple_sentence (line 65) | fn corrects_simple_sentence() { function corrects_in_clause (line 74) | fn corrects_in_clause() { function corrects_with_modifier (line 83) | fn corrects_with_modifier() { function corrects_all_caps (line 92) | fn corrects_all_caps() { function corrects_title_case (line 101) | fn corrects_title_case() { function corrects_with_quotes (line 110) | fn corrects_with_quotes() { function corrects_split_tokens (line 119) | fn corrects_split_tokens() { function allows_well_educated (line 128) | fn allows_well_educated() { function allows_good_education_phrase (line 133) | fn allows_good_education_phrase() { function allows_good_to_be_educated (line 142) | fn allows_good_to_be_educated() { FILE: harper-core/src/linting/were_where.rs type WereWhere (line 11) | pub struct WereWhere { method default (line 16) | fn default() -> Self { type Unit (line 63) | type Unit = Chunk; method expr (line 65) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 69) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 110) | fn description(&self) -> &'static str { function fix_they_where (line 123) | fn fix_they_where() { function fix_we_where (line 132) | fn fix_we_where() { function fix_they_where_happy (line 141) | fn fix_they_where_happy() { function fix_you_where_going (line 152) | fn fix_you_where_going() { function fix_you_where_right (line 161) | fn fix_you_where_right() { function fix_know_were_they (line 172) | fn fix_know_were_they() { function fix_forgot_were_i (line 181) | fn fix_forgot_were_i() { function fix_found_were_the (line 190) | fn fix_found_were_the() { function fix_go_were_they (line 199) | fn fix_go_were_they() { function fix_we_where_almost_done (line 210) | fn fix_we_where_almost_done() { function fix_they_where_able (line 220) | fn fix_they_where_able() { function fix_we_where_told (line 229) | fn fix_we_where_told() { function fix_they_where_supposed (line 238) | fn fix_they_where_supposed() { function fix_you_where_supposed (line 249) | fn fix_you_where_supposed() { function fix_you_where_asked (line 259) | fn fix_you_where_asked() { function fix_remember_were_i (line 271) | fn fix_remember_were_i() { function fix_check_were_the (line 280) | fn fix_check_were_the() { function fix_asked_were_he (line 289) | fn fix_asked_were_he() { function fix_know_were_the_bug (line 298) | fn fix_know_were_the_bug() { function fix_find_were_it (line 307) | fn fix_find_were_it() { function no_flag_where_they_are (line 318) | fn no_flag_where_they_are() { function no_flag_they_were_going (line 323) | fn no_flag_they_were_going() { function no_flag_we_were_right (line 328) | fn no_flag_we_were_right() { function no_flag_show_you_where (line 333) | fn no_flag_show_you_where() { function no_flag_tell_you_where_the (line 339) | fn no_flag_tell_you_where_the() { function no_flag_they_were_wrong (line 345) | fn no_flag_they_were_wrong() { function no_flag_confirmed_they_were (line 351) | fn no_flag_confirmed_they_were() { function no_flag_found_they_were (line 357) | fn no_flag_found_they_were() { function no_flag_where_were_they (line 362) | fn no_flag_where_were_they() { function no_flag_showed_me_where (line 368) | fn no_flag_showed_me_where() { function fix_you_where_the_only_one (line 377) | fn fix_you_where_the_only_one() { function fix_where_they_going_sentence_start (line 387) | fn fix_where_they_going_sentence_start() { function fix_showed_me_were (line 397) | fn fix_showed_me_were() { FILE: harper-core/src/linting/whereas.rs type Whereas (line 8) | pub struct Whereas { method default (line 13) | fn default() -> Self { type Unit (line 24) | type Unit = Chunk; method expr (line 26) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 30) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &'static str { function where_as (line 58) | fn where_as() { FILE: harper-core/src/linting/whom_subject_of_verb.rs type WhomSubjectOfVerb (line 8) | pub struct WhomSubjectOfVerb { method default (line 13) | fn default() -> Self { type Unit (line 29) | type Unit = Chunk; method description (line 31) | fn description(&self) -> &str { method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint_with_context (line 39) | fn match_to_lint_with_context( function flag_whom_has (line 79) | fn flag_whom_has() { function flag_whomever_wrote (line 88) | fn flag_whomever_wrote() { function dont_flag_wrong_kind_of_error (line 98) | fn dont_flag_wrong_kind_of_error() { function dont_flag_whom_can (line 109) | fn dont_flag_whom_can() { function flag_whomever_is (line 118) | fn flag_whomever_is() { function flag_whom_is (line 127) | fn flag_whom_is() { function flag_whomsoever_will (line 136) | fn flag_whomsoever_will() { function dont_flag_many_of_whom (line 145) | fn dont_flag_many_of_whom() { FILE: harper-core/src/linting/widely_accepted.rs type WidelyAccepted (line 9) | pub struct WidelyAccepted { method default (line 14) | fn default() -> Self { type Unit (line 25) | type Unit = Chunk; method expr (line 27) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 31) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 46) | fn description(&self) -> &str { function wide_accepted_lowercase (line 57) | fn wide_accepted_lowercase() { function wide_acceptable_mixed_case (line 66) | fn wide_acceptable_mixed_case() { function widely_already_correct (line 75) | fn widely_already_correct() { function no_false_positive (line 84) | fn no_false_positive() { function wide_accepted_in_long_text (line 93) | fn wide_accepted_in_long_text() { function wide_twice_in_one_sentence (line 102) | fn wide_twice_in_one_sentence() { FILE: harper-core/src/linting/win_prize.rs type WinPrize (line 10) | pub struct WinPrize { method default (line 15) | fn default() -> Self { type Unit (line 31) | type Unit = Chunk; method expr (line 33) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 37) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 55) | fn description(&self) -> &str { function fix_price_singular (line 66) | fn fix_price_singular() { function fix_price_plural (line 75) | fn fix_price_plural() { function fix_prise_singular (line 84) | fn fix_prise_singular() { function fix_prise_plural (line 93) | fn fix_prise_plural() { function ignore_correct_prize (line 102) | fn ignore_correct_prize() { function fix_no_det (line 111) | fn fix_no_det() { FILE: harper-core/src/linting/wish_could.rs type WishCould (line 6) | pub struct WishCould { method default (line 11) | fn default() -> Self { type Unit (line 44) | type Unit = Chunk; method expr (line 46) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 50) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 66) | fn description(&self) -> &str { function flag_wish_we_can (line 77) | fn flag_wish_we_can() { function flag_wish_i_can (line 86) | fn flag_wish_i_can() { function flag_wish_you_can (line 95) | fn flag_wish_you_can() { function flag_wishes_they_can (line 104) | fn flag_wishes_they_can() { function flag_wishing_someone_can (line 113) | fn flag_wishing_someone_can() { function flag_wish_they_can (line 122) | fn flag_wish_they_can() { function flag_wished_he_can (line 131) | fn flag_wished_he_can() { function wish_this_can (line 140) | fn wish_this_can() { function wish_it_can (line 149) | fn wish_it_can() { function wish_somebody_can (line 158) | fn wish_somebody_can() { FILE: harper-core/src/linting/wordpress_dotcom.rs type WordPressDotcom (line 7) | pub struct WordPressDotcom; method lint (line 10) | fn lint(&mut self, document: &crate::Document) -> Vec { method description (line 33) | fn description(&self) -> &str { function simple (line 45) | fn simple() { function sentence (line 50) | fn sentence() { FILE: harper-core/src/linting/worth_to_do.rs type WorthToDo (line 9) | pub struct WorthToDo function new (line 21) | pub fn new(dict: D) -> Self { type Unit (line 37) | type Unit = Chunk; method expr (line 39) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 43) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 94) | fn description(&self) -> &str { function worth_to_add (line 105) | fn worth_to_add() { function worth_to_adjust (line 114) | fn worth_to_adjust() { function worth_to_ask (line 123) | fn worth_to_ask() { function worth_to_buy (line 132) | fn worth_to_buy() { function worth_to_deal (line 141) | fn worth_to_deal() { function worth_to_do (line 150) | fn worth_to_do() { function worth_to_experiment (line 159) | fn worth_to_experiment() { function worth_to_fix (line 168) | fn worth_to_fix() { function worth_to_get_published (line 177) | fn worth_to_get_published() { function worth_to_imagine (line 186) | fn worth_to_imagine() { function worth_to_invest (line 195) | fn worth_to_invest() { function worth_to_investigate (line 204) | fn worth_to_investigate() { function worth_to_play (line 213) | fn worth_to_play() { function worth_to_put (line 222) | fn worth_to_put() { function worth_to_read (line 231) | fn worth_to_read() { function worth_to_revisit (line 240) | fn worth_to_revisit() { function worth_to_rewrite (line 249) | fn worth_to_rewrite() { function worth_to_try (line 258) | fn worth_to_try() { function worth_to_update (line 267) | fn worth_to_update() { function worth_to_upgrade (line 276) | fn worth_to_upgrade() { function worth_to_use_and_develop (line 285) | fn worth_to_use_and_develop() { function works_with_uppercase_glom (line 294) | fn works_with_uppercase_glom() { function works_with_uppercase_final_e (line 303) | fn works_with_uppercase_final_e() { function works_with_uppercase_double_consonant (line 312) | fn works_with_uppercase_double_consonant() { FILE: harper-core/src/linting/would_never_have.rs type WouldNeverHave (line 9) | pub struct WouldNeverHave { method default (line 14) | fn default() -> Self { type Unit (line 39) | type Unit = Chunk; method expr (line 41) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 45) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 81) | fn description(&self) -> &str { function fix_could_have_never_been (line 92) | fn fix_could_have_never_been() { function fix_would_have_never_come (line 101) | fn fix_would_have_never_come() { function fix_would_have_never_find (line 110) | fn fix_would_have_never_find() { function fix_all_caps (line 119) | fn fix_all_caps() { function fix_title_case (line 129) | fn fix_title_case() { function fix_could_never_have_worked (line 138) | fn fix_could_never_have_worked() { function fix_would_never_have_thought_of (line 147) | fn fix_would_never_have_thought_of() { function fix_wouldve_never_known_missing_apostrophe (line 156) | fn fix_wouldve_never_known_missing_apostrophe() { function fix_wouldve_never_grokked (line 165) | fn fix_wouldve_never_grokked() { function fix_couldve_never_designed (line 174) | fn fix_couldve_never_designed() { FILE: harper-core/src/linting/wrong_apostrophe.rs constant CONTRACTION_AND_POSSESSIVE_ENDINGS (line 7) | const CONTRACTION_AND_POSSESSIVE_ENDINGS: [&str; 7] = ["d", "ll", "m", "... type WrongApostrophe (line 9) | pub struct WrongApostrophe { method default (line 14) | fn default() -> Self { type Unit (line 33) | type Unit = Chunk; method expr (line 35) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 39) | fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option { method description (line 65) | fn description(&self) -> &str { function fix_dont_with_semicolon_to_apostrophe (line 76) | fn fix_dont_with_semicolon_to_apostrophe() { function ignore_correct (line 85) | fn ignore_correct() { function fix_title_case (line 90) | fn fix_title_case() { function fix_all_caps (line 99) | fn fix_all_caps() { function fix_ill_and_monkeys (line 109) | fn fix_ill_and_monkeys() { function fix_other_contractions_and_possessives (line 118) | fn fix_other_contractions_and_possessives() { function corrects_ive_with_correct_capitalization (line 127) | fn corrects_ive_with_correct_capitalization() { function fix_acute_dont (line 132) | fn fix_acute_dont() { function fix_acute_im (line 141) | fn fix_acute_im() { function fix_acute_its (line 150) | fn fix_acute_its() { function fix_acute_lets (line 159) | fn fix_acute_lets() { function fix_acute_microsofts (line 168) | fn fix_acute_microsofts() { function fix_acute_youre (line 177) | fn fix_acute_youre() { FILE: harper-core/src/mask/mod.rs type Masker (line 15) | pub trait Masker: Send + Sync { method create_mask (line 16) | fn create_mask(&self, source: &[char]) -> Mask; type Mask (line 21) | pub struct Mask { method from_iter (line 29) | fn from_iter>>(iter: T) -> Self { method new_blank (line 46) | pub fn new_blank() -> Self { method iter_allowed (line 52) | pub fn iter_allowed<'a>( method push_allowed (line 60) | pub fn push_allowed(&mut self, allowed: Span) { method merge_whitespace_sep (line 77) | pub fn merge_whitespace_sep(&mut self, source: &[char]) { function bumps_existing (line 113) | fn bumps_existing() { function merges_whitespace_sep (line 123) | fn merges_whitespace_sep() { FILE: harper-core/src/mask/regex_masker.rs type RegexMasker (line 8) | pub struct RegexMasker { method new (line 20) | pub fn new(regex: &str, exclude_matches: bool) -> Option { method create_mask (line 29) | fn create_mask(&self, source: &[char]) -> Mask { function include_matches (line 76) | fn include_matches() { function exclude_matches (line 90) | fn exclude_matches() { function unicode_offsets_are_converted_to_char_spans (line 104) | fn unicode_offsets_are_converted_to_char_spans() { function can_match_everything (line 118) | fn can_match_everything(source: String) -> TestResult { FILE: harper-core/src/number.rs type Number (line 10) | pub struct Number { method fmt (line 22) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type OrdinalSuffix (line 42) | pub enum OrdinalSuffix { method correct_suffix_for (line 51) | pub fn correct_suffix_for(number: impl Into) -> Option { method to_chars (line 73) | pub const fn to_chars(self) -> &'static [char] { method from_chars (line 83) | pub fn from_chars(chars: &[char]) -> Option { function hex_fifteen (line 106) | fn hex_fifteen() { function decimal_fifteen (line 120) | fn decimal_fifteen() { function decimal_fifteen_suffix (line 134) | fn decimal_fifteen_suffix() { function decimal_fifteen_and_a_half (line 148) | fn decimal_fifteen_and_a_half() { function issue_1051 (line 162) | fn issue_1051() { FILE: harper-core/src/offsets.rs function build_byte_to_char_map (line 3) | pub(crate) fn build_byte_to_char_map(source: &str) -> Vec { function maps_ascii_offsets (line 26) | fn maps_ascii_offsets() { function maps_unicode_offsets (line 32) | fn maps_unicode_offsets() { FILE: harper-core/src/parsers/collapse_identifiers.rs type CollapseIdentifiers (line 13) | pub struct CollapseIdentifiers { method new (line 19) | pub fn new(inner: Box, dict: Box>) -> ... method parse (line 35) | fn parse(&self, source: &[char]) -> Vec { function matches_kebab (line 71) | fn matches_kebab() { function no_collapse (line 84) | fn no_collapse() { function one_collapse (line 94) | fn one_collapse() { function kebab_collapse (line 117) | fn kebab_collapse() { function double_collapse (line 142) | fn double_collapse() { function two_collapses (line 165) | fn two_collapses() { function overlapping_identifiers (line 188) | fn overlapping_identifiers() { function nested_identifiers (line 212) | fn nested_identifiers() { FILE: harper-core/src/parsers/isolate_english.rs type IsolateEnglish (line 7) | pub struct IsolateEnglish { function new (line 13) | pub fn new(inner: Box, dictionary: D) -> Self { method parse (line 22) | fn parse(&self, source: &[char]) -> Vec { function assert_no_english (line 44) | fn assert_no_english(text: &str) { function assert_stripped_english (line 59) | fn assert_stripped_english(source: &str, target: &str) { function mixed_spanish_english_breakfast (line 72) | fn mixed_spanish_english_breakfast() { function mixed_spanish_english_politics (line 79) | fn mixed_spanish_english_politics() { function english_no_edit_motto (line 86) | fn english_no_edit_motto() { function chunked_trad_chinese_english (line 94) | fn chunked_trad_chinese_english() { function chunked_trad_polish_english (line 102) | fn chunked_trad_polish_english() { FILE: harper-core/src/parsers/markdown.rs type Markdown (line 13) | pub struct Markdown { method new (line 34) | pub fn new(options: MarkdownOptions) -> Self { method remove_hidden_wikilink_tokens (line 45) | fn remove_hidden_wikilink_tokens(tokens: &mut Vec) { method remove_wikilink_brackets (line 111) | fn remove_wikilink_brackets(tokens: &mut Vec) { type MarkdownOptions (line 19) | pub struct MarkdownOptions { method default (line 26) | fn default() -> Self { method parse (line 152) | fn parse(&self, source: &[char]) -> Vec { function survives_emojis (line 314) | fn survives_emojis() { function ends_with_newline (line 325) | fn ends_with_newline() { function math_becomes_unlintable (line 334) | fn math_becomes_unlintable() { function hidden_wikilink_text (line 352) | fn hidden_wikilink_text() { function just_pipe (line 372) | fn just_pipe() { function empty_wikilink_text (line 388) | fn empty_wikilink_text() { function improper_wikilink_text (line 401) | fn improper_wikilink_text() { function normal_wikilink (line 433) | fn normal_wikilink() { function html_is_unlintable (line 444) | fn html_is_unlintable() { function link_title_unlintable (line 451) | fn link_title_unlintable() { function issue_194 (line 466) | fn issue_194() { function respects_link_title_config (line 482) | fn respects_link_title_config() { function issue_880 (line 522) | fn issue_880() { function no_end_token_incorrectly_ending_at_zero (line 555) | fn no_end_token_incorrectly_ending_at_zero() { function hang (line 563) | fn hang() { function hang2 (line 570) | fn hang2() { function simple_headings_are_marked (line 578) | fn simple_headings_are_marked() { function multiple_headings_are_marked (line 588) | fn multiple_headings_are_marked() { FILE: harper-core/src/parsers/mask.rs type Mask (line 6) | pub struct Mask function new (line 20) | pub fn new(masker: M, parser: P) -> Self { method parse (line 30) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-core/src/parsers/mod.rs type Parser (line 24) | pub trait Parser: LSend { method parse (line 25) | fn parse(&self, source: &[char]) -> Vec; type StrParser (line 28) | pub trait StrParser { method parse_str (line 29) | fn parse_str(&self, source: impl AsRef) -> Vec; method parse_str (line 36) | fn parse_str(&self, source: impl AsRef) -> Vec { function assert_tokens_eq (line 48) | fn assert_tokens_eq(test_str: impl AsRef, expected: &[TokenKind], p... function assert_tokens_eq_plain (line 56) | fn assert_tokens_eq_plain(test_str: impl AsRef, expected: &[TokenKi... function assert_tokens_eq_md (line 60) | fn assert_tokens_eq_md(test_str: impl AsRef, expected: &[TokenKind]) { function assert_tokens_eq_org (line 64) | fn assert_tokens_eq_org(test_str: impl AsRef, expected: &[TokenKind... function single_letter (line 69) | fn single_letter() { function sentence (line 74) | fn sentence() { function sentence_md (line 91) | fn sentence_md() { function inserts_newlines (line 108) | fn inserts_newlines() { function parses_non_english (line 127) | fn parses_non_english() { function org_mode_basic (line 133) | fn org_mode_basic() { FILE: harper-core/src/parsers/oops_all_headings.rs type OopsAllHeadings (line 6) | pub struct OopsAllHeadings { function new (line 11) | pub fn new(inner: P) -> Self { method parse (line 17) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-core/src/parsers/org_mode.rs type SourceBlockMarker (line 5) | enum SourceBlockMarker { function is_header_line (line 11) | fn is_header_line(chars: &[char], start: usize) -> bool { function is_source_block_marker (line 16) | fn is_source_block_marker(chars: &[char], start: usize) -> Option bool { function is_list_item (line 39) | fn is_list_item(chars: &[char], start: usize) -> bool { function normalize_list_item_whitespace (line 76) | fn normalize_list_item_whitespace(chars: &[char]) -> Vec { function get_line_from_start (line 91) | fn get_line_from_start(chars: &[char], start: usize) -> &[char] { function find_line_end (line 100) | fn find_line_end(chars: &[char], start: usize) -> usize { function find_line_start (line 113) | fn find_line_start(chars: &[char], pos: usize) -> usize { type OrgMode (line 127) | pub struct OrgMode; method parse (line 132) | fn parse(&self, source: &[char]) -> Vec { function simple_text (line 253) | fn simple_text() { function header_parsing (line 261) | fn header_parsing() { function multiple_level_headers (line 276) | fn multiple_level_headers() { function source_block_unlintable (line 290) | fn source_block_unlintable() { function directive_unlintable (line 313) | fn directive_unlintable() { function case_insensitive_source_blocks (line 332) | fn case_insensitive_source_blocks() { function empty_header (line 348) | fn empty_header() { function no_trailing_newline (line 357) | fn no_trailing_newline() { function list_items_with_tabs (line 366) | fn list_items_with_tabs() { function mixed_list_formats (line 380) | fn mixed_list_formats() { FILE: harper-core/src/parsers/plain_english.rs type PlainEnglish (line 8) | pub struct PlainEnglish; method parse (line 11) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-core/src/patterns/any_pattern.rs type AnyPattern (line 6) | pub struct AnyPattern; method matches_token (line 9) | fn matches_token(&self, _token: &Token, _source: &[char]) -> bool { FILE: harper-core/src/patterns/derived_from.rs type DerivedFrom (line 9) | pub struct DerivedFrom { method new_from_str (line 14) | pub fn new_from_str(word: &str) -> DerivedFrom { method new_from_chars (line 18) | pub fn new_from_chars(word: &[char]) -> DerivedFrom { method new (line 22) | pub fn new(word_id: WordId) -> Self { method matches (line 28) | fn matches(&self, tokens: &[crate::Token], source: &[char]) -> Option Option bool { function number_implies (line 50) | fn number_implies() { FILE: harper-core/src/patterns/indefinite_article.rs type IndefiniteArticle (line 5) | pub struct IndefiniteArticle { method default (line 10) | fn default() -> Self { method matches_token (line 18) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { FILE: harper-core/src/patterns/inflection_of_be.rs type InflectionOfBe (line 7) | pub struct InflectionOfBe { method new (line 19) | pub fn new() -> Self { method default (line 13) | fn default() -> Self { method matches_token (line 27) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { FILE: harper-core/src/patterns/invert.rs type Invert (line 6) | pub struct Invert { method new (line 11) | pub fn new(inner: impl Pattern + 'static) -> Self { method matches (line 19) | fn matches(&self, tokens: &[Token], source: &[char]) -> Option { FILE: harper-core/src/patterns/mod.rs type Pattern (line 40) | pub trait Pattern: LSend { method matches (line 44) | fn matches(&self, tokens: &[Token], source: &[char]) -> Option; method matches (line 115) | fn matches(&self, tokens: &[Token], source: &[char]) -> Option { type PatternExt (line 47) | pub trait PatternExt { method iter_matches (line 48) | fn iter_matches(&self, tokens: &[Token], source: &[char]) -> impl Iter... method find_all_matches (line 51) | fn find_all_matches(&self, tokens: &[Token], source: &[char]) -> Vec impl Iter... type MatchIter (line 65) | struct MatchIter<'a, 'b, 'c, P: ?Sized> { function new (line 75) | fn new(pattern: &'a P, tokens: &'b [Token], source: &'c [char]) -> Self { type Item (line 88) | type Item = Span; method next (line 90) | fn next(&mut self) -> Option { type SingleTokenPattern (line 110) | pub trait SingleTokenPattern: LSend { method matches_token (line 111) | fn matches_token(&self, token: &Token, source: &[char]) -> bool; method matches_token (line 125) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { type DocPattern (line 130) | pub trait DocPattern { method find_all_matches_in_doc (line 131) | fn find_all_matches_in_doc(&self, document: &Document) -> Vec Vec (WordSet, bool) { method with_common_errors (line 36) | pub fn with_common_errors() -> Self { method default (line 9) | fn default() -> Self { method matches (line 46) | fn matches(&self, tokens: &[crate::Token], source: &[char]) -> Option Option { type SpanVecExt (line 43) | trait SpanVecExt { method to_strings (line 44) | fn to_strings(&self, doc: &Document) -> Vec; method to_strings (line 48) | fn to_strings(&self, doc: &Document) -> Vec { function simple_apple (line 61) | fn simple_apple() { function complex_apple (line 69) | fn complex_apple() { function list_fruit (line 77) | fn list_fruit() { function simplest_banana (line 88) | fn simplest_banana() { function food (line 98) | fn food() { function simplest_way (line 121) | fn simplest_way() { function present_participle_way (line 131) | fn present_participle_way() { function perfect_participle_way (line 141) | fn perfect_participle_way() { FILE: harper-core/src/patterns/prepositional_preceder.rs type PrepositionalPrecederPattern (line 12) | pub struct PrepositionalPrecederPattern { method default (line 17) | fn default() -> Self { method matches_token (line 48) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { function prepositional_preceder (line 57) | pub fn prepositional_preceder() -> &'static PrepositionalPrecederPattern { FILE: harper-core/src/patterns/upos_set.rs type UPOSSet (line 10) | pub struct UPOSSet { method new (line 15) | pub fn new(allowed: &[UPOS]) -> Self { method matches (line 23) | fn matches(&self, tokens: &[Token], _source: &[char]) -> Option { FILE: harper-core/src/patterns/whitespace_pattern.rs type WhitespacePattern (line 3) | pub struct WhitespacePattern; method matches (line 6) | fn matches(&self, tokens: &[crate::Token], _source: &[char]) -> Option Self { method from_str (line 22) | pub fn from_str(word: &str, edit_dist: u8) -> Self { method matches_token (line 35) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { FILE: harper-core/src/patterns/word.rs type Word (line 7) | pub struct Word { method new (line 16) | pub fn new(word: &'static str) -> Self { method from_chars (line 24) | pub fn from_chars(word: &[char]) -> Self { method from_char_string (line 32) | pub fn from_char_string(word: CharString) -> Self { method new_exact (line 40) | pub fn new_exact(word: &'static str) -> Self { method matches_token (line 49) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { function fruit (line 76) | fn fruit() { function fruit_whack_capitalization (line 90) | fn fruit_whack_capitalization() { FILE: harper-core/src/patterns/word_set.rs type WordSet (line 11) | pub struct WordSet { method add (line 16) | pub fn add(&mut self, word: &str) { method add_chars (line 24) | pub fn add_chars(&mut self, chars: &[char]) { method contains (line 30) | pub fn contains(&self, word: &str) -> bool { method new (line 35) | pub fn new(words: &[&'static str]) -> Self { method matches_token (line 47) | fn matches_token(&self, token: &Token, source: &[char]) -> bool { function fruit (line 81) | fn fruit() { function fruit_whack_capitalization (line 92) | fn fruit_whack_capitalization() { function supports_typographic_apostrophes (line 103) | fn supports_typographic_apostrophes() { FILE: harper-core/src/punctuation.rs type Punctuation (line 10) | pub enum Punctuation { method from_char (line 86) | pub fn from_char(c: char) -> Option { type Quote (line 133) | pub struct Quote { FILE: harper-core/src/render_markdown.rs function render_markdown (line 6) | pub fn render_markdown(markdown: &str) -> String { FILE: harper-core/src/span.rs type Span (line 19) | pub struct Span { constant ZERO (line 33) | pub const ZERO: Self = Self::empty(0); function new (line 40) | pub fn new(start: usize, end: usize) -> Self { function new_with_len (line 52) | pub fn new_with_len(start: usize, len: usize) -> Self { function empty (line 61) | pub const fn empty(pos: usize) -> Self { function len (line 70) | pub fn len(&self) -> usize { function is_empty (line 77) | pub fn is_empty(&self) -> bool { function contains (line 82) | pub fn contains(&self, idx: usize) -> bool { function overlaps_with (line 87) | pub fn overlaps_with(&self, other: Self) -> bool { function try_get_content (line 93) | pub fn try_get_content<'a>(&self, source: &'a [T]) -> Option<&'a [T]> { function expand_to_include (line 105) | pub fn expand_to_include(&mut self, target: usize) { function get_content (line 114) | pub fn get_content<'a>(&self, source: &'a [T]) -> &'a [T] { function set_len (line 122) | pub fn set_len(&mut self, length: usize) { function with_len (line 127) | pub fn with_len(&self, length: usize) -> Self { function push_by (line 134) | pub fn push_by(&mut self, by: usize) { function pull_by (line 140) | pub fn pull_by(&mut self, by: usize) { function pushed_by (line 146) | pub fn pushed_by(&self, by: usize) -> Self { function pulled_by (line 154) | pub fn pulled_by(&self, by: usize) -> Option { function get_content_string (line 169) | pub fn get_content_string(&self, source: &[T]) -> String { function to_char_span (line 185) | pub fn to_char_span(&self, source_document_tokens: &[Token]) -> Span) -> Self { function from (line 207) | fn from(value: Span) -> Self { type Item (line 213) | type Item = usize; type IntoIter (line 215) | type IntoIter = Range; method into_iter (line 221) | fn into_iter(self) -> Self::IntoIter { method clone (line 228) | fn clone(&self) -> Self { type UntypedSpan (line 243) | type UntypedSpan = Span<()>; function overlaps (line 246) | fn overlaps() { function expands_properly (line 256) | fn expands_properly() { function to_char_span_converts_correctly (line 267) | fn to_char_span_converts_correctly() { FILE: harper-core/src/spell/dictionary.rs type Dictionary (line 12) | pub trait Dictionary: Send + Sync { method contains_word (line 14) | fn contains_word(&self, word: &[char]) -> bool; method contains_word_str (line 16) | fn contains_word_str(&self, word: &str) -> bool; method contains_exact_word (line 18) | fn contains_exact_word(&self, word: &[char]) -> bool; method contains_exact_word_str (line 20) | fn contains_exact_word_str(&self, word: &str) -> bool; method fuzzy_match (line 22) | fn fuzzy_match( method fuzzy_match_str (line 29) | fn fuzzy_match_str( method get_correct_capitalization_of (line 35) | fn get_correct_capitalization_of(&self, word: &[char]) -> Option<&'_ [... method get_word_metadata (line 37) | fn get_word_metadata(&self, word: &[char]) -> Option Option Box + Send + '_>; method word_count (line 47) | fn word_count(&self) -> usize; method get_word_from_id (line 50) | fn get_word_from_id(&self, id: &WordId) -> Option<&[char]>; method find_words_with_prefix (line 53) | fn find_words_with_prefix(&self, prefix: &[char]) -> Vec Vec Arc { method new (line 59) | pub fn new(mut words: Vec<(CharString, DictWordMetadata)>) -> Self { constant EXPECTED_DISTANCE (line 27) | const EXPECTED_DISTANCE: u8 = 3; constant TRANSPOSITION_COST_ONE (line 28) | const TRANSPOSITION_COST_ONE: bool = true; method eq (line 45) | fn eq(&self, other: &Self) -> bool { function build_dfa (line 85) | fn build_dfa(max_distance: u8, query: &str) -> DFA { function stream_distances_vec (line 106) | fn stream_distances_vec(stream: &mut StreamWithState<&DFA>, dfa: &DFA) -... method contains_word (line 116) | fn contains_word(&self, word: &[char]) -> bool { method contains_word_str (line 120) | fn contains_word_str(&self, word: &str) -> bool { method get_word_metadata (line 124) | fn get_word_metadata(&self, word: &[char]) -> Option Option Box + Send + '_> { method word_count (line 204) | fn word_count(&self) -> usize { method contains_exact_word (line 208) | fn contains_exact_word(&self, word: &[char]) -> bool { method contains_exact_word_str (line 212) | fn contains_exact_word_str(&self, word: &str) -> bool { method get_correct_capitalization_of (line 216) | fn get_correct_capitalization_of(&self, word: &[char]) -> Option<&'_ [ch... method get_word_from_id (line 220) | fn get_word_from_id(&self, id: &WordId) -> Option<&[char]> { method find_words_with_prefix (line 224) | fn find_words_with_prefix(&self, prefix: &[char]) -> Vec> { method find_words_with_common_prefix (line 228) | fn find_words_with_common_prefix(&self, word: &[char]) -> Vec Self { method add_dictionary (line 33) | pub fn add_dictionary(&mut self, dictionary: Arc) { method hash_dictionary (line 38) | fn hash_dictionary(&self, dictionary: &Arc) -> u64 { method eq (line 58) | fn eq(&self, other: &Self) -> bool { method default (line 64) | fn default() -> Self { method get_correct_capitalization_of (line 70) | fn get_correct_capitalization_of(&self, word: &[char]) -> Option<&'_ [ch... method contains_word (line 79) | fn contains_word(&self, word: &[char]) -> bool { method contains_exact_word (line 88) | fn contains_exact_word(&self, word: &[char]) -> bool { method get_word_metadata (line 97) | fn get_word_metadata(&self, word: &[char]) -> Option Box + Send + '_> { method contains_word_str (line 125) | fn contains_word_str(&self, word: &str) -> bool { method contains_exact_word_str (line 130) | fn contains_exact_word_str(&self, word: &str) -> bool { method get_word_metadata_str (line 135) | fn get_word_metadata_str(&self, word: &str) -> Option usize { method get_word_from_id (line 176) | fn get_word_from_id(&self, id: &WordId) -> Option<&[char]> { method find_words_with_prefix (line 182) | fn find_words_with_prefix(&self, prefix: &[char]) -> Vec> { method find_words_with_common_prefix (line 191) | fn find_words_with_common_prefix(&self, word: &[char]) -> Vec { method partial_cmp (line 32) | fn partial_cmp(&self, other: &Self) -> Option { function is_ou_misspelling (line 41) | pub(crate) fn is_ou_misspelling(a: &[char], b: &[char]) -> bool { function is_cksz_misspelling (line 85) | pub(crate) fn is_cksz_misspelling(a: &[char], b: &[char]) -> bool { function is_er_misspelling (line 128) | pub(crate) fn is_er_misspelling(a: &[char], b: &[char]) -> bool { function is_ll_misspelling (line 154) | pub(crate) fn is_ll_misspelling(a: &[char], b: &[char]) -> bool { function is_th_h_missing (line 193) | pub fn is_th_h_missing(a: &[char], b: &[char]) -> bool { function is_ay_ey_misspelling (line 204) | pub(crate) fn is_ay_ey_misspelling(a: &[char], b: &[char]) -> bool { function is_ei_ie_misspelling (line 247) | pub(crate) fn is_ei_ie_misspelling(a: &[char], b: &[char]) -> bool { function score_suggestion (line 295) | fn score_suggestion(misspelled_word: &[char], sug: &FuzzyMatchResult) ->... function order_suggestions (line 383) | fn order_suggestions<'b>( function suggest_correct_spelling (line 394) | pub fn suggest_correct_spelling<'a>( function suggest_correct_spelling_str (line 410) | pub fn suggest_correct_spelling_str( constant RESULT_LIMIT (line 431) | const RESULT_LIMIT: usize = 200; constant MAX_EDIT_DIST (line 432) | const MAX_EDIT_DIST: u8 = 2; function normalizes_weve (line 435) | fn normalizes_weve() { function punctation_no_duplicates (line 443) | fn punctation_no_duplicates() { function youre_contraction (line 455) | fn youre_contraction() { function thats_contraction (line 460) | fn thats_contraction() { function weve_contraction (line 465) | fn weve_contraction() { function this_correction (line 470) | fn this_correction() { function issue_624_no_duplicates (line 475) | fn issue_624_no_duplicates() { function issue_182 (line 487) | fn issue_182() { function fst_spellcheck_hvllo (line 492) | fn fst_spellcheck_hvllo() { function assert_suggests_correction (line 506) | fn assert_suggests_correction(misspelled_word: &str, correct: &str) { function spellcheck_hvllo (line 520) | fn spellcheck_hvllo() { function spellcheck_aout (line 525) | fn spellcheck_aout() { function spellchecking_is_deterministic (line 530) | fn spellchecking_is_deterministic() { function adviced_correction (line 555) | fn adviced_correction() { function aknowledged_correction (line 560) | fn aknowledged_correction() { function alcaholic_correction (line 565) | fn alcaholic_correction() { function slaves_correction (line 570) | fn slaves_correction() { function conciousness_correction (line 575) | fn conciousness_correction() { function v_apostrophe_s_suggests_vs (line 580) | fn v_apostrophe_s_suggests_vs() { function v_apostrophe_typographical_s_suggests_vs (line 585) | fn v_apostrophe_typographical_s_suggests_vs() { function missing_apostrophe_childrens_suggests_childrens (line 590) | fn missing_apostrophe_childrens_suggests_childrens() { FILE: harper-core/src/spell/mutable_dictionary.rs type MutableDictionary (line 25) | pub struct MutableDictionary { method new (line 44) | pub fn new() -> Self { method from_rune_files (line 50) | pub fn from_rune_files(word_list: &str, attr_list: &str) -> Result Arc { method extend_words (line 72) | pub fn extend_words( method append_word (line 88) | pub fn append_word(&mut self, word: impl AsRef<[char]>, metadata: Dict... method append_word_str (line 96) | pub fn append_word_str(&mut self, word: &str, metadata: DictWordMetada... function uncached_inner_new (line 32) | fn uncached_inner_new() -> Arc { method default (line 102) | fn default() -> Self { method get_word_metadata (line 108) | fn get_word_metadata(&self, word: &[char]) -> Option bool { method contains_word_str (line 118) | fn contains_word_str(&self, word: &str) -> bool { method get_word_metadata_str (line 123) | fn get_word_metadata_str(&self, word: &str) -> Option Option<&'_ [ch... method fuzzy_match (line 138) | fn fuzzy_match( method fuzzy_match_str (line 193) | fn fuzzy_match_str( method words_iter (line 203) | fn words_iter(&self) -> Box + Send + '_> { method word_count (line 211) | fn word_count(&self) -> usize { method contains_exact_word (line 215) | fn contains_exact_word(&self, word: &[char]) -> bool { method contains_exact_word_str (line 227) | fn contains_exact_word_str(&self, word: &str) -> bool { method get_word_from_id (line 232) | fn get_word_from_id(&self, id: &WordId) -> Option<&[char]> { method find_words_with_prefix (line 236) | fn find_words_with_prefix(&self, prefix: &[char]) -> Vec> { method find_words_with_common_prefix (line 250) | fn find_words_with_common_prefix(&self, word: &[char]) -> Vec Self { function curated_contains_no_duplicates (line 288) | fn curated_contains_no_duplicates() { function curated_matches_capitalized (line 294) | fn curated_matches_capitalized() { function this_is_determiner (line 304) | fn this_is_determiner() { function several_is_quantifier (line 311) | fn several_is_quantifier() { function few_is_quantifier (line 321) | fn few_is_quantifier() { function fewer_is_quantifier (line 327) | fn fewer_is_quantifier() { function than_is_conjunction (line 333) | fn than_is_conjunction() { function herself_is_pronoun (line 340) | fn herself_is_pronoun() { function discussion_171 (line 347) | fn discussion_171() { function im_is_common (line 353) | fn im_is_common() { function fuzzy_result_sorted_by_edit_distance (line 359) | fn fuzzy_result_sorted_by_edit_distance() { function there_is_not_a_pronoun (line 373) | fn there_is_not_a_pronoun() { function expanded_contains_giants (line 381) | fn expanded_contains_giants() { function expanded_contains_deallocate (line 386) | fn expanded_contains_deallocate() { function curated_contains_repo (line 391) | fn curated_contains_repo() { function curated_contains_possessive_abandonment (line 400) | fn curated_contains_possessive_abandonment() { function has_is_not_a_nominal (line 410) | fn has_is_not_a_nominal() { function is_is_linking_verb (line 420) | fn is_is_linking_verb() { function are_merged_attrs_same_as_spread_attrs (line 430) | fn are_merged_attrs_same_as_spread_attrs() { function apart_is_not_noun (line 444) | fn apart_is_not_noun() { function be_is_verb_lemma (line 451) | fn be_is_verb_lemma() { function gets_prefixes_as_expected (line 461) | fn gets_prefixes_as_expected() { function gets_common_prefixes_as_expected (line 477) | fn gets_common_prefixes_as_expected() { FILE: harper-core/src/spell/rune/affix_replacement.rs type AffixReplacement (line 7) | pub struct AffixReplacement { method to_human_readable (line 14) | pub fn to_human_readable(&self) -> HumanReadableAffixReplacement { type HumanReadableAffixReplacement (line 26) | pub struct HumanReadableAffixReplacement { method to_normal (line 33) | pub fn to_normal(&self) -> Result { FILE: harper-core/src/spell/rune/attribute_list.rs type AttributeList (line 20) | pub struct AttributeList { method into_human_readable (line 27) | fn into_human_readable(self) -> HumanReadableAttributeList { method parse (line 38) | pub fn parse(source: &str) -> Result { method expand_annotated_word (line 56) | pub fn expand_annotated_word(&self, annotated_word: AnnotatedWord, wor... method expand_annotated_words (line 209) | pub fn expand_annotated_words( method apply_replacement (line 219) | fn apply_replacement( type HumanReadableAttributeList (line 276) | pub struct HumanReadableAttributeList { method into_normal (line 282) | pub fn into_normal(self) -> Result { function proper_noun_property_propagates_to_plurals (line 301) | fn proper_noun_property_propagates_to_plurals() { function proper_noun_propagates_to_possessives_2327 (line 309) | fn proper_noun_propagates_to_possessives_2327() { FILE: harper-core/src/spell/rune/error.rs type Error (line 6) | pub enum Error { method from (line 28) | fn from(e: SerdeJsonError) -> Self { FILE: harper-core/src/spell/rune/expansion.rs type AffixEntryKind (line 9) | pub enum AffixEntryKind { type Expansion (line 16) | pub struct Expansion { method into_human_readable (line 30) | pub fn into_human_readable(self) -> HumanReadableExpansion { type MetadataExpansion (line 46) | pub struct MetadataExpansion { type HumanReadableExpansion (line 52) | pub struct HumanReadableExpansion { method into_normal (line 61) | pub fn into_normal(self) -> Result { type Property (line 79) | pub struct Property { FILE: harper-core/src/spell/rune/matcher.rs type Matcher (line 9) | pub struct Matcher { method parse (line 15) | pub fn parse(source: &str) -> Result { method len (line 54) | pub fn len(&self) -> usize { method matches (line 58) | pub fn matches(&self, chars: &[char]) -> bool { method fmt (line 74) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type Operator (line 105) | enum Operator { method matches (line 113) | fn matches(&self, a: char) -> bool { type Error (line 124) | pub enum Error { function parses_simple (line 134) | fn parses_simple() { function matches_vowels (line 148) | fn matches_vowels() { function round_trip (line 159) | fn round_trip() { FILE: harper-core/src/spell/rune/mod.rs constant TEST_WORD_LIST (line 24) | pub const TEST_WORD_LIST: &str = "4\nhello\ntry/B\nwork/AB\nblank/"; constant TEST_WORD_LIST_WITH_BLANK_LINES (line 26) | pub const TEST_WORD_LIST_WITH_BLANK_LINES: &str = "4\n\nhello\n\ntry/B\n... constant TEST_WORD_LIST_WITH_FULL_LINE_COMMENTS (line 28) | pub const TEST_WORD_LIST_WITH_FULL_LINE_COMMENTS: &str = constant TEST_WORD_LIST_WITH_COMMENTS (line 31) | pub const TEST_WORD_LIST_WITH_COMMENTS: &str = "4\nhello # a word ... function assert_expansion_results (line 78) | fn assert_expansion_results(test_word_list: &str, expected: Vec<&str>) { function correctly_expands_test_files (line 95) | fn correctly_expands_test_files() { function correctly_expands_test_files_with_blank_lines (line 105) | fn correctly_expands_test_files_with_blank_lines() { function correctly_expands_test_files_with_full_line_comments (line 114) | fn correctly_expands_test_files_with_full_line_comments() { function correctly_expands_test_files_with_comments (line 124) | fn correctly_expands_test_files_with_comments() { function plural_giants (line 148) | fn plural_giants() { FILE: harper-core/src/spell/rune/word_list.rs type AnnotatedWord (line 5) | pub struct AnnotatedWord { function parse_word_list (line 13) | pub fn parse_word_list(source: &str) -> Result, Error> { function can_parse_test_file (line 62) | fn can_parse_test_file() { FILE: harper-core/src/spell/trie_dictionary.rs type TrieDictionary (line 13) | pub struct TrieDictionary { function curated (line 24) | pub fn curated() -> Arc { function new (line 30) | pub fn new(inner: D) -> Self { method contains_word (line 38) | fn contains_word(&self, word: &[char]) -> bool { method contains_word_str (line 42) | fn contains_word_str(&self, word: &str) -> bool { method contains_exact_word (line 46) | fn contains_exact_word(&self, word: &[char]) -> bool { method contains_exact_word_str (line 50) | fn contains_exact_word_str(&self, word: &str) -> bool { method fuzzy_match (line 54) | fn fuzzy_match( method fuzzy_match_str (line 63) | fn fuzzy_match_str( method get_correct_capitalization_of (line 72) | fn get_correct_capitalization_of(&self, word: &[char]) -> Option<&'_ [ch... method get_word_metadata (line 76) | fn get_word_metadata(&self, word: &[char]) -> Option Option Box + Send + '_> { method word_count (line 88) | fn word_count(&self) -> usize { method get_word_from_id (line 92) | fn get_word_from_id(&self, id: &WordId) -> Option<&[char]> { method find_words_with_prefix (line 96) | fn find_words_with_prefix(&self, prefix: &[char]) -> Vec> { method find_words_with_common_prefix (line 102) | fn find_words_with_common_prefix(&self, word: &[char]) -> Vec) -> Self { method from_word_str (line 30) | pub fn from_word_str(text: impl AsRef) -> Self { FILE: harper-core/src/spell/word_map.rs type WordMap (line 9) | pub struct WordMap { method get_with_str (line 21) | pub fn get_with_str(&self, string: &str) -> Option<&WordMapEntry> { method contains_str (line 28) | pub fn contains_str(&self, string: &str) -> bool { method contains_chars (line 32) | pub fn contains_chars(&self, chars: impl AsRef<[char]>) -> bool { method contains (line 36) | pub fn contains(&self, id: &WordId) -> bool { method get_with_chars (line 41) | pub fn get_with_chars(&self, chars: impl AsRef<[char]>) -> Option<&Wor... method get (line 48) | pub fn get(&self, id: &WordId) -> Option<&WordMapEntry> { method get_metadata_mut_chars (line 53) | pub fn get_metadata_mut_chars( method get_metadata_mut (line 63) | pub fn get_metadata_mut(&mut self, id: &WordId) -> Option<&mut DictWor... method insert (line 67) | pub fn insert(&mut self, entry: WordMapEntry) { method reserve (line 76) | pub fn reserve(&mut self, additional: usize) { method iter (line 81) | pub fn iter(&self) -> impl Iterator { method len (line 85) | pub fn len(&self) -> usize { method with_capacity (line 89) | pub fn with_capacity(capacity: usize) -> Self { type WordMapEntry (line 14) | pub struct WordMapEntry { type Item (line 97) | type Item = WordMapEntry; method into_iter (line 99) | fn into_iter(self) -> Self::IntoIter { type IntoIter (line 103) | type IntoIter = IntoValues; FILE: harper-core/src/sync.rs type LSend (line 7) | pub trait LSend {} type LSend (line 13) | pub trait LSend: Send + Sync {} FILE: harper-core/src/thesaurus_helper.rs function get_synonyms (line 13) | pub fn get_synonyms(_word: &str) -> Option> { function get_synonyms_sorted (line 27) | pub fn get_synonyms_sorted(_word: &str, _token: &TokenKind) -> Option bool { function normal (line 181) | fn normal() { function complex (line 189) | fn complex() { function about_uppercase_with_numbers (line 202) | fn about_uppercase_with_numbers() { function pipe_does_not_cause_crash (line 210) | fn pipe_does_not_cause_crash() { function a_paragraph_does_not_cause_crash (line 218) | fn a_paragraph_does_not_cause_crash() { function tab_a_becomes_upcase (line 226) | fn tab_a_becomes_upcase() { function fixes_video_press (line 234) | fn fixes_video_press() { function a_stays_lowercase (line 242) | fn a_stays_lowercase(prefix: String, postfix: String) -> TestResult { function about_becomes_uppercase (line 264) | fn about_becomes_uppercase(prefix: String, postfix: String) -> TestResult { function first_word_is_upcase (line 286) | fn first_word_is_upcase(text: String) -> TestResult { function united_states (line 304) | fn united_states() { function keeps_decimal (line 312) | fn keeps_decimal() { function fixes_odd_capitalized_proper_nouns (line 324) | fn fixes_odd_capitalized_proper_nouns() { function fixes_your_correctly (line 336) | fn fixes_your_correctly() { function handles_old_man_and_the_sea (line 348) | fn handles_old_man_and_the_sea() { function handles_great_story_with_subtitle (line 360) | fn handles_great_story_with_subtitle() { function handles_lantern_and_moths (line 372) | fn handles_lantern_and_moths() { function handles_static_with_ghosts (line 384) | fn handles_static_with_ghosts() { function handles_glass_trembled_before_thunder (line 396) | fn handles_glass_trembled_before_thunder() { function handles_hepatitis_b_shots (line 408) | fn handles_hepatitis_b_shots() { function handles_trump_approval_rating (line 420) | fn handles_trump_approval_rating() { function handles_last_door (line 432) | fn handles_last_door() { function handles_midnight_river (line 440) | fn handles_midnight_river() { function handles_a_quiet_room (line 448) | fn handles_a_quiet_room() { function handles_broken_map (line 456) | fn handles_broken_map() { function handles_fire_in_autumn (line 464) | fn handles_fire_in_autumn() { function handles_hidden_path (line 472) | fn handles_hidden_path() { function handles_under_blue_skies (line 480) | fn handles_under_blue_skies() { function handles_lost_and_found (line 488) | fn handles_lost_and_found() { function handles_silent_watcher (line 496) | fn handles_silent_watcher() { function handles_winter_road (line 508) | fn handles_winter_road() { function maintains_same_apostrophe_type (line 516) | fn maintains_same_apostrophe_type() { function doesnt_lowercase_this_in_github_template_title (line 528) | fn doesnt_lowercase_this_in_github_template_title() { FILE: harper-core/src/token.rs type Token (line 7) | pub struct Token { method new (line 15) | pub fn new(span: Span, kind: TokenKind) -> Self { method to_fat (line 20) | pub fn to_fat(&self, source: &[char]) -> FatToken { function parses_sentences_correctly (line 38) | fn parses_sentences_correctly() { FILE: harper-core/src/token_kind.rs type TokenKind (line 36) | pub enum TokenKind { method get_pronoun_person (line 145) | pub fn get_pronoun_person(&self) -> Option { method is_preposition (line 153) | pub fn is_preposition(&self) -> bool { method is_common_word (line 162) | pub fn is_common_word(&self) -> bool { method is_np_member (line 170) | pub fn is_np_member(&self) -> bool { method is_oov (line 181) | pub fn is_oov(&self) -> bool { method is_cardinal_number (line 187) | pub fn is_cardinal_number(&self) -> bool { method is_ordinal_number (line 191) | pub fn is_ordinal_number(&self) -> bool { method is_open_square (line 203) | pub fn is_open_square(&self) -> bool { method is_close_square (line 207) | pub fn is_close_square(&self) -> bool { method is_less_than (line 211) | pub fn is_less_than(&self) -> bool { method is_greater_than (line 215) | pub fn is_greater_than(&self) -> bool { method is_open_round (line 219) | pub fn is_open_round(&self) -> bool { method is_close_round (line 223) | pub fn is_close_round(&self) -> bool { method is_pipe (line 227) | pub fn is_pipe(&self) -> bool { method is_currency (line 231) | pub fn is_currency(&self) -> bool { method is_ellipsis (line 235) | pub fn is_ellipsis(&self) -> bool { method is_hyphen (line 240) | pub fn is_hyphen(&self) -> bool { method is_plus (line 244) | pub fn is_plus(&self) -> bool { method is_quote (line 248) | pub fn is_quote(&self) -> bool { method is_apostrophe (line 252) | pub fn is_apostrophe(&self) -> bool { method is_period (line 256) | pub fn is_period(&self) -> bool { method is_at (line 260) | pub fn is_at(&self) -> bool { method is_comma (line 264) | pub fn is_comma(&self) -> bool { method is_semicolon (line 268) | pub fn is_semicolon(&self) -> bool { method is_acute (line 272) | pub fn is_acute(&self) -> bool { method is_ampersand (line 276) | pub fn is_ampersand(&self) -> bool { method is_backslash (line 280) | pub fn is_backslash(&self) -> bool { method is_slash (line 284) | pub fn is_slash(&self) -> bool { method is_percent (line 288) | pub fn is_percent(&self) -> bool { method is_word_like (line 296) | pub fn is_word_like(&self) -> bool { method is_chunk_terminator (line 307) | pub(crate) fn is_chunk_terminator(&self) -> bool { method is_sentence_terminator (line 323) | pub fn is_sentence_terminator(&self) -> bool { method is_case_separator (line 339) | pub fn is_case_separator(&self) -> bool { method is_whitespace (line 345) | pub fn is_whitespace(&self) -> bool { method is_upos (line 349) | pub fn is_upos(&self, upos: UPOS) -> bool { method matches_variant_of (line 361) | pub fn matches_variant_of(&self, other: &Self) -> bool { method with_default_data (line 368) | pub fn with_default_data(&self) -> Self { method blank_word (line 380) | pub fn blank_word() -> Self { method as_mut_quote (line 386) | pub fn as_mut_quote(&mut self) -> Option<&mut Quote> { method as_quote (line 390) | pub fn as_quote(&self) -> Option<&Quote> { function car_is_singular_noun (line 400) | fn car_is_singular_noun() { function traffic_is_mass_noun_only (line 407) | fn traffic_is_mass_noun_only() { function equipment_is_mass_noun (line 414) | fn equipment_is_mass_noun() { function equipment_is_non_countable_noun (line 421) | fn equipment_is_non_countable_noun() { function equipment_isnt_countable_noun (line 428) | fn equipment_isnt_countable_noun() { function oov_word_is_oov (line 435) | fn oov_word_is_oov() { function known_word_is_not_oov (line 442) | fn known_word_is_not_oov() { function non_word_tokens_are_not_oov (line 449) | fn non_word_tokens_are_not_oov() { FILE: harper-core/src/token_string_ext.rs type Sealed (line 53) | pub trait Sealed {} type TokenStringExt (line 61) | pub trait TokenStringExt: private::Sealed { method first_sentence_word (line 62) | fn first_sentence_word(&self) -> Option<&Token>; method first_non_whitespace (line 63) | fn first_non_whitespace(&self) -> Option<&Token>; method span (line 66) | fn span(&self) -> Option>; method get_rel (line 112) | fn get_rel(&self, index: isize) -> Option<&Token> method get_rel_slice (line 140) | fn get_rel_slice(&self, rel_start: isize, inclusive_end: isize) -> Opt... method iter_linking_verb_indices (line 171) | fn iter_linking_verb_indices(&self) -> impl Iterator + '_; method iter_linking_verbs (line 172) | fn iter_linking_verbs(&self) -> impl Iterator + '_; method iter_chunks (line 182) | fn iter_chunks(&self) -> impl Iterator + '_; method iter_paragraphs (line 186) | fn iter_paragraphs(&self) -> impl Iterator + '_; method iter_headings (line 192) | fn iter_headings(&self) -> impl Iterator + '_; method iter_sentences (line 196) | fn iter_sentences(&self) -> impl Iterator + '_; method iter_sentences_mut (line 200) | fn iter_sentences_mut(&mut self) -> impl Iterator Option<&Token> { method first_sentence_word (line 233) | fn first_sentence_word(&self) -> Option<&Token> { method span (line 243) | fn span(&self) -> Option> { method iter_linking_verb_indices (line 256) | fn iter_linking_verb_indices(&self) -> impl Iterator + '_ { method iter_linking_verbs (line 267) | fn iter_linking_verbs(&self) -> impl Iterator + '_ { method iter_chunks (line 271) | fn iter_chunks(&self) -> impl Iterator + '_ { method iter_paragraphs (line 275) | fn iter_paragraphs(&self) -> impl Iterator + '_ { method iter_headings (line 279) | fn iter_headings(&self) -> impl Iterator + '_ { method iter_sentences (line 290) | fn iter_sentences(&self) -> impl Iterator + '_ { method iter_sentences_mut (line 294) | fn iter_sentences_mut(&mut self) -> impl Iterator... FILE: harper-core/src/vec_ext.rs type Sealed (line 4) | pub trait Sealed {} type VecExt (line 10) | pub trait VecExt: private::Sealed { method remove_indices (line 13) | fn remove_indices(&mut self, to_remove: VecDeque); method remove_indices (line 17) | fn remove_indices(&mut self, mut to_remove: VecDeque) { function removes_requested_indices (line 46) | fn removes_requested_indices() { FILE: harper-core/src/weir/ast.rs type Ast (line 13) | pub struct Ast { method new (line 19) | pub fn new(stmts: Vec) -> Self { method get_variable_value (line 24) | pub fn get_variable_value(&self, var_name: &str) -> Option<&'_ AstVari... method get_expr (line 36) | pub fn get_expr(&self, expr_name: &str) -> Option<&'_ AstExprNode> { method iter_variable_values (line 48) | pub fn iter_variable_values(&self) -> impl Iterator impl Iterator { method iter_exprs (line 71) | pub fn iter_exprs(&self) -> impl Iterator { type AstExprNode (line 84) | pub enum AstExprNode { method to_expr (line 104) | pub fn to_expr( type AstVariable (line 162) | pub enum AstVariable { method create_string (line 168) | pub fn create_string(val: impl ToString) -> Self { type AstStmtNode (line 175) | pub enum AstStmtNode { method create_declare_variable (line 184) | pub fn create_declare_variable(name: impl ToString, value: AstVariable... method create_set_expr (line 191) | pub fn create_set_expr(name: impl ToString, value: AstExprNode) -> Self { method create_test (line 198) | pub fn create_test(expect: impl ToString, to_be: impl ToString) -> Self { method create_allow_test (line 205) | pub fn create_allow_test(value: impl ToString) -> Self { FILE: harper-core/src/weir/error.rs type Error (line 4) | pub enum Error { FILE: harper-core/src/weir/mod.rs function weir_expr_to_expr (line 27) | pub(crate) fn weir_expr_to_expr(weir_code: &str) -> Result... type ReplacementStrategy (line 33) | enum ReplacementStrategy { type TestResult (line 39) | pub struct TestResult { type WeirLinter (line 44) | pub struct WeirLinter { method new (line 55) | pub fn new(weir_code: &str) -> Result { method count_tests (line 141) | pub fn count_tests(&self) -> usize { method run_tests (line 146) | pub fn run_tests(&mut self) -> Vec { type Unit (line 269) | type Unit = Chunk; method expr (line 271) | fn expr(&self) -> &dyn Expr { method match_to_lint (line 275) | fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Op... method description (line 301) | fn description(&self) -> &str { function resolve_exprs (line 306) | fn resolve_exprs(ast: &Ast) -> Result>... function assert_passes_all (line 326) | pub fn assert_passes_all(linter: &mut WeirLinter) { function simple_right_click_linter (line 331) | fn simple_right_click_linter() { function g_suite (line 357) | fn g_suite() { function g_suite_with_refs (line 381) | fn g_suite_with_refs() { function fails_on_unresolved_expr (line 407) | fn fails_on_unresolved_expr() { function wildcard (line 426) | fn wildcard() { function dashes (line 446) | fn dashes() { function fails_on_ignore_test (line 467) | fn fails_on_ignore_test() { function errors_properly_with_missing_expr (line 485) | fn errors_properly_with_missing_expr() { function does_not_panic (line 492) | fn does_not_panic(s: String) { FILE: harper-core/src/weir/optimize.rs function optimize (line 5) | pub fn optimize(stmts: &mut Vec) -> bool { function optimize_expr (line 21) | pub fn optimize_expr(ast: &mut AstExprNode) -> bool { FILE: harper-core/src/weir/parsing/expr.rs function parse_expr_str (line 12) | pub fn parse_expr_str(weir_code: &str, use_optimizer: bool) -> Result Result Result Vec { type FoundNode (line 24) | struct FoundNode { function new (line 32) | pub fn new(node: T, next_idx: usize) -> Self { function parse_collection (line 39) | fn parse_collection( function locate_matching_brace (line 77) | fn locate_matching_brace( function inc_by_spaces (line 106) | fn inc_by_spaces(cursor: &mut usize, tokens: &[Token]) { function inc_by_whitespace (line 117) | fn inc_by_whitespace(cursor: &mut usize, tokens: &[Token]) { function expected_space (line 130) | fn expected_space(cursor: usize, tokens: &[Token], source: &[char]) -> R... FILE: harper-core/src/weir/parsing/stmt.rs function parse_str (line 20) | pub fn parse_str(weir_code: &str, use_optimizer: bool) -> Result Result Result Result Self { method from_reader (line 38) | pub fn from_reader(reader: impl Read) -> Result { method write_to (line 46) | pub fn write_to(&self, writer: impl Write) -> Result<(), Error> { method get_field (line 53) | pub fn get_field(&self, key: &str) -> Option<&Value> { method set_field (line 58) | pub fn set_field(&mut self, key: impl Into, value: Value) { method required_str (line 67) | fn required_str(&self, key: &'static str) -> Result<&str, Error> { method validate_required (line 75) | fn validate_required(&self) -> Result<(), Error> { FILE: harper-core/src/weirpack/mod.rs type Weirpack (line 22) | pub struct Weirpack { method new (line 29) | pub fn new(manifest: WeirpackManifest) -> Self { method add_rule (line 37) | pub fn add_rule(&mut self, name: impl Into, rule: impl Into Option { method run_tests (line 47) | pub fn run_tests(&self) -> Result>, Er... method to_lint_group (line 63) | pub fn to_lint_group(&self) -> Result { method from_reader (line 76) | pub fn from_reader(mut reader: impl Read) -> Result { method write_to (line 83) | pub fn write_to(&self, mut writer: impl Write) -> Result<(), Error> { method from_bytes (line 90) | pub fn from_bytes(bytes: &[u8]) -> Result { method to_bytes (line 138) | pub fn to_bytes(&self) -> Result, Error> { function round_trip_weirpack_bytes (line 168) | fn round_trip_weirpack_bytes() { FILE: harper-core/tests/linters.rs type LinePos (line 20) | struct LinePos { type Lines (line 27) | struct Lines<'a> { function new (line 32) | fn new(source: &'_ str) -> Lines<'_> { function len (line 46) | fn len(&self) -> usize { function get_pos (line 50) | fn get_pos(&self, offset: usize) -> LinePos { type Output (line 63) | type Output = &'a str; function index (line 65) | fn index(&self, index: usize) -> &Self::Output { function print_error (line 70) | fn print_error(lines: &Lines, start: usize, end: usize, message: &str) -... function test_most_lints (line 192) | fn test_most_lints() { FILE: harper-core/tests/pos_tags.rs function format_word_tag (line 90) | fn format_word_tag(word: &DictWordMetadata) -> String { function get_dialect_annotations (line 246) | fn get_dialect_annotations(word: &DictWordMetadata) -> Vec<&'static str> { function format_tag (line 282) | fn format_tag(kind: &TokenKind) -> Cow<'static, str> { type Formatter (line 309) | struct Formatter { constant LINE1_PREFIX (line 315) | const LINE1_PREFIX: &'static str = "> "; constant LINE2_PREFIX (line 316) | const LINE2_PREFIX: &'static str = "# "; method new (line 317) | fn new() -> Self { method add (line 325) | fn add(&mut self, token: &str, tag: &str) { method new_line (line 346) | fn new_line(&mut self) { method finish (line 359) | fn finish(mut self) -> String { function test_pos_tagger (line 366) | fn test_pos_tagger() { FILE: harper-core/tests/snapshot.rs function get_tests_dir (line 10) | fn get_tests_dir() -> PathBuf { function get_text_dir (line 13) | fn get_text_dir() -> PathBuf { function try_get_dialect_override (line 20) | fn try_get_dialect_override(path: &Path) -> Option { function get_text_files (line 29) | pub fn get_text_files() -> Vec { function tag_file (line 48) | fn tag_file( function get_snapshot_file (line 75) | fn get_snapshot_file(text_file: &Path, snapshot_dir: &Path, ext: &str) -... function snapshot_all_text_files (line 80) | pub fn snapshot_all_text_files( FILE: harper-html/src/lib.rs type HtmlParser (line 6) | pub struct HtmlParser { method node_condition (line 12) | fn node_condition(n: &Node) -> bool { method default (line 18) | fn default() -> Self { method parse (line 29) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-ink/src/lib.rs type InkParser (line 6) | pub struct InkParser { method node_condition (line 11) | fn node_condition(n: &Node) -> bool { method default (line 17) | fn default() -> Self { method parse (line 28) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-jjdescription/src/lib.rs type JJDescriptionParser (line 6) | pub struct JJDescriptionParser { method node_condition (line 12) | fn node_condition(n: &Node) -> bool { method new (line 16) | pub fn new(markdown_options: MarkdownOptions) -> Self { method parse (line 27) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-literate-haskell/src/lib.rs type LiterateHaskellParser (line 13) | pub struct LiterateHaskellParser { method new (line 18) | pub fn new(inner: Lrc) -> Self { method new_markdown (line 22) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method create_ident_dict (line 28) | pub fn create_ident_dict( method parse (line 45) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-literate-haskell/src/masker.rs type LiterateHaskellMasker (line 6) | pub struct LiterateHaskellMasker { method text_only (line 12) | pub fn text_only() -> Self { method code_only (line 19) | pub fn code_only() -> Self { method create_mask (line 28) | fn create_mask(&self, source: &[char]) -> harper_core::Mask { function bird_format (line 87) | fn bird_format() { function latex_format (line 119) | fn latex_format() { FILE: harper-ls/src/backend.rs function ls_version (line 49) | pub fn ls_version() -> &'static str { type Backend (line 53) | pub struct Backend { method new (line 62) | pub fn new(client: Client, config: Config) -> Self { method load_file_dictionary (line 73) | async fn load_file_dictionary(&self, uri: &Uri) -> anyhow::Result anyhow::Result Result { method get_file_dict_path (line 131) | async fn get_file_dict_path(&self, uri: &Uri) -> anyhow::Result MutableDictionary { method save_user_dictionary (line 157) | async fn save_user_dictionary(&self, dict: impl Dictionary) -> Result<... method load_workspace_dictionary (line 165) | async fn load_workspace_dictionary(&self) -> MutableDictionary { method save_workspace_dictionary (line 176) | async fn save_workspace_dictionary(&self, dict: impl Dictionary) -> Re... method save_stats (line 183) | async fn save_stats(&self) -> Result<()> { method generate_global_dictionary (line 203) | async fn generate_global_dictionary(&self) -> Result { method generate_file_dictionary (line 213) | async fn generate_file_dictionary(&self, uri: &Uri) -> Result Vec { method publish_diagnostics (line 457) | async fn publish_diagnostics(&self, uri: &Uri) { method update_config_from_obj (line 473) | async fn update_config_from_obj(&self, json_obj: Value) { method pull_config (line 482) | async fn pull_config(&self) { method initialize (line 499) | async fn initialize(&self, params: InitializeParams) -> JsonResult JsonRes... method did_change_configuration (line 810) | async fn did_change_configuration(&self, params: DidChangeConfigurationP... method code_action (line 835) | async fn code_action( method shutdown (line 846) | async fn shutdown(&self) -> JsonResult<()> { FILE: harper-ls/src/config.rs type DiagnosticSeverity (line 13) | pub enum DiagnosticSeverity { method to_lsp (line 22) | pub fn to_lsp(self) -> tower_lsp_server::lsp_types::DiagnosticSeverity { type CodeActionConfig (line 37) | pub struct CodeActionConfig { method from_lsp_config (line 47) | pub fn from_lsp_config(value: Value) -> Result { type Config (line 66) | pub struct Config { method from_lsp_config (line 85) | pub fn from_lsp_config(workspace_root: &Path, value: Value) -> Result<... method default (line 212) | fn default() -> Self { FILE: harper-ls/src/diagnostics.rs function lints_to_diagnostics (line 15) | pub fn lints_to_diagnostics<'a>( function lint_to_code_actions (line 30) | pub fn lint_to_code_actions<'a>( function lint_to_diagnostic (line 123) | fn lint_to_diagnostic( FILE: harper-ls/src/dictionary_io.rs function save_dict (line 12) | pub async fn save_dict(path: impl AsRef, dict: impl Dictionary) ->... function write_word_list (line 27) | async fn write_word_list(dict: impl Dictionary, mut w: impl AsyncWrite +... function load_dict (line 42) | pub async fn load_dict(path: impl AsRef, dialect: Dialect) -> Resu... function dict_from_word_list (line 52) | async fn dict_from_word_list( constant TEST_UNSORTED_WORDS (line 80) | const TEST_UNSORTED_WORDS: [&str; 10] = [ constant TEST_SORTED_WORDS (line 92) | const TEST_SORTED_WORDS: [&str; 10] = [ function get_test_unsorted_dict (line 106) | fn get_test_unsorted_dict() -> MutableDictionary { function writes_sorted_word_list (line 116) | async fn writes_sorted_word_list() { FILE: harper-ls/src/document_state.rs type DocumentState (line 10) | pub struct DocumentState { method ignore_lint (line 21) | pub fn ignore_lint(&mut self, lint: &Lint) { method generate_diagnostics (line 25) | pub fn generate_diagnostics(&mut self, severity: DiagnosticSeverity) -... method generate_code_actions (line 49) | pub fn generate_code_actions( method default (line 97) | fn default() -> Self { FILE: harper-ls/src/git_commit_parser.rs type GitCommitParser (line 6) | pub struct GitCommitParser { method new (line 11) | pub fn new(parser: Lrc) -> Self { method new_markdown (line 15) | pub fn new_markdown(markdown_options: MarkdownOptions) -> Self { method parse (line 23) | fn parse(&self, source: &[char]) -> Vec { FILE: harper-ls/src/ignored_lints_io.rs function save_ignored_lints (line 12) | pub async fn save_ignored_lints( function load_ignored_lints (line 32) | pub async fn load_ignored_lints(path: impl AsRef) -> Result anyhow::Result { FILE: harper-ls/src/main.rs type Args (line 31) | struct Args { function main (line 40) | async fn main() -> anyhow::Result<()> { FILE: harper-ls/src/pos_conv.rs function span_to_range (line 7) | pub fn span_to_range(source: &[char], span: Span) -> Range { function index_to_position (line 14) | fn index_to_position(source: &[char], index: usize) -> Position { function position_to_index (line 42) | fn position_to_index(source: &[char], position: Position) -> usize { function range_to_span (line 79) | pub fn range_to_span(source: &[char], range: Range) -> Span { function first_line_correct (line 93) | fn first_line_correct() { function reversible_position_conv (line 111) | fn reversible_position_conv() { function end_of_line (line 134) | fn end_of_line() { function end_of_file (line 146) | fn end_of_file() { function issue_250 (line 158) | fn issue_250() { function pos_to_index_correct_for_l1_c0 (line 181) | fn pos_to_index_correct_for_l1_c0() { function pos_to_index_off_by_one_check_l0_c0 (line 194) | fn pos_to_index_off_by_one_check_l0_c0() { function pos_to_index_off_by_one_check_l2_c1 (line 208) | fn pos_to_index_off_by_one_check_l2_c1() { function pos_to_index_newline_only_l0_c0 (line 222) | fn pos_to_index_newline_only_l0_c0() { function pos_to_index_newlines_only_l7_c0 (line 236) | fn pos_to_index_newlines_only_l7_c0() { function pos_to_index_out_of_bounds_char (line 250) | fn pos_to_index_out_of_bounds_char() { FILE: harper-pos-utils/src/chunker/brill_chunker/mod.rs type BrillChunker (line 22) | pub struct BrillChunker { method new (line 28) | pub fn new(base: UPOSFreqDict) -> Self { method apply_patches (line 35) | fn apply_patches(&self, sentence: &[String], tags: &[Option], np... method count_patch_errors (line 65) | pub fn count_patch_errors( method count_chunk_errors (line 87) | pub fn count_chunk_errors( method epoch (line 110) | fn epoch(&mut self, training_files: &[impl AsRef], candidate_sel... method score_candidate (line 235) | fn score_candidate( method train (line 256) | pub fn train( method chunk_sentence (line 49) | fn chunk_sentence(&self, sentence: &[String], tags: &[Option]) -> ... type CandidateArgs (line 59) | type CandidateArgs = (Vec, Vec>, Vec); FILE: harper-pos-utils/src/chunker/brill_chunker/patch.rs type Patch (line 8) | pub struct Patch { method generate_candidate_patches (line 15) | pub fn generate_candidate_patches(relevant_words: &WordCounter) -> Vec... FILE: harper-pos-utils/src/chunker/burn_chunker.rs constant UNK_IDX (line 24) | const UNK_IDX: usize = 1; type NpModel (line 27) | struct NpModel { function new (line 36) | fn new(vocab: usize, word_embed_dim: usize, dropout: f32, device: &B::De... function forward (line 50) | fn forward( type BurnChunker (line 79) | pub struct BurnChunker { function idx (line 86) | fn idx(&self, tok: &str) -> usize { function to_tensors (line 90) | fn to_tensors( function save_to (line 114) | pub fn save_to(&self, dir: impl AsRef) { function load_from_bytes (line 128) | pub fn load_from_bytes( type ExtractedSentences (line 154) | struct ExtractedSentences( function to_label (line 163) | fn to_label(&self, labels: &[bool]) -> Tensor { function train (line 170) | pub fn train( function score_model (line 263) | fn score_model(&self, model: &NpModel, dataset: &impl AsRef) ->... function extract_sents_from_files (line 287) | fn extract_sents_from_files(files: &[impl AsRef]) -> ExtractedSent... type BurnChunkerCpu (line 347) | pub type BurnChunkerCpu = BurnChunker>; method load_from_bytes_cpu (line 353) | pub fn load_from_bytes_cpu( method train_cpu (line 371) | pub fn train_cpu( type BurnChunkerCpu (line 350) | pub type BurnChunkerCpu = BurnChunker; method load_from_bytes_cpu (line 353) | pub fn load_from_bytes_cpu( method train_cpu (line 371) | pub fn train_cpu( method chunk_sentence (line 392) | fn chunk_sentence(&self, sentence: &[String], tags: &[Option]) -> ... FILE: harper-pos-utils/src/chunker/cached_chunker.rs type CachedChunker (line 11) | pub struct CachedChunker { function new (line 17) | pub fn new(inner: C, capacity: NonZeroUsize) -> Self { method chunk_sentence (line 26) | fn chunk_sentence(&self, sentence: &[String], tags: &[Option]) -> ... type CacheKey (line 49) | struct CacheKey { method new (line 55) | fn new(sentence: &[String], tags: &[Option]) -> Self { FILE: harper-pos-utils/src/chunker/mod.rs type Chunker (line 17) | pub trait Chunker { method chunk_sentence (line 21) | fn chunk_sentence(&self, sentence: &[String], tags: &[Option]) -... FILE: harper-pos-utils/src/chunker/np_extraction.rs function locate_noun_phrases_in_sent (line 8) | pub fn locate_noun_phrases_in_sent(sent: &Sentence) -> Vec) -> bool { function reduce_to_maximal_nonoverlapping (line 33) | fn reduce_to_maximal_nonoverlapping(mut phrases: Vec>) ->... function locate_noun_phrase_with_head_at (line 48) | fn locate_noun_phrase_with_head_at(head_index: usize, sent: &Sentence) -... function is_root_upos (line 69) | fn is_root_upos(upos: UPOS) -> bool { function get_children (line 75) | fn get_children(sent: &Sentence, of_node: usize) -> Vec { function is_noun_phrase_constituent (line 99) | fn is_noun_phrase_constituent(token: &Token) -> bool { FILE: harper-pos-utils/src/chunker/upos_freq_dict.rs type UPOSFreqDict (line 14) | pub struct UPOSFreqDict { method is_likely_np_component (line 21) | pub fn is_likely_np_component(&self, upos: &UPOS) -> bool { method inc_is_np (line 41) | pub fn inc_is_np(&mut self, upos: UPOS, is_np: bool) { method inc_from_conllu_file (line 50) | pub fn inc_from_conllu_file(&mut self, path: impl AsRef) { method chunk_sentence (line 27) | fn chunk_sentence(&self, _sentence: &[String], tags: &[Option]) ->... FILE: harper-pos-utils/src/conllu_utils.rs function iter_sentences_in_conllu (line 7) | pub fn iter_sentences_in_conllu(path: impl AsRef) -> impl Iterator... FILE: harper-pos-utils/src/patch_criteria.rs type PatchCriteria (line 6) | pub enum PatchCriteria { method fulfils (line 37) | pub fn fulfils( function add (line 120) | fn add(u: usize, i: isize) -> Option { FILE: harper-pos-utils/src/tagger/brill_tagger/mod.rs type BrillTagger (line 23) | pub struct BrillTagger function new (line 35) | pub fn new(base: B) -> Self { function apply_patches (line 42) | fn apply_patches(&self, sentence: &[String], tags: &mut [Option]) { method tag_sentence (line 63) | fn tag_sentence(&self, sentence: &[String]) -> Vec> { function locate_patch_errors (line 75) | pub fn locate_patch_errors( function locate_tag_errors (line 103) | pub fn locate_tag_errors( function epoch (line 133) | fn epoch(&mut self, training_files: &[impl AsRef], candidate_selec... function score_candidate (line 236) | fn score_candidate( function train (line 262) | pub fn train( FILE: harper-pos-utils/src/tagger/brill_tagger/patch.rs type Patch (line 9) | pub struct Patch { method generate_candidate_patches (line 19) | pub fn generate_candidate_patches(error_counter: &ErrorCounter) -> Vec... method gen_simple_candidates (line 52) | fn gen_simple_candidates() -> Vec { FILE: harper-pos-utils/src/tagger/error_counter.rs type ErrorKind (line 6) | pub struct ErrorKind { type ErrorCounter (line 12) | pub struct ErrorCounter { method new (line 19) | pub fn new() -> Self { method inc (line 24) | pub fn inc(&mut self, kind: ErrorKind, word: &str) { method merge_from (line 32) | pub fn merge_from(&mut self, other: Self) { method total_errors (line 49) | pub fn total_errors(&self) -> usize { FILE: harper-pos-utils/src/tagger/freq_dict.rs type FreqDict (line 10) | pub struct FreqDict { method get (line 15) | pub fn get(&self, word: &str) -> Option { method tag_sentence (line 22) | fn tag_sentence(&self, sentence: &[String]) -> Vec> { FILE: harper-pos-utils/src/tagger/freq_dict_builder.rs type FreqDictBuilder (line 12) | pub struct FreqDictBuilder { method new (line 17) | pub fn new() -> Self { method inc (line 21) | pub fn inc(&mut self, word: &str, tag: &UPOS) { method most_freq_pos (line 40) | fn most_freq_pos(&self, word: &str) -> Option { method inc_from_conllu_file (line 62) | pub fn inc_from_conllu_file(&mut self, path: impl AsRef) { method build (line 74) | pub fn build(self) -> FreqDict { type FreqDictBuilderKey (line 90) | struct FreqDictBuilderKey { function equivalent (line 96) | fn equivalent(&self, key: &FreqDictBuilderKey) -> bool { FILE: harper-pos-utils/src/tagger/mod.rs type Tagger (line 15) | pub trait Tagger { method tag_sentence (line 16) | fn tag_sentence(&self, sentence: &[String]) -> Vec>; FILE: harper-pos-utils/src/upos.rs type UPOS (line 25) | pub enum UPOS { method from_conllu (line 62) | pub fn from_conllu(other: rs_conllu::UPOS) -> Option { method is_nominal (line 84) | pub fn is_nominal(&self) -> bool { method fmt (line 90) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: harper-pos-utils/src/word_counter.rs type WordCounter (line 4) | pub struct WordCounter { method new (line 10) | pub fn new() -> Self { method inc (line 15) | pub fn inc(&mut self, word: &str) { method iter_top_n_words (line 23) | pub fn iter_top_n_words(&self, n: usize) -> impl Iterator bool { method default (line 29) | fn default() -> Self { method parse (line 40) | fn parse(&self, source: &[char]) -> Vec { function parent_is_expression_statement (line 63) | fn parent_is_expression_statement<'a>(node: &Node<'a>) -> Option bool { function is_fn_or_class_docstrings (line 77) | fn is_fn_or_class_docstrings(expr_stmt: &Node) -> bool { function is_attribute_docstring (line 87) | fn is_attribute_docstring(expr_stmt: &Node) -> bool { FILE: harper-python/tests/test_sources/comments.py function main (line 6) | def main(): FILE: harper-python/tests/test_sources/docstrings.py function main (line 2) | def main(): class Main (line 6) | class Main: method __init__ (line 9) | def __init__(self): function multiline_docstring (line 15) | def multiline_docstring(action_name: str): FILE: harper-python/tests/test_sources/field_docstrings.py class Result (line 1) | class Result: FILE: harper-stats/src/lib.rs type Stats (line 16) | pub struct Stats { method new (line 21) | pub fn new() -> Self { method summarize (line 28) | pub fn summarize(&self) -> Summary { method write (line 53) | pub fn write(&self, w: &mut impl Write) -> io::Result<()> { method read (line 66) | pub fn read(r: &mut impl Read) -> io::Result { method default (line 82) | fn default() -> Self { FILE: harper-stats/src/record.rs type Record (line 9) | pub struct Record { method now (line 18) | pub fn now(kind: RecordKind) -> Self { type RecordKind (line 28) | pub enum RecordKind { method from_lint (line 37) | pub fn from_lint(lint: &Lint, doc: &Document) -> Self { FILE: harper-stats/src/summary.rs type Summary (line 7) | pub struct Summary { method new (line 16) | pub fn new() -> Self { method inc_lint_count (line 21) | pub fn inc_lint_count(&mut self, kind: LintKind) { method inc_misspelled_count (line 30) | pub fn inc_misspelled_count(&mut self, word: impl AsRef) { method get_count (line 39) | pub fn get_count(&self, kind: LintKind) -> u32 { method fmt (line 45) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: harper-tex/src/lib.rs type TeX (line 13) | pub struct TeX { method default (line 18) | fn default() -> Self { method parse (line 26) | fn parse(&self, source: &[char]) -> Vec { function collapse_tex_dashes (line 32) | fn collapse_tex_dashes(tokens: Vec) -> Vec { function ignores_comment_characters (line 91) | fn ignores_comment_characters() { function passes_comment_characters_preceded_by_backslash (line 107) | fn passes_comment_characters_preceded_by_backslash() { function parses_triple_hyphen_as_em_dash (line 123) | fn parses_triple_hyphen_as_em_dash() { function parses_double_hyphen_as_en_dash (line 140) | fn parses_double_hyphen_as_en_dash() { FILE: harper-tex/src/masker.rs type Masker (line 6) | pub struct Masker {} method create_mask (line 9) | fn create_mask(&self, source: &[char]) -> Mask { function math_mode_at_cursor (line 59) | fn math_mode_at_cursor(cursor: usize, source: &[char]) -> Option { function command_at_cursor (line 76) | fn command_at_cursor(cursor: usize, source: &[char], actions: &mut VecDe... function equation_at_cursor (line 123) | fn equation_at_cursor(cursor: usize, source: &[char]) -> Option { type CommandComponents (line 159) | struct CommandComponents<'a> { function deconstruct_command (line 171) | fn deconstruct_command<'a>(source: &'a [char]) -> Option &'static Thesaurus { function word_freq_map (line 20) | fn word_freq_map() -> &'static HashMap { type Thesaurus (line 31) | pub struct Thesaurus { method new (line 39) | fn new() -> Thesaurus { method get_synonyms (line 72) | pub fn get_synonyms(&self, word: &str) -> Option> { method get_synonyms_freq_sorted (line 87) | pub fn get_synonyms_freq_sorted(&self, word: &str) -> Option> { type DedupedWordSetExt (line 98) | trait DedupedWordSetExt { method get_or_insert_word (line 102) | fn get_or_insert_word(&mut self, word: &str) -> usize; method get_or_insert_word (line 105) | fn get_or_insert_word(&mut self, word: &str) -> usize { function great_is_synonym_of_large (line 118) | fn great_is_synonym_of_large() { FILE: harper-tree-sitter/src/lib.rs type TreeSitterMasker (line 9) | pub struct TreeSitterMasker { method new (line 15) | pub fn new(language: Language, node_condition: fn(&Node) -> bool) -> S... method parse_root (line 22) | fn parse_root(&self, text: &str) -> Option { method create_ident_dict (line 30) | pub fn create_ident_dict(&self, source: &[char]) -> Option Mask { function byte_spans_to_char_spans (line 123) | fn byte_spans_to_char_spans(mut byte_spans: Vec>, source: &str)... FILE: harper-typst/src/lib.rs type Typst (line 14) | pub struct Typst; method parse (line 17) | fn parse(&self, source: &[char]) -> Vec { function convert_parbreaks (line 39) | fn convert_parbreaks<'a>(buf: &'a mut Vec, exprs: &'a [Expr]... function issue_1898 (line 84) | fn issue_1898() { FILE: harper-typst/src/offset_cursor.rs type OffsetCursor (line 7) | pub struct OffsetCursor<'a> { function new (line 14) | pub fn new(doc: &'a Source) -> Self { function push_to (line 23) | pub fn push_to(self, new_byte: usize) -> Option { function push_to_span (line 39) | pub fn push_to_span(self, span: typst_syntax::Span) -> Option { FILE: harper-typst/src/typst_translator.rs type TypstTranslator (line 44) | pub struct TypstTranslator<'a> { function new (line 49) | pub fn new(doc: &'a Source) -> Self { function parse_exprs (line 53) | pub fn parse_exprs(self, exprs: &[Expr]) -> Vec { function parse_contraction (line 75) | fn parse_contraction(self, exprs: &[Expr], index: usize) -> Option<(Vec<... function parse_english (line 112) | fn parse_english(self, str: impl Into, offset: OffsetCursor) -> ... function parse_pattern (line 126) | fn parse_pattern(self, pat: Pattern, offset: OffsetCursor) -> Option Option Option Option Box { type Dialect (line 75) | pub enum Dialect { function from (line 84) | fn from(dialect: Dialect) -> Self { type Linter (line 96) | pub struct Linter { method new (line 119) | pub fn new(dialect: Dialect) -> Self { method synchronize_lint_dict (line 135) | fn synchronize_lint_dict(&mut self) { method construct_merged_dict (line 145) | fn construct_merged_dict(user_dictionary: MutableDictionary) -> Arc bool { method isolate_english (line 161) | pub fn isolate_english(&self, text: String) -> String { method get_lint_descriptions_html_as_json (line 172) | pub fn get_lint_descriptions_html_as_json(&self) -> String { method get_lint_descriptions_html_as_object (line 177) | pub fn get_lint_descriptions_html_as_object(&self) -> JsValue { method get_lint_descriptions_as_json (line 186) | pub fn get_lint_descriptions_as_json(&self) -> String { method get_lint_descriptions_as_object (line 191) | pub fn get_lint_descriptions_as_object(&self) -> JsValue { method get_lint_config_as_json (line 199) | pub fn get_lint_config_as_json(&self) -> String { method set_lint_config_from_json (line 203) | pub fn set_lint_config_from_json(&mut self, json: String) -> Result<()... method summarize_stats (line 208) | pub fn summarize_stats(&self, start_time: Option, end_time: Optio... method get_lint_config_as_object (line 225) | pub fn get_lint_config_as_object(&self) -> JsValue { method set_lint_config_from_object (line 232) | pub fn set_lint_config_from_object(&mut self, object: JsValue) -> Resu... method ignore_lint (line 238) | pub fn ignore_lint(&mut self, source_text: String, lint: Lint) { method ignore_hash (line 251) | pub fn ignore_hash(&mut self, hash: u64) { method context_hash (line 256) | pub fn context_hash(&self, source_text: String, lint: &Lint) -> u64 { method organized_lints (line 269) | pub fn organized_lints( method lint (line 329) | pub fn lint( method export_ignored_lints (line 377) | pub fn export_ignored_lints(&self) -> String { method import_ignored_lints (line 382) | pub fn import_ignored_lints(&mut self, json: String) -> Result<(), Str... method clear_ignored_lints (line 390) | pub fn clear_ignored_lints(&mut self) { method clear_words (line 395) | pub fn clear_words(&mut self) { method import_words (line 401) | pub fn import_words(&mut self, additional_words: Vec) { method export_words (line 423) | pub fn export_words(&mut self) -> Vec { method get_dialect (line 431) | pub fn get_dialect(&self) -> Dialect { method apply_suggestion (line 437) | pub fn apply_suggestion( method generate_stats_file (line 460) | pub fn generate_stats_file(&self) -> String { method import_stats_file (line 467) | pub fn import_stats_file(&mut self, file: String) -> Result<(), String> { method import_weirpack (line 479) | pub fn import_weirpack(&mut self, bytes: Vec) -> Result String { type Suggestion (line 519) | pub struct Suggestion { method new (line 537) | pub(crate) fn new(inner: harper_core::linting::Suggestion) -> Self { method get_replacement_text (line 544) | pub fn get_replacement_text(&self) -> String { method kind (line 552) | pub fn kind(&self) -> SuggestionKind { type SuggestionKind (line 526) | pub enum SuggestionKind { type Lint (line 566) | pub struct Lint { method new (line 577) | pub(crate) fn new( method get_problem_text (line 592) | pub fn get_problem_text(&self) -> String { method lint_kind (line 597) | pub fn lint_kind(&self) -> String { method lint_kind_pretty (line 602) | pub fn lint_kind_pretty(&self) -> String { method suggestion_count (line 607) | pub fn suggestion_count(&self) -> usize { method suggestions (line 612) | pub fn suggestions(&self) -> Vec { method span (line 621) | pub fn span(&self) -> Span { method message (line 626) | pub fn message(&self) -> String { method message_html (line 631) | pub fn message_html(&self) -> String { function char_idx_to_js_str_idx (line 637) | fn char_idx_to_js_str_idx(char_idx: usize, char_str: &[char]) -> usize { function get_default_lint_config_as_json (line 644) | pub fn get_default_lint_config_as_json() -> String { function get_default_lint_config (line 652) | pub fn get_default_lint_config() -> JsValue { type Span (line 665) | pub struct Span { method new (line 672) | pub fn new(start: usize, end: usize) -> Self { method is_empty (line 676) | pub fn is_empty(&self) -> bool { method len (line 680) | pub fn len(&self) -> usize { method to_js_indices (line 686) | pub fn to_js_indices(&self, source: &[char]) -> Self { method from (line 701) | fn from(value: harper_core::Span) -> Self { function from (line 695) | fn from(value: Span) -> Self { type OrganizedGroup (line 709) | pub struct OrganizedGroup { function get_mem_usage_of_process (line 725) | fn get_mem_usage_of_process(sys: &mut System, pid: Pid) -> Option { function issue_2216 (line 737) | fn issue_2216() { function no_memory_leak_with_repeated_lints (line 749) | fn no_memory_leak_with_repeated_lints() { FILE: packages/chrome-plugin/public/google-docs-bridge-request-handler.js constant PROTOCOL_VERSION (line 11) | const PROTOCOL_VERSION = 'harper-gdocs-bridge/v1'; constant EVENT_REQUEST (line 12) | const EVENT_REQUEST = 'harper:gdocs:request'; constant EVENT_RESPONSE (line 13) | const EVENT_RESPONSE = 'harper:gdocs:response'; class GoogleDocsBridgeRequestHandler (line 31) | class GoogleDocsBridgeRequestHandler { method constructor (line 38) | constructor(handlers) { method start (line 43) | start() { method stop (line 47) | stop() { method onRequestEvent (line 54) | async onRequestEvent(event) { method sendResponse (line 95) | sendResponse(requestId, response) { method sendErrorResponse (line 111) | sendErrorResponse(requestId, requestKind, code, message) { method isRequestMessage (line 124) | isRequestMessage(value) { method isObject (line 138) | isObject(value) { FILE: packages/chrome-plugin/public/google-docs-bridge.js function ensureBridgeExists (line 49) | function ensureBridgeExists() { FILE: packages/chrome-plugin/src/PopupState.ts type PopupState (line 1) | type PopupState = function main (line 15) | function main(): PopupState { FILE: packages/chrome-plugin/src/ProtocolClient.ts class ProtocolClient (line 6) | class ProtocolClient { method cacheKey (line 12) | private static cacheKey(text: string, domain: string, options?: LintOp... method lint (line 16) | public static async lint( method getLintConfig (line 32) | public static async getLintConfig(): Promise { method setLintConfig (line 36) | public static async setLintConfig(lintConfig: LintConfig): Promise { method setDialect (line 55) | public static async setDialect(dialect: Dialect): Promise { method getDomainEnabled (line 59) | public static async getDomainEnabled(domain: string): Promise { method setDomainEnabled (line 68) | public static async setDomainEnabled( method getDefaultEnabled (line 76) | public static async getDefaultEnabled(): Promise { method getEnabledDomains (line 81) | public static async getEnabledDomains(): Promise { method setDefaultEnabled (line 85) | public static async setDefaultEnabled(enabled: boolean): Promise { method getActivationKey (line 89) | public static async getActivationKey(): Promise { method getHotkey (line 93) | public static async getHotkey(): Promise { method setHotkey (line 97) | public static async setHotkey(hotkey: Hotkey): Promise { method setActivationKey (line 106) | public static async setActivationKey(key: ActivationKey): Promise { method addToUserDictionary (line 110) | public static async addToUserDictionary(words: string[]): Promise { method setUserDictionary (line 115) | public static async setUserDictionary(words: string[]): Promise { method getUserDictionary (line 120) | public static async getUserDictionary(): Promise { method getInstalledOn (line 124) | public static async getInstalledOn(): Promise { method getReviewed (line 128) | public static async getReviewed(): Promise { method setReviewed (line 132) | public static async setReviewed(reviewed: boolean): Promise { method ignoreHash (line 136) | public static async ignoreHash(hash: string): Promise { method openReportError (line 141) | public static async openReportError( method openOptions (line 154) | public static async openOptions(): Promise { method postFormData (line 159) | public static async postFormData( method getWeirpacks (line 166) | public static async getWeirpacks(): Promise { method addWeirpack (line 170) | public static async addWeirpack(filename: string, bytes: Uint8Array): ... method removeWeirpack (line 175) | public static async removeWeirpack(id: string): Promise { FILE: packages/chrome-plugin/src/background/detectDialect.ts function detectBrowserDialect (line 4) | function detectBrowserDialect(): Dialect { function localeToDialect (line 17) | function localeToDialect(locale: string): Dialect { FILE: packages/chrome-plugin/src/background/index.ts constant WEIRPACKS_KEY (line 72) | const WEIRPACKS_KEY = 'weirpacks'; function enableDefaultDomains (line 79) | async function enableDefaultDomains() { function handleRequest (line 140) | function handleRequest(message: Request): Promise { function handleLint (line 205) | async function handleLint(req: LintRequest): Promise { function handleGetConfig (line 221) | async function handleGetConfig(_req: GetConfigRequest): Promise { function handleSetHotkey (line 334) | async function handleSetHotkey(req: SetHotkeyRequest): Promise { function handleAddWeirpack (line 409) | async function handleAddWeirpack(req: AddWeirpackRequest): Promise { function getLintConfig (line 463) | async function getLintConfig(): Promise { function setIgnoredLints (line 470) | async function setIgnoredLints(state: string): Promise { function getIgnoredLints (line 479) | async function getIgnoredLints(): Promise { function getDialect (line 485) | async function getDialect(): Promise { function getActivationKey (line 496) | async function getActivationKey(): Promise { function getHotkey (line 501) | async function getHotkey(): Promise { function setActivationKey (line 506) | async function setActivationKey(key: ActivationKey) { function setHotkey (line 510) | async function setHotkey(hotkey: Hotkey) { function initializeLinter (line 514) | function initializeLinter(dialect: Dialect) { function setDialect (line 531) | async function setDialect(dialect: Dialect) { function formatDomainKey (line 537) | function formatDomainKey(domain: string): string { function enabledForDomain (line 542) | async function enabledForDomain(domain: string): Promise { function setDomainEnable (line 553) | async function setDomainEnable(domain: string, status: boolean, override... function setDefaultEnable (line 566) | async function setDefaultEnable(status: boolean) { function enabledByDefault (line 571) | async function enabledByDefault(): Promise { function isDomainSet (line 577) | async function isDomainSet(domain: string): Promise { function resetDictionary (line 583) | async function resetDictionary(): Promise { function addToDictionary (line 590) | async function addToDictionary(words: string[]): Promise { function getUserDictionary (line 601) | async function getUserDictionary(): Promise { function setInstalledOnIfMissing (line 607) | async function setInstalledOnIfMissing(): Promise { function getInstalledOn (line 617) | async function getInstalledOn(): Promise { function getReviewed (line 622) | async function getReviewed(): Promise { function setReviewed (line 627) | async function setReviewed(reviewed: boolean): Promise { type StoredWeirpack (line 631) | type StoredWeirpack = WeirpackMeta & { function createWeirpackId (line 635) | function createWeirpackId(): string { function bytesToBase64 (line 639) | function bytesToBase64(bytes: Uint8Array): string { function base64ToBytes (line 647) | function base64ToBytes(encoded: string): Uint8Array { function setStoredWeirpacks (line 656) | async function setStoredWeirpacks(weirpacks: StoredWeirpack[]): Promise<... function getStoredWeirpacks (line 660) | async function getStoredWeirpacks(): Promise { function loadStoredWeirpacksIntoLinter (line 666) | async function loadStoredWeirpacksIntoLinter(): Promise { FILE: packages/chrome-plugin/src/contentScript/GoogleDocsBridgeClient.ts type PendingRequest (line 13) | type PendingRequest = { constant PROTOCOL_VERSION (line 19) | const PROTOCOL_VERSION = 'harper-gdocs-bridge/v1'; constant EVENT_REQUEST (line 20) | const EVENT_REQUEST = 'harper:gdocs:request'; constant EVENT_RESPONSE (line 21) | const EVENT_RESPONSE = 'harper:gdocs:response'; constant EVENT_NOTIFICATION (line 22) | const EVENT_NOTIFICATION = 'harper:gdocs:notification'; class GoogleDocsBridgeClient (line 25) | class GoogleDocsBridgeClient { method constructor (line 37) | public constructor(documentRef: Document = document, timeoutMs = 2000) { method dispose (line 47) | public dispose() { method getRects (line 60) | public async getRects(start: number, end: number): Promise void): () => void { method onLayoutChanged (line 97) | public onLayoutChanged(cb: (reason: string, layoutEpoch: number) => vo... method request (line 103) | private async request(request: GoogleDocsRequest): Promise { FILE: packages/chrome-plugin/src/contentScript/googleDocs.ts type Window (line 13) | interface Window { constant GOOGLE_DOCS_BRIDGE_ID (line 18) | const GOOGLE_DOCS_BRIDGE_ID = 'harper-google-docs-target'; constant GOOGLE_DOCS_MAIN_WORLD_BRIDGE_ID (line 19) | const GOOGLE_DOCS_MAIN_WORLD_BRIDGE_ID = 'harper-google-docs-main-world-... constant GOOGLE_DOCS_SCROLL_LAYOUT_REASONS (line 20) | const GOOGLE_DOCS_SCROLL_LAYOUT_REASONS = new Set(['scroll', 'wheel', 'k... constant GOOGLE_DOCS_EDITOR_SELECTOR (line 21) | const GOOGLE_DOCS_EDITOR_SELECTOR = '.kix-appview-editor'; constant GOOGLE_DOCS_SVG_RECT_SELECTOR (line 22) | const GOOGLE_DOCS_SVG_RECT_SELECTOR = 'rect[aria-label]'; constant GOOGLE_DOCS_TABLE_CELL_GAP_THRESHOLD_PX (line 23) | const GOOGLE_DOCS_TABLE_CELL_GAP_THRESHOLD_PX = 60; constant GOOGLE_DOCS_PARAGRAPH_BREAK_GAP_RATIO (line 24) | const GOOGLE_DOCS_PARAGRAPH_BREAK_GAP_RATIO = 0.5; constant GOOGLE_DOCS_MIN_PARAGRAPH_BREAK_GAP_PX (line 25) | const GOOGLE_DOCS_MIN_PARAGRAPH_BREAK_GAP_PX = 6; type LayoutRefreshFramework (line 27) | type LayoutRefreshFramework = LintFramework & { function isGoogleDocsPage (line 31) | function isGoogleDocsPage(): boolean { function createGoogleDocsBridgeSync (line 46) | function createGoogleDocsBridgeSync(fw: LintFramework): () => Promise { function getTextarea (line 92) | function getTextarea(page: Page): Locator { type TestPageUrlProvider (line 97) | type TestPageUrlProvider = string | ((page: Page) => Promise); type EditorLocatorProvider (line 100) | type EditorLocatorProvider = (page: Page) => Locator; function resolveTestPage (line 102) | async function resolveTestPage(prov: TestPageUrlProvider, page: Page): P... function assertEditorText (line 111) | async function assertEditorText(editor: Locator, text: string) { function assertEditorContains (line 120) | async function assertEditorContains(editor: Locator, text: string) { function isFormElement (line 129) | async function isFormElement(editor: Locator): Promise { function testBasicSuggestion (line 134) | async function testBasicSuggestion( function testCanIgnoreSuggestion (line 172) | async function testCanIgnoreSuggestion( function testCanBlockRuleSuggestion (line 206) | async function testCanBlockRuleSuggestion( function getSortedHighlightBoxes (line 235) | async function getSortedHighlightBoxes(page: Page) { function testMultipleSuggestionsAndUndo (line 253) | async function testMultipleSuggestionsAndUndo( function assertHarperHighlightBoxes (line 297) | async function assertHarperHighlightBoxes(page: Page, boxes: Box[]): Pro... function testPageHasNHighlights (line 314) | async function testPageHasNHighlights(testPageUrl: TestPageUrlProvider, ... function assertPageHasNHighlights (line 327) | async function assertPageHasNHighlights(page: Page, n: number) { function assertBoxesClose (line 334) | function assertBoxesClose(a: Box, b: Box) { function assertClose (line 341) | function assertClose(actual: number, expected: number) { FILE: packages/chrome-plugin/tests/typst.spec.ts constant TEST_PAGE_URL (line 5) | const TEST_PAGE_URL = 'https://typst.app/play/'; function assertHighlightCount (line 7) | async function assertHighlightCount(page: Page, count: number) { FILE: packages/harper.js/examples/commonjs-simple/index.js function main (line 1) | async function main() { FILE: packages/harper.js/src/Linter.test.ts function randomString (line 6) | function randomString(length: number): string { constant WEIRPACK_PASS_BASE64 (line 15) | const WEIRPACK_PASS_BASE64 = constant WEIRPACK_FAIL_BASE64 (line 17) | const WEIRPACK_FAIL_BASE64 = function base64ToBytes (line 20) | function base64ToBytes(value: string): Uint8Array { FILE: packages/harper.js/src/Linter.ts type WeirpackTestFailure (line 6) | interface WeirpackTestFailure { type WeirpackTestFailures (line 11) | type WeirpackTestFailures = Record; type Linter (line 14) | interface Linter { type LinterInit (line 141) | interface LinterInit { FILE: packages/harper.js/src/LocalLinter.ts class LocalLinter (line 11) | class LocalLinter implements Linter { method constructor (line 16) | constructor(init: LinterInit) { method createInner (line 22) | private createInner(dialect?: Dialect): Promise { method setup (line 29) | async setup(): Promise { method lint (line 36) | async lint(text: string, options?: LintOptions): Promise { method organizedLints (line 62) | async organizedLints(text: string, options?: LintOptions): Promise { method isolateEnglish (line 105) | async isolateEnglish(text: string): Promise { method getLintConfig (line 110) | async getLintConfig(): Promise { method getDefaultLintConfigAsJSON (line 115) | async getDefaultLintConfigAsJSON(): Promise { method getDefaultLintConfig (line 119) | async getDefaultLintConfig(): Promise { method setLintConfig (line 123) | async setLintConfig(config: LintConfig): Promise { method getLintConfigAsJSON (line 128) | async getLintConfigAsJSON(): Promise { method setLintConfigWithJSON (line 133) | async setLintConfigWithJSON(config: string): Promise { method toTitleCase (line 138) | async toTitleCase(text: string): Promise { method getLintDescriptions (line 142) | async getLintDescriptions(): Promise> { method getLintDescriptionsAsJSON (line 147) | async getLintDescriptionsAsJSON(): Promise { method getLintDescriptionsHTML (line 152) | async getLintDescriptionsHTML(): Promise> { method getLintDescriptionsHTMLAsJSON (line 157) | async getLintDescriptionsHTMLAsJSON(): Promise { method ignoreLint (line 162) | async ignoreLint(source: string, lint: Lint): Promise { method ignoreLintHash (line 167) | async ignoreLintHash(hash: bigint): Promise { method exportIgnoredLints (line 172) | async exportIgnoredLints(): Promise { method importIgnoredLints (line 177) | async importIgnoredLints(json: string): Promise { method contextHash (line 182) | async contextHash(source: string, lint: Lint): Promise { method clearIgnoredLints (line 187) | async clearIgnoredLints(): Promise { method clearWords (line 192) | async clearWords(): Promise { method importWords (line 198) | async importWords(words: string[]): Promise { method exportWords (line 204) | async exportWords(): Promise { method getDialect (line 210) | async getDialect(): Promise { method setDialect (line 216) | async setDialect(dialect: Dialect): Promise { method summarizeStats (line 227) | async summarizeStats(start?: bigint, end?: bigint): Promise { method generateStatsFile (line 232) | async generateStatsFile(): Promise { method importStatsFile (line 237) | async importStatsFile(statsFile: string): Promise { method loadWeirpackFromBlob (line 248) | async loadWeirpackFromBlob(blob: Blob): Promise { FILE: packages/harper.js/src/Serializer.ts type SerializableTypes (line 4) | type SerializableTypes = type RequestArg (line 17) | interface RequestArg { type SerializedRequest (line 23) | interface SerializedRequest { type DeserializedRequest (line 31) | interface DeserializedRequest { function isSerializedRequest (line 38) | function isSerializedRequest(v: unknown): v is SerializedRequest { class Serializer (line 43) | class Serializer { method constructor (line 46) | constructor(binary: BinaryModule) { method serializeArg (line 51) | async serializeArg(arg: any): Promise { method serialize (line 105) | async serialize(req: DeserializedRequest): Promise { method deserializeArg (line 112) | async deserializeArg(requestArg: RequestArg): Promise { method deserialize (line 146) | async deserialize(request: SerializedRequest): Promise { method lint (line 73) | lint(text: string, options?: LintOptions): Promise { method organizedLints (line 77) | organizedLints(text: string, options?: LintOptions): Promise { method isolateEnglish (line 89) | isolateEnglish(text: string): Promise { method getLintConfig (line 93) | async getLintConfig(): Promise { method setLintConfig (line 97) | setLintConfig(config: LintConfig): Promise { method getLintConfigAsJSON (line 101) | getLintConfigAsJSON(): Promise { method setLintConfigWithJSON (line 105) | setLintConfigWithJSON(config: string): Promise { method toTitleCase (line 109) | toTitleCase(text: string): Promise { method getLintDescriptionsAsJSON (line 113) | getLintDescriptionsAsJSON(): Promise { method getLintDescriptions (line 117) | async getLintDescriptions(): Promise> { method getLintDescriptionsHTMLAsJSON (line 121) | getLintDescriptionsHTMLAsJSON(): Promise { method getLintDescriptionsHTML (line 125) | async getLintDescriptionsHTML(): Promise> { method getDefaultLintConfigAsJSON (line 129) | getDefaultLintConfigAsJSON(): Promise { method getDefaultLintConfig (line 133) | async getDefaultLintConfig(): Promise { method dispose (line 137) | async dispose(): Promise { method ignoreLint (line 149) | ignoreLint(source: string, lint: Lint): Promise { method ignoreLintHash (line 153) | ignoreLintHash(hash: bigint): Promise { method exportIgnoredLints (line 157) | exportIgnoredLints(): Promise { method importIgnoredLints (line 161) | importIgnoredLints(json: string): Promise { method contextHash (line 165) | contextHash(source: string, lint: Lint): Promise { method clearIgnoredLints (line 169) | clearIgnoredLints(): Promise { method clearWords (line 173) | clearWords(): Promise { method importWords (line 177) | importWords(words: string[]): Promise { method exportWords (line 181) | exportWords(): Promise { method getDialect (line 185) | getDialect(): Promise { method setDialect (line 189) | setDialect(dialect: Dialect): Promise { method summarizeStats (line 193) | summarizeStats(start?: bigint, end?: bigint): Promise { method generateStatsFile (line 197) | generateStatsFile(): Promise { method importStatsFile (line 201) | importStatsFile(statsFile: string): Promise { method loadWeirpackFromBlob (line 211) | async loadWeirpackFromBlob(blob: Blob): Promise { method submitRemainingRequests (line 248) | private async submitRemainingRequests() { FILE: packages/harper.js/src/WorkerLinter/worker.ts function processRequest (line 19) | async function processRequest(v: SerializedRequest) { FILE: packages/harper.js/src/binary.ts class BinaryModule (line 29) | class BinaryModule { method create (line 34) | public static create(url: string | URL): BinaryModule { method getDefaultLintConfigAsJSON (line 45) | public async getDefaultLintConfigAsJSON(): Promise { method getDefaultLintConfig (line 50) | public async getDefaultLintConfig(): Promise { method toTitleCase (line 55) | public async toTitleCase(text: string): Promise { method setup (line 60) | public async setup(): Promise { class SuperBinaryModule (line 66) | class SuperBinaryModule extends BinaryModule { method createLinter (line 67) | async createLinter(dialect?: Dialect): Promise { method getBinaryModule (line 72) | async getBinaryModule(): Promise { FILE: packages/harper.js/src/main.ts type LintConfig (line 21) | type LintConfig = Record; type LintOptions (line 24) | interface LintOptions { FILE: packages/harper.js/src/utils.ts function assert (line 1) | function assert(condition: unknown, message?: string): asserts condition { FILE: packages/harper.js/src/weirpack.ts type WeirpackArchive (line 3) | type WeirpackArchive = { function packWeirpackFiles (line 13) | function packWeirpackFiles(files: Map): Uint8Array { function unpackWeirpackBytes (line 27) | function unpackWeirpackBytes(bytes: Uint8Array): WeirpackArchive { FILE: packages/harper.js/vite.config.ts function removeAssetsPlugin (line 8) | function removeAssetsPlugin(options: { test: RegExp }): Plugin { FILE: packages/lint-framework/src/lint/Box.ts type Box (line 4) | type Box = { type LintBox (line 15) | type LintBox = Box & { type IgnorableLintBox (line 23) | type IgnorableLintBox = LintBox & { function screenBox (line 30) | function screenBox(): Box { function isPointInBox (line 39) | function isPointInBox(point: [number, number], box: Box) { function isBoxInScreen (line 46) | function isBoxInScreen(box: Box): boolean { function boxesOverlap (line 69) | function boxesOverlap(a: Box, b: Box): boolean { function domRectToBox (line 73) | function domRectToBox(rect: DOMRect): Box { function isBottomEdgeInBox (line 82) | function isBottomEdgeInBox(inner: Box, outer: Box): boolean { function closestBox (line 88) | function closestBox(target: Box, boxes: Box[]): number { function shrinkBoxToFit (line 109) | function shrinkBoxToFit(inner: Box, outer: Box): Box { FILE: packages/lint-framework/src/lint/Highlights.ts class Highlights (line 25) | class Highlights { method constructor (line 29) | constructor() { method insertHighlightStyle (line 35) | private insertHighlightStyle(tag: string, lint: UnpackedLint) { method renderLintBoxes (line 54) | public renderLintBoxes(boxes: LintBox[]) { method pruneDetachedSources (line 170) | private pruneDetachedSources() { method renderTree (line 179) | private renderTree( method computeRenderTarget (line 229) | private computeRenderTarget(el: SourceElement): HTMLElement { method getGoogleDocsRenderOffset (line 267) | private getGoogleDocsRenderOffset(source: HTMLElement): { x: number; y... function getInitialContainingRect (line 277) | function getInitialContainingRect(el: HTMLElement): DOMRect | null { function isContainingBlock (line 298) | function isContainingBlock(el: Element): boolean { function supportsCustomHighlights (line 349) | function supportsCustomHighlights() { FILE: packages/lint-framework/src/lint/LintFramework.ts type ActivationKey (line 10) | type ActivationKey = 'off' | 'shift' | 'control'; type Modifier (line 12) | type Modifier = 'Ctrl' | 'Shift' | 'Alt'; type Hotkey (line 14) | type Hotkey = { constant INPUT_EVENTS (line 20) | const INPUT_EVENTS = ['focus', 'keyup', 'paste', 'change', 'scroll']; constant PAGE_EVENTS (line 22) | const PAGE_EVENTS = ['resize', 'scroll']; class LintFramework (line 25) | class LintFramework { method constructor (line 56) | constructor( method onScreenTargets (line 102) | onScreenTargets(): Node[] { method update (line 114) | async update() { method requestLintUpdate (line 119) | async requestLintUpdate() { method lintHotkey (line 196) | public async lintHotkey() { method addTarget (line 236) | public async addTarget(target: Node) { method removeTarget (line 244) | public async removeTarget(target: HTMLElement) { method getLastIgnorableLintBoxes (line 255) | public getLastIgnorableLintBoxes(): IgnorableLintBox[] { method attachTargetListeners (line 259) | private attachTargetListeners(target: Node) { method detachTargetListeners (line 286) | private detachTargetListeners(target: HTMLElement) { method attachWindowListeners (line 292) | private attachWindowListeners() { method requestRender (line 299) | private requestRender() { function getScrollableAncestors (line 332) | function getScrollableAncestors(element: Node): Element[] { function getTargetLanguage (line 357) | function getTargetLanguage(target: Node): LintOptions['language'] | unde... FILE: packages/lint-framework/src/lint/PopupHandler.ts type ActivationKey (line 6) | type ActivationKey = 'off' | 'shift' | 'control'; type ActivationHandler (line 12) | type ActivationHandler = () => void; function monitorActivationKey (line 14) | function monitorActivationKey( class PopupHandler (line 31) | class PopupHandler { method constructor (line 47) | constructor(actions: { method updateActivationKeyListener (line 69) | private updateActivationKeyListener() { method openClosestToCaret (line 87) | private openClosestToCaret() { method onPointerDown (line 99) | private onPointerDown(e: PointerEvent) { method render (line 114) | private render() { method updateHint (line 139) | private updateHint() { method updateLintBoxes (line 156) | public updateLintBoxes(boxes: IgnorableLintBox[]) { FILE: packages/lint-framework/src/lint/RenderBox.ts class RenderBox (line 7) | class RenderBox { method constructor (line 17) | constructor(parent: Node) { method render (line 24) | public render(node: VNode) { method remove (line 41) | public remove() { method getShadowHost (line 51) | public getShadowHost(): HTMLElement { FILE: packages/lint-framework/src/lint/SourceElement.ts type SourceElement (line 2) | type SourceElement = HTMLElement | Text; FILE: packages/lint-framework/src/lint/SuggestionBox.ts function iconSvg (line 13) | function iconSvg(definition: IconDefinition): string { function header (line 64) | function header( function body (line 134) | function body(message_html: string): any { function button (line 138) | function button( function footer (line 161) | function footer(leftChildren: any, rightChildren: any) { function hintDrawer (line 167) | function hintDrawer(hint: string | null): any { function addToDictionary (line 180) | function addToDictionary( function suggestions (line 199) | function suggestions( function suggestionKindToLabel (line 219) | function suggestionKindToLabel(s: SuggestionKind): string { function reportProblemButton (line 230) | function reportProblemButton(reportError?: () => Promise): any { function styleTag (line 250) | function styleTag(lintKind: LintKind) { function ignoreLint (line 439) | function ignoreLint(onIgnore: () => void | Promise): any { function SuggestionBox (line 448) | function SuggestionBox( FILE: packages/lint-framework/src/lint/TextFieldRange.ts class TextFieldRange (line 5) | class TextFieldRange { method constructor (line 28) | constructor( method ensureArena (line 48) | private static ensureArena(field: HTMLTextAreaElement | HTMLInputEleme... method positionMirror (line 119) | private static positionMirror( method syncMirror (line 137) | private syncMirror(): void { method getClientRects (line 150) | getClientRects(): DOMRect[] { method getBoundingClientRect (line 170) | getBoundingClientRect(): DOMRect | null { method detach (line 178) | detach(): void { FILE: packages/lint-framework/src/lint/computeLintBoxes.ts constant GOOGLE_DOCS_EDITOR_SELECTOR (line 20) | const GOOGLE_DOCS_EDITOR_SELECTOR = '.kix-appview-editor'; type GoogleDocsReplacePayload (line 22) | type GoogleDocsReplacePayload = { type GoogleDocsBridgeClientLike (line 31) | type GoogleDocsBridgeClientLike = { type WindowWithGoogleDocsBridgeClient (line 42) | type WindowWithGoogleDocsBridgeClient = Window & { function computeLintBoxes (line 46) | function computeLintBoxes( function isGoogleDocsTarget (line 121) | function isGoogleDocsTarget(el: HTMLElement): boolean { function computeGoogleDocsLintBoxes (line 125) | function computeGoogleDocsLintBoxes( function suggestionToReplacementText (line 182) | function suggestionToReplacementText( function replaceValue (line 197) | function replaceValue( function replaceGoogleDocsValue (line 219) | function replaceGoogleDocsValue( function replaceFormElementValue (line 261) | function replaceFormElementValue( function replaceLexicalValue (line 271) | function replaceLexicalValue( function replaceDraftValue (line 288) | function replaceDraftValue( function selectSpanInEditor (line 315) | function selectSpanInEditor(el: HTMLElement, span: { start: number; end:... function replaceRichTextEditorValue (line 336) | function replaceRichTextEditorValue( function replaceCodeMirrorValue (line 366) | function replaceCodeMirrorValue( function replaceTextInRange (line 405) | function replaceTextInRange(doc: Document, sel: Selection, range: Range,... function replaceGenericContentEditable (line 441) | function replaceGenericContentEditable( FILE: packages/lint-framework/src/lint/domUtils.ts function extractFromHTMLCollection (line 8) | function extractFromHTMLCollection(collection: HTMLCollection): Element[] { function extractFromNodeList (line 21) | function extractFromNodeList(list: NodeListOf): T[] { function getNodesFromQuerySelector (line 32) | function getNodesFromQuerySelector(element: Element, query: string) { function getClosestBlockAncestor (line 37) | function getClosestBlockAncestor(leaf: Node, root: Element): Element | n... function leafNodes (line 61) | function leafNodes(node: Node): Node[] { function getRangeForTextSpan (line 85) | function getRangeForTextSpan(target: Element, span: Span): Range | null { function isHeading (line 116) | function isHeading(node: Node): boolean { function isVisible (line 129) | function isVisible(node: Node): boolean { FILE: packages/lint-framework/src/lint/editorUtils.ts function findAncestor (line 5) | function findAncestor( function getGhostRoot (line 17) | function getGhostRoot(el: SourceElement): SourceElement | null { function getDraftRoot (line 24) | function getDraftRoot(el: SourceElement): SourceElement | null { function getPMRoot (line 32) | function getPMRoot(el: SourceElement): SourceElement | null { function getCMRoot (line 39) | function getCMRoot(el: SourceElement): SourceElement | null { function getNotionRoot (line 46) | function getNotionRoot(): SourceElement | null { function getSlateRoot (line 50) | function getSlateRoot(el: SourceElement): SourceElement | null { function getLexicalRoot (line 57) | function getLexicalRoot(el: SourceElement): SourceElement | null { function getCkEditorRoot (line 65) | function getCkEditorRoot(el: SourceElement): SourceElement | null { function getLexicalEditable (line 72) | function getLexicalEditable(el: SourceElement): SourceElement | null { function getMediumRoot (line 79) | function getMediumRoot(el: SourceElement): SourceElement | null { function getShredditComposerRoot (line 86) | function getShredditComposerRoot(el: SourceElement): SourceElement | null { function getQuillJsRoot (line 93) | function getQuillJsRoot(el: SourceElement): SourceElement | null { function getP2Root (line 100) | function getP2Root(el: SourceElement): SourceElement | null { function getGutenbergRoot (line 108) | function getGutenbergRoot(el: SourceElement): SourceElement | null { function getTrixRoot (line 117) | function getTrixRoot(el: SourceElement): SourceElement | null { function getCaretPosition (line 121) | function getCaretPosition(): Box | null { function isFormEl (line 153) | function isFormEl(el: any): el is HTMLInputElement | HTMLTextAreaElement { function isTextNode (line 157) | function isTextNode(el: SourceElement): el is Text { FILE: packages/lint-framework/src/lint/lintKindColor.ts constant LINT_KIND_COLORS (line 4) | const LINT_KIND_COLORS = { type LintKind (line 28) | type LintKind = keyof typeof LINT_KIND_COLORS; constant LINT_KINDS (line 31) | const LINT_KINDS = Object.keys(LINT_KIND_COLORS) as LintKind[]; function lintKindColor (line 34) | function lintKindColor(lintKindKey: string): string { function lintKindTextColor (line 42) | function lintKindTextColor(lintKindKeyOrColor: string): 'black' | 'white' { FILE: packages/lint-framework/src/lint/unpackLint.ts type UnpackedSpan (line 4) | type UnpackedSpan = { type UnpackedLint (line 9) | type UnpackedLint = { type UnpackedLintGroups (line 20) | type UnpackedLintGroups = Record; type UnpackedSuggestion (line 22) | type UnpackedSuggestion = { function unpackLint (line 28) | async function unpackLint( function applySuggestion (line 49) | function applySuggestion(text: string, span: UnpackedSpan, sug: Unpacked... FILE: packages/lint-framework/src/lint/utils.ts function getContrastingTextColor (line 4) | function getContrastingTextColor(color: string): 'black' | 'white' { FILE: packages/obsidian-plugin/src/HarperSettingTab.ts class HarperSettingTab (line 13) | class HarperSettingTab extends PluginSettingTab { method state (line 21) | private get state() { method constructor (line 25) | constructor(app: App, plugin: HarperPlugin) { method update (line 30) | update() { method updateSettings (line 36) | updateSettings() { method updateDescriptions (line 43) | updateDescriptions() { method updateDefaults (line 49) | updateDefaults() { method display (line 56) | display(update = true) { method updateToggleAllRulesButton (line 236) | private async updateToggleAllRulesButton() { method renderLintSettingsToId (line 242) | async renderLintSettingsToId(searchQuery: string, id: string) { method renderLintSettings (line 249) | private renderLintSettings( FILE: packages/obsidian-plugin/src/State.test.ts function randomString (line 5) | function randomString(length: number): string { function createEphemeralState (line 15) | function createEphemeralState(): State { FILE: packages/obsidian-plugin/src/State.ts type Settings (line 15) | type Settings = { constant DEFAULT_DELAY (line 27) | const DEFAULT_DELAY = -1; class State (line 31) | class State { method constructor (line 48) | constructor( method initializeFromSettings (line 62) | public async initializeFromSettings(settings: Settings | null) { method constructEditorLinter (line 124) | private constructEditorLinter(): Extension { method ignoreLints (line 253) | public async ignoreLints(text: string, lints: Lint[]) { method reinitialize (line 261) | public async reinitialize() { method getSettings (line 266) | public async getSettings(): Promise { method resetAllRulesToDefaults (line 289) | public async resetAllRulesToDefaults(): Promise { method setAllRulesEnabled (line 301) | public async setAllRulesEnabled(enabled: boolean): Promise { method getDescriptionHTML (line 309) | public async getDescriptionHTML(): Promise> { method getDefaultLintConfig (line 314) | public async getDefaultLintConfig(): Promise { method getEffectiveLintConfig (line 319) | public async getEffectiveLintConfig(): Promise> { method areAnyRulesEnabled (line 334) | public async areAnyRulesEnabled(): Promise { method getCMEditorExtensions (line 348) | public getCMEditorExtensions(): Extension[] { method enableEditorLinter (line 353) | public enableEditorLinter(reinit = true) { method disableEditorLinter (line 364) | public disableEditorLinter(reinit = true) { method hasEditorLinter (line 374) | public hasEditorLinter(): boolean { method toggleAutoLint (line 378) | public toggleAutoLint() { method getLinter (line 388) | public getLinter(): Linter { function suggestionToLabel (line 393) | function suggestionToLabel(sug: Suggestion) { FILE: packages/obsidian-plugin/src/index.ts class HarperPlugin (line 29) | class HarperPlugin extends Plugin { method constructor (line 35) | constructor(app: App, manifest: PluginManifest) { method onload (line 39) | async onload() { method onExternalSettingsChange (line 63) | async onExternalSettingsChange() { method reloadSettingsFromDisk (line 67) | private async reloadSettingsFromDisk() { method getDialectStatus (line 85) | private getDialectStatus(dialectNum: Dialect): string { method setupStatusBar (line 101) | private setupStatusBar() { method toggleAutoLint (line 152) | private toggleAutoLint() { method setupCommands (line 157) | private setupCommands() { method getApplySuggestionCommand (line 235) | private getApplySuggestionCommand(n: number) { method getActiveEditorView (line 248) | private getActiveEditorView(): EditorView | null { method doIgnoreAllFlow (line 255) | public async doIgnoreAllFlow() { method updateStatusBar (line 273) | public updateStatusBar(dialect?: Dialect) { FILE: packages/obsidian-plugin/src/lint.ts type Severity (line 28) | type Severity = 'hint' | 'info' | 'warning' | 'error'; type Diagnostic (line 31) | interface Diagnostic { type Action (line 63) | interface Action { type DiagnosticFilter (line 76) | type DiagnosticFilter = (diagnostics: readonly Diagnostic[], state: Edit... type LintConfig (line 78) | interface LintConfig { class SelectedDiagnostic (line 104) | class SelectedDiagnostic { method constructor (line 105) | constructor( class LintState (line 112) | class LintState { method constructor (line 113) | constructor( method init (line 119) | static init(diagnostics: readonly Diagnostic[], state: EditorState) { function findDiagnostic (line 146) | function findDiagnostic( type HarperTooltipMeta (line 160) | interface HarperTooltipMeta { function hideTooltip (line 167) | function hideTooltip(tr: Transaction, tooltip: Tooltip) { function maybeEnableLint (line 180) | function maybeEnableLint(state: EditorState, effects: readonly StateEffe... function setDiagnostics (line 189) | function setDiagnostics( method create (line 206) | create() { method update (line 209) | update(value, tr) { function createLintTooltip (line 230) | function createLintTooltip( function lintTooltip (line 252) | function lintTooltip(view: EditorView, pos: number, side: -1 | 1) { function diagnosticsTooltip (line 287) | function diagnosticsTooltip(view: EditorView, diagnostics: readonly Diag... type LintSource (line 296) | type LintSource = ( method constructor (line 306) | constructor(readonly view: EditorView) { method run (line 313) | run() { method update (line 336) | update(update: ViewUpdate) { method force (line 351) | force() { method destroy (line 358) | destroy() { method combine (line 368) | combine(input) { function linter (line 392) | function linter(source: LintSource | null, config: LintConfig = {}): Ext... function forceLinting (line 398) | function forceLinting(view: EditorView) { function assignKeys (line 403) | function assignKeys(actions: readonly Action[] | undefined) { function renderDiagnostic (line 420) | function renderDiagnostic(view: EditorView, diagnostic: Diagnostic, inPa... class DiagnosticWidget (line 502) | class DiagnosticWidget extends WidgetType { method constructor (line 503) | constructor(readonly diagnostic: Diagnostic) { method eq (line 507) | eq(other: DiagnosticWidget) { method toDOM (line 511) | toDOM() { function svg (line 518) | function svg(content: string, attrs = `viewBox="0 0 40 40"`) { function underline (line 522) | function underline(color: string) { method create (line 724) | create(state) { method update (line 738) | update(_tooltips, tr) { method mousedown (line 771) | mousedown(event, view) { function forEachDiagnostic (line 791) | function forEachDiagnostic( function collectDiagnostics (line 801) | function collectDiagnostics(diagnostics: DecorationSet): SelectedDiagnos... function selectedIndexOf (line 809) | function selectedIndexOf(all: readonly SelectedDiagnostic[], selected: S... function getDiagnosticForTooltipRange (line 815) | function getDiagnosticForTooltipRange( function getActiveTooltipMatch (line 830) | function getActiveTooltipMatch(view: EditorView): SelectedDiagnostic | n... function getMappedDiagnostic (line 851) | function getMappedDiagnostic(view: EditorView, diagnostic: Diagnostic): ... function getSuggestionActions (line 857) | function getSuggestionActions(diagnostic: Diagnostic): readonly Action[] { function getDictionaryAction (line 861) | function getDictionaryAction(diagnostic: Diagnostic): Action | null { function clearKeyboardFocus (line 868) | function clearKeyboardFocus(view: EditorView): boolean { function hideVisibleLintTooltip (line 878) | function hideVisibleLintTooltip(view: EditorView) { function canNavigateDiagnostics (line 884) | function canNavigateDiagnostics(view: EditorView): boolean { function navigateDiagnostic (line 889) | function navigateDiagnostic(view: EditorView, direction: 'next' | 'previ... function canApplySuggestionFromVisibleTooltip (line 922) | function canApplySuggestionFromVisibleTooltip(view: EditorView, index: n... function applySuggestionFromVisibleTooltip (line 928) | function applySuggestionFromVisibleTooltip(view: EditorView, index: numb... function canAddWordToDictionaryFromVisibleTooltip (line 940) | function canAddWordToDictionaryFromVisibleTooltip(view: EditorView): boo... function addWordToDictionaryFromVisibleTooltip (line 946) | function addWordToDictionaryFromVisibleTooltip(view: EditorView): boolean { function canIgnoreVisibleTooltipDiagnostic (line 958) | function canIgnoreVisibleTooltipDiagnostic(view: EditorView): boolean { function ignoreVisibleTooltipDiagnostic (line 964) | function ignoreVisibleTooltipDiagnostic(view: EditorView): boolean { function canDismissFocusedLintTooltip (line 973) | function canDismissFocusedLintTooltip(view: EditorView): boolean { function dismissFocusedLintTooltip (line 978) | function dismissFocusedLintTooltip(view: EditorView): boolean { FILE: packages/obsidian-plugin/src/lintKindColor.ts constant FALLBACK_LINT_COLOR (line 1) | const FALLBACK_LINT_COLOR = '#d11'; constant LINT_KIND_COLORS (line 3) | const LINT_KIND_COLORS = { function lintKindColor (line 26) | function lintKindColor(lintKindKey: string): string { function lintKindClass (line 30) | function lintKindClass(lintKindKey: string): string { FILE: packages/obsidian-plugin/src/textUtils.ts function stringToLines (line 2) | function stringToLines(s: string): string[] { function linesToString (line 10) | function linesToString(values: string[]): string { FILE: packages/vscode-plugin/esbuild.cjs method setup (line 12) | setup(build) { function main (line 26) | async function main() { FILE: packages/vscode-plugin/src/extension.ts type ExtensionManifest (line 9) | type ExtensionManifest = { method configuration (line 19) | async configuration(params, token, next) { method executeCommand (line 29) | executeCommand(command, args, next) { function activate (line 56) | async function activate(context: ExtensionContext): Promise { function getExecutablePath (line 130) | function getExecutablePath(context: ExtensionContext): string { function startLanguageServer (line 144) | async function startLanguageServer(): Promise { function showError (line 167) | function showError(message: string, error: Error | unknown): void { function updateDialectStatusBar (line 187) | function updateDialectStatusBar(): void { function changeDialect (line 201) | async function changeDialect(): Promise { function deactivate (line 218) | function deactivate(): Thenable | undefined { function getFlagAndCode (line 226) | function getFlagAndCode(dialect: string): string[] | undefined { FILE: packages/vscode-plugin/src/tests/fixtures/languages/c.c function main (line 4) | int main() { FILE: packages/vscode-plugin/src/tests/fixtures/languages/cpp.cpp function main (line 3) | int main() { FILE: packages/vscode-plugin/src/tests/fixtures/languages/dart.dart function main (line 1) | void main() FILE: packages/vscode-plugin/src/tests/fixtures/languages/go.go function main (line 6) | func main() { FILE: packages/vscode-plugin/src/tests/fixtures/languages/java.java class HelloWorld (line 1) | public class HelloWorld { method main (line 5) | public static void main(String[] args) { FILE: packages/vscode-plugin/src/tests/fixtures/languages/javascriptreact.jsx function Main (line 4) | function Main(props = { message: 'Hello World!' }) { FILE: packages/vscode-plugin/src/tests/fixtures/languages/rust.rs function main (line 2) | fn main() { FILE: packages/vscode-plugin/src/tests/fixtures/languages/typescriptreact.tsx function Main (line 1) | function Main({ message = 'Hello World!' }: { message: string }) { FILE: packages/vscode-plugin/src/tests/suite/helper.ts function closeAll (line 14) | async function closeAll(): Promise { function activateHarper (line 20) | async function activateHarper(): Promise> { function getUri (line 30) | function getUri(...pathSegments: string[]): Uri { function openUri (line 34) | async function openUri(uri: Uri): Promise { function openUntitled (line 38) | async function openUntitled(text: string): Promise { function setTextDocumentLanguage (line 45) | async function setTextDocumentLanguage(uri: Uri, languageId: string): Pr... function createExpectedDiagnostics (line 50) | function createExpectedDiagnostics( function compareActualVsExpectedDiagnostics (line 56) | function compareActualVsExpectedDiagnostics( function createRange (line 72) | function createRange( function getActualDiagnostics (line 81) | function getActualDiagnostics(resource: Uri): Diagnostic[] { function waitForDiagnosticsChange (line 86) | function waitForDiagnosticsChange( FILE: packages/vscode-plugin/src/tests/suite/index.ts function run (line 4) | async function run(): Promise { FILE: packages/web/drizzle/0000_cute_zuras.sql type `uninstall_feedback` (line 1) | CREATE TABLE `uninstall_feedback` ( FILE: packages/web/drizzle/0001_blushing_corsair.sql type `problematic_lint` (line 1) | CREATE TABLE `problematic_lint` ( FILE: packages/web/src/lib/GitHubClient.ts class GithubClient (line 1) | class GithubClient { method getLatestReleaseFromCache (line 5) | public static async getLatestReleaseFromCache( method getLatestRelease (line 31) | public static async getLatestRelease(repoOwner: string, repoName: stri... FILE: packages/web/src/lib/db/models/ProblematicLints.ts type ProblematicLintRow (line 5) | type ProblematicLintRow = typeof problematicLintTable.$inferSelect; type ProblematicLintSubmission (line 8) | type ProblematicLintSubmission = typeof problematicLintTable.$inferInsert; class ProblematicLints (line 11) | class ProblematicLints { method validateAndCreate (line 12) | public static async validateAndCreate(rec: any) { method create (line 17) | public static async create(rec: ProblematicLintSubmission) { FILE: packages/web/src/lib/db/models/UninstallFeedback.ts type UninstallFeedbackRow (line 5) | type UninstallFeedbackRow = typeof uninstallFeedbackTable.$inferSelect; type UninstallFeedbackSubmission (line 8) | type UninstallFeedbackSubmission = typeof uninstallFeedbackTable.$inferI... class UninstallFeedback (line 11) | class UninstallFeedback { method validateAndCreate (line 12) | public static async validateAndCreate(rec: any) { method create (line 17) | public static async create(rec: UninstallFeedbackSubmission) { FILE: packages/web/src/routes/cache-healthcheck/+server.ts function GET (line 1) | async function GET() { FILE: packages/web/src/routes/docs/harperjs/CDN/example/+server.ts function GET (line 3) | async function GET() { FILE: packages/web/src/routes/latestversion/+server.ts function GET (line 3) | async function GET() { function OPTIONS (line 20) | async function OPTIONS() { FILE: packages/web/src/routes/wpdemo/+page.server.ts function load (line 7) | function load() { FILE: packages/wordpress-plugin/harper.php function create_harper_block_init (line 30) | function create_harper_block_init() { FILE: packages/wordpress-plugin/src/harper/Box.ts type Box (line 3) | type Box = { type LintBox (line 14) | type LintBox = Box & { type IgnorableLintBox (line 19) | type IgnorableLintBox = LintBox & { function isPointInBox (line 23) | function isPointInBox(point: [number, number], box: Box) { FILE: packages/wordpress-plugin/src/harper/DataBlock.ts class DataBlock (line 9) | class DataBlock { method constructor (line 12) | constructor(targetElement: Element) { method getClientId (line 16) | private getClientId(): string { method getAllRichText (line 20) | public getAllRichText(): RichText[] { method getAllDataBlocks (line 37) | public static getAllDataBlocks(): DataBlock[] { method getTerminalDataBlocks (line 46) | public static getTerminalDataBlocks(): DataBlock[] { method getContainer (line 64) | public static getContainer(): Element { FILE: packages/wordpress-plugin/src/harper/DialectSelectRow.tsx function DialectSelectRow (line 5) | function DialectSelectRow() { FILE: packages/wordpress-plugin/src/harper/Highlighter.tsx function Highlighter (line 12) | function Highlighter({ FILE: packages/wordpress-plugin/src/harper/LintList.tsx function LintList (line 5) | function LintList({ FILE: packages/wordpress-plugin/src/harper/LintListItem.tsx function LintListItem (line 6) | function LintListItem({ box }: { box: IgnorableLintBox }) { FILE: packages/wordpress-plugin/src/harper/LintSettingList.tsx function LintSettingList (line 7) | function LintSettingList() { FILE: packages/wordpress-plugin/src/harper/LintSettingRow.tsx function LintSettingRow (line 5) | function LintSettingRow({ FILE: packages/wordpress-plugin/src/harper/LinterProvider.tsx function LinterProvider (line 6) | function LinterProvider({ children }: { children: ReactNode | ReactNode[... function useLinter (line 12) | function useLinter(): Linter { function useLintDescriptions (line 16) | function useLintDescriptions(): Record { FILE: packages/wordpress-plugin/src/harper/Logo.jsx function Logo (line 1) | function Logo() { FILE: packages/wordpress-plugin/src/harper/RichText.ts type EditContentCallback (line 6) | type EditContentCallback = (newContent: string) => void; class RichText (line 12) | class RichText { method constructor (line 17) | constructor(targetElement: Element, parent: DataBlock, editContent: Ed... method getTargetElement (line 23) | public getTargetElement(): Element { method getTextContent (line 27) | public getTextContent(): string { method computeLintBox (line 31) | public computeLintBox(lint: Lint): LintBox[] { FILE: packages/wordpress-plugin/src/harper/SidebarControl.tsx function SidebarControl (line 8) | function SidebarControl() { FILE: packages/wordpress-plugin/src/harper/SidebarTabContainer.tsx function SidebarTabContainer (line 7) | function SidebarTabContainer({ FILE: packages/wordpress-plugin/src/harper/SuggestionControl.tsx function SuggestionControl (line 13) | function SuggestionControl({ lintBox }: { lintBox: IgnorableLintBox }) { FILE: packages/wordpress-plugin/src/harper/domUtils.ts function extractFromHTMLCollection (line 7) | function extractFromHTMLCollection(collection: HTMLCollection): Element[] { function extractFromNodeList (line 21) | function extractFromNodeList(list: NodeListOf): T[] { function getNodesFromQuerySelector (line 32) | function getNodesFromQuerySelector(element: Element, query: string) { function leafNodes (line 40) | function leafNodes(node: Node): Node[] { function getRangeForTextSpan (line 64) | function getRangeForTextSpan(target: Element, span: Span): Range | null { function getRichTextContainers (line 97) | function getRichTextContainers(target: Element): Element[] { FILE: packages/wordpress-plugin/src/harper/index.tsx function Sidebar (line 8) | function Sidebar() { FILE: packages/wordpress-plugin/src/harper/lintUtils.ts function suggestionText (line 9) | function suggestionText( FILE: packages/wordpress-plugin/src/harper/useDialect.ts constant KEY (line 5) | const KEY = 'dialect'; function useDialect (line 7) | function useDialect(): [Dialect, (newState: Dialect) => void] { FILE: packages/wordpress-plugin/src/harper/useIgnoredLintState.ts constant KEY (line 6) | const KEY = 'ignoredLints'; function useIgnoredLintState (line 8) | function useIgnoredLintState(): [string | undefined, (newState: string) ... function useIgnoreLint (line 22) | function useIgnoreLint(): (lint: Lint) => Promise { FILE: packages/wordpress-plugin/src/harper/useLintBoxes.ts function useLintBoxes (line 16) | function useLintBoxes(richTexts: RichText[]): [IgnorableLintBox[][], boo... FILE: packages/wordpress-plugin/src/harper/useLintConfig.ts constant KEY (line 7) | const KEY = 'lintConfig'; function useLintConfig (line 9) | function useLintConfig(): [LintConfig, (newState: LintConfig) => void] { function useDefaultLintConfig (line 39) | function useDefaultLintConfig(): LintConfig { FILE: packages/wordpress-plugin/src/harper/usePersonalDictionary.ts constant KEY (line 4) | const KEY = 'personalDictionary'; function usePersonalDictionary (line 7) | function usePersonalDictionary(): [ function useAddToDictionary (line 27) | function useAddToDictionary(): (word: string) => void { FILE: packages/wordpress-plugin/src/harper/useToggle.ts function useToggle (line 3) | function useToggle(): [boolean, () => void] {