Reviewdog_rdfCode for reviewdog.proto
type location = private {mutable _presence : Pbrt.Bitfield.t;presence for 1 fields
*)mutable path : string;mutable range : range option;}type suggestion = private {mutable _presence : Pbrt.Bitfield.t;presence for 1 fields
*)mutable range : range option;mutable text : string;}type diagnostic = private {mutable _presence : Pbrt.Bitfield.t;presence for 3 fields
*)mutable message : string;mutable location : location option;mutable severity : severity;mutable source : source option;mutable code : code option;mutable suggestions : suggestion list;mutable original_output : string;}type diagnostic_result = private {mutable _presence : Pbrt.Bitfield.t;presence for 1 fields
*)mutable diagnostics : diagnostic list;mutable source : source option;mutable severity : severity;}val default_position : unit -> positiondefault_position () is a new empty value for type position
val default_range : unit -> rangedefault_range () is a new empty value for type range
val default_location : unit -> locationdefault_location () is a new empty value for type location
val default_severity : unit -> severitydefault_severity () is a new empty value for type severity
val default_source : unit -> sourcedefault_source () is a new empty value for type source
val default_code : unit -> codedefault_code () is a new empty value for type code
val default_suggestion : unit -> suggestiondefault_suggestion () is a new empty value for type suggestion
default_related_location () is a new empty value for type related_location
val default_diagnostic : unit -> diagnosticdefault_diagnostic () is a new empty value for type diagnostic
val default_diagnostic_result : unit -> diagnostic_resultdefault_diagnostic_result () is a new empty value for type diagnostic_result
val make_position : ?line:int32 -> ?column:int32 -> unit -> positionmake_position … () is a builder for type position
val position_has_line : position -> boolpresence of field "line" in position
val position_set_line : position -> int32 -> unitset field line in position
val position_has_column : position -> boolpresence of field "column" in position
val position_set_column : position -> int32 -> unitset field column in position
make_range … () is a builder for type range
make_location … () is a builder for type location
val location_has_path : location -> boolpresence of field "path" in location
val location_set_path : location -> string -> unitset field path in location
val make_source : ?name:string -> ?url:string -> unit -> sourcemake_source … () is a builder for type source
val source_has_name : source -> boolpresence of field "name" in source
val source_set_name : source -> string -> unitset field name in source
val source_has_url : source -> boolpresence of field "url" in source
val source_set_url : source -> string -> unitset field url in source
val make_code : ?value:string -> ?url:string -> unit -> codemake_code … () is a builder for type code
val code_has_value : code -> boolpresence of field "value" in code
val code_set_value : code -> string -> unitset field value in code
val code_has_url : code -> boolpresence of field "url" in code
val code_set_url : code -> string -> unitset field url in code
val make_suggestion : ?range:range -> ?text:string -> unit -> suggestionmake_suggestion … () is a builder for type suggestion
val copy_suggestion : suggestion -> suggestionval suggestion_set_range : suggestion -> range -> unitset field range in suggestion
val suggestion_has_text : suggestion -> boolpresence of field "text" in suggestion
val suggestion_set_text : suggestion -> string -> unitset field text in suggestion
make_related_location … () is a builder for type related_location
presence of field "message" in related_location
set field message in related_location
set field location in related_location
val make_diagnostic :
?message:string ->
?location:location ->
?severity:severity ->
?source:source ->
?code:code ->
?suggestions:suggestion list ->
?original_output:string ->
?related_locations:related_location list ->
unit ->
diagnosticmake_diagnostic … () is a builder for type diagnostic
val copy_diagnostic : diagnostic -> diagnosticval diagnostic_has_message : diagnostic -> boolpresence of field "message" in diagnostic
val diagnostic_set_message : diagnostic -> string -> unitset field message in diagnostic
val diagnostic_set_location : diagnostic -> location -> unitset field location in diagnostic
val diagnostic_has_severity : diagnostic -> boolpresence of field "severity" in diagnostic
val diagnostic_set_severity : diagnostic -> severity -> unitset field severity in diagnostic
val diagnostic_set_source : diagnostic -> source -> unitset field source in diagnostic
val diagnostic_set_code : diagnostic -> code -> unitset field code in diagnostic
val diagnostic_set_suggestions : diagnostic -> suggestion list -> unitset field suggestions in diagnostic
val diagnostic_has_original_output : diagnostic -> boolpresence of field "original_output" in diagnostic
val diagnostic_set_original_output : diagnostic -> string -> unitset field original_output in diagnostic
set field related_locations in diagnostic
val make_diagnostic_result :
?diagnostics:diagnostic list ->
?source:source ->
?severity:severity ->
unit ->
diagnostic_resultmake_diagnostic_result … () is a builder for type diagnostic_result
val copy_diagnostic_result : diagnostic_result -> diagnostic_resultval diagnostic_result_set_diagnostics :
diagnostic_result ->
diagnostic list ->
unitset field diagnostics in diagnostic_result
val diagnostic_result_set_source : diagnostic_result -> source -> unitset field source in diagnostic_result
val diagnostic_result_has_severity : diagnostic_result -> boolpresence of field "severity" in diagnostic_result
val diagnostic_result_set_severity : diagnostic_result -> severity -> unitset field severity in 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