| 1 | const std = @import("std"); |
| 2 | const common = @import("./_common.zig"); |
| 3 | |
| 4 | pub usingnamespace common.Main(struct { |
| 5 | pub const source_file = "PropList"; |
| 6 | |
| 7 | pub const dest_file = "src/prop_list.zig"; |
| 8 | |
| 9 | pub const dest_header = |
| 10 | \\pub const PropList = struct { |
| 11 | \\ from: u21, |
| 12 | \\ to: u21, |
| 13 | \\ property: Property, |
| 14 | \\ |
| 15 | \\ pub const Property = enum { |
| 16 | \\ White_Space, |
| 17 | \\ Bidi_Control, |
| 18 | \\ Join_Control, |
| 19 | \\ Dash, |
| 20 | \\ Hyphen, |
| 21 | \\ Quotation_Mark, |
| 22 | \\ Terminal_Punctuation, |
| 23 | \\ Other_Math, |
| 24 | \\ Hex_Digit, |
| 25 | \\ ASCII_Hex_Digit, |
| 26 | \\ Other_Alphabetic, |
| 27 | \\ Ideographic, |
| 28 | \\ Diacritic, |
| 29 | \\ Extender, |
| 30 | \\ Other_Lowercase, |
| 31 | \\ Other_Uppercase, |
| 32 | \\ Noncharacter_Code_Point, |
| 33 | \\ Other_Grapheme_Extend, |
| 34 | \\ IDS_Binary_Operator, |
| 35 | \\ IDS_Trinary_Operator, |
| 36 | \\ Radical, |
| 37 | \\ Unified_Ideograph, |
| 38 | \\ Other_Default_Ignorable_Code_Point, |
| 39 | \\ Deprecated, |
| 40 | \\ Soft_Dotted, |
| 41 | \\ Logical_Order_Exception, |
| 42 | \\ Other_ID_Start, |
| 43 | \\ Other_ID_Continue, |
| 44 | \\ Sentence_Terminal, |
| 45 | \\ Variation_Selector, |
| 46 | \\ Pattern_White_Space, |
| 47 | \\ Pattern_Syntax, |
| 48 | \\ Prepended_Concatenation_Mark, |
| 49 | \\ Regional_Indicator, |
| 50 | \\ IDS_Unary_Operator, |
| 51 | \\ ID_Compat_Math_Continue, |
| 52 | \\ ID_Compat_Math_Start, |
| 53 | \\ Modifier_Combining_Mark, |
| 54 | \\ }; |
| 55 | \\}; |
| 56 | \\ |
| 57 | \\pub const data = [_]PropList{ |
| 58 | \\ |
| 59 | ; |
| 60 | |
| 61 | pub const dest_footer = |
| 62 | \\}; |
| 63 | \\ |
| 64 | ; |
| 65 | |
| 66 | pub usingnamespace common.RangeEnum("property"); |
| 67 | }); |