compiler/idents

Source   Edit  

Types

IdentCache = ref object
  buckets: array[0 .. 8192 - 1, PIdent]
  wordCounter: int
  idAnon*, idDelegator*, emptyIdent*: PIdent
Source   Edit  
PIdent = ref TIdent
Source   Edit  
TIdent {.acyclic.} = object
  id*: int
  s*: string
  next*: PIdent
  h*: Hash
Source   Edit  

Procs

proc `==`(a, b: PIdent): bool {.inline, ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc cmpIgnoreStyle(a, b: cstring; blen: int): int {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc getIdent(ic: IdentCache; identifier: cstring; length: int; h: Hash): PIdent {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc getIdent(ic: IdentCache; identifier: string): PIdent {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc getIdent(ic: IdentCache; identifier: string; h: Hash): PIdent {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc hash(x: PIdent): Hash {.inline, ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc newIdentCache(): IdentCache {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc resetIdentCache() {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc whichKeyword(id: PIdent): TSpecialWord {....raises: [], tags: [], forbids: [].}
Source   Edit