@@ -39,9 +39,6 @@ struct DumpSymbolGraph: SwiftCommand {
39
39
40
40
@Flag ( help: " Add symbols with SPI information to the symbol graph. " )
41
41
var includeSPISymbols = false
42
-
43
- @Flag ( help: " Emit extension block symbols for extensions to external types or directly associate members and conformances with the extended nominal. " )
44
- var extensionBlockSymbolBehavior : ExtensionBlockSymbolBehavior = . omitExtensionBlockSymbols
45
42
46
43
func run( _ swiftTool: SwiftTool ) throws {
47
44
// Build the current package.
@@ -54,12 +51,10 @@ struct DumpSymbolGraph: SwiftCommand {
54
51
let symbolGraphExtractor = try SymbolGraphExtract (
55
52
fileSystem: swiftTool. fileSystem,
56
53
tool: swiftTool. getDestinationToolchain ( ) . getSymbolGraphExtract ( ) ,
57
- observabilityScope: swiftTool. observabilityScope,
58
54
skipSynthesizedMembers: skipSynthesizedMembers,
59
55
minimumAccessLevel: minimumAccessLevel,
60
56
skipInheritedDocs: skipInheritedDocs,
61
57
includeSPISymbols: includeSPISymbols,
62
- emitExtensionBlockSymbols: extensionBlockSymbolBehavior == . emitExtensionBlockSymbols,
63
58
outputFormat: . json( pretty: prettyPrint)
64
59
)
65
60
@@ -81,11 +76,6 @@ struct DumpSymbolGraph: SwiftCommand {
81
76
}
82
77
}
83
78
84
- enum ExtensionBlockSymbolBehavior : String , EnumerableFlag {
85
- case emitExtensionBlockSymbols
86
- case omitExtensionBlockSymbols
87
- }
88
-
89
79
struct DumpPackage : SwiftCommand {
90
80
static let configuration = CommandConfiguration (
91
81
abstract: " Print parsed Package.swift as JSON " )
0 commit comments