Skip to main content

Module format_string

Module format_string 

Source
Expand description

Parsers for decoded Python string-format values.

Tree-sitter selects the string node; this module parses only its decoded value. It does not search Python source text for calls, operands, or names.

Structs§

BraceField
BraceFormat
PercentFormat
PercentItem

Enums§

BraceSelector

Functions§

parse_brace_format
parse_percent_format