Types
EmptyColumn = object
- representation of nil node passed to users Source Edit
Procs
proc copyApplyPattern(root: NimNode): NimNode {....raises: [], tags: [], forbids: [].}
- Source Edit
proc currentCount(id: SchemaId): int {....raises: [], tags: [], forbids: [].}
- Source Edit
proc defineRowAdd(id: SchemaId; rawName: NimNode; initialParams: seq[NimNode] = @[newEmptyNode()]; genericParams: NimNode = nil): NimNode {. ...raises: [GlazeError, ValueError], tags: [], forbids: [].}
- Source Edit
proc doDispatch(id: SchemaId; column: int; value: NimNode; callPattern: NimNode; elseBody: NimNode): NimNode {. ...raises: [ValueError, GlazeError, NotFrozenError], tags: [], forbids: [].}
-
generates a case statement for value based on the values of column, calls callPattern with found row
if elseBody is not nil, generates else
Source Edit proc getSchemaData(id: SchemaId): CacheSeq {....raises: [], tags: [], forbids: [].}
- Source Edit
proc makeApplicable(root: NimNode): NimNode {....raises: [], tags: [], forbids: [].}
- Source Edit
Iterators
iterator eachRawRow(id: SchemaId): RawRow {. ...raises: [ValueError, GlazeError, NotFrozenError], tags: [], forbids: [].}
- Source Edit
Templates
template columnExists(value: NimNode): bool
- Source Edit
template isColumnEmpty(value: NimNode): bool
- Source Edit