| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 'package:front_end/src/fasta/scanner.dart' show Token; | 5 import 'package:front_end/src/fasta/scanner.dart' show Token; |
| 6 import 'package:front_end/src/fasta/type_inference/type_promotion.dart'; | 6 import 'package:front_end/src/fasta/type_inference/type_promotion.dart'; |
| 7 import 'package:kernel/ast.dart'; | 7 import 'package:kernel/ast.dart'; |
| 8 | 8 |
| 9 /// An abstract class containing factory methods that create AST objects. | 9 /// An abstract class containing factory methods that create AST objects. |
| 10 /// | 10 /// |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 String name, Token token, int functionNestingLevel, | 179 String name, Token token, int functionNestingLevel, |
| 180 {DartType type, | 180 {DartType type, |
| 181 Expression initializer, | 181 Expression initializer, |
| 182 Token equalsToken, | 182 Token equalsToken, |
| 183 bool isFinal: false, | 183 bool isFinal: false, |
| 184 bool isConst: false}); | 184 bool isConst: false}); |
| 185 | 185 |
| 186 /// Creates a read of a local variable. | 186 /// Creates a read of a local variable. |
| 187 VariableGet variableGet(VariableDeclaration variable, | 187 VariableGet variableGet(VariableDeclaration variable, |
| 188 TypePromotionFact<V> fact, TypePromotionScope scope, Token token); | 188 TypePromotionFact<V> fact, TypePromotionScope scope, Token token); |
| 189 |
| 190 /// Creates a write of a local variable. |
| 191 VariableSet variableSet(VariableDeclaration variable, Expression value); |
| 189 } | 192 } |
| OLD | NEW |