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

Side by Side Diff: pkg/compiler/lib/src/elements/modelx.dart

Issue 2349593003: Support generic method syntax (fixes #25869). (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/parser.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library elements.modelx; 5 library elements.modelx;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/names.dart' show Identifiers; 8 import '../common/names.dart' show Identifiers;
9 import '../common/resolution.dart' show Resolution, ParsingContext; 9 import '../common/resolution.dart' show Resolution, ParsingContext;
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
11 import '../constants/constant_constructors.dart'; 11 import '../constants/constant_constructors.dart';
12 import '../constants/constructors.dart'; 12 import '../constants/constructors.dart';
13 import '../constants/expressions.dart'; 13 import '../constants/expressions.dart';
14 import '../core_types.dart' show CoreClasses;
14 import '../dart_types.dart'; 15 import '../dart_types.dart';
15 import '../diagnostics/messages.dart' show MessageTemplate; 16 import '../diagnostics/messages.dart' show MessageTemplate;
16 import '../ordered_typeset.dart' show OrderedTypeSet; 17 import '../ordered_typeset.dart' show OrderedTypeSet;
17 import '../resolution/class_members.dart' show ClassMemberMixin; 18 import '../resolution/class_members.dart' show ClassMemberMixin;
18 import '../resolution/resolution.dart' show AnalyzableElementX; 19 import '../resolution/resolution.dart' show AnalyzableElementX;
19 import '../resolution/scope.dart' 20 import '../resolution/scope.dart'
20 show ClassScope, LibraryScope, Scope, TypeDeclarationScope; 21 show ClassScope, LibraryScope, Scope, TypeDeclarationScope;
21 import '../resolution/tree_elements.dart' show TreeElements; 22 import '../resolution/tree_elements.dart' show TreeElements;
22 import '../resolution/typedefs.dart' show TypedefCyclicVisitor; 23 import '../resolution/typedefs.dart' show TypedefCyclicVisitor;
23 import '../script.dart'; 24 import '../script.dart';
(...skipping 3378 matching lines...) Expand 10 before | Expand all | Expand 10 after
3402 body = node.asFunctionExpression().body; 3403 body = node.asFunctionExpression().body;
3403 } 3404 }
3404 return new ParsedResolvedAst( 3405 return new ParsedResolvedAst(
3405 declaration, 3406 declaration,
3406 node, 3407 node,
3407 body, 3408 body,
3408 definingElement.treeElements, 3409 definingElement.treeElements,
3409 definingElement.compilationUnit.script.resourceUri); 3410 definingElement.compilationUnit.script.resourceUri);
3410 } 3411 }
3411 } 3412 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698