DeclPrologue
struct DeclPrologue
The attributes and modifiers preceding a declaration.
-
Indicates whether the prologue is empty.
Declaration
Swift
let isEmpty: Bool -
The index of the first character in the prologue.
Declaration
Swift
let startIndex: String.Index -
The attributes in the prologue.
Declaration
Swift
let attributes: [SourceRepresentable<Attribute>] -
The access modifiers in the prologue.
Declaration
Swift
let accessModifiers: Set<SourceRepresentable<AccessModifier>> -
The member modifiers in the prologue.
Declaration
Swift
let memberModifiers: Set<SourceRepresentable<MemberModifier>> -
Indicates whether the prologue contains the
staticmember modifier.Declaration
Swift
var isStatic: Bool { get }
View on GitHub