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

dart-lang / ffigen / 5305585135

18 Jun 2023 08:33PM CUT coverage: 85.041% (-6.8%) from 91.879%
5305585135

Pull #586

github

web-flow
Merge 27e2ea8df into 9030eb512
Pull Request #586: Add ffigen schema and refer them in example config yaml using modeline

603 of 603 new or added lines in 3 files covered. (100.0%)

3462 of 4071 relevant lines covered (85.04%)

25.74 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});
34✔
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