Class: Ucode::Parsers::Auxiliary
- Inherits:
-
ExtractedProperties
- Object
- Base
- ExtractedProperties
- Ucode::Parsers::Auxiliary
- Defined in:
- lib/ucode/parsers/auxiliary.rb
Overview
Generic range/value parser for the auxiliary segmentation files under ‘auxiliary/` (GraphemeBreakProperty, WordBreakProperty, SentenceBreakProperty, VerticalOrientation, IndicPositionalCategory, IndicSyllabicCategory, IdentifierStatus, IdentifierType) plus the top-level `LineBreak.txt` and `EastAsianWidth.txt`.
File format is identical to ExtractedProperties (UAX #44 range/value):
XXXX..YYYY; value
XXXX; value
Coordinator dispatches by file name to the right CodePoint attribute. This class exists as a distinct name so call sites read “auxiliary” instead of “extracted” — the parsing logic is shared via inheritance. Adding auxiliary-specific behavior later does not require touching ExtractedProperties (OCP).
Method Summary
Methods inherited from ExtractedProperties
Methods inherited from Base
each_line, parse_codepoint_or_range, parse_field, parse_hex_cp