☰
Index
Modules:
pyformats
,
pyformats/curly
,
pyformats/percent
,
pyformats/private/format
,
pyformats/private/formatValue_Any
,
pyformats/private/formatWithSpec
,
pyformats/private/format_utils
,
pyformats/private/formats
,
pyformats/private/percent_format
.
API symbols
`&=`:
format_utils: template `&=`(result: var NimNode; s: NimNode)
add:
format_utils: proc add(result: var NimNode; c: char)
addSubStr:
format_utils: proc addSubStr(result: var NimNode; s: NimNode; start, stop: int)
format_utils: proc addSubStr(result: var NimNode; s: string; start, stop: int)
format_utils: proc addSubStr(self: var string; s: openArray[char]; start: int; stop: int)
format:
formats: proc format(value: char; format_spec: string = ""): string
formats: template format[T](value: T; format_spec: string = ""): string
formatedValue:
format_utils: template formatedValue(v; spec): string
formatValue:
format_utils: proc formatValue[T](result: var NimNode; x: int; spec: NimNode)
format_utils: proc formatValue(result: var NimNode; x: NimNode; spec: NimNode)
formatWithSpec: proc formatValue(result: var string; value: char | Rune; spec: StandardFormatSpecifier)
formatWithSpec: proc formatValue(result: var string; value: SomeFloat; spec: StandardFormatSpecifier)
formatWithSpec: proc formatValue(result: var string; value: string; spec: StandardFormatSpecifier)
formatWithSpec: proc formatValue[T: SomeInteger](s: var string; value: T; spec: StandardFormatSpecifier)
GetitemableOfK:
format_utils: type GetitemableOfK
pyformat:
format: macro pyformat(s: static[string]; argKw: varargs[untyped]): string
format: macro pyformat(s: string; argKw: varargs[untyped]): string
pyformatImplAux:
format: proc pyformatImplAux(s: string; args: openArray[Any]; kw: GetitemableOfK[string]): string
format: proc pyformatImplAux(s: string; args: openArray[NimNode]; kw: Kw): NimNode
pyformatMap:
format: macro pyformatMap(s: string; map: GetitemableOfK[string]): string
format: template pyformatMap(s: static string; map: GetitemableOfK[string]): string