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