commands

Imports

msgs, options, nversion, condsyms, extccomp, platform, wordrecg, nimblecmd, lineinfos, pathutils, incremental, ast

Types

TCmdLinePass = enum
  passCmd1, passCmd2, passPP
Source Edit

Procs

proc writeCommandLineUsage(conf: ConfigRef) {...}{.
    raises: [Exception, IOError, ValueError], tags: [RootEffect, WriteIOEffect].}
Source Edit
proc processSpecificNote(arg: string; state: TSpecialWord; pass: TCmdLinePass;
                         info: TLineInfo; orig: string; conf: ConfigRef) {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc testCompileOptionArg(conf: ConfigRef; switch, arg: string; info: TLineInfo): bool {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc testCompileOption(conf: ConfigRef; switch: string; info: TLineInfo): bool {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc handleStdinInput(conf: ConfigRef) {...}{.raises: [OSError],
    tags: [ReadEnvEffect, ReadIOEffect].}
Source Edit
proc processSwitch(switch, arg: string; pass: TCmdLinePass; info: TLineInfo;
                   conf: ConfigRef) {...}{.raises: [Exception, ValueError, IOError,
    ERecoverableError, OSError, KeyError, EOFError, Exception, ValueError,
    IOError, ERecoverableError, Exception, ValueError, IOError,
    ERecoverableError], tags: [RootEffect, WriteIOEffect, ReadIOEffect,
                               ReadEnvEffect, ReadDirEffect, WriteDirEffect,
                               WriteEnvEffect].}
Source Edit
proc processCommand(switch: string; pass: TCmdLinePass; config: ConfigRef) {...}{.raises: [
    Exception, ValueError, IOError, ERecoverableError, OSError, KeyError,
    EOFError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
                      ReadDirEffect, WriteDirEffect, WriteEnvEffect].}
Source Edit
proc processSwitch(pass: TCmdLinePass; p: OptParser; config: ConfigRef) {...}{.raises: [
    Exception, ValueError, IOError, ERecoverableError, OSError, KeyError,
    EOFError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
                      ReadDirEffect, WriteDirEffect, WriteEnvEffect].}
Source Edit
proc processArgument(pass: TCmdLinePass; p: OptParser; argsCount: var int;
                     config: ConfigRef): bool {...}{.raises: [], tags: [].}
Source Edit

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/commands.html