(**************************************************************************) (* *) (* OCaml *) (* *) (* Jeremie Dimino, Jane Street Europe *) (* *) (* Copyright 2016 Jane Street Group LLC *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the GNU Lesser General Public License version 2.1, with the *) (* special exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) type string_constant = { str : string ; tag : string } type expectation = { extid_loc : Location.t (* Location of "expect" in "[%%expect ...]" *) ; payload_loc : Location.t (* Location of the whole payload *) ; normal : string_constant (* expectation without -principal *) ; principal : string_constant (* expectation with -principal *) }