Skip to content

Commit 75fad74

Browse files
author
Wayne Wanbok Choi
committed
Remove StringCodeGenerator that is not used
1 parent 7198441 commit 75fad74

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Sources/POEditorParser/Lib/LiteralsParser.swift

-16
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,6 @@ public protocol SwiftCodeGenerator {
178178
func generateCode(translations: [Translation])
179179
}
180180

181-
class StringCodeGenerator: SwiftCodeGenerator {
182-
183-
var generatedResult = ""
184-
185-
func generateCode(translations: [Translation]) {
186-
generatedResult += SwiftCodeGeneratorConstants.rootObjectHeader()
187-
188-
for t in translations {
189-
generatedResult += SwiftCodeGeneratorConstants.methodOrVariableHeader
190-
generatedResult += t.swiftCode
191-
}
192-
193-
generatedResult += SwiftCodeGeneratorConstants.rootObjectFooter
194-
}
195-
}
196-
197181
public class FileCodeGenerator: SwiftCodeGenerator {
198182

199183
let fileHandle: FileHandle

0 commit comments

Comments
 (0)