package rangetable
Import Path
golang.org/x/text/unicode/rangetable (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
merge.go
Package rangetable provides utilities for creating and inspecting
unicode.RangeTables.
tables13.0.0.go
Package-Level Type Names (total 3, none are exported)
Package-Level Functions (total 5, in which 4 are exported)
Assigned returns a RangeTable with all assigned code points for a given
Unicode version. This includes graphic, format, control, and private-use
characters. It returns nil if the data for the given version is not
available.
Merge returns a new RangeTable that is the union of the given tables.
It can also be used to compact user-created RangeTables. The entries in
R16 and R32 for any given RangeTable should be sorted and non-overlapping.
A lookup in the resulting table can be several times faster than using In
directly on the ranges. Merge is an expensive operation, however, and only
makes sense if one intends to use the result for more than a couple of
hundred lookups.
New creates a RangeTable from the given runes, which may contain duplicates.
Visit visits all runes in the given RangeTable in order, calling fn for each.
Package-Level Variables (total 16, none are exported)
Package-Level Constants (only one, which is unexported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |