module Region: sig
.. end
type
t = {
|
startLine : int ; |
|
startColumn : int ; |
|
endLine : int ; |
|
endColumn : int ; |
|
charOffset : int ; |
|
charLength : int ; |
|
byteOffset : int ; |
|
byteLength : int ; |
|
snippet : Sarif.FileContent.t ; |
|
message : Sarif.Message.t ; |
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val create : ?startLine:int ->
?startColumn:int ->
?endLine:int ->
?endColumn:int ->
?charOffset:int ->
?charLength:int ->
?byteOffset:int ->
?byteLength:int ->
?snippet:Sarif.FileContent.t ->
?message:Sarif.Message.t -> unit -> t
val default : t
val of_loc : Filepath.position * Filepath.position -> t