| 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 library fasta.fasta_accessors; | 5 library fasta.fasta_accessors; |
| 6 | 6 |
| 7 export 'frontend_accessors.dart' show wrapInvalid; | 7 export 'frontend_accessors.dart' show wrapInvalid; |
| 8 | 8 |
| 9 import 'package:front_end/src/fasta/kernel/kernel_shadow_ast.dart' | 9 import 'package:front_end/src/fasta/kernel/kernel_shadow_ast.dart' |
| 10 show KernelArguments, KernelMethodInvocation; | 10 show KernelArguments, KernelMethodInvocation; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 import '../names.dart' show callName; | 43 import '../names.dart' show callName; |
| 44 | 44 |
| 45 abstract class BuilderHelper { | 45 abstract class BuilderHelper { |
| 46 Uri get uri; | 46 Uri get uri; |
| 47 | 47 |
| 48 TypePromoter get typePromoter; | 48 TypePromoter get typePromoter; |
| 49 | 49 |
| 50 int get functionNestingLevel; | 50 int get functionNestingLevel; |
| 51 | 51 |
| 52 bool get constantExpressionRequired; |
| 53 |
| 52 Constructor lookupConstructor(Name name, {bool isSuper}); | 54 Constructor lookupConstructor(Name name, {bool isSuper}); |
| 53 | 55 |
| 54 Expression toSuperMethodInvocation(MethodInvocation node); | 56 Expression toSuperMethodInvocation(MethodInvocation node); |
| 55 | 57 |
| 56 Expression toValue(node); | 58 Expression toValue(node); |
| 57 | 59 |
| 58 Member lookupSuperMember(Name name, {bool isSetter: false}); | 60 Member lookupSuperMember(Name name, {bool isSetter: false}); |
| 59 | 61 |
| 60 scopeLookup(Scope scope, String name, Token token, | 62 scopeLookup(Scope scope, String name, Token token, |
| 61 {bool isQualified: false, PrefixBuilder prefix}); | 63 {bool isQualified: false, PrefixBuilder prefix}); |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 new NullLiteral(), | 923 new NullLiteral(), |
| 922 new KernelMethodInvocation( | 924 new KernelMethodInvocation( |
| 923 new VariableGet(variable), name, arguments) | 925 new VariableGet(variable), name, arguments) |
| 924 ..fileOffset = offset, | 926 ..fileOffset = offset, |
| 925 const DynamicType())); | 927 const DynamicType())); |
| 926 } else { | 928 } else { |
| 927 return new KernelMethodInvocation(receiver, name, arguments) | 929 return new KernelMethodInvocation(receiver, name, arguments) |
| 928 ..fileOffset = offset; | 930 ..fileOffset = offset; |
| 929 } | 931 } |
| 930 } | 932 } |
| OLD | NEW |