Skip to main content

Module mapping_translators

Module mapping_translators 

Source

Structsยง

MappingEntry ๐Ÿ”’
MappingTranslator
MappingTranslatorMap ๐Ÿ”’
A mapping of variable values to their string entries.

Enumsยง

MappingParseError

Staticsยง

KIND_COLOR_KEYWORDS ๐Ÿ”’

Functionsยง

key_display ๐Ÿ”’
kind_color_keywords ๐Ÿ”’
normalize_first_column ๐Ÿ”’
Normalize the first column value according to its type and specified bit width.
parse_color_kind ๐Ÿ”’
Parse a color or value kind from a token string.
parse_content_with_default_name ๐Ÿ”’
Parse content of file and return a MappingTranslatorMap, falling back to default_name if no name is found in the file.
parse_file ๐Ÿ”’
Parse a file and return a MappingTranslatorMap.
parse_key_value ๐Ÿ”’
Parse the value part of the first item into a VariableValue` and its bit width.
parse_key_with_kind ๐Ÿ”’
Parse the first item into a VariableValue, a ValueKind, and its bit width.
parse_line ๐Ÿ”’
Parse a line and extract variable value, label, value kind, and length of the value.
parse_specifier ๐Ÿ”’