Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
import SourceParsingFramework

/// The generation phase entry class that executes tasks to process dependency
/// graph components, inlcuding pluginized and non-core ones, into necessary
/// graph components, including pluginized and non-core ones, into necessary
/// dependency providers and their registrations, then exports the contents to
/// the destination path.
class PluginizedDependencyGraphExporter {
Expand All @@ -28,10 +28,10 @@ class PluginizedDependencyGraphExporter {
/// code for the given components and pluginized components, and export
/// the source code to the given destination path.
///
/// - parameter components: Array of Components to generate dependnecy
/// - parameter components: Array of Components to generate dependency
/// providers for
/// - parameter pluginizedComponents: Array of pluginized components to
/// generate plugin extensions and dependnecy providers for.
/// generate plugin extensions and dependency providers for.
/// - parameter imports: The import statements.
/// - parameter path: Path to file where we want the results written to.
/// - parameter executor: The executor to use for concurrent computation of
Expand Down
4 changes: 2 additions & 2 deletions Sources/NeedleFoundation/Bootstrap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import Foundation

/// An empty protocol that can be used for any components that require no
/// dependencies. This can be used as the dependnecy protocol of the root
/// dependencies. This can be used as the dependency protocol of the root
/// component of a dependency graph.
public protocol EmptyDependency: AnyObject {}

Expand All @@ -31,7 +31,7 @@ public class EmptyDependencyProvider: EmptyDependency {
public init(component: Scope) {}
}

/// The base implementation of a component thet represents the root of
/// The base implementation of a component that represents the root of
/// a dependency graph. A subclass defining the root scope should
/// inherit from this class instead of the generic `Component` class.
///
Expand Down
6 changes: 3 additions & 3 deletions Sources/NeedleFoundation/Component.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public protocol Registration {
/// directly.
/// @CreateMock
public protocol Scope: AnyObject {
/// The path to reach this component on the dependnecy graph.
/// The path to reach this component on the dependency graph.
var path: [String] { get }

/// The parent of this component.
Expand Down Expand Up @@ -83,7 +83,7 @@ open class Component<DependencyType>: Scope {
/// The parent of this component.
public let parent: Scope

/// The path to reach this scope on the dependnecy graph.
/// The path to reach this scope on the dependency graph.
// Use `lazy var` to avoid computing the path repeatedly. Internally,
// this is always accessed with the `__DependencyProviderRegistry`'s lock
// acquired.
Expand Down Expand Up @@ -207,7 +207,7 @@ open class Component<DependencyType>: Scope {
/// The parent of this component.
public let parent: Scope

/// The path to reach this scope on the dependnecy graph.
/// The path to reach this scope on the dependency graph.
// Use `lazy var` to avoid computing the path repeatedly. Internally,
// this is always accessed with the `__DependencyProviderRegistry`'s lock
// acquired.
Expand Down