Skip to content

Add missing imports of _RegexParser #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2024
Merged
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
2 changes: 2 additions & 0 deletions Sources/_StringProcessing/Engine/MEQuantify.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
internal import _RegexParser

private typealias ASCIIBitset = DSLTree.CustomCharacterClass.AsciiBitset

extension Processor {
Expand Down
1 change: 1 addition & 0 deletions Sources/_StringProcessing/Engine/Processor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

enum MatchMode {
case wholeString
Expand Down
2 changes: 2 additions & 0 deletions Sources/_StringProcessing/Regex/Match.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

@available(SwiftStdlib 5.7, *)
extension Regex {
/// The result of matching a regular expression against a string.
Expand Down
2 changes: 2 additions & 0 deletions Sources/_StringProcessing/Unicode/NFC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

@_spi(_Unicode)
import Swift

Expand Down
2 changes: 2 additions & 0 deletions Sources/_StringProcessing/Unicode/ScalarProps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

@_silgen_name("_swift_string_processing_getScript")
func _swift_string_processing_getScript(_: UInt32) -> UInt8

Expand Down
2 changes: 2 additions & 0 deletions Sources/_StringProcessing/Unicode/WordBreaking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

@_spi(_Unicode)
import Swift

Expand Down
1 change: 1 addition & 0 deletions Sources/_StringProcessing/Utility/TypedInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//
//===----------------------------------------------------------------------===//

internal import _RegexParser

// Just a phantom-typed Int wrapper.
struct TypedInt<👻>: RawRepresentable, Hashable {
Expand Down