Procs
proc accessoryArgs(dir: TupleDirective): NimNode {....raises: [], tags: [], forbids: [].}
-
The presence column standing behind each argument of a directive, one per argument and in argument order, or no column at all for an argument that is not an accessory.
Being an accessory is a property of a component rather than of an archetype, so this is the same list wherever it gets applied. Whether the archetype in hand actually carries the accessory is a separate question, and one the column lookup answers
proc asTupleType(args: openArray[DirectiveArg]): NimNode {....raises: [], tags: [], forbids: [].}
- Creates a tuple type from a list of components
proc asTupleType(components: openArray[ComponentDef]): NimNode {....raises: [], tags: [], forbids: [].}
- Creates a tuple type from a list of components
proc asTupleType(tupleDir: TupleDirective): NimNode {....raises: [], tags: [], forbids: [].}
proc componentIds(dir: TupleDirective): NimNode {....raises: [], tags: [], forbids: [].}
-
The column ids a directive wants, one per argument and in argument order.
Component ids are global, so this is the same list no matter which archetype it gets applied to -- including for an excluded argument, which names a component the archetype is guaranteed not to have and so resolves to no column at all
proc emitEntityTrace(args: varargs[NimNode, loggable]): NimNode {....raises: [], tags: [], forbids: [].}
- Emits function call for logging an entity related event
proc emitEventTrace(args: varargs[NimNode, loggable]): NimNode {....raises: [], tags: [], forbids: [].}
- Emits code needed to generate an event tracing log
proc emitLog(args: varargs[NimNode, loggable]): NimNode {....raises: [], tags: [], forbids: [].}
- Generates code to emit a log message
proc emitQueryTrace(args: varargs[NimNode, loggable]): NimNode {....raises: [], tags: [], forbids: [].}
- Emits code needed to generate query tracing logs
proc emitSaveTrace(args: varargs[NimNode, loggable]): NimNode {....raises: [], tags: [], forbids: [].}
- Emits code needed to generate save tracing logs
proc joinStrs(args: varargs[NimNode]): NimNode {....raises: [], tags: [], forbids: [].}
- Joins a set of stringable nim nodes into a string
Iterators
iterator archetypeCases(details: GenerateContext): tuple[ofBranch: NimNode, archetype: Archetype[ComponentDef]] {....raises: [], tags: [], forbids: [].}
iterator both(a, b: auto): auto
- Yields values from one iterator then another