src/pylib/stringlib/format_utils

Source   Edit  

Types

GetitemableOfK[K] = concept self
    self[K]
Source   Edit  

Procs

proc add(result: var NimNode; c: char) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc addSubStr(result: var NimNode; s: NimNode; start, stop: int) {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc addSubStr(result: var NimNode; s: string; start, stop: int) {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc addSubStr(self: var string; s: openArray[char]; start: int; stop: int) {.
    ...raises: [], tags: [], forbids: [].}

Add a substring to the string. start..<stop

roughly equal to self.add sstart ..< stop

Source   Edit  
proc formatValue(result: var NimNode; x: NimNode; spec: NimNode) {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc formatValue[T](result: var NimNode; x: int; spec: NimNode)
Source   Edit  

Templates

template `&=`(result: var NimNode; s: NimNode)
Source   Edit  
template formatedValue(v; spec): string
Source   Edit