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

Side by Side Diff: pkg/analyzer/lib/src/generated/parser.dart

Issue 2640853005: Make Analyzer, VM and dart2js accept URI strings as part-of library identifier. (Closed)
Patch Set: Status fixes Created 3 years, 9 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.generated.parser; 5 library analyzer.src.generated.parser;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import "dart:math" as math; 8 import "dart:math" as math;
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 /** 201 /**
202 * A flag indicating whether the parser is to parse the non-nullable modifier 202 * A flag indicating whether the parser is to parse the non-nullable modifier
203 * in type names. 203 * in type names.
204 */ 204 */
205 bool _enableNnbd = false; 205 bool _enableNnbd = false;
206 206
207 /** 207 /**
208 * A flag indicating whether the parser is to allow URI's in part-of 208 * A flag indicating whether the parser is to allow URI's in part-of
209 * directives. 209 * directives.
210 */ 210 */
211 bool _enableUriInPartOf = false; 211 bool _enableUriInPartOf = true;
212 212
213 /** 213 /**
214 * A flag indicating whether parser is to parse function bodies. 214 * A flag indicating whether parser is to parse function bodies.
215 */ 215 */
216 bool _parseFunctionBodies = true; 216 bool _parseFunctionBodies = true;
217 217
218 /** 218 /**
219 * The next token to be parsed. 219 * The next token to be parsed.
220 */ 220 */
221 Token _currentToken; 221 Token _currentToken;
(...skipping 8294 matching lines...) Expand 10 before | Expand all | Expand 10 after
8516 */ 8516 */
8517 Parser_SyntheticKeywordToken(Keyword keyword, int offset) 8517 Parser_SyntheticKeywordToken(Keyword keyword, int offset)
8518 : super(keyword, offset); 8518 : super(keyword, offset);
8519 8519
8520 @override 8520 @override
8521 int get length => 0; 8521 int get length => 0;
8522 8522
8523 @override 8523 @override
8524 Token copy() => new Parser_SyntheticKeywordToken(keyword, offset); 8524 Token copy() => new Parser_SyntheticKeywordToken(keyword, offset);
8525 } 8525 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698