compiler/utils/prefixmatches

  Source   Edit

Types

PrefixMatch {.pure.} = enum
  None,                     ## no prefix detected
  Abbrev,                   ## prefix is an abbreviation of the symbol
  Substr,                   ## prefix is a substring of the symbol
  Prefix                     ## prefix does match the symbol
  Source   Edit

Procs

proc prefixMatch(p, s: string): PrefixMatch {....raises: [], tags: [].}
  Source   Edit