init()

in Sources/LLBNinja/NinjaBuild.swift [80:92]


    init(manifest: NinjaManifest, delegate: NinjaBuildDelegate) {
        self.manifest = manifest
        self.delegate = delegate

        // Populate the command map.
        var commandMap = [String: Int]()
        for (i,command) in self.manifest.statements.enumerated() {
            for output in command.outputs {
                commandMap[output] = i
            }
        }
        self.commandMap = commandMap
    }