3 * Copyright (c) 2016, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
11 <<file: __EnableUnstableFeatures('coeffects_provisional')>>
16 * The parent class for all array types (containers that are values).
17 * This currently includes both Hack Arrays (vec, dict, keyset) and Legacy
18 * Arrays (varray, darray).
20 <<__Sealed(dict::class, keyset::class, vec::class)>>
21 abstract class AnyArray<+Tk as arraykey, +Tv> implements KeyedContainer<Tk, Tv>, \XHPChild {
25 abstract final class dict<+Tk as arraykey, +Tv> extends AnyArray<Tk, Tv> {}
26 abstract final class keyset<+T as arraykey> extends AnyArray<T, T> {}
27 abstract final class vec<+T> extends AnyArray<int, T> {}