src/genny/common

Search:
Group by:
Source   Edit  

Consts

basicTypes = ["bool", "int8", "uint8", "int16", "uint16", "int32", "uint32",
              "int64", "uint64", "int", "uint", "float32", "float64", "float"]
Source   Edit  

Procs

proc getName(sym: NimNode): string {....raises: [ValueError], tags: [], forbids: [].}
Source   Edit  
proc getSeqName(sym: NimNode): string {....raises: [ValueError], tags: [],
                                        forbids: [].}
Source   Edit  
proc raises(procSym: NimNode): bool {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toCamelCase(s: string): string {....raises: [], tags: [], forbids: [].}
Converts nim_type to NimType. Source   Edit  
proc toCapSnakeCase(s: string): string {....raises: [], tags: [], forbids: [].}
Converts NimType to NIM_TYPE. Source   Edit  
proc toSnakeCase(s: string): string {....raises: [], tags: [], forbids: [].}
Converts NimType to nim_type. Source   Edit  
proc toVarCase(s: string): string {....raises: [], tags: [], forbids: [].}
Converts NimType to nimType. Source   Edit