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

Side by Side Diff: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.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.fasta_accessors; 5 library fasta.fasta_accessors;
6 6
7 export 'package:kernel/frontend/accessors.dart' show wrapInvalid; 7 export 'package:kernel/frontend/accessors.dart' show wrapInvalid;
8 8
9 import 'package:kernel/frontend/accessors.dart' 9 import 'package:kernel/frontend/accessors.dart'
10 show Accessor, buildIsNull, makeLet; 10 show Accessor, buildIsNull, makeLet;
11 11
12 import 'package:kernel/ast.dart'; 12 import 'package:kernel/ast.dart';
13 13
14 import '../errors.dart' show internalError; 14 import '../errors.dart' show internalError;
15 15
16 import '../builder/scope.dart' show AccessErrorBuilder, ProblemBuilder; 16 import '../scope.dart' show AccessErrorBuilder, ProblemBuilder;
17 17
18 import 'package:kernel/frontend/accessors.dart' as kernel 18 import 'package:kernel/frontend/accessors.dart' as kernel
19 show 19 show
20 IndexAccessor, 20 IndexAccessor,
21 NullAwarePropertyAccessor, 21 NullAwarePropertyAccessor,
22 PropertyAccessor, 22 PropertyAccessor,
23 ReadOnlyAccessor, 23 ReadOnlyAccessor,
24 StaticAccessor, 24 StaticAccessor,
25 SuperIndexAccessor, 25 SuperIndexAccessor,
26 SuperPropertyAccessor, 26 SuperPropertyAccessor,
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 new ConditionalExpression( 816 new ConditionalExpression(
817 buildIsNull(new VariableGet(variable)), 817 buildIsNull(new VariableGet(variable)),
818 new NullLiteral(), 818 new NullLiteral(),
819 new MethodInvocation(new VariableGet(variable), name, arguments) 819 new MethodInvocation(new VariableGet(variable), name, arguments)
820 ..fileOffset = offset, 820 ..fileOffset = offset,
821 const DynamicType())); 821 const DynamicType()));
822 } else { 822 } else {
823 return new MethodInvocation(receiver, name, arguments)..fileOffset = offset; 823 return new MethodInvocation(receiver, name, arguments)..fileOffset = offset;
824 } 824 }
825 } 825 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/scope.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698