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

Side by Side Diff: pkg/analyzer/lib/src/summary/summarize_const_expr.dart

Issue 1667723002: Use summary IDL file for interface classes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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) 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 library serialization.summarize_const_expr; 5 library serialization.summarize_const_expr;
6 6
7 import 'package:analyzer/src/generated/ast.dart'; 7 import 'package:analyzer/src/generated/ast.dart';
8 import 'package:analyzer/src/generated/scanner.dart'; 8 import 'package:analyzer/src/generated/scanner.dart';
9 import 'package:analyzer/src/summary/format.dart'; 9 import 'package:analyzer/src/summary/format.dart';
10 import 'package:analyzer/src/summary/idl.dart';
10 11
11 /** 12 /**
12 * Instances of this class keep track of intermediate state during 13 * Instances of this class keep track of intermediate state during
13 * serialization of a single constant [Expression]. 14 * serialization of a single constant [Expression].
14 */ 15 */
15 abstract class AbstractConstExprSerializer { 16 abstract class AbstractConstExprSerializer {
16 /** 17 /**
17 * See [UnlinkedConstBuilder.operations]. 18 * See [UnlinkedConstBuilder.operations].
18 */ 19 */
19 final List<UnlinkedConstOperation> operations = <UnlinkedConstOperation>[]; 20 final List<UnlinkedConstOperation> operations = <UnlinkedConstOperation>[];
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 * Error that describes a problem during a constant expression serialization. 307 * Error that describes a problem during a constant expression serialization.
307 */ 308 */
308 class _ConstExprSerializationError { 309 class _ConstExprSerializationError {
309 final String message; 310 final String message;
310 311
311 _ConstExprSerializationError(this.message); 312 _ConstExprSerializationError(this.message);
312 313
313 @override 314 @override
314 String toString() => message; 315 String toString() => message;
315 } 316 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/summarize_ast.dart ('k') | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698