AstLocated, named surface syntax, including forms removed by desugaring.
val dummy_loc : locLocation for synthesized nodes; its positions are outside any source file.
and exp_desc = | EVar of string| ELit of lit| EUnit| EAnnot of exp * typ| EBinop of binop * exp * exp| EUnop of unop * exp| EIf of exp * exp * exp| ELam of param list * exp| EApp of exp * exp| ERcd of (string * exp) list| EField of exp * string| EMerge of merge_kind * exp * exp| ELet of binding * exp| EOpen of exp * exp| EInl of exp| EInr of exp| ECase of exp * binder * exp * binder * exp| EFold of exp| EUnfold of exp| EStruct of sandbox * decl list| EFunctor of sandbox * param list * exp| ELink of link_kind * exp * exp| EMatch of exp * (binder * binder list * exp) listArms contain a constructor name, payload binders and a body. A constructor named _ denotes the wildcard arm.
| EQuery| EIndex of exp * int| EBox of exp * exptype program = {imports : (binder * import_source) list;decls : decl list;main : exp option;An optional synthesized result expression. The parser leaves this unset; a source entry point is a declaration named main.
}A .scei file: ordered type aliases followed by its interface type.
val name_of_decl : decl -> string optionThe name bound by a value or module declaration; other declarations have no exported value name.
Value and module names with declaration locations, in source order. Duplicates are retained.
val string_of_binop : binop -> stringval string_of_unop : unop -> string