compiler/linter

  Source   Edit

This module implements the style checker.

Consts

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

Procs

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

Templates

template checkPragmaUse(conf: ConfigRef; info: TLineInfo; w: TSpecialWord;
                        pragmaName: string)
  Source   Edit
template styleCheckDef(ctx: PContext; info: TLineInfo; s: PSym)
Check symbol definitions adhere to NEP1 style rules.   Source   Edit
template styleCheckDef(ctx: PContext; info: TLineInfo; sym: PSym; k: TSymKind)
Check symbol definitions adhere to NEP1 style rules.   Source   Edit
template styleCheckDef(ctx: PContext; s: PSym)
Check symbol definitions adhere to NEP1 style rules.   Source   Edit
template styleCheckUse(ctx: PContext; info: TLineInfo; sym: PSym)
Check symbol uses match their definition's style.   Source   Edit