| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 analyzer.src.dart.ast.ast; | 5 library analyzer.src.dart.ast.ast; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/token.dart'; |
| 10 import 'package:analyzer/dart/element/element.dart'; | 11 import 'package:analyzer/dart/element/element.dart'; |
| 11 import 'package:analyzer/dart/element/type.dart'; | 12 import 'package:analyzer/dart/element/type.dart'; |
| 13 import 'package:analyzer/src/dart/ast/token.dart'; |
| 12 import 'package:analyzer/src/dart/ast/utilities.dart'; | 14 import 'package:analyzer/src/dart/ast/utilities.dart'; |
| 13 import 'package:analyzer/src/dart/element/element.dart'; | 15 import 'package:analyzer/src/dart/element/element.dart'; |
| 14 import 'package:analyzer/src/dart/element/type.dart'; | 16 import 'package:analyzer/src/dart/element/type.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; | 17 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; |
| 16 import 'package:analyzer/src/generated/java_core.dart'; | 18 import 'package:analyzer/src/generated/java_core.dart'; |
| 17 import 'package:analyzer/src/generated/java_engine.dart'; | 19 import 'package:analyzer/src/generated/java_engine.dart'; |
| 18 import 'package:analyzer/src/generated/parser.dart'; | 20 import 'package:analyzer/src/generated/parser.dart'; |
| 19 import 'package:analyzer/src/generated/scanner.dart'; | |
| 20 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; | 21 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; |
| 21 import 'package:analyzer/src/generated/utilities_dart.dart'; | 22 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 22 | 23 |
| 23 /** | 24 /** |
| 24 * Two or more string literals that are implicitly concatenated because of being | 25 * Two or more string literals that are implicitly concatenated because of being |
| 25 * adjacent (separated only by whitespace). | 26 * adjacent (separated only by whitespace). |
| 26 * | 27 * |
| 27 * While the grammar only allows adjacent strings when all of the strings are of | 28 * While the grammar only allows adjacent strings when all of the strings are of |
| 28 * the same kind (single line or multi-line), this class doesn't enforce that | 29 * the same kind (single line or multi-line), this class doesn't enforce that |
| 29 * restriction. | 30 * restriction. |
| (...skipping 10774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10804 } | 10805 } |
| 10805 | 10806 |
| 10806 @override | 10807 @override |
| 10807 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 10808 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
| 10808 | 10809 |
| 10809 @override | 10810 @override |
| 10810 void visitChildren(AstVisitor visitor) { | 10811 void visitChildren(AstVisitor visitor) { |
| 10811 _safelyVisitChild(_expression, visitor); | 10812 _safelyVisitChild(_expression, visitor); |
| 10812 } | 10813 } |
| 10813 } | 10814 } |
| OLD | NEW |