Instance Propertyswift 6.0.3_RegexParser
contents
var contents: Source.Located<String>
var contents: Source.Located<String>
s12_RegexParser3ASTV4AtomV7CalloutO19OnigurumaOfContentsV8contentsAA6SourceV7LocatedVy_SSGvp
What are these?YVI1
import _RegexParser
struct OnigurumaOfContents
An Oniguruma callout ‘of contents’, written (?{...}[tag]D)
struct AST
A regex abstract syntax tree.
struct Atom
enum Callout
struct Source
The source of text being given to a parser.
struct Located<T>
A value wrapped with a source range.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ openBraces: SourceLocation, _ contents: Source.Located<String>, _ closeBraces: SourceLocation, tag: AST.Atom.Callout.OnigurumaTag?, direction: Source.Located<AST.Atom.Callout.OnigurumaOfContents.Direction>)
var closeBraces: SourceLocation
var direction: Source.Located<AST.Atom.Callout.OnigurumaOfContents.Direction>
var isDirectionImplicit: Bool { get }
Whether the direction flag isn’t written explicitly in the source, e.g (?{x})
which is implicitly (?{x}>)
.
var openBraces: SourceLocation
var tag: AST.Atom.Callout.OnigurumaTag?
enum Direction