This module implements the style checker.
Letters = {'a'..'z', 'A'..'Z', '0'..'9', '\x80'..'\xFF', '_'}
proc differ(line: string; a, b: int; x: string): string {....raises: [], tags: [], forbids: [].}
proc identLen(line: string; start: int): int {....raises: [], tags: [], forbids: [].}
template checkPragmaUse(ctx: PContext; info: TLineInfo; w: TSpecialWord; pragmaName: string; sym: PSym)
template styleCheckDef(ctx: PContext; info: TLineInfo; s: PSym)
template styleCheckDef(ctx: PContext; info: TLineInfo; sym: PSym; k: TSymKind)
template styleCheckDef(ctx: PContext; s: PSym)
template styleCheckUse(ctx: PContext; info: TLineInfo; sym: PSym)
© 2006–2024 Andreas RumpfLicensed under the MIT License. https://nim-lang.org/docs/compiler/linter.html