Binary Moduleswift 6.1.2_RegexParser
_RegexParser
import _RegexParserModule information
- Declarations
- 1251
- Symbols
- 1492
import _RegexParserlet currentRegexLiteralFormatVersion: Intfunc 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 : Errorstruct ASTA regex abstract syntax tree.
struct AnyTypeA wrapper of an existential metatype, equatable and hashable by reference.
struct CaptureListstruct CompilerLexErrorstruct CompilerParseErrorstruct Delimiterstruct DelimiterLexErrorstruct DiagnosticA diagnostic to emit.
struct DiagnosticsA collection of diagnostics to emit.
struct PrettyPrinterState used when to pretty-printing regex ASTs.
struct SourceThe source of text being given to a parser.
struct SyntaxOptionsenum TypeConstructionstruct Unreachablestruct Unsupportedtypealias Offsets = (lower: Int, upper: Int)typealias SourceLocation = Source.Locationimport Cxximport Dispatchimport DispatchIntrospectionimport Distributedimport Foundationimport FoundationNetworkingimport FoundationXMLimport RegexBuilderimport Swiftimport XCTestimport _Concurrencyimport _Differentiationimport _StringProcessing