MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / DoLine

Function DoLine

extern/re2/re2/unicode.py:242–248  ·  view source on GitHub ↗

Process single CaseFolding.txt line, updating togroup.

(codes, fields)

Source from the content-addressed store, hash-verified

240 togroup = {}
241
242 def DoLine(codes, fields):
243 """Process single CaseFolding.txt line, updating togroup."""
244 (_, foldtype, lower, _) = fields
245 if foldtype not in ("C", "S"):
246 return
247 lower = _UInt(lower)
248 togroup.setdefault(lower, [lower]).extend(codes)
249
250 ReadUnicodeTable(unicode_dir+"/CaseFolding.txt", 4, DoLine)
251

Callers

nothing calls this directly

Calls 2

_UIntFunction · 0.85
extendMethod · 0.45

Tested by

no test coverage detected