Index
Modules:
parsetoml
.
API symbols
`$`:
parsetoml: proc `$`(val: TomlDate): string
parsetoml: proc `$`(val: TomlDateTime): string
parsetoml: proc `$`(val: TomlTime): string
parsetoml: proc `$`(val: TomlValue): string
parsetoml: proc `$`(val: TomlValueRef): string
`==`:
parsetoml: proc `==`(a, b: TomlValueRef): bool
`?*`:
parsetoml: macro `?*`(x: untyped): untyped
`?`:
parsetoml: proc `?`(o: object): TomlValueRef
parsetoml: proc `?`(b: bool): TomlValueRef
parsetoml: proc `?`(n: float): TomlValueRef
parsetoml: proc `?`(n: int64): TomlValueRef
parsetoml: proc `?`[T](elements: openArray[T]): TomlValueRef
parsetoml: proc `?`(keyVals: openArray[tuple[key: string, val: TomlValueRef]]): TomlValueRef
parsetoml: proc `?`(o: ref object): TomlValueRef
parsetoml: proc `?`(s: string): TomlValueRef
parsetoml: template `?`(j: TomlValueRef): TomlValueRef
parsetoml: proc `?`(o: enum): TomlValueRef
`[]=`:
parsetoml: proc `[]=`(obj: TomlValueRef; key: string; val: TomlValueRef)
`[]`:
parsetoml: proc `[]`(node: TomlValueRef; index: int): TomlValueRef
parsetoml: proc `[]`(node: TomlValueRef; name: string): TomlValueRef
`{}=`:
parsetoml: proc `{}=`(node: TomlValueRef; keys: varargs[string]; value: TomlValueRef)
`{}`:
parsetoml: proc `{}`(node: TomlValueRef; keys: varargs[string]): TomlValueRef
add:
parsetoml: proc add(obj: TomlValueRef; key: string; val: TomlValueRef)
parsetoml: proc add(father, child: TomlValueRef)
contains:
parsetoml: proc contains(node: TomlValueRef; key: string): bool
parsetoml: proc contains(node: TomlValueRef; val: TomlValueRef): bool
copy:
parsetoml: proc copy(p: TomlValueRef): TomlValueRef
delete:
parsetoml: proc delete(obj: TomlValueRef; key: string)
dump:
parsetoml: proc dump(table: TomlTableRef; indentLevel: int = 0)
existsKey:
parsetoml: proc existsKey(node: TomlValueRef; key: string): bool
getBiggestInt:
parsetoml: proc getBiggestInt(n: TomlValueRef; default: int64 = 0): int64
getBool:
parsetoml: proc getBool(n: TomlValueRef; default: bool = false): bool
getElems:
parsetoml: proc getElems(n: TomlValueRef; default: seq[TomlValueRef] = @[]): seq[TomlValueRef]
getFloat:
parsetoml: proc getFloat(n: TomlValueRef; default: float = 0.0): float
getInt:
parsetoml: proc getInt(n: TomlValueRef; default: int = 0): int
getOrDefault:
parsetoml: proc getOrDefault(node: TomlValueRef; key: string): TomlValueRef
getStr:
parsetoml: proc getStr(n: TomlValueRef; default: string = ""): string
getTable:
parsetoml: proc getTable(n: TomlValueRef; default = new(TomlTableRef)): TomlTableRef
hash:
parsetoml: proc hash(n: OrderedTable[string, TomlValueRef]): Hash
parsetoml: proc hash(n: TomlValueRef): Hash
hasKey:
parsetoml: proc hasKey(node: TomlValueRef; key: string): bool
len:
parsetoml: proc len(n: TomlValueRef): int
Neg:
parsetoml: Sign.Neg
newTArray:
parsetoml: proc newTArray(): TomlValueRef
newTBool:
parsetoml: proc newTBool(b: bool): TomlValueRef
newTFloat:
parsetoml: proc newTFloat(n: float): TomlValueRef
newTInt:
parsetoml: proc newTInt(n: int64): TomlValueRef
newTNull:
parsetoml: proc newTNull(): TomlValueRef
newTString:
parsetoml: proc newTString(s: string): TomlValueRef
newTTable:
parsetoml: proc newTTable(): TomlValueRef
None:
parsetoml: Sign.None
parseFile:
parsetoml: proc parseFile(f: File; fileName: string = ""): TomlValueRef
parsetoml: proc parseFile(fileName: string): TomlValueRef
parseStream:
parsetoml: proc parseStream(inputStream: streams.Stream; fileName: string = ""): TomlValueRef
parseString:
parsetoml: proc parseString(tomlStr: string; fileName: string = ""): TomlValueRef
parseToml:
parsetoml: macro parseToml(x: untyped): untyped
Pos:
parsetoml: Sign.Pos
Sign:
parsetoml: enum Sign
simpleGetOrDefault:
parsetoml: template simpleGetOrDefault{ `{}`(node, [key]) }(node: TomlValueRef; key: string): TomlValueRef
toJson:
parsetoml: proc toJson(table: TomlTableRef): JsonNode
parsetoml: proc toJson(value: TomlValueRef): JsonNode
TomlDate:
parsetoml: object TomlDate
TomlDateTime:
parsetoml: object TomlDateTime
TomlError:
parsetoml: object TomlError
TomlTable:
parsetoml: type TomlTable
TomlTableRef:
parsetoml: type TomlTableRef
TomlTime:
parsetoml: object TomlTime
TomlValue:
parsetoml: object TomlValue
TomlValueKind:
parsetoml: enum TomlValueKind
TomlValueRef:
parsetoml: type TomlValueRef
toTomlString:
parsetoml: proc toTomlString(value: TomlTableRef; parents = ""): string
parsetoml: proc toTomlString(value: TomlValueRef): string