From 5fb87250dd124ed32a149d2949b2a75f9c3da752 Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 17 Jul 2022 11:26:41 +0000 Subject: [PATCH] Fix typos --- .devcontainer/devcontainer.json | 3 +- .../src/generate/group/method/return_type.rs | 20 +- .../src/md_parser/md_token.rs | 6 +- .../src/md_parser/token_tree_factory.rs | 4 +- .../token_tree_factory_tests/log.check | 4 +- ... should_remove_surrounding_asterisk.check} | 2 +- ... => should_remove_surrounding_asterisk.md} | 0 .../src/parser/group/method/description.rs | 2 +- .../src/parser/group/method/parameters.rs | 2 +- qbittorrent-web-api-gen/token_tree.txt | 288 +++++++++--------- 10 files changed, 166 insertions(+), 165 deletions(-) rename qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/{should_remove_surrounding_asterix.check => should_remove_surrounding_asterisk.check} (90%) rename qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/{should_remove_surrounding_asterix.md => should_remove_surrounding_asterisk.md} (100%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1c4a773..bd3c8b4 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,7 +26,8 @@ "tamasfe.even-better-toml", "serayuzgur.crates", "redhat.vscode-yaml", - "eamodio.gitlens" + "eamodio.gitlens", + "streetsidesoftware.code-spell-checker" ] } }, diff --git a/qbittorrent-web-api-gen/src/generate/group/method/return_type.rs b/qbittorrent-web-api-gen/src/generate/group/method/return_type.rs index a4a171a..cba375b 100644 --- a/qbittorrent-web-api-gen/src/generate/group/method/return_type.rs +++ b/qbittorrent-web-api-gen/src/generate/group/method/return_type.rs @@ -111,27 +111,27 @@ fn generate_builder_field( parameter: &parser::ReturnTypeParameter, enum_names: &HashMap, ) -> proc_macro2::TokenStream { - let namestr = ¶meter.name; - let name = util::to_ident(&namestr.to_snake().replace("__", "_")); - let enum_name = match enum_names.get(namestr) { + let name_string = ¶meter.name; + let name = util::to_ident(&name_string.to_snake().replace("__", "_")); + let enum_name = match enum_names.get(name_string) { Some(enum_type) => enum_type.to_owned(), None => parameter.return_type.to_owned_type(), }; - let rtype = util::to_ident(&enum_name); - let rtype_as_quote = if parameter.return_type.is_list() { - quote! { std::vec::Vec<#rtype> } + let return_type = util::to_ident(&enum_name); + let return_type_as_quote = if parameter.return_type.is_list() { + quote! { std::vec::Vec<#return_type> } } else { - quote! { #rtype } + quote! { #return_type } }; let generate_field = |field_name| { quote! { - #[serde(rename = #namestr)] - pub #field_name: #rtype_as_quote + #[serde(rename = #name_string)] + pub #field_name: #return_type_as_quote } }; // "type" is a reserved keyword in Rust, so we just add "t_" to it. - if namestr == "type" { + if name_string == "type" { generate_field(format_ident!("t_{}", name)) } else { generate_field(name) diff --git a/qbittorrent-web-api-gen/src/md_parser/md_token.rs b/qbittorrent-web-api-gen/src/md_parser/md_token.rs index 39de178..fd36c51 100644 --- a/qbittorrent-web-api-gen/src/md_parser/md_token.rs +++ b/qbittorrent-web-api-gen/src/md_parser/md_token.rs @@ -1,7 +1,7 @@ #[derive(Debug, Clone, PartialEq, Eq)] pub enum MdContent { Text(String), - Asterix(String), + Asterisk(String), Table(Table), } @@ -39,7 +39,7 @@ impl MdContent { pub fn inner_value_as_string(&self) -> String { match self { MdContent::Text(text) => text.into(), - MdContent::Asterix(text) => text.into(), + MdContent::Asterisk(text) => text.into(), MdContent::Table(table) => table.raw(), } } @@ -68,7 +68,7 @@ impl MdToken { content: line.trim_matches('#').trim().to_string(), }) } else if line.starts_with('*') { - MdToken::Content(MdContent::Asterix( + MdToken::Content(MdContent::Asterisk( line.trim_matches('*').trim().to_string(), )) } else { diff --git a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory.rs b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory.rs index d04ac8b..ad170ff 100644 --- a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory.rs +++ b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory.rs @@ -113,8 +113,8 @@ mod tests { } #[test] - fn should_remove_surrounding_asterix() { - run_test!("should_remove_surrounding_asterix"); + fn should_remove_surrounding_asterisk() { + run_test!("should_remove_surrounding_asterisk"); } #[test] diff --git a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/log.check b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/log.check index e19fe27..41a4da1 100644 --- a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/log.check +++ b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/log.check @@ -32,7 +32,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -114,7 +114,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( diff --git a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterix.check b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterisk.check similarity index 90% rename from qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterix.check rename to qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterisk.check index 2c66917..2255cf5 100644 --- a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterix.check +++ b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterisk.check @@ -7,7 +7,7 @@ TokenTree { "A", ), content: [ - Asterix( + Asterisk( "B", ), ], diff --git a/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterix.md b/qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterisk.md similarity index 100% rename from qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterix.md rename to qbittorrent-web-api-gen/src/md_parser/token_tree_factory_tests/should_remove_surrounding_asterisk.md diff --git a/qbittorrent-web-api-gen/src/parser/group/method/description.rs b/qbittorrent-web-api-gen/src/parser/group/method/description.rs index 73f3fce..dfeab4e 100644 --- a/qbittorrent-web-api-gen/src/parser/group/method/description.rs +++ b/qbittorrent-web-api-gen/src/parser/group/method/description.rs @@ -5,7 +5,7 @@ pub fn parse_method_description(content: &[MdContent]) -> Option { .iter() // skip until we get to the "Returns:" text .skip_while(|row| match row { - MdContent::Asterix(text) => !text.starts_with("Returns:"), + MdContent::Asterisk(text) => !text.starts_with("Returns:"), _ => true, }) // there is one space before the table diff --git a/qbittorrent-web-api-gen/src/parser/group/method/parameters.rs b/qbittorrent-web-api-gen/src/parser/group/method/parameters.rs index ebbfb07..189c160 100644 --- a/qbittorrent-web-api-gen/src/parser/group/method/parameters.rs +++ b/qbittorrent-web-api-gen/src/parser/group/method/parameters.rs @@ -6,7 +6,7 @@ pub fn parse_parameters(content: &[md_parser::MdContent]) -> Option { + md_parser::MdContent::Asterisk(content) | md_parser::MdContent::Text(content) => { !content.starts_with("Parameters:") } _ => true, diff --git a/qbittorrent-web-api-gen/token_tree.txt b/qbittorrent-web-api-gen/token_tree.txt index db4b5e6..2828f1c 100644 --- a/qbittorrent-web-api-gen/token_tree.txt +++ b/qbittorrent-web-api-gen/token_tree.txt @@ -380,7 +380,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "", ), Text( @@ -825,7 +825,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -865,7 +865,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -967,7 +967,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -979,7 +979,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -1044,7 +1044,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -1056,7 +1056,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -1109,7 +1109,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -1121,7 +1121,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -1174,7 +1174,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -1186,7 +1186,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -1297,7 +1297,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -1309,7 +1309,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -1356,7 +1356,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -1368,7 +1368,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -3560,7 +3560,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -3590,7 +3590,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -3620,7 +3620,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Notes**:", ), Text( @@ -3661,7 +3661,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -3673,7 +3673,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -3744,7 +3744,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -3826,7 +3826,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -4244,7 +4244,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -4276,7 +4276,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -4408,7 +4408,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -4458,7 +4458,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -4646,7 +4646,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -4704,7 +4704,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -4788,7 +4788,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -4800,7 +4800,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5072,7 +5072,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5084,7 +5084,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5137,7 +5137,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5149,7 +5149,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5196,7 +5196,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5208,7 +5208,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5261,7 +5261,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5293,7 +5293,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5340,7 +5340,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5352,7 +5352,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5405,7 +5405,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5437,7 +5437,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5484,7 +5484,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5517,7 +5517,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -5582,7 +5582,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -5689,7 +5689,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -6378,7 +6378,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -6410,7 +6410,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -6893,7 +6893,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -6925,7 +6925,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -7179,7 +7179,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -7211,7 +7211,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -7342,7 +7342,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -7383,7 +7383,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -7645,7 +7645,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -7677,7 +7677,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -7814,7 +7814,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -7846,7 +7846,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -7939,7 +7939,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -7997,7 +7997,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8050,7 +8050,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -8108,7 +8108,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8161,7 +8161,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -8219,7 +8219,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8272,7 +8272,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -8330,7 +8330,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8383,7 +8383,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -8441,7 +8441,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8698,7 +8698,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -8858,7 +8858,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -8957,7 +8957,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9011,7 +9011,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9059,7 +9059,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9134,7 +9134,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9175,7 +9175,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9236,7 +9236,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9278,7 +9278,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9338,7 +9338,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9396,7 +9396,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9456,7 +9456,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9514,7 +9514,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9574,7 +9574,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9632,7 +9632,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9692,7 +9692,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9750,7 +9750,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -9804,7 +9804,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -9865,7 +9865,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10115,7 +10115,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10227,7 +10227,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10448,7 +10448,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10557,7 +10557,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10664,7 +10664,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10790,7 +10790,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10898,7 +10898,7 @@ TokenTree { Text( "```", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -10984,7 +10984,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11078,7 +11078,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11178,7 +11178,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11290,7 +11290,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11405,7 +11405,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11488,7 +11488,7 @@ TokenTree { Text( "```", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11574,7 +11574,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11663,7 +11663,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11772,7 +11772,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11825,7 +11825,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -11883,7 +11883,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -11936,7 +11936,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -11994,7 +11994,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12096,7 +12096,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12198,7 +12198,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12245,7 +12245,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -12293,7 +12293,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12354,7 +12354,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -12402,7 +12402,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12513,7 +12513,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12607,7 +12607,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12699,7 +12699,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12799,7 +12799,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -12987,7 +12987,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13072,7 +13072,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13413,7 +13413,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13492,7 +13492,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13614,7 +13614,7 @@ TokenTree { Text( "```", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13756,7 +13756,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13824,7 +13824,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -13873,7 +13873,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -13983,7 +13983,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14015,7 +14015,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14069,7 +14069,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14101,7 +14101,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14239,7 +14239,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14287,7 +14287,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14379,7 +14379,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Result object:", ), Text( @@ -14563,7 +14563,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14595,7 +14595,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14649,7 +14649,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14661,7 +14661,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14882,7 +14882,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14915,7 +14915,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -14962,7 +14962,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -14995,7 +14995,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -15042,7 +15042,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -15083,7 +15083,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text( @@ -15130,7 +15130,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Parameters:", ), Text( @@ -15142,7 +15142,7 @@ TokenTree { Text( "", ), - Asterix( + Asterisk( "Returns:", ), Text(