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

Side by Side Diff: lib/src/js_ast/js_types.dart

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « lib/src/js_ast/js_ast.dart ('k') | lib/src/js_ast/module_transform.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart 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 part of js_ast; 5 part of js_ast;
6 6
7 final _any = new AnyTypeRef._(); 7 final _any = new AnyTypeRef._();
8 final _unknown = new UnknownTypeRef._(); 8 final _unknown = new UnknownTypeRef._();
9 final _null = new NullTypeRef(); 9 final _null = new NullTypeRef();
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 accept(NodeVisitor visitor) => visitor.visitFunctionTypeRef(this); 189 accept(NodeVisitor visitor) => visitor.visitFunctionTypeRef(this);
190 void visitChildren(NodeVisitor visitor) { 190 void visitChildren(NodeVisitor visitor) {
191 returnType.accept(visitor); 191 returnType.accept(visitor);
192 paramTypes.forEach((n, t) { 192 paramTypes.forEach((n, t) {
193 n.accept(visitor); 193 n.accept(visitor);
194 t.accept(visitor); 194 t.accept(visitor);
195 }); 195 });
196 } 196 }
197 _clone() => new FunctionTypeRef(returnType, paramTypes); 197 _clone() => new FunctionTypeRef(returnType, paramTypes);
198 } 198 }
OLDNEW
« no previous file with comments | « lib/src/js_ast/js_ast.dart ('k') | lib/src/js_ast/module_transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698