commands

Source   Edit  

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, KeyError, OSError, 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, KeyError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
    forbids: [].}
Source   Edit  
proc processSwitch(pass: TCmdLinePass; p: OptParser; config: ConfigRef) {....raises: [
    Exception, ValueError, KeyError, OSError, 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, KeyError,
    OSError, IOError, ERecoverableError, EOFError, Exception, ValueError,
    KeyError, OSError, IOError, ERecoverableError, Exception, ValueError,
    KeyError, OSError, 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, KeyError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
    forbids: [].}
Source   Edit  
proc testCompileOptionArg(conf: ConfigRef; switch, arg: string; info: TLineInfo): bool {....raises: [
    Exception, ValueError, KeyError, OSError, 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