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

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

Issue 2321263003: Remove parseUriWithException() and URISyntaxException. (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
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/src/dart/element/element.dart'; 11 import 'package:analyzer/src/dart/element/element.dart';
12 import 'package:analyzer/src/generated/engine.dart'; 12 import 'package:analyzer/src/generated/engine.dart';
13 import 'package:analyzer/src/generated/error.dart'; 13 import 'package:analyzer/src/generated/error.dart';
14 import 'package:analyzer/src/generated/java_core.dart';
15 import 'package:analyzer/src/generated/java_engine.dart'; 14 import 'package:analyzer/src/generated/java_engine.dart';
16 import 'package:analyzer/src/generated/source.dart'; 15 import 'package:analyzer/src/generated/source.dart';
17 16
18 /** 17 /**
19 * The scope defined by a block. 18 * The scope defined by a block.
20 */ 19 */
21 class BlockScope extends EnclosedScope { 20 class BlockScope extends EnclosedScope {
22 /** 21 /**
23 * Initialize a newly created scope, enclosed within the [enclosingScope], 22 * Initialize a newly created scope, enclosed within the [enclosingScope],
24 * based on the given [classElement]. 23 * based on the given [classElement].
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 1160
1162 /** 1161 /**
1163 * Define the type parameters declared by the [classElement]. 1162 * Define the type parameters declared by the [classElement].
1164 */ 1163 */
1165 void _defineTypeParameters(ClassElement classElement) { 1164 void _defineTypeParameters(ClassElement classElement) {
1166 for (TypeParameterElement typeParameter in classElement.typeParameters) { 1165 for (TypeParameterElement typeParameter in classElement.typeParameters) {
1167 define(typeParameter); 1166 define(typeParameter);
1168 } 1167 }
1169 } 1168 }
1170 } 1169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698