• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
2 //
3 //   ucd-generate dfa --name WHITESPACE_ANCHORED_REV --reverse --anchored --classes --premultiply --minimize --state-size 2 src/unicode/fsm/ \s+
4 //
5 // ucd-generate 0.2.12 is available on crates.io.
6 
7 #[cfg(target_endian = "big")]
8 pub static WHITESPACE_ANCHORED_REV: ::once_cell::sync::Lazy<
9     ::regex_automata::DenseDFA<&'static [u16], u16>,
10 > = ::once_cell::sync::Lazy::new(|| {
11     #[repr(C)]
12     struct Aligned<B: ?Sized> {
13         _align: [u16; 0],
14         bytes: B,
15     }
16 
17     static ALIGNED: &'static Aligned<[u8]> = &Aligned {
18         _align: [],
19         bytes: *include_bytes!("whitespace_anchored_rev.bigendian.dfa"),
20     };
21 
22     unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) }
23 });
24 
25 #[cfg(target_endian = "little")]
26 pub static WHITESPACE_ANCHORED_REV: ::once_cell::sync::Lazy<
27     ::regex_automata::DenseDFA<&'static [u16], u16>,
28 > = ::once_cell::sync::Lazy::new(|| {
29     #[repr(C)]
30     struct Aligned<B: ?Sized> {
31         _align: [u16; 0],
32         bytes: B,
33     }
34 
35     static ALIGNED: &'static Aligned<[u8]> = &Aligned {
36         _align: [],
37         bytes: *include_bytes!("whitespace_anchored_rev.littleendian.dfa"),
38     };
39 
40     unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) }
41 });
42