compiler/ast/filters

  Source   Edit

This module implements Nim's simple filters and helpers for filters.

Procs

proc boolArg(conf: ConfigRef; n: PNode; name: string; pos: int; default: bool): bool {.
    ...raises: [Exception, ERecoverableError], tags: [RootEffect].}
  Source   Edit
proc charArg(conf: ConfigRef; n: PNode; name: string; pos: int; default: char): char {.
    ...raises: [Exception, ERecoverableError], tags: [RootEffect].}
  Source   Edit
proc filterReplace(conf: ConfigRef; stdin: PLLStream; filename: AbsoluteFile;
                   call: PNode): PLLStream {.
    ...raises: [Exception, ERecoverableError, IOError],
    tags: [RootEffect, ReadIOEffect, WriteIOEffect].}
  Source   Edit
proc filterStrip(conf: ConfigRef; stdin: PLLStream; filename: AbsoluteFile;
                 call: PNode): PLLStream {.
    ...raises: [Exception, ERecoverableError, IOError],
    tags: [RootEffect, ReadIOEffect, WriteIOEffect].}
  Source   Edit
proc strArg(conf: ConfigRef; n: PNode; name: string; pos: int; default: string): string {.
    ...raises: [Exception, ERecoverableError], tags: [RootEffect].}
  Source   Edit