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