Returns a new [Cursor] with the `sign_is_required` flag set on the token. This indicates that the `+` sign should be preserved during minification. Asserts: the token `kind()` is [Kind::Number].
(&self)
| 92 | /// |
| 93 | /// Asserts: the token `kind()` is [Kind::Number]. |
| 94 | pub fn with_sign_required(&self) -> Self { |
| 95 | debug_assert!(self.1 == Kind::Number); |
| 96 | Self::new(self.offset(), self.token().with_sign_required()) |
| 97 | } |
| 98 | |
| 99 | #[inline] |
| 100 | pub fn atom_bits(&self) -> u32 { |