Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: tools/immic/lib/src/plugins/java.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/immic/lib/src/plugins/idl.dart ('k') | tools/immic/lib/src/plugins/objc.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library servicec.plugins.cc; 5 library servicec.plugins.cc;
6 6
7 import 'dart:core' hide Type; 7 import 'dart:core' hide Type;
8 import 'dart:io' show Platform, File; 8 import 'dart:io' show Platform, File;
9 9
10 import 'package:strings/strings.dart' as strings; 10 import 'package:strings/strings.dart' as strings;
11 import 'package:path/path.dart' show basenameWithoutExtension, join, dirname; 11 import 'package:path/path.dart' show basenameWithoutExtension, join, dirname;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 _JavaActionWriter.fromTypes(types.toList()).writeTo(outputDirectory); 81 _JavaActionWriter.fromTypes(types.toList()).writeTo(outputDirectory);
82 } 82 }
83 } 83 }
84 84
85 class _ActionsCollector extends CodeGenerationVisitor { 85 class _ActionsCollector extends CodeGenerationVisitor {
86 _ActionsCollector() : super(null); 86 _ActionsCollector() : super(null);
87 } 87 }
88 88
89 class _JavaVisitor extends CodeGenerationVisitor { 89 class _JavaVisitor extends CodeGenerationVisitor {
90 static const COPYRIGHT = """ 90 static const COPYRIGHT = """
91 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 91 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
92 // for details. All rights reserved. Use of this source code is governed by a 92 // for details. All rights reserved. Use of this source code is governed by a
93 // BSD-style license that can be found in the LICENSE.md file. 93 // BSD-style license that can be found in the LICENSE.md file.
94 """; 94 """;
95 95
96 _JavaVisitor(String path) : super(path); 96 _JavaVisitor(String path) : super(path);
97 } 97 }
98 98
99 class _JavaWriter extends _JavaVisitor { 99 class _JavaWriter extends _JavaVisitor {
100 100
101 final String className; 101 final String className;
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 writeln(' if (data.is$name()) {'); 751 writeln(' if (data.is$name()) {');
752 writeln(' $nodeName typedPrevious = null;'); 752 writeln(' $nodeName typedPrevious = null;');
753 writeln(' if (previous instanceof $nodeName) {'); 753 writeln(' if (previous instanceof $nodeName) {');
754 writeln(' typedPrevious = ($nodeName)previous;'); 754 writeln(' typedPrevious = ($nodeName)previous;');
755 writeln(' }'); 755 writeln(' }');
756 writeln(' return new $patchName('); 756 writeln(' return new $patchName(');
757 writeln(' data.get$name(), typedPrevious, root);'); 757 writeln(' data.get$name(), typedPrevious, root);');
758 writeln(' }'); 758 writeln(' }');
759 } 759 }
760 } 760 }
OLDNEW
« no previous file with comments | « tools/immic/lib/src/plugins/idl.dart ('k') | tools/immic/lib/src/plugins/objc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698