From 056469b18c9765a8533b65eb89538a9ae53031e8 Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Tue, 9 Jul 2024 23:55:47 +0900 Subject: [PATCH] Create unicodedata.d.er --- .../erg_compiler/lib/pystd/unicodedata.d.er | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 crates/erg_compiler/lib/pystd/unicodedata.d.er diff --git a/crates/erg_compiler/lib/pystd/unicodedata.d.er b/crates/erg_compiler/lib/pystd/unicodedata.d.er new file mode 100644 index 00000000..7319ab9a --- /dev/null +++ b/crates/erg_compiler/lib/pystd/unicodedata.d.er @@ -0,0 +1,32 @@ +.UCD: ClassType +.UCD. + lookup: (self: UCD, name: Str) -> Str + name: (self: UCD, chr: Str, default := Str) -> Str + decimal: (self: UCD, chr: Str, default := Str) -> Str + digit: (self: UCD, chr: Str, default := Str) -> Str + numeric: (self: UCD, chr: Str, default := Str) -> Str + category: (self: UCD, chr: Str,) -> Str + bidirectional: (self: UCD, chr: Str,) -> Str + combining: (self: UCD, chr: Str,) -> Str + east_asian_width: (self: UCD, chr: Str,) -> Str + mirrored: (self: UCD, chr: Str,) -> Str + decomposition: (self: UCD, chr: Str,) -> Str + normalize: (self: UCD, form: Str, unistr: Str) -> Str + is_normalized: (self: UCD, form: Str, unistr: Str) -> Bool + +.unidata_version: Str +.ucd_3_2_0: UCD + +.lookup: Str -> Str +.name: (chr: Str, default := Str) -> Str +.decimal: (chr: Str, default := Str) -> Str +.digit: (chr: Str, default := Str) -> Str +.numeric: (chr: Str, default := Str) -> Str +.category: (chr: Str,) -> Str +.bidirectional: (chr: Str,) -> Str +.combining: (chr: Str,) -> Str +.east_asian_width: (chr: Str,) -> Str +.mirrored: (chr: Str,) -> Str +.decomposition: (chr: Str,) -> Str +.normalize: (form: Str, unistr: Str) -> Str +.is_normalized: (form: Str, unistr: Str) -> Bool