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

Side by Side Diff: pkg/analyzer/lib/src/dart/resolver/scope.dart

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 analyzer.src.dart.resolver.scope; 5 library analyzer.src.dart.resolver.scope;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/element/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
11 import 'package:analyzer/error/error.dart';
11 import 'package:analyzer/src/dart/element/element.dart'; 12 import 'package:analyzer/src/dart/element/element.dart';
13 import 'package:analyzer/src/error/codes.dart';
12 import 'package:analyzer/src/generated/engine.dart'; 14 import 'package:analyzer/src/generated/engine.dart';
13 import 'package:analyzer/src/generated/error.dart';
14 import 'package:analyzer/src/generated/java_engine.dart'; 15 import 'package:analyzer/src/generated/java_engine.dart';
15 import 'package:analyzer/src/generated/source.dart'; 16 import 'package:analyzer/src/generated/source.dart';
16 17
17 /** 18 /**
18 * The scope defined by a block. 19 * The scope defined by a block.
19 */ 20 */
20 class BlockScope extends EnclosedScope { 21 class BlockScope extends EnclosedScope {
21 /** 22 /**
22 * Initialize a newly created scope, enclosed within the [enclosingScope], 23 * Initialize a newly created scope, enclosed within the [enclosingScope],
23 * based on the given [block]. 24 * based on the given [block].
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1166
1166 /** 1167 /**
1167 * Define the type parameters declared by the [classElement]. 1168 * Define the type parameters declared by the [classElement].
1168 */ 1169 */
1169 void _defineTypeParameters(ClassElement classElement) { 1170 void _defineTypeParameters(ClassElement classElement) {
1170 for (TypeParameterElement typeParameter in classElement.typeParameters) { 1171 for (TypeParameterElement typeParameter in classElement.typeParameters) {
1171 define(typeParameter); 1172 define(typeParameter);
1172 } 1173 }
1173 } 1174 }
1174 } 1175 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/resolver/inheritance_manager.dart ('k') | pkg/analyzer/lib/src/dart/scanner/scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698