File tree Expand file tree Collapse file tree 7 files changed +12
-4
lines changed
Sources/_StringProcessing Expand file tree Collapse file tree 7 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1+ internal import _RegexParser
2+
13private typealias ASCIIBitset = DSLTree . CustomCharacterClass . AsciiBitset
24
35extension Processor {
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12+ internal import _RegexParser
1213
1314enum MatchMode {
1415 case wholeString
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12+ internal import _RegexParser
13+
1214@available ( SwiftStdlib 5 . 7 , * )
1315extension Regex {
1416 /// The result of matching a regular expression against a string.
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12- @_spi ( _Unicode)
13- import Swift
12+ @_spi ( _Unicode) import Swift
13+ internal import _RegexParser
1414
1515extension UInt8 {
1616 /// Whether this is the starting byte of a sub-300 (i.e. pre-combining scalar) scalars
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12+ internal import _RegexParser
13+
1214@_silgen_name ( " _swift_string_processing_getScript " )
1315func _swift_string_processing_getScript( _: UInt32 ) -> UInt8
1416
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12- @_spi ( _Unicode)
13- import Swift
12+ @_spi ( _Unicode) import Swift
13+ internal import _RegexParser
1414
1515// TODO: Sink onto String
1616extension Processor {
Original file line number Diff line number Diff line change 99//
1010//===----------------------------------------------------------------------===//
1111
12+ internal import _RegexParser
1213
1314// Just a phantom-typed Int wrapper.
1415struct TypedInt < 👻> : RawRepresentable , Hashable {
You can’t perform that action at this time.
0 commit comments