Index
Modules:
niprefs
,
niprefs/nodeutils
.
API symbols
`$`:
niprefs: proc `$`(prefs: Prefs): string
nodeutils: proc `$`(date: TomlDate): string
nodeutils: proc `$`(datetime: TomlDateTime): string
nodeutils: proc `$`(time: TomlTime): string
nodeutils: proc `$`(zone: TomlTimeZone): string
nodeutils: proc `$`(node: TomlValue): string
nodeutils: proc `$`(node: TomlValueRef): string
`==`:
nodeutils: proc `==`[T: not TomlValueRef](node: TomlValueRef; val: T): bool
`[]=`:
niprefs: proc `[]=`[T: not TomlValueRef](prefs: Prefs; key: string; val: T)
niprefs: proc `[]=`(prefs: Prefs; key: string; val: TomlValueRef)
nodeutils: proc `[]=`[T: not TomlValueRef](node: TomlValueRef; index: int; val: T)
nodeutils: proc `[]=`(node: TomlValueRef; index: int; val: TomlTableRef)
nodeutils: proc `[]=`(node: TomlValueRef; index: int; val: TomlValueRef)
nodeutils: proc `[]=`[T: not TomlValueRef](node: TomlValueRef; key: string; val: T)
`[]`:
niprefs: proc `[]`(prefs: Prefs; key: string): TomlValueRef
nodeutils: proc `[]`(node: TomlValueRef; index: int): TomlValueRef
nodeutils: proc `[]`(node: TomlValueRef; name: string): TomlValueRef
`{}=`:
niprefs: proc `{}=`[T: not TomlValueRef](prefs: Prefs; keys: varargs[string]; val: T)
niprefs: proc `{}=`(prefs: Prefs; keys: varargs[string]; val: TomlValueRef)
nodeutils: proc `{}=`[T: not TomlValueRef](node: TomlValueRef; keys: varargs[string]; value: T)
`{}`:
niprefs: proc `{}`(prefs: Prefs; keys: varargs[string]): TomlValueRef
add:
nodeutils: proc add(node: TomlValueRef; chr: char)
nodeutils: proc add(node: TomlValueRef; str: string)
nodeutils: proc add[T: not TomlValueRef](node: TomlValueRef; val: T)
nodeutils: proc add(node: TomlValueRef; table: TomlTableRef)
nodeutils: proc add(node: TomlValueRef; val: TomlValueRef)
contains:
niprefs: proc contains(prefs: Prefs; key: string): bool
nodeutils: proc contains(node: TomlValueRef; chr: char): bool
nodeutils: proc contains(node: TomlValueRef; str: string): bool
nodeutils: proc contains[T: not TomlValueRef](node: TomlValueRef; val: T): bool
nodeutils: proc contains(node: TomlValueRef; val: TomlTableRef): bool
nodeutils: proc contains(node: TomlValueRef; val: TomlValueRef): bool
default:
niprefs: proc default(prefs: Prefs): TomlValueRef
delete:
niprefs: proc delete(prefs: Prefs; key: string)
nodeutils: proc delete(node: TomlValueRef; index: int)
getArray:
nodeutils: proc getArray(node: TomlValueRef): TomlArray
getBool:
nodeutils: proc getBool(node: TomlValueRef): bool
getDateTime:
nodeutils: proc getDateTime(node: TomlValueRef): TomlDateTime
getFloat:
nodeutils: proc getFloat(node: TomlValueRef): float64
getInt:
nodeutils: proc getInt(node: TomlValueRef): int64
getString:
nodeutils: proc getString(node: TomlValueRef): string
getTable:
nodeutils: proc getTable(node: TomlValueRef): TomlTableRef
getTables:
nodeutils: proc getTables(node: TomlValueRef): TomlTables
hasKey:
niprefs: proc hasKey(prefs: Prefs; key: string): bool
niprefs: proc hasKey(prefs: Prefs; keys: varargs[string]): bool
nodeutils: proc hasKey(node: TomlValueRef; keys: varargs[string]): bool
initPrefs:
niprefs: proc initPrefs(path: string; default: TomlValueRef): Prefs
items:
nodeutils: iterator items(node: TomlValueRef): TomlValueRef
len:
niprefs: proc len(prefs: Prefs): int
nodeutils: proc len(node: TomlValueRef): int
newTArray:
nodeutils: proc newTArray(val: openArray[TomlValueRef] = default TomlArray): TomlValueRef
newTBool:
nodeutils: proc newTBool(val: bool = default bool): TomlValueRef
newTDateTime:
nodeutils: proc newTDateTime(val: TomlDateTime = default TomlDateTime): TomlValueRef
newTFloat:
nodeutils: proc newTFloat(val: float64 = default float64): TomlValueRef
newTInt:
nodeutils: proc newTInt(val: int64 = default int64): TomlValueRef
newTNode:
nodeutils: proc newTNode(val: bool): TomlValueRef
nodeutils: proc newTNode(val: float64): TomlValueRef
nodeutils: proc newTNode(val: int64): TomlValueRef
nodeutils: proc newTNode(val: openArray[(string, TomlValueRef)]): TomlValueRef
nodeutils: proc newTNode(val: openArray[TomlTableRef]): TomlValueRef
nodeutils: proc newTNode(val: openArray[TomlValueRef]): TomlValueRef
nodeutils: proc newTNode(val: string): TomlValueRef
nodeutils: proc newTNode(val: TomlDateTime): TomlValueRef
nodeutils: proc newTNode(val: TomlTableRef): TomlValueRef
nodeutils: proc newTNode(val: TomlValueRef): TomlValueRef
newTString:
nodeutils: proc newTString(val: string = default string): TomlValueRef
newTTable:
nodeutils: proc newTTable(pairs: openArray[(string, TomlValueRef)]): TomlValueRef
nodeutils: proc newTTable(val: TomlTableRef = new TomlTableRef): TomlValueRef
newTTables:
nodeutils: proc newTTables(val: openArray[TomlTableRef] = default TomlTables): TomlValueRef
overwrite:
niprefs: proc overwrite(prefs: Prefs; keys: openArray[string])
niprefs: proc overwrite(prefs: Prefs; key: string)
niprefs: proc overwrite(prefs: var Prefs; table: TomlValueRef = prefs.default)
pairs:
nodeutils: iterator pairs(node: TomlValueRef): (string, TomlValueRef)
Prefs:
niprefs: object Prefs
remove:
niprefs: proc remove(prefs: Prefs)
save:
niprefs: proc save(prefs: Prefs)
tDate:
nodeutils: proc tDate(year: range[0 .. 9999] = 0; month: range[1 .. 12] = 1; day: range[1 .. 31] = 1): TomlDate
nodeutils: proc tDate(source: string): TomlDate
tDateTime:
nodeutils: proc tDateTime(date: Option[TomlDate] = none(TomlDate); time: Option[TomlTime] = none(TomlTime); zone: Option[TomlTimeZone] = none(TomlTimeZone)): TomlDateTime
nodeutils: proc tDateTime(source: string): TomlDateTime
TomlArray:
nodeutils: type TomlArray
TomlTables:
nodeutils: type TomlTables
toToml:
nodeutils: macro toToml(obj: untyped): TomlValueRef
toTTable:
nodeutils: template toTTable(body: untyped): TomlTableRef
toTTables:
nodeutils: macro toTTables(obj: untyped): TomlValueRef
tTime:
nodeutils: proc tTime(hour: range[0 .. 23] = 0; minute: range[0 .. 59]; second: range[0 .. 60]; subsecond: int = 0): TomlTime
nodeutils: proc tTime(source: string): TomlTime
tTimeZone:
nodeutils: proc tTimeZone(positiveShift = false; hourShift, minuteShift: int = 0): TomlTimeZone