Binary Moduleswift 6.0.3_RegexParser
_RegexParser
import _RegexParser
Module information
- Declarations
- 1242
- Symbols
- 1483
import _RegexParser
let currentRegexLiteralFormatVersion: Int
func lexRegex(start: UnsafeRawPointer, end: UnsafeRawPointer) throws -> (contents: String, Delimiter, end: UnsafeRawPointer)
func parse<S>(_ regex: S, _ syntax: SyntaxOptions) throws -> AST where S : StringProtocol, S.SubSequence == Substring
func parseWithDelimiters<S>(_ regex: S) throws -> AST where S : StringProtocol, S.SubSequence == Substring
Parses a given regex string with delimiters, inferring the syntax options from the delimiters used.
func parseWithDelimitersWithRecovery<S>(_ regex: S) -> AST where S : StringProtocol, S.SubSequence == Substring
Parses a given regex string with delimiters, inferring the syntax options from the delimiters used.
func parseWithRecovery<S>(_ regex: S, _ syntax: SyntaxOptions) -> AST where S : StringProtocol, S.SubSequence == Substring
func swiftCompilerLexRegexLiteral(start: UnsafeRawPointer, bufferEnd: UnsafeRawPointer, mustBeRegex: Bool) -> (resumePtr: UnsafeRawPointer, error: CompilerLexError?)?
func swiftCompilerParseRegexLiteral(_ input: String, captureBufferOut: UnsafeMutableRawBufferPointer) throws -> (regexToEmit: String, version: Int)
func validate(_ ast: AST) -> AST
Check a regex AST for semantic validity.
protocol LocatedErrorProtocol : Error
struct AST
A regex abstract syntax tree.
struct AnyType
A wrapper of an existential metatype, equatable and hashable by reference.
struct CaptureList
struct CompilerLexError
struct CompilerParseError
struct Delimiter
struct DelimiterLexError
struct Diagnostic
A diagnostic to emit.
struct Diagnostics
A collection of diagnostics to emit.
struct PrettyPrinter
State used when to pretty-printing regex ASTs.
struct Source
The source of text being given to a parser.
struct SyntaxOptions
enum TypeConstruction
struct Unreachable
struct Unsupported
typealias Offsets = (lower: Int, upper: Int)
typealias SourceLocation = Source.Location
import Cxx
import Dispatch
import DispatchIntrospection
import Distributed
import Foundation
import FoundationEssentials
import FoundationInternationalization
import FoundationNetworking
import FoundationXML
import RegexBuilder
import Swift
import Synchronization
import XCTest
import _Concurrency
import _Differentiation
import _StringProcessing