FileMetadata
public struct FileMetadata : DIScope
FileMetadata
nodes represent files.
The file name does not necessarily have to be a proper file path. For example, it can include additional slash-separated path components.
-
Declaration
Swift
public func asMetadata() -> LLVMMetadataRef
-
Declaration
Swift
public init(llvm: LLVMMetadataRef)
-
Retrieves the name of this file
Declaration
Swift
public var name: String { get }
-
Retrieves the directory of this file
Declaration
Swift
public var directory: String { get }
-
Retrieves the source text of this file.
Declaration
Swift
public var source: String { get }