blob: c0d4325fe2b8bf2cacd939c8e622c7b25f75b452 [file] [log] [blame]
// 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.
import 'package:meta/meta.dart';
/// 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,
struc,
constant,
global,
enumClass,
typeDef,
}