include/swift/Driver コードリーディング(全体)
概要
https://github.com/apple/swift/tree/c309fb2620b030a722741171baee4dfec5017d58/include/swift/Driver
- 概要
- Action.h
- Compilation.h
- DependencyGraph.h
- Driver.h
- FrontendUtil.h
- Job.h
- OutputFileMap.h
- ParseableOutput.h
- PrettyStackTrace.h
- ToolChain.h
- Types.def
- Types.h
- Util.h
Action.h
Compilation.h
DependencyGraph.h
Driver.h
OutputInfo::Mode
definition | desc |
---|---|
StandardCompile | 標準コンパイル、複数のFrontend呼び出しを使用する(-primary-fileあり) |
SingleCompile | 単一のFrontend呼び出しを使用する(-primary-fileなし) |
BatchModeCompile | 複数のStandardCompileジョブをまとめてパッチ処理する単一プロセス |
REPL | REPL呼び出し |
Immediate | 入力をコンパイルして即時実行する |
Driver
Driver::DriverKind
引数をパースする方法、許容するOutputInfo::Modeを決定します
definition | desc |
---|---|
Interactive | swift |
Batch | swiftc |
AutolinkExtract | swift-autolink-extract |
SwiftFormat | swift-format |