type selectable = | Name_sel| Location_sel| Type_sel| ID_sel
type kind = | Var_k| Fun_k| Datatype_k
type target = | Name_t of string| ID_t of int| All_t| AllGlobVar_t| Or_t of string list| And_t of string list
type find = | Uses_f| Decl_f| Defs_f| UsesWithVar_f of string| Returns_f
type structure = | Fun_s of string| Cond_s| NonCond_s| None_s
type constr = | Constraint_c of string| None_c
val to_string_q : query -> stringexception Error of stringval parse_json_file : string -> query