Class: Ucode::Coordinator::Indices

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#bidi_bracketsObject

Returns the value of attribute bidi_brackets

Returns:

  • (Object)

    the current value of bidi_brackets



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def bidi_brackets
  @bidi_brackets
end

#bidi_mirroringObject

Returns the value of attribute bidi_mirroring

Returns:

  • (Object)

    the current value of bidi_mirroring



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def bidi_mirroring
  @bidi_mirroring
end

#binary_propertiesObject

Returns the value of attribute binary_properties

Returns:

  • (Object)

    the current value of binary_properties



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def binary_properties
  @binary_properties
end

#blocksObject

Returns the value of attribute blocks

Returns:

  • (Object)

    the current value of blocks



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def blocks
  @blocks
end

#case_foldingObject

Returns the value of attribute case_folding

Returns:

  • (Object)

    the current value of case_folding



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def case_folding
  @case_folding
end

#cjk_radicalsObject

Returns the value of attribute cjk_radicals

Returns:

  • (Object)

    the current value of cjk_radicals



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def cjk_radicals
  @cjk_radicals
end

#derived_ageObject

Returns the value of attribute derived_age

Returns:

  • (Object)

    the current value of derived_age



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def derived_age
  @derived_age
end

#name_aliasesObject

Returns the value of attribute name_aliases

Returns:

  • (Object)

    the current value of name_aliases



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def name_aliases
  @name_aliases
end

#names_listObject

Returns the value of attribute names_list

Returns:

  • (Object)

    the current value of names_list



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def names_list
  @names_list
end

#property_value_aliasesObject

Returns the value of attribute property_value_aliases

Returns:

  • (Object)

    the current value of property_value_aliases



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def property_value_aliases
  @property_value_aliases
end

#script_extensionsObject

Returns the value of attribute script_extensions

Returns:

  • (Object)

    the current value of script_extensions



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def script_extensions
  @script_extensions
end

#scriptsObject

Returns the value of attribute scripts

Returns:

  • (Object)

    the current value of scripts



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def scripts
  @scripts
end

#special_casingObject

Returns the value of attribute special_casing

Returns:

  • (Object)

    the current value of special_casing



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def special_casing
  @special_casing
end

#standardized_variantsObject

Returns the value of attribute standardized_variants

Returns:

  • (Object)

    the current value of standardized_variants



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def standardized_variants
  @standardized_variants
end

#unihanObject

Returns the value of attribute unihan

Returns:

  • (Object)

    the current value of unihan



15
16
17
# File 'lib/ucode/coordinator/indices.rb', line 15

def unihan
  @unihan
end