| OLD | NEW |
| 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 import 'dart:convert'; | 5 import 'dart:convert'; |
| 6 import 'dart:typed_data'; | 6 import 'dart:typed_data'; |
| 7 | 7 |
| 8 import 'package:analyzer/dart/ast/ast.dart'; | 8 import 'package:analyzer/dart/ast/ast.dart'; |
| 9 import 'package:analyzer/dart/ast/token.dart'; | 9 import 'package:analyzer/dart/ast/token.dart'; |
| 10 import 'package:analyzer/error/listener.dart'; | 10 import 'package:analyzer/error/listener.dart'; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 List<FileState> _partedFiles; | 109 List<FileState> _partedFiles; |
| 110 List<NameFilter> _exportFilters; | 110 List<NameFilter> _exportFilters; |
| 111 | 111 |
| 112 Set<FileState> _directReferencedFiles = new Set<FileState>(); | 112 Set<FileState> _directReferencedFiles = new Set<FileState>(); |
| 113 Set<FileState> _transitiveFiles; | 113 Set<FileState> _transitiveFiles; |
| 114 String _transitiveSignature; | 114 String _transitiveSignature; |
| 115 | 115 |
| 116 Map<String, TopLevelDeclaration> _topLevelDeclarations; | 116 Map<String, TopLevelDeclaration> _topLevelDeclarations; |
| 117 Map<String, TopLevelDeclaration> _exportedTopLevelDeclarations; | 117 Map<String, TopLevelDeclaration> _exportedTopLevelDeclarations; |
| 118 | 118 |
| 119 /** |
| 120 * The flag that shows whether the file has an error or warning that |
| 121 * might be fixed by a change to another file. |
| 122 */ |
| 123 bool hasErrorOrWarning = false; |
| 124 |
| 119 FileState._(this._fsState, this.path, this.uri, this.source); | 125 FileState._(this._fsState, this.path, this.uri, this.source); |
| 120 | 126 |
| 121 /** | 127 /** |
| 122 * The unlinked API signature of the file. | 128 * The unlinked API signature of the file. |
| 123 */ | 129 */ |
| 124 List<int> get apiSignature => _apiSignature; | 130 List<int> get apiSignature => _apiSignature; |
| 125 | 131 |
| 126 /** | 132 /** |
| 127 * The content of the file. | 133 * The content of the file. |
| 128 */ | 134 */ |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 _FastaElementProxy operator [](fasta.Builder builder) => | 822 _FastaElementProxy operator [](fasta.Builder builder) => |
| 817 _elements.putIfAbsent(builder, () => new _FastaElementProxy()); | 823 _elements.putIfAbsent(builder, () => new _FastaElementProxy()); |
| 818 | 824 |
| 819 @override | 825 @override |
| 820 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 826 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 821 } | 827 } |
| 822 | 828 |
| 823 class _FastaInterfaceTypeProxy implements fasta.KernelInterfaceType { | 829 class _FastaInterfaceTypeProxy implements fasta.KernelInterfaceType { |
| 824 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 830 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 825 } | 831 } |
| OLD | NEW |