Contents

init(fileID:filePath:line:column:)

Initialize an instance of this type with the specified location details.

Declaration

init(fileID: String, filePath: String, line: Int, column: Int)

Parameters

  • fileID:

    The file ID of the source file, using the format described in the documentation for the FileID() macro in the Swift standard library.

  • filePath:

    The path to the source file.

  • line:

    The line in the source file. Must be greater than 0.

  • column:

    The column in the source file. Must be greater than 0.

Discussion