SourceLocation

@Serializable
data class SourceLocation(val filePath: String, val line: Int? = null, val column: Int? = null)

Represents a location in source code associated with a rule violation or subject.

Constructors

Link copied to clipboard
constructor(filePath: String, line: Int? = null, column: Int? = null)

Properties

Link copied to clipboard
val column: Int?

Optional 1-based column number.

Link copied to clipboard

Build-root relative path to the file.

Link copied to clipboard
val line: Int?

Optional 1-based line number.