☰

# commands

Theme:

- Index

Search:
Group by:
Source Edit

# Imports

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

# Types

    TCmdLinePass = enum
      passCmd1, passCmd2, passPP

  Source Edit

# Procs

    proc handleCmdInput(conf: ConfigRef) {....raises: [OSError],
                                           tags: [ReadEnvEffect, ReadIOEffect],
                                           forbids: [].}

  Source Edit

    proc handleStdinInput(conf: ConfigRef) {....raises: [OSError],
        tags: [ReadEnvEffect, ReadIOEffect], forbids: [].}

  Source Edit

    proc initOrcDefines(conf: ConfigRef) {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc parseCommand(command: string): Command {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc processArgument(pass: TCmdLinePass; p: OptParser; argsCount: var int;
                         config: ConfigRef): bool {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc processCommand(switch: string; pass: TCmdLinePass; config: ConfigRef) {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError,
        EOFError], tags: [RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect,
                          ReadEnvEffect, WriteDirEffect, WriteEnvEffect],
        forbids: [].}

  Source Edit

    proc processSpecificNote(arg: string; state: TSpecialWord; pass: TCmdLinePass;
                             info: TLineInfo; orig: string; conf: ConfigRef) {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc processSwitch(pass: TCmdLinePass; p: OptParser; config: ConfigRef) {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError,
        EOFError], tags: [RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect,
                          ReadEnvEffect, WriteDirEffect, WriteEnvEffect],
        forbids: [].}

  Source Edit

    proc processSwitch(switch, arg: string; pass: TCmdLinePass; info: TLineInfo;
                       conf: ConfigRef) {....raises: [Exception, ValueError, OSError,
        KeyError, IOError, ERecoverableError, EOFError, Exception, ValueError,
        OSError, KeyError, IOError, ERecoverableError, Exception, ValueError,
        OSError, KeyError, IOError, ERecoverableError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect, WriteDirEffect,
        WriteEnvEffect], forbids: [].}

  Source Edit

    proc setCmd(conf: ConfigRef; cmd: Command) {....raises: [], tags: [], forbids: [].}

  sets cmd, backend so subsequent flags can query it (e.g. so --gc:arc can be ignored for backendJs) Source Edit

    proc setCommandEarly(conf: ConfigRef; command: string) {....raises: [], tags: [],
        forbids: [].}

  Source Edit

    proc testCompileOption(conf: ConfigRef; switch: string; info: TLineInfo): bool {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc testCompileOptionArg(conf: ConfigRef; switch, arg: string; info: TLineInfo): bool {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError,
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc unregisterArcOrc(conf: ConfigRef) {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc writeCommandLineUsage(conf: ConfigRef) {.
        ...raises: [Exception, IOError, ValueError], tags: [RootEffect, WriteIOEffect],
        forbids: [].}

  Source Edit