Class: Ucode::Coordinator::Indices
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Coordinator::Indices
- Defined in:
- lib/ucode/coordinator/indices.rb
Overview
Bag of pre-built indices consumed by the per-codepoint enrichment pass. Every field is a frozen-shaped collection that is read-only after ‘build_indices` returns: range files land in sorted Arrays (bsearched by `range_first`); per-cp files land in flat Hashes keyed by Integer codepoint or by “U+XXXX” id string.
Defined with ‘keyword_init: true` so the Coordinator’s ‘Indices.new` call reads as a self-documenting catalogue of every parsed file —adding a new index is one keyword arg here, one builder call in `Coordinator#build_indices`, and one assignment in `#enrich`.
Instance Attribute Summary collapse
-
#bidi_brackets ⇒ Object
Returns the value of attribute bidi_brackets.
-
#bidi_mirroring ⇒ Object
Returns the value of attribute bidi_mirroring.
-
#binary_properties ⇒ Object
Returns the value of attribute binary_properties.
-
#blocks ⇒ Object
Returns the value of attribute blocks.
-
#case_folding ⇒ Object
Returns the value of attribute case_folding.
-
#cjk_radicals ⇒ Object
Returns the value of attribute cjk_radicals.
-
#derived_age ⇒ Object
Returns the value of attribute derived_age.
-
#name_aliases ⇒ Object
Returns the value of attribute name_aliases.
-
#names_list ⇒ Object
Returns the value of attribute names_list.
-
#property_value_aliases ⇒ Object
Returns the value of attribute property_value_aliases.
-
#script_extensions ⇒ Object
Returns the value of attribute script_extensions.
-
#scripts ⇒ Object
Returns the value of attribute scripts.
-
#special_casing ⇒ Object
Returns the value of attribute special_casing.
-
#standardized_variants ⇒ Object
Returns the value of attribute standardized_variants.
-
#unihan ⇒ Object
Returns the value of attribute unihan.
Instance Attribute Details
#bidi_brackets ⇒ Object
Returns the value of attribute bidi_brackets
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def bidi_brackets @bidi_brackets end |
#bidi_mirroring ⇒ Object
Returns the value of attribute bidi_mirroring
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def bidi_mirroring @bidi_mirroring end |
#binary_properties ⇒ Object
Returns the value of attribute binary_properties
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def binary_properties @binary_properties end |
#blocks ⇒ Object
Returns the value of attribute blocks
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def blocks @blocks end |
#case_folding ⇒ Object
Returns the value of attribute case_folding
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def case_folding @case_folding end |
#cjk_radicals ⇒ Object
Returns the value of attribute cjk_radicals
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def cjk_radicals @cjk_radicals end |
#derived_age ⇒ Object
Returns the value of attribute derived_age
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def derived_age @derived_age end |
#name_aliases ⇒ Object
Returns the value of attribute name_aliases
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def name_aliases @name_aliases end |
#names_list ⇒ Object
Returns the value of attribute names_list
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def names_list @names_list end |
#property_value_aliases ⇒ Object
Returns the value of attribute property_value_aliases
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def property_value_aliases @property_value_aliases end |
#script_extensions ⇒ Object
Returns the value of attribute script_extensions
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def script_extensions @script_extensions end |
#scripts ⇒ Object
Returns the value of attribute scripts
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def scripts @scripts end |
#special_casing ⇒ Object
Returns the value of attribute special_casing
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def special_casing @special_casing end |
#standardized_variants ⇒ Object
Returns the value of attribute standardized_variants
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def standardized_variants @standardized_variants end |
#unihan ⇒ Object
Returns the value of attribute unihan
15 16 17 |
# File 'lib/ucode/coordinator/indices.rb', line 15 def unihan @unihan end |