|
Ada 4.1.1
Fast spec-compliant URL parser
|
Go to the source code of this file.
Namespaces | |
| namespace | idna_table |
Functions | |
| idna_table.get_table () | |
| idna_table.get_version (table_data) | |
| idna_table.encode_utf8 (cp) | |
| idna_table.parse_idna (table_data) | |
| idna_table.find_high_ignored_range (entries) | |
| idna_table.compute_low_range_end (entries, high_ignored_start) | |
| idna_table.build_flat_and_mappings (entries, low_range_end) | |
| idna_table.build_two_level (flat) | |
| idna_table.hex2 (v) | |
| idna_table.hex4 (v) | |
| idna_table.hex8 (v) | |
| idna_table.hex16 (v) | |
| idna_table.emit_array_uint8 (name, data, cols=16) | |
| idna_table.emit_array_uint16 (name, data, cols=12) | |
| idna_table.emit_array_uint64 (name, data, cols=4) | |
| idna_table.generate_idna () | |
| idna_table.print_idna () | |
| idna_table.write_idna () | |
Variables | |
| int | idna_table.BLOCK_BITS = 6 |
| int | idna_table.BLOCK_SIZE = 1 << BLOCK_BITS |
| int | idna_table.BLOCK_MASK = BLOCK_SIZE - 1 |
| int | idna_table.BOOL_FLAG = 0x8000 |
| int | idna_table.SENTINEL_VALID = 0xFFFF |
| int | idna_table.SENTINEL_DISALLOWED = 0xFFFE |
| int | idna_table.IGNORED_IDX = 0 |
| str | idna_table.UNICODE_VERSION = "18.0.0" |
| str | idna_table.url = f"https://www.unicode.org/Public/{UNICODE_VERSION}/idna/IdnaMappingTable.txt" |
| str | idna_table.filename = f"IdnaMappingTable-{UNICODE_VERSION}.txt" |