src/necsus/compiletime/worldGen

Procs

proc createAppReturn(genInfo: CodeGenInfo; errorLocation: NimNode): NimNode {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
Creates the return statement for the app
proc createAppStateDestructor(genInfo: CodeGenInfo): NimNode {.
    ...raises: [KeyError, Exception], tags: [RootEffect], forbids: [].}
Creates the instance of the app state object
proc createAppStateInit(genInfo: CodeGenInfo): NimNode {....raises: [KeyError],
    tags: [], forbids: [].}
Creates a proc for initializing the app state object
proc createAppStateInstance(genInfo: CodeGenInfo): NimNode {....raises: [],
    tags: [], forbids: [].}
Creates the instance of the app state object
proc createAppStateType(genInfo: CodeGenInfo): NimNode {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
Creates a type definition that captures the state of the app
proc createArchetypeIdSyms(details: CodeGenInfo): NimNode {....raises: [],
    tags: [], forbids: [].}
proc createConverterProcs(details: CodeGenInfo): NimNode {....raises: [], tags: [],
    forbids: [].}
Creates a list of procs for converting from one tuple type to another