Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ type match_intermediate_var

type ecosystem
<python decorator="dataclass(frozen=True)">
<ocaml attr="deriving eq, ord, show">
<ocaml attr="deriving eq, ord, show { with_path = false }">
<doc text="
both ecosystem and transitivity below have frozen=True so the generated
classes can be hashed and put in sets (see calls to reachable_deps.add()
Expand Down Expand Up @@ -2896,7 +2896,7 @@ type dump_rule_partitions_params = {
(* ----------------------------- *)

type lockfile_kind
<ocaml attr="deriving show, eq, yojson">
<ocaml attr="deriving show { with_path = false }, eq, yojson">
<python decorator="dataclass(frozen=True)"> =
[
| PipRequirementsTxt
Expand Down Expand Up @@ -2927,7 +2927,7 @@ type lockfile_kind
] <ocaml repr="classic">

type manifest_kind
<ocaml attr="deriving show, eq">
<ocaml attr="deriving show { with_path = false }, eq">
<python decorator="dataclass(frozen=True)"> =
[
| RequirementsIn
Expand Down Expand Up @@ -3398,6 +3398,15 @@ type function_call <python decorator="dataclass(frozen=True)"> = [
| CallMatchSubprojects of fpath list
(* run symbol analysis for the project rooted in the given directory *)
| CallRunSymbolAnalysis of symbol_analysis_params
(*************************************************************************)
(* Text output formatting *)
(*************************************************************************)
| CallShowSubprojects
<doc text="
Format human-readable text summarizing the subprojects that were
discovered in a project. This is meant to be printed in --verbose mode.
">
of subproject list
]

(* ----------------------------- *)
Expand All @@ -3423,6 +3432,16 @@ type function_return <python decorator="dataclass(frozen=True)"> = [
| RetGetTargets of target_discovery_result
| RetMatchSubprojects of subproject list
| RetRunSymbolAnalysis of symbol_analysis
(*************************************************************************)
(* Text output formatting *)
(*************************************************************************)
| RetShowSubprojects
<doc text="
The text return here typically contains newlines but is not
newline-terminated i.e. it is suitable to pass as an argument to
a logger.
">
of string
]

type function_result = {
Expand Down
27 changes: 27 additions & 0 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.

44 changes: 42 additions & 2 deletions semgrep_output_v1.py

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

10 changes: 10 additions & 0 deletions semgrep_output_v1.ts

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

58 changes: 55 additions & 3 deletions semgrep_output_v1_j.ml

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

6 changes: 3 additions & 3 deletions semgrep_output_v1_j.mli

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

Loading