This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) 2021, 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:analyzer/dart/ast/ast.dart'; | |
| import 'package:scrape/scrape.dart'; | |
| void main(List<String> arguments) { | |
| Scrape() | |
| ..addHistogram('Constructor type') | |
| ..addHistogram('Constructor name') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:math'; | |
| final gear = [ | |
| Machine('Guitar', 'sample'), | |
| Machine('Piano', 'sample'), | |
| Machine('YouTube', 'sample'), | |
| Machine('Digitakt', 'synth sequencer fx'), | |
| Machine('Digitone', 'synth sequencer fx'), | |
| Machine('Peak', 'synth fx'), | |
| Machine('DrumBrute Impact', 'drums'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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:analyzer/dart/ast/ast.dart'; | |
| import 'package:scrape/scrape.dart'; | |
| void main(List<String> arguments) { | |
| Scrape() | |
| ..addHistogram('Signatures') | |
| ..addHistogram('Parameters') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:collection'; | |
| import 'package:analyzer/dart/ast/ast.dart'; | |
| import 'package:path/path.dart' as p; | |
| import 'package:scrape/scrape.dart'; | |
| final _numberSuffix = RegExp(r'^([a-zA-Z_]+)([0-9]+)$'); | |
| final Map<String, Pkg> _packages = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:analyzer/dart/ast/ast.dart'; | |
| import 'package:analyzer/dart/ast/token.dart'; | |
| import 'package:scrape/scrape.dart'; | |
| final wildcardPattern = RegExp(r'^_+$'); | |
| final typeNamePattern = RegExp(r'^_*[$A-Z]'); | |
| void main(List<String> arguments) { | |
| Scrape() | |
| ..addHistogram('Declaration') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension on () { | |
| () call() { print(':)'); return (); } | |
| } | |
| main() { | |
| ()()()() | |
| ()()()()()() | |
| ()() ()() ()() | |
| ()()()()()()()() | |
| () ()()()() () |
OlderNewer