Skip to content

Commit

Permalink
Rename type xlang -> analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
mjambon committed Jan 8, 2025
1 parent 1c82453 commit f8c31fc
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 95 deletions.
7 changes: 4 additions & 3 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,8 @@ type core_error <python decorator="dataclass(frozen=True)"> = {
those different files (because ATD does not have a proper module system yet).
*)

type xlang <ocaml attr="deriving show"> = string wrap <ocaml module="Xlang">
type analyzer <ocaml attr="deriving show"> =
string wrap <ocaml module="Analyzer">

(* A target can either be a traditional code target (now with optional
associated lockfile) or it can be a lockfile target, which will be used to
Expand All @@ -1887,10 +1888,10 @@ type target <ocaml attr="deriving show"> = [
*)
type code_target <ocaml attr="deriving show"> = {
path: fpath (* source file *);
(* Must be a valid target analyzer as defined in Xlang.mli.
(* Must be a valid target analyzer as defined in Analyzer.mli.
examples: "ocaml", "python", but also "spacegrep" or "regexp".
*)
analyzer: xlang;
analyzer: analyzer;
products: product list;
?lockfile_target: lockfile option;
}
Expand Down
4 changes: 2 additions & 2 deletions semgrep_output_v1.jsonschema

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion semgrep_output_v1.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions semgrep_output_v1.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 37 additions & 37 deletions semgrep_output_v1_j.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions semgrep_output_v1_j.mli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8c31fc

Please sign in to comment.