compiler/stage1_py/l0_string_escape.py
Module l0_string_escape
Overview Symbols grouped by source file: compiler/stage1_py/l0_string_escape.py
Source: compiler/stage1_py/l0_string_escape.py Language: Python
Module Members
_HEX_CHARS:str l0_string_escape._HEX_CHARS_OCT_CHARS:str l0_string_escape._OCT_CHARS_TRIGRAPH_THIRD_BYTES:l0_string_escape._TRIGRAPH_THIRD_BYTES_SIMPLE_ESCAPES:dict l0_string_escape._SIMPLE_ESCAPESdecode_l0_string_token:bytes l0_string_escape.decode_l0_string_token(str text)- Decode an L0 string literal payload to raw bytes.encode_c_string_bytes:str l0_string_escape.encode_c_string_bytes(bytes data)- Encode raw bytes into a C-safe string literal body.