blob: 9979a20a3413a46fe9722df86aec996936136c29 [file]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// A Binding's String representation.
class BindingString {
// Meta data, (not used for generation).
final BindingStringType type;
final String string;
const BindingString({required this.type, required this.string});
@override
String toString() => string;
}
/// A [BindingString]'s type.
enum BindingStringType {
func,
struct,
union,
constant,
global,
enum_,
typeDef,
objcInterface,
objcProtocol,
objcCategory,
objcBlock,
cppClass,
}