id generator for modules, symbols, and types.
Types
IdGenerator = ref object module*: int32 symId*: int32 typeId*: int32 sealed*: bool
- Source Edit
Consts
PackageModuleId = -3'i32
- Source Edit
Procs
proc idGeneratorFromModule(m: PSym): IdGenerator {....raises: [], tags: [].}
- Source Edit
proc nextSymId(x: IdGenerator): ItemId {.inline, ...raises: [], tags: [].}
- Source Edit
proc nextTypeId(x: IdGenerator): ItemId {.inline, ...raises: [], tags: [].}
- Source Edit