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 use hhbc_by_ref_hhas_attribute::HhasAttribute;
7 use hhbc_by_ref_hhas_pos::Span;
8 use hhbc_by_ref_hhas_type as hhas_type;
9 use hhbc_by_ref_hhbc_id as hhas_id;
10 use hhbc_by_ref_runtime::TypedValue;
13 pub struct Typedef<'arena> {
14 pub name: hhas_id::class::ClassType<'arena>,
15 pub attributes: ffi::Slice<'arena, HhasAttribute<'arena>>,
16 pub type_info: hhas_type::Info<'arena>,
17 pub type_structure: TypedValue<'arena>,