# linter

Dark Mode

- Index

Search:
Group by:

This module implements the style checker.

# Imports

options, ast, msgs, idents, lineinfos, wordrecg

# Consts

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

  Source Edit

# Procs

    proc identLen(line: string; start: int): int {...}{.raises: [], tags: [].}

  Source Edit

    proc differ(line: string; a, b: int; x: string): string {...}{.raises: [], tags: [].}

  Source Edit

    proc styleCheckUse(conf: ConfigRef; info: TLineInfo; s: PSym) {...}{.
        raises: [ValueError, Exception, IOError, ERecoverableError],
        tags: [ReadIOEffect, RootEffect, WriteIOEffect, ReadEnvEffect].}

  Source Edit

    proc checkPragmaUse(conf: ConfigRef; info: TLineInfo; w: TSpecialWord;
                        pragmaName: string) {...}{.
        raises: [ValueError, Exception, IOError, ERecoverableError],
        tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

# Templates

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

  Source Edit

    template styleCheckDef(conf: ConfigRef; info: TLineInfo; s: PSym)

  Source Edit

    template styleCheckDef(conf: ConfigRef; s: PSym)

  Source Edit