Index
Modules:
iniplus
,
iniplus/objects
,
iniplus/private/utils
,
iniplus/reader
,
iniplus/retrieve
,
iniplus/writer
.
API symbols
Array:
utils: State.Array
c:
writer: proc c[T](section, key: string; value: T): CondensedConfigValue
writer: proc c(section, key: string; value: varargs[ConfigValue, newValue]): CondensedConfigValue
Colon:
utils: TokenKind.Colon
Comma:
utils: TokenKind.Comma
CondensedConfigValue:
objects: object CondensedConfigValue
ConfigTable:
objects: type ConfigTable
ConfigValue:
objects: object ConfigValue
ConfigValueKind:
objects: enum ConfigValueKind
conv:
utils: proc conv(v: seq[string]; table = false): ConfigValue
utils: proc conv(v: string): ConfigValue
CTable:
utils: State.CTable
CurlyClose:
utils: TokenKind.CurlyClose
CurlyOpen:
utils: TokenKind.CurlyOpen
CVArray:
objects: ConfigValueKind.CVArray
CVBool:
objects: ConfigValueKind.CVBool
CVInt:
objects: ConfigValueKind.CVInt
CVNone:
objects: ConfigValueKind.CVNone
CVString:
objects: ConfigValueKind.CVString
CVTable:
objects: ConfigValueKind.CVTable
dump:
writer: proc dump(table: ConfigTable): string
EqualSign:
utils: TokenKind.EqualSign
exists:
retrieve: proc exists(table: ConfigTable; section, key: string): bool
getArray:
retrieve: proc getArray(table: ConfigTable; section, key: string): seq[ConfigValue]
getBool:
retrieve: proc getBool(table: ConfigTable; section, key: string): bool
getBoolArray:
retrieve: proc getBoolArray(table: ConfigTable; section, key: string): seq[bool]
getBoolTable:
retrieve: proc getBoolTable(table: ConfigTable; section, key: string): OrderedTable[string, bool]
getInt:
retrieve: proc getInt(table: ConfigTable; section, key: string): int
getIntArray:
retrieve: proc getIntArray(table: ConfigTable; section, key: string): seq[int]
getIntTable:
retrieve: proc getIntTable(table: ConfigTable; section, key: string): OrderedTable[string, int]
getString:
retrieve: proc getString(table: ConfigTable; section, key: string): string
getStringArray:
retrieve: proc getStringArray(table: ConfigTable; section, key: string): seq[string]
getStringOrDefault:
retrieve: proc getStringOrDefault(table: ConfigTable; section, key, default: string): string
getStringTable:
retrieve: proc getStringTable(table: ConfigTable; section, key: string): OrderedTable[string, string]
getTable:
retrieve: proc getTable(table: ConfigTable; section, key: string): OrderedTable[string, ConfigValue]
getValue:
retrieve: proc getValue(table: ConfigTable; section, key: string): ConfigValue
isBoolean:
utils: proc isBoolean(raw: string): bool
isOnlyDigits:
utils: proc isOnlyDigits(raw: string): bool
Literal:
utils: TokenKind.Literal
newConfigTable:
writer: proc newConfigTable(): ConfigTable
Newline:
utils: TokenKind.Newline
newValue:
writer: proc newValue(value: bool): ConfigValue
writer: proc newValue(value: int): ConfigValue
writer: proc newValue(value: seq[ConfigValue]): ConfigValue
writer: proc newValue[T](val: seq[T]): ConfigValue
writer: proc newValue(value: string): ConfigValue
writer: proc newValue(value: varargs[ConfigValue]): ConfigValue
None:
utils: State.None
parseFile:
reader: proc parseFile(filename: string): ConfigTable
parseString:
reader: proc parseString(input: string): ConfigTable
Quoted:
utils: TokenKind.Quoted
Section:
utils: State.Section
setKey:
writer: proc setKey(table: var ConfigTable; section, key: string; value: ConfigValue)
writer: proc setKey[T](table: var ConfigTable; section, key: string; value: T)
setKeys:
writer: proc setKeys(table: var ConfigTable; vals: varargs[CondensedConfigValue])
SquareClose:
utils: TokenKind.SquareClose
SquareOpen:
utils: TokenKind.SquareOpen
State:
utils: enum State
Token:
utils: object Token
TokenKind:
utils: enum TokenKind
toString:
writer: proc toString(table: ConfigTable): string
writer: proc toString(val: ConfigValue): string
trimString:
utils: proc trimString(raw: string): string
Val:
utils: State.Val