• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / ffigen / 4272458024

pending completion
4272458024

push

github

GitHub
Bump SDK constraint to 4.0.0 (#517)

3164 of 3442 relevant lines covered (91.92%)

24.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/lib/src/code_generator/binding_string.dart
1
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4

5
/// A Binding's String representation.
6
class BindingString {
7
  // Meta data, (not used for generation).
8
  final BindingStringType type;
9
  final String string;
10

11
  const BindingString({required this.type, required this.string});
32✔
12

13
  @override
×
14
  String toString() => string;
×
15
}
16

17
/// A [BindingString]'s type.
18
enum BindingStringType {
19
  func,
20
  struct,
21
  union,
22
  constant,
23
  global,
24
  enumClass,
25
  typeDef,
26
  objcInterface,
27
  objcBlock,
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc