Binary Moduleswift 6.0.1_RegexParser
_RegexParser
import _RegexParser
Module information
- Declarations
- 1242
- Symbols
- 1483
Uncategorized
Protocols
Types
struct AST
A regex abstract syntax tree.
struct AnyType
A wrapper of an existential metatype, equatable and hashable by reference.
struct CaptureList
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
Show system interfaces (2)
Hide system interfaces
Typealiases
Globals
let currentRegexLiteralFormatVersion: Int
func lexRegex(start: UnsafeRawPointer, end: UnsafeRawPointer
) throws -> (contents: String, Delimiter, end: UnsafeRawPointer) func parse<S>(S, SyntaxOptions
) throws -> AST func parseWithDelimiters<S>(S
) throws -> AST Parses a given regex string with delimiters, inferring the syntax options from the delimiters used.
func parseWithDelimitersWithRecovery<S>(S
) -> AST Parses a given regex string with delimiters, inferring the syntax options from the delimiters used.
func parseWithRecovery<S>(S, SyntaxOptions
) -> AST func validate(AST
) -> AST Check a regex AST for semantic validity.
Show system interfaces (2)
Hide system interfaces
func swiftCompilerLexRegexLiteral(start: UnsafeRawPointer, bufferEnd: UnsafeRawPointer, mustBeRegex: Bool
) -> (resumePtr: UnsafeRawPointer, error: CompilerLexError?)? func swiftCompilerParseRegexLiteral(String, captureBufferOut: UnsafeMutableRawBufferPointer
) throws -> (regexToEmit: String, version: Int)