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

Side by Side Diff: pkg/front_end/lib/src/fasta/kernel/body_builder.dart

Issue 2794533002: Move scope.dart. (Closed)
Patch Set: Created 3 years, 8 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 fasta.body_builder; 5 library fasta.body_builder;
6 6
7 import '../fasta_codes.dart' 7 import '../fasta_codes.dart'
8 show FastaMessage, codeExpectedButGot, codeExpectedFunctionBody; 8 show FastaMessage, codeExpectedButGot, codeExpectedFunctionBody;
9 9
10 import '../parser/parser.dart' show FormalParameterType, optional; 10 import '../parser/parser.dart' show FormalParameterType, optional;
(...skipping 16 matching lines...) Expand all
27 import '../parser/dart_vm_native.dart' show skipNativeClause; 27 import '../parser/dart_vm_native.dart' show skipNativeClause;
28 28
29 import '../scanner/token.dart' 29 import '../scanner/token.dart'
30 show BeginGroupToken, Token, isBinaryOperator, isMinusOperator; 30 show BeginGroupToken, Token, isBinaryOperator, isMinusOperator;
31 31
32 import '../errors.dart' show formatUnexpected, internalError; 32 import '../errors.dart' show formatUnexpected, internalError;
33 33
34 import '../source/scope_listener.dart' 34 import '../source/scope_listener.dart'
35 show JumpTargetKind, NullValue, ScopeListener; 35 show JumpTargetKind, NullValue, ScopeListener;
36 36
37 import '../builder/scope.dart' show ProblemBuilder, Scope; 37 import '../scope.dart' show ProblemBuilder;
38 38
39 import '../source/outline_builder.dart' show asyncMarkerFromTokens; 39 import '../source/outline_builder.dart' show asyncMarkerFromTokens;
40 40
41 import 'fasta_accessors.dart'; 41 import 'fasta_accessors.dart';
42 42
43 import '../quote.dart' 43 import '../quote.dart'
44 show 44 show
45 Quote, 45 Quote,
46 analyzeQuote, 46 analyzeQuote,
47 unescape, 47 unescape,
(...skipping 2876 matching lines...) Expand 10 before | Expand all | Expand 10 after
2924 } else if (node is PrefixBuilder) { 2924 } else if (node is PrefixBuilder) {
2925 return node.name; 2925 return node.name;
2926 } else if (node is ThisAccessor) { 2926 } else if (node is ThisAccessor) {
2927 return node.isSuper ? "super" : "this"; 2927 return node.isSuper ? "super" : "this";
2928 } else if (node is FastaAccessor) { 2928 } else if (node is FastaAccessor) {
2929 return node.plainNameForRead; 2929 return node.plainNameForRead;
2930 } else { 2930 } else {
2931 return internalError("Unhandled: ${node.runtimeType}"); 2931 return internalError("Unhandled: ${node.runtimeType}");
2932 } 2932 }
2933 } 2933 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/type_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698