compiler/linter

  Source   Edit

This module implements the style checker.

Consts

Letters = {'a'..'z', 'A'..'Z', '0'..'9', '\x80'..'\xFF', '_'}
  Source   Edit

Procs

proc checkPragmaUse(conf: ConfigRef; info: TLineInfo; w: TSpecialWord;
                    pragmaName: string) {....raises: [ValueError, Exception,
    KeyError, OSError, IOError, ERecoverableError], tags: [RootEffect,
    ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
  Source   Edit
proc differ(line: string; a, b: int; x: string): string {....raises: [], tags: [].}
  Source   Edit
proc identLen(line: string; start: int): int {....raises: [], tags: [].}
  Source   Edit
proc styleCheckUse(conf: ConfigRef; info: TLineInfo; s: PSym) {....raises: [
    ValueError, Exception, KeyError, OSError, IOError, ERecoverableError], tags: [
    ReadIOEffect, RootEffect, ReadDirEffect, WriteIOEffect, ReadEnvEffect].}
  Source   Edit

Templates

template styleCheckDef(conf: ConfigRef; info: TLineInfo; s: PSym)
  Source   Edit
template styleCheckDef(conf: ConfigRef; info: TLineInfo; s: PSym; k: TSymKind)
  Source   Edit
template styleCheckDef(conf: ConfigRef; s: PSym)
  Source   Edit