☰

# suggestsymdb

Theme:

- Index

Search:
Group by:
Source Edit

# Imports

ast, lineinfos, msgs

# Types

    PackedBoolArray = object

  Source Edit

    SuggestFileSymbolDatabase = object
      lineInfo*: seq[TinyLineInfo]
      sym*: seq[PSym]
      caughtExceptions*: seq[seq[PType]]
      caughtExceptionsSet*: PackedBoolArray
      isDecl*: PackedBoolArray
      isGenericInstance*: PackedBoolArray
      fileIndex*: FileIndex
      trackCaughtExceptions*: bool
      isSorted*: bool

  Source Edit

    SuggestSymbolDatabase = Table[FileIndex, SuggestFileSymbolDatabase]

  Source Edit

    SymInfoPair = object
      sym*: PSym
      info*: TLineInfo
      caughtExceptions*: seq[PType]
      caughtExceptionsSet*: bool
      isDecl*: bool
      isGenericInstance*: bool

  Source Edit

    TinyLineInfo = object
      line*: uint16
      col*: int16

  Source Edit

# Procs

    proc `==`(a, b: SymInfoPair): bool {....raises: [], tags: [], forbids: [].}

  Source Edit

    func `[]`(s: PackedBoolArray; idx: int): bool {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc `[]=`(s: var PackedBoolArray; idx: int; v: bool) {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc add(s: var PackedBoolArray; v: bool) {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc add(s: var SuggestFileSymbolDatabase; v: SymInfoPair) {....raises: [],
        tags: [], forbids: [].}

  Source Edit

    proc add(s: var SuggestSymbolDatabase; v: SymInfoPair;
             trackCaughtExceptions: bool) {....raises: [], tags: [], forbids: [].}

  Source Edit

    func cmp(a: TinyLineInfo; b: TinyLineInfo): int {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    func compare(s: var SuggestFileSymbolDatabase; i, j: int): int {....raises: [],
        tags: [], forbids: [].}

  Source Edit

    proc exactEquals(a, b: TinyLineInfo): bool {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc findSymInfoIndex(s: var SuggestFileSymbolDatabase; li: TLineInfo;
                          isGenericInstance: bool): int {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc getSymInfoPair(s: SuggestFileSymbolDatabase; idx: int): SymInfoPair {.
        ...raises: [], tags: [], forbids: [].}

  Source Edit

    func high(s: PackedBoolArray): int {....raises: [], tags: [], forbids: [].}

  Source Edit

    func low(s: PackedBoolArray): int {....raises: [], tags: [], forbids: [].}

  Source Edit

    func newPackedBoolArray(): PackedBoolArray {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc newSuggestFileSymbolDatabase(aFileIndex: FileIndex;
                                      aTrackCaughtExceptions: bool): SuggestFileSymbolDatabase {.
        ...raises: [], tags: [], forbids: [].}

  Source Edit

    proc reverse(s: var PackedBoolArray) {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc reverse(s: var SuggestFileSymbolDatabase) {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc sort(s: var SuggestFileSymbolDatabase) {....raises: [], tags: [], forbids: [].}

  Source Edit