blob: c7baf470b27ae69293c2a5f77bf32b985c1f6f63 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Unsupported.
const int kMaxUnsignedSMI = 0;
/// Unsupported.
class BitField<T extends dynamic> {
/// Unsupported.
// Ignored so that both bitfield implementations have the same API.
// ignore: avoid_unused_constructor_parameters
BitField(int length);
/// Unsupported.
// Ignored so that both bitfield implementations have the same API.
// ignore: avoid_unused_constructor_parameters
BitField.filled(int length, bool value);
/// Unsupported.
bool operator [](T index) {
throw UnsupportedError('Not supported when compiling to JavaScript');
}
/// Unsupported.
void operator []=(T index, bool value) {
throw UnsupportedError('Not supported when compiling to JavaScript');
}
/// Unsupported.
void reset([ bool value = false ]) {
throw UnsupportedError('Not supported when compiling to JavaScript');
}
}