File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
crates/oxc_parser/src/lexer Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,14 @@ use oxc_span::Span;
77use super :: kind:: Kind ;
88
99// Bit layout for `u128`:
10- // - Bits 0-31 (32 bits): `start`
11- // - Bits 32-63 (32 bits): `end`
12- // - Bits 64-71 (8 bits): `kind` (as u8)
13- // - Bit 72 (1 bit): `is_on_new_line`
14- // - Bit 73 (1 bit): `escaped`
15- // - Bit 74 (1 bit): `lone_surrogates`
16- // - Bit 75 (1 bit): `has_separator`
10+ // - Bits 0-31 (32 bits): `start` (`u32`)
11+ // - Bits 32-63 (32 bits): `end` (`u32`)
12+ // - Bits 64-71 (8 bits): `kind` (`Kind`)
13+ // - Bits 72-79 (8 bits): `is_on_new_line` (`bool`)
14+ // - Bits 80-87 (8 bits): `escaped` (`bool`)
15+ // - Bits 88-95 (8 bits): `lone_surrogates` (`bool`)
16+ // - Bits 96-103 (8 bits): `has_separator` (`bool`)
17+ // - Bits 104-127 (24 bits): unused
1718
1819const START_SHIFT : usize = 0 ;
1920const END_SHIFT : usize = 32 ;
You can’t perform that action at this time.
0 commit comments