Sha256: e88ea5cbd815f37faa7bcd78f389a6d85f6584dba174c57b284f477e24a7e722

Contents?: true

Size: 723 Bytes

Versions: 3

Compression:

Stored size: 723 Bytes

Contents

module Suika
  class CharDef
    def self.char_type: (String ch) -> String
    def self.char_category: (String ch) -> { invoke: bool, group: bool, length: Integer }

    MAX_GROUPING_SIZE: Integer

    private

    #CHAR_CATEGORY: Hash[String, { invoke: bool, group: bool, length: Integer }]
    CHAR_CATEGORY: Hash[String, untyped]
    CHAR_TYPES: Array[String]

    SPACE: Array[Range[Integer]]
    NUMERIC: Array[Range[Integer]]
    SYMBOL: Array[Range[Integer]]
    ALPHA: Array[Range[Integer]]
    CYRILLIC: Array[Range[Integer]]
    GREEK: Array[Range[Integer]]
    HIRAGANA: Array[Range[Integer]]
    KATAKANA: Array[Range[Integer]]
    KANJI: Array[Range[Integer]]
    KANJINUMERIC: Array[Range[Integer]]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
suika-0.3.2 sig/suika/char_def.rbs
suika-0.3.1 sig/suika/char_def.rbs
suika-0.3.0 sig/suika/char_def.rbs