| 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'package:front_end/src/fasta/type_inference/type_inference_engine.dart'; | 5 import 'package:front_end/src/fasta/type_inference/type_inference_engine.dart'; |
| 6 import 'package:kernel/ast.dart'; | 6 import 'package:kernel/ast.dart'; |
| 7 | 7 |
| 8 /// Base class for [TypeInferenceListener] that defines the API for debugging. | 8 /// Base class for [TypeInferenceListener] that defines the API for debugging. |
| 9 /// | 9 /// |
| 10 /// By default no debug info is printed. To enable debug printing, mix in | 10 /// By default no debug info is printed. To enable debug printing, mix in |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 void stringConcatenationExit( | 351 void stringConcatenationExit( |
| 352 StringConcatenation expression, DartType inferredType) => | 352 StringConcatenation expression, DartType inferredType) => |
| 353 genericExpressionExit("stringConcatenation", expression, inferredType); | 353 genericExpressionExit("stringConcatenation", expression, inferredType); |
| 354 | 354 |
| 355 bool stringLiteralEnter(StringLiteral expression, DartType typeContext) => | 355 bool stringLiteralEnter(StringLiteral expression, DartType typeContext) => |
| 356 genericExpressionEnter("StringLiteral", expression, typeContext); | 356 genericExpressionEnter("StringLiteral", expression, typeContext); |
| 357 | 357 |
| 358 void stringLiteralExit(StringLiteral expression, DartType inferredType) => | 358 void stringLiteralExit(StringLiteral expression, DartType inferredType) => |
| 359 genericExpressionExit("StringLiteral", expression, inferredType); | 359 genericExpressionExit("StringLiteral", expression, inferredType); |
| 360 | 360 |
| 361 void superInitializerEnter(SuperInitializer initializer) => |
| 362 genericInitializerEnter("superInitializer", initializer); |
| 363 |
| 364 void superInitializerExit(SuperInitializer initializer) => |
| 365 genericInitializerExit("superInitializer", initializer); |
| 366 |
| 361 void switchStatementEnter(SwitchStatement statement) => | 367 void switchStatementEnter(SwitchStatement statement) => |
| 362 genericStatementEnter('switchStatement', statement); | 368 genericStatementEnter('switchStatement', statement); |
| 363 | 369 |
| 364 void switchStatementExit(SwitchStatement statement) => | 370 void switchStatementExit(SwitchStatement statement) => |
| 365 genericStatementExit('switchStatement', statement); | 371 genericStatementExit('switchStatement', statement); |
| 366 | 372 |
| 367 bool symbolLiteralEnter(SymbolLiteral expression, DartType typeContext) => | 373 bool symbolLiteralEnter(SymbolLiteral expression, DartType typeContext) => |
| 368 genericExpressionEnter("symbolLiteral", expression, typeContext); | 374 genericExpressionEnter("symbolLiteral", expression, typeContext); |
| 369 | 375 |
| 370 void symbolLiteralExit(SymbolLiteral expression, DartType inferredType) => | 376 void symbolLiteralExit(SymbolLiteral expression, DartType inferredType) => |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 435 |
| 430 void whileStatementExit(WhileStatement statement) => | 436 void whileStatementExit(WhileStatement statement) => |
| 431 genericStatementExit("whileStatement", statement); | 437 genericStatementExit("whileStatement", statement); |
| 432 | 438 |
| 433 void yieldStatementEnter(YieldStatement statement) => | 439 void yieldStatementEnter(YieldStatement statement) => |
| 434 genericStatementEnter('yieldStatement', statement); | 440 genericStatementEnter('yieldStatement', statement); |
| 435 | 441 |
| 436 void yieldStatementExit(YieldStatement statement) => | 442 void yieldStatementExit(YieldStatement statement) => |
| 437 genericStatementExit('yieldStatement', statement); | 443 genericStatementExit('yieldStatement', statement); |
| 438 } | 444 } |
| OLD | NEW |