Adding a new ATD-based parser for JSON data containing Java method declarations

Reviewed By: jvillard

Differential Revision: D7910313

fbshipit-source-id: 874eced
master
Martino Luca 7 years ago committed by Facebook Github Bot
parent e3f0754335
commit 1916e4fa0f

@ -21,7 +21,7 @@ INFER_MAIN = infer
#### Checkers declarations ####
INFER_ATDGEN_STUB_BASES = atd/jsonbug atd/runstate atd/stacktree
INFER_ATDGEN_STUB_BASES = atd/jsonbug atd/runstate atd/stacktree atd/java_method_decl
INFER_ATDGEN_TYPES = j t
INFER_ATDGEN_STUB_ATDS = $(INFER_ATDGEN_STUB_BASES:.atd)
INFER_ATDGEN_SUFFIXES = $(foreach atd_t,$(INFER_ATDGEN_TYPES),_$(atd_t).ml _$(atd_t).mli)

@ -0,0 +1,10 @@
type java_method_decl = {
?signature : string option;
~unresolved_signature : bool;
method_name : string;
source_file : string;
start_line : int;
end_line : int;
}
type java_method_decls = java_method_decl list
Loading…
Cancel
Save