| 1 | //! Shared traits for the options API. |
| 2 | //! |
| 3 | //! The following constants have the following signifiers: |
| 4 | //! |
| 5 | //! - `${X}_LITERAL`: Applies to all literal values for that language (for |
| 6 | //! example, [`RUST_LITERAL`]). |
| 7 | //! - `${X}_STRING`: Applies to all string values for that language (for |
| 8 | //! example, [`ERLANG_STRING`]). |
| 9 | //! - `${X}`: Applies to all values for that language (for example, [`KAWA`]). |
| 10 | //! - `${X}_(NAN|INF|INFINITY)`: Applies to only a single special value (for |
| 11 | //! example, [`PHP_LITERAL_NAN`], [`PHP_LITERAL_INF`], and |
| 12 | //! [`PHP_LITERAL_INFINITY`]). |
| 13 | //! |
| 14 | //! If it's not defined, all values are the default. The default options |
| 15 | //! are: |
| 16 | //! - NaN: (`*_NAN`): `NaN` |
| 17 | //! - Short infinity: (`*_INF`): `Inf` (including `+Inf` and `-Inf`) |
| 18 | //! - Long infinity: (`*_INFINITY`): `Infinity` (including `+Infinity` and |
| 19 | //! `-Infinity`) |
| 20 | |
| 21 | #[cfg(any(feature = "write-floats", feature = "write-integers"))] |
| 22 | use craterust-analyzer cargo lexical-util 1.0.7 crate/::constantsrust-analyzer cargo lexical-util 1.0.7 constants/::FormattedSizerust-analyzer cargo lexical-util 1.0.7 constants/FormattedSize#; |
| 23 | |
| 24 | // TRAITS |
| 25 | // ------ |
| 26 | |
| 27 | #[doc(hidden)] |
| 28 | #[macro_export] |
| 29 | macro_rules! write_options_docrust-analyzer cargo lexical-util 1.0.7 options/write_options_doc! { |
| 30 | () => { |
| 31 | " |
| 32 | Get an upper bound on the required buffer size. |
| 33 | |
| 34 | <div class=\"warning\"> |
| 35 | |
| 36 | This method is soft-deprecated and meant for internal use. |
| 37 | You should always use [`buffer_size_const`] so you can get |
| 38 | the required buffer size at compile time to determine the |
| 39 | buffer size required. |
| 40 | |
| 41 | </div> |
| 42 | |
| 43 | [`buffer_size_const`]: Self::buffer_size_const |
| 44 | |
| 45 | This is used when custom formatting options, such as significant |
| 46 | digits specifiers or custom exponent breaks, are used, which |
| 47 | can lead to more or less significant digits being written than |
| 48 | expected. If using the default formatting options, then this will |
| 49 | always be [`FORMATTED_SIZE`][FormattedSize::FORMATTED_SIZE] or |
| 50 | [`FORMATTED_SIZE_DECIMAL`][FormattedSize::FORMATTED_SIZE_DECIMAL], |
| 51 | depending on the radix. |
| 52 | " |
| 53 | }; |
| 54 | } |
| 55 | |
| 56 | /// Shared trait for all writer options. |
| 57 | #[cfg(any(feature = "write-floats", feature = "write-integers"))] |
| 58 | pub trait WriteOptionsrust-analyzer cargo lexical-util 1.0.7 options/WriteOptions#: Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default# { |
| 59 | /// Determine if the options are valid. |
| 60 | fn is_validrust-analyzer cargo lexical-util 1.0.7 options/WriteOptions#is_valid().(&self) -> bool; |
| 61 | |
| 62 | /// Get an upper bound on the required buffer size. |
| 63 | /// |
| 64 | /// <div class="warning"> |
| 65 | /// |
| 66 | /// This method is soft-deprecated and meant for internal use. |
| 67 | /// You should always use `buffer_size_const` for either [`integer`] or |
| 68 | /// [`float`] writer so you can get the required buffer size at compile time |
| 69 | /// to determine the buffer size required. |
| 70 | /// |
| 71 | /// </div> |
| 72 | /// |
| 73 | /// [`integer`]: https://docs.rs/lexical-write-integer/latest/lexical_write_integer/struct.Options.html#method.buffer_size_const |
| 74 | /// [`float`]: https://docs.rs/lexical-write-float/latest/lexical_write_float/struct.Options.html#method.buffer_size_const |
| 75 | /// |
| 76 | /// This is used when custom formatting options, such as significant |
| 77 | /// digits specifiers or custom exponent breaks, are used, which |
| 78 | /// can lead to more or less significant digits being written than |
| 79 | /// expected. If using the default formatting options, then this will |
| 80 | /// always be [`FORMATTED_SIZE`][FormattedSize::FORMATTED_SIZE] or |
| 81 | /// [`FORMATTED_SIZE_DECIMAL`][FormattedSize::FORMATTED_SIZE_DECIMAL], |
| 82 | /// depending on the radix. |
| 83 | /// |
| 84 | /// Using `buffer_size_const` lets you create static arrays at compile time, |
| 85 | /// rather than dynamically-allocate memory or know the value ahead of time. |
| 86 | #[deprecated = "Use `buffer_size_const` instead. Will be removed in 2.0."] |
| 87 | fn buffer_sizerust-analyzer cargo lexical-util 1.0.7 options/WriteOptions#buffer_size().<T: FormattedSizerust-analyzer cargo lexical-util 1.0.7 constants/FormattedSize#, const FORMAT: u128>(&self) -> usize; |
| 88 | } |
| 89 | |
| 90 | /// Shared trait for all parser options. |
| 91 | #[cfg(any(feature = "parse-floats", feature = "parse-integers"))] |
| 92 | pub trait ParseOptionsrust-analyzer cargo lexical-util 1.0.7 options/ParseOptions#: Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default# { |
| 93 | /// Determine if the options are valid. |
| 94 | fn is_validrust-analyzer cargo lexical-util 1.0.7 options/ParseOptions#is_valid().(&self) -> bool; |
| 95 | } |
| 96 | |
| 97 | // PRE-DEFINED CONSTANTS |
| 98 | // --------------------- |
| 99 | |
| 100 | // The following constants have the following signifiers: |
| 101 | // ${X}_LITERAL - Applies to all literal values for that language. |
| 102 | // ${X}_STRING - Applies to all string values for that language. |
| 103 | // ${X} - Applies to all values for that language. |
| 104 | // ${X}_(NAN|INF|INFINITY) - Applies to only a single special value. |
| 105 | // IF it's not defined, all values are the default. |
| 106 | |
| 107 | macro_rules! literalrust-analyzer cargo lexical-util 1.0.7 options/literal! { |
| 108 | ($name:ident, $value:ident $(, $doc:literal)?) => { |
| 109 | $(#[doc = $doc])? |
| 110 | pub const $name: Option<&[u8]> = $value; |
| 111 | }; |
| 112 | ($name:ident, $value:literal $(, $doc:literal)?) => { |
| 113 | $(#[doc = $doc])? |
| 114 | pub const $name: Option<&[u8]> = Some($value); |
| 115 | }; |
| 116 | } |
| 117 | |
| 118 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(RUST_LITERALrust-analyzer cargo lexical-util 1.0.7 options/RUST_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Rust` literal number (uses default options)."); |
| 119 | // RUST_STRING |
| 120 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(PYTHON_LITERALrust-analyzer cargo lexical-util 1.0.7 options/PYTHON_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Python` literal number (uses default options)."); |
| 121 | // PYTHON_STRING |
| 122 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CXX_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/CXX_LITERAL_NAN., b"NAN", "A `C++` literal NaN (`NAN`)."); |
| 123 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CXX_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/CXX_LITERAL_INF., b"INFINITY", "A `C++` literal short infinity (`INFINITY`)."); |
| 124 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CXX_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/CXX_LITERAL_INFINITY., b"INFINITY", "A `C++` literal long infinity (`INFINITY`)."); |
| 125 | // CXX_STRING |
| 126 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(C_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/C_LITERAL_NAN., b"NAN", "A `C` literal NaN (`NAN`)."); |
| 127 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(C_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/C_LITERAL_INF., b"INFINITY", "A `C` literal short infinity (`INFINITY`)."); |
| 128 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(C_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/C_LITERAL_INFINITY., b"INFINITY", "A `C` literal long infinity (`INFINITY`)."); |
| 129 | // RUBY_LITERAL |
| 130 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(RUBY_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/RUBY_LITERAL_NAN., b"NaN", "A `Ruby` literal NaN (`NaN`)."); |
| 131 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(RUBY_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/RUBY_LITERAL_INF., b"Infinity", "A `Ruby` literal short infinity (`Infinity`)."); |
| 132 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(RUBY_STRING_NONErust-analyzer cargo lexical-util 1.0.7 options/RUBY_STRING_NONE., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Ruby` string (uses default options)."); |
| 133 | // C_STRING |
| 134 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SWIFT_LITERALrust-analyzer cargo lexical-util 1.0.7 options/SWIFT_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Swift` literal number (uses default options)."); |
| 135 | // SWIFT_STRING |
| 136 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(GO_LITERALrust-analyzer cargo lexical-util 1.0.7 options/GO_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Golang` literal number (uses default options)."); |
| 137 | // GO_STRING |
| 138 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(HASKELL_LITERALrust-analyzer cargo lexical-util 1.0.7 options/HASKELL_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Haskell` literal number (uses default options)."); |
| 139 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(HASKELL_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/HASKELL_STRING_INF., b"Infinity", "A `Haskell` string short infinity (`Infinity`)."); |
| 140 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(HASKELL_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/HASKELL_STRING_INFINITY., b"Infinity", "A `Haskell` string long infinity (`Infinity`)."); |
| 141 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JAVASCRIPT_INFrust-analyzer cargo lexical-util 1.0.7 options/JAVASCRIPT_INF., b"Infinity", "A `JavaScript` string short infinity (`Infinity`)."); |
| 142 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JAVASCRIPT_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/JAVASCRIPT_INFINITY., b"Infinity", "A `JavaScript` string long infinity (`Infinity`)."); |
| 143 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(PERL_LITERALrust-analyzer cargo lexical-util 1.0.7 options/PERL_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Perl` literal literal (uses default options)."); |
| 144 | // PERL_STRING |
| 145 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(PHP_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/PHP_LITERAL_NAN., b"NAN", "A `PHP` literal NaN (`NAN`)."); |
| 146 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(PHP_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/PHP_LITERAL_INF., b"INF", "A `PHP` literal short infinity (`INF`)."); |
| 147 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(PHP_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/PHP_LITERAL_INFINITY., b"INF", "A `PHP` literal long infinity (`INF`)."); |
| 148 | // PHP_STRING |
| 149 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JAVA_LITERALrust-analyzer cargo lexical-util 1.0.7 options/JAVA_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Java` literal number (uses default options)."); |
| 150 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JAVA_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/JAVA_STRING_INF., b"Infinity", "A `Java` string short infinity (`Infinity`)."); |
| 151 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JAVA_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/JAVA_STRING_INFINITY., b"Infinity", "A `Java` string long infinity (`Infinity`)."); |
| 152 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(R_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/R_LITERAL_INF., b"Inf", "An `R` literal short infinity (`Inf`)."); |
| 153 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(R_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/R_LITERAL_INFINITY., b"Inf", "An `R` literal long infinity (`Inf`)."); |
| 154 | // R_STRING |
| 155 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(KOTLIN_LITERALrust-analyzer cargo lexical-util 1.0.7 options/KOTLIN_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Kotlin` literal number (uses default options)."); |
| 156 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(KOTLIN_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/KOTLIN_STRING_INF., b"Infinity", "A `Kotlin` string short infinity (`Infinity`)."); |
| 157 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(KOTLIN_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/KOTLIN_STRING_INFINITY., b"Infinity", "A `Kotlin` string long infinity (`Infinity`)."); |
| 158 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JULIA_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/JULIA_LITERAL_INF., b"Inf", "A `Julia` string short infinity (`Inf`)."); |
| 159 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JULIA_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/JULIA_LITERAL_INFINITY., b"Inf", "A `Julia` string long infinity (`Inf`)."); |
| 160 | // JULIA_STRING |
| 161 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CSHARP_LITERALrust-analyzer cargo lexical-util 1.0.7 options/CSHARP_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `C#` literal number (uses default options)."); |
| 162 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CSHARP_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/CSHARP_STRING_INF., b"Infinity", "A `C#` string short infinity (`Infinity`)."); |
| 163 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CSHARP_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/CSHARP_STRING_INFINITY., b"Infinity", "A `C#` string long infinity (`Infinity`)."); |
| 164 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(KAWArust-analyzer cargo lexical-util 1.0.7 options/KAWA., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Kawa` (Lisp) literal number (uses default options)."); |
| 165 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(GAMBITCrust-analyzer cargo lexical-util 1.0.7 options/GAMBITC., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Gambit-C` (Lisp) literal number (uses default options)."); |
| 166 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(GUILErust-analyzer cargo lexical-util 1.0.7 options/GUILE., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Guile` (Lisp) literal number (uses default options)."); |
| 167 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CLOJURE_LITERALrust-analyzer cargo lexical-util 1.0.7 options/CLOJURE_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Clojure` (Lisp) literal number (uses default options)."); |
| 168 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CLOJURE_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/CLOJURE_STRING_INF., b"Infinity", "A `Clojure` string short infinity (`Infinity`)."); |
| 169 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(CLOJURE_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/CLOJURE_STRING_INFINITY., b"Infinity", "A `Clojure` string long infinity (`Infinity`)."); |
| 170 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ERLANG_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/ERLANG_LITERAL_NAN., b"nan", "An `Erlang` literal NaN (`nan`)."); |
| 171 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ERLANG_STRINGrust-analyzer cargo lexical-util 1.0.7 options/ERLANG_STRING., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `Erlang` string number (uses default options)."); |
| 172 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ELM_LITERALrust-analyzer cargo lexical-util 1.0.7 options/ELM_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `Elm` literal number (uses default options)."); |
| 173 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ELM_STRING_NANrust-analyzer cargo lexical-util 1.0.7 options/ELM_STRING_NAN., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `Elm` strong NaN (uses default options)."); |
| 174 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ELM_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/ELM_STRING_INF., b"Infinity", "An `Elm` string short infinity (`Infinity`)."); |
| 175 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ELM_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/ELM_STRING_INFINITY., b"Infinity", "An `Elm` string long infinity (`Infinity`)."); |
| 176 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SCALA_LITERALrust-analyzer cargo lexical-util 1.0.7 options/SCALA_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Scala` literal number (uses default options)."); |
| 177 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SCALA_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/SCALA_STRING_INF., b"Infinity", "A `Scala` string short infinity (`Infinity`)."); |
| 178 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SCALA_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/SCALA_STRING_INFINITY., b"Infinity", "A `Scala` string long infinity (`Infinity`)."); |
| 179 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ELIXIRrust-analyzer cargo lexical-util 1.0.7 options/ELIXIR., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `Elixir` number (uses default options)."); |
| 180 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(FORTRAN_LITERALrust-analyzer cargo lexical-util 1.0.7 options/FORTRAN_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `FORTRAN` literal number (uses default options)."); |
| 181 | // FORTRAN_STRING |
| 182 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(D_LITERALrust-analyzer cargo lexical-util 1.0.7 options/D_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `D-Lang` literal number (uses default options)."); |
| 183 | // D_STRING |
| 184 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(COFFEESCRIPT_INFrust-analyzer cargo lexical-util 1.0.7 options/COFFEESCRIPT_INF., b"Infinity", "A `CoffeeScript` string short infinity (`Infinity`)."); |
| 185 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(COFFEESCRIPT_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/COFFEESCRIPT_INFINITY., b"Infinity", "A `CoffeeScript` string long infinity (`Infinity`)."); |
| 186 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(COBOLrust-analyzer cargo lexical-util 1.0.7 options/COBOL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `COBOL` literal number (uses default options)."); |
| 187 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(FSHARP_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/FSHARP_LITERAL_NAN., b"nan", "An `F#` literal NaN (`nan`)."); |
| 188 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(FSHARP_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/FSHARP_LITERAL_INF., b"infinity", "An `F#` literal short infinity (`infinity`)."); |
| 189 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(FSHARP_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/FSHARP_LITERAL_INFINITY., b"infinity", "An `F#` literal long infinity (`infinity`)."); |
| 190 | // FSHARP_STRING |
| 191 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(VB_LITERALrust-analyzer cargo lexical-util 1.0.7 options/VB_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Visual Basic` literal number (uses default options)"); |
| 192 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(VB_STRING_INFrust-analyzer cargo lexical-util 1.0.7 options/VB_STRING_INF., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Visual Basic` short string infinity (uses default options)"); |
| 193 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(VB_STRING_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/VB_STRING_INFINITY., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Visual Basic` long string number (uses default options)"); |
| 194 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(OCAML_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/OCAML_LITERAL_NAN., b"nan", "An `OCAML` literal NaN (`nan`)."); |
| 195 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(OCAML_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/OCAML_LITERAL_INF., b"infinity", "An `OCAML` literal short infinity (`infinity`)."); |
| 196 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(OCAML_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/OCAML_LITERAL_INFINITY., b"infinity", "An `OCAML` literal long infinity (`infinity`)."); |
| 197 | // OCAML_STRING |
| 198 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(OBJECTIVECrust-analyzer cargo lexical-util 1.0.7 options/OBJECTIVEC., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `Objective-C` number (uses default options)."); |
| 199 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(REASONML_LITERAL_NANrust-analyzer cargo lexical-util 1.0.7 options/REASONML_LITERAL_NAN., b"nan", "A `ReasonML` literal NaN (`nan`)."); |
| 200 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(REASONML_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/REASONML_LITERAL_INF., b"infinity", "A `ReasonML` literal short infinity (`infinity`)."); |
| 201 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!( |
| 202 | REASONML_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/REASONML_LITERAL_INFINITY., |
| 203 | b"infinity", |
| 204 | "A `ReasonML` literal long infinity (`infinity`)." |
| 205 | ); |
| 206 | // REASONML_STRING |
| 207 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(MATLAB_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/MATLAB_LITERAL_INF., b"inf", "A `MATLAB` literal short infinity (`inf`)."); |
| 208 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(MATLAB_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/MATLAB_LITERAL_INFINITY., b"Inf", "A `MATLAB` literal long infinity (`Inf`)."); |
| 209 | // MATLAB_STRING |
| 210 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(ZIG_LITERALrust-analyzer cargo lexical-util 1.0.7 options/ZIG_LITERAL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `Zig` literal number (uses default options)."); |
| 211 | // ZIG_STRING |
| 212 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SAGE_LITERAL_INFrust-analyzer cargo lexical-util 1.0.7 options/SAGE_LITERAL_INF., b"infinity", "A `SageMath` literal short infinity (`infinity`)."); |
| 213 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SAGE_LITERAL_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/SAGE_LITERAL_INFINITY., b"Infinity", "A `SageMath` literal long infinity (`Infinity`)."); |
| 214 | // SAGE_STRING |
| 215 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(JSONrust-analyzer cargo lexical-util 1.0.7 options/JSON., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `JSON` number (uses default options)."); |
| 216 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(TOMLrust-analyzer cargo lexical-util 1.0.7 options/TOML., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `TOML` number (uses default options)."); |
| 217 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(YAMLrust-analyzer cargo lexical-util 1.0.7 options/YAML., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `YAML` number (uses default options)."); |
| 218 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(XML_INFrust-analyzer cargo lexical-util 1.0.7 options/XML_INF., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `XML` short infinity (uses default options)."); |
| 219 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(XML_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/XML_INFINITY., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "An `XML` short infinity (uses default options)."); |
| 220 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(SQLITErust-analyzer cargo lexical-util 1.0.7 options/SQLITE., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `SQLite` number (uses default options)."); |
| 221 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(POSTGRESQLrust-analyzer cargo lexical-util 1.0.7 options/POSTGRESQL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `PostgreSQL` number (uses default options)."); |
| 222 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(MYSQLrust-analyzer cargo lexical-util 1.0.7 options/MYSQL., Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "A `MySQL` number (uses default options)."); |
| 223 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(MONGODB_INFrust-analyzer cargo lexical-util 1.0.7 options/MONGODB_INF., b"Infinity", "A `MongoDB` short infinity (`Infinity`)."); |
| 224 | literalrust-analyzer cargo lexical-util 1.0.7 options/literal!!(MONGODB_INFINITYrust-analyzer cargo lexical-util 1.0.7 options/MONGODB_INFINITY., b"Infinity", "A `MongoDB` long infinity (`Infinity`)."); |