Reviewdog_rdfCode for reviewdog.proto
type diagnostic = {message : string;location : location option;severity : severity;source : source option;code : code option;suggestions : suggestion list;original_output : string;}type diagnostic_result = {diagnostics : diagnostic list;source : source option;severity : severity;}val default_position : ?line:int32 -> ?column:int32 -> unit -> positiondefault_position () is the default value for type position
default_range () is the default value for type range
default_location () is the default value for type location
val default_severity : unit -> severitydefault_severity () is the default value for type severity
val default_source : ?name:string -> ?url:string -> unit -> sourcedefault_source () is the default value for type source
val default_code : ?value:string -> ?url:string -> unit -> codedefault_code () is the default value for type code
val default_suggestion :
?range:range option ->
?text:string ->
unit ->
suggestiondefault_suggestion () is the default value for type suggestion
default_related_location () is the default value for type related_location
val default_diagnostic :
?message:string ->
?location:location option ->
?severity:severity ->
?source:source option ->
?code:code option ->
?suggestions:suggestion list ->
?original_output:string ->
?related_locations:related_location list ->
unit ->
diagnosticdefault_diagnostic () is the default value for type diagnostic
val default_diagnostic_result :
?diagnostics:diagnostic list ->
?source:source option ->
?severity:severity ->
unit ->
diagnostic_resultdefault_diagnostic_result () is the default value for type diagnostic_result
val make_position : line:int32 -> column:int32 -> unit -> positionmake_position … () is a builder for type position
make_range … () is a builder for type range
make_location … () is a builder for type location
val make_source : name:string -> url:string -> unit -> sourcemake_source … () is a builder for type source
val make_code : value:string -> url:string -> unit -> codemake_code … () is a builder for type code
val make_suggestion : ?range:range option -> text:string -> unit -> suggestionmake_suggestion … () is a builder for type suggestion
make_related_location … () is a builder for type related_location
val make_diagnostic :
message:string ->
?location:location option ->
severity:severity ->
?source:source option ->
?code:code option ->
suggestions:suggestion list ->
original_output:string ->
related_locations:related_location list ->
unit ->
diagnosticmake_diagnostic … () is a builder for type diagnostic
val make_diagnostic_result :
diagnostics:diagnostic list ->
?source:source option ->
severity:severity ->
unit ->
diagnostic_resultmake_diagnostic_result … () is a builder for type diagnostic_result
val encode_json_position : position -> Yojson.Basic.tencode_json_position v encoder encodes v to to json
val encode_json_range : range -> Yojson.Basic.tencode_json_range v encoder encodes v to to json
val encode_json_location : location -> Yojson.Basic.tencode_json_location v encoder encodes v to to json
val encode_json_severity : severity -> Yojson.Basic.tencode_json_severity v encoder encodes v to to json
val encode_json_source : source -> Yojson.Basic.tencode_json_source v encoder encodes v to to json
val encode_json_code : code -> Yojson.Basic.tencode_json_code v encoder encodes v to to json
val encode_json_suggestion : suggestion -> Yojson.Basic.tencode_json_suggestion v encoder encodes v to to json
encode_json_related_location v encoder encodes v to to json
val encode_json_diagnostic : diagnostic -> Yojson.Basic.tencode_json_diagnostic v encoder encodes v to to json
val encode_json_diagnostic_result : diagnostic_result -> Yojson.Basic.tencode_json_diagnostic_result v encoder encodes v to to json
val decode_json_position : Yojson.Basic.t -> positiondecode_json_position decoder decodes a position value from decoder
val decode_json_range : Yojson.Basic.t -> rangedecode_json_range decoder decodes a range value from decoder
val decode_json_location : Yojson.Basic.t -> locationdecode_json_location decoder decodes a location value from decoder
val decode_json_severity : Yojson.Basic.t -> severitydecode_json_severity decoder decodes a severity value from decoder
val decode_json_source : Yojson.Basic.t -> sourcedecode_json_source decoder decodes a source value from decoder
val decode_json_code : Yojson.Basic.t -> codedecode_json_code decoder decodes a code value from decoder
val decode_json_suggestion : Yojson.Basic.t -> suggestiondecode_json_suggestion decoder decodes a suggestion value from decoder
decode_json_related_location decoder decodes a related_location value from decoder
val decode_json_diagnostic : Yojson.Basic.t -> diagnosticdecode_json_diagnostic decoder decodes a diagnostic value from decoder
val decode_json_diagnostic_result : Yojson.Basic.t -> diagnostic_resultdecode_json_diagnostic_result decoder decodes a diagnostic_result value from decoder