1 // Copyright (c) Facebook, Inc. and its affiliates.
3 // This source code is licensed under the MIT license found in the
4 // LICENSE file in the "hack" directory of this source tree.
6 // @generated SignedSource<<2c751a98cfac3db81041d201398978c1>>
8 // To regenerate this file, run:
9 // hphp/hack/src/oxidized/regen.sh
11 use ocamlrep_derive::IntoOcamlRep;
12 use ocamlvalue_macro::Ocamlvalue;
16 pub use crate::shape_map;
20 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
21 pub struct Id(pub Pos, pub String);
23 pub type Pstring = (Pos, String);
25 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
26 pub enum ShapeFieldName {
29 SFclassConst(Id, Pstring),
32 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
39 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
40 pub enum ConstraintKind {
47 pub type Reified = bool;
49 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
59 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
64 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
65 pub enum OgNullFlavor {
70 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
79 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
106 Eq(Option<Box<Bop>>),
109 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
123 #[derive(Clone, Debug, IntoOcamlRep, Ocamlvalue)]
124 pub enum FunDeclKind {