| 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.generated.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/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
| 11 import 'package:analyzer/dart/element/type.dart'; | 11 import 'package:analyzer/dart/element/type.dart'; |
| 12 import 'package:analyzer/src/dart/ast/utilities.dart'; | 12 import 'package:analyzer/src/dart/ast/utilities.dart'; |
| 13 import 'package:analyzer/src/dart/element/element.dart'; | 13 import 'package:analyzer/src/dart/element/element.dart'; |
| 14 import 'package:analyzer/src/dart/element/type.dart'; | 14 import 'package:analyzer/src/dart/element/type.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; | 15 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; |
| 16 import 'package:analyzer/src/generated/java_core.dart'; | 16 import 'package:analyzer/src/generated/java_core.dart'; |
| 17 import 'package:analyzer/src/generated/java_engine.dart'; | 17 import 'package:analyzer/src/generated/java_engine.dart'; |
| 18 import 'package:analyzer/src/generated/parser.dart'; | 18 import 'package:analyzer/src/generated/parser.dart'; |
| 19 import 'package:analyzer/src/generated/scanner.dart'; | 19 import 'package:analyzer/src/generated/scanner.dart'; |
| 20 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; | 20 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; |
| 21 import 'package:analyzer/src/generated/utilities_dart.dart'; | 21 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 22 | 22 |
| 23 export 'package:analyzer/dart/ast/ast.dart'; | |
| 24 export 'package:analyzer/dart/ast/visitor.dart'; | |
| 25 export 'package:analyzer/src/dart/ast/utilities.dart'; | |
| 26 | |
| 27 /** | 23 /** |
| 28 * Two or more string literals that are implicitly concatenated because of being | 24 * Two or more string literals that are implicitly concatenated because of being |
| 29 * adjacent (separated only by whitespace). | 25 * adjacent (separated only by whitespace). |
| 30 * | 26 * |
| 31 * While the grammar only allows adjacent strings when all of the strings are of | 27 * While the grammar only allows adjacent strings when all of the strings are of |
| 32 * the same kind (single line or multi-line), this class doesn't enforce that | 28 * the same kind (single line or multi-line), this class doesn't enforce that |
| 33 * restriction. | 29 * restriction. |
| 34 * | 30 * |
| 35 * > adjacentStrings ::= | 31 * > adjacentStrings ::= |
| 36 * > [StringLiteral] [StringLiteral]+ | 32 * > [StringLiteral] [StringLiteral]+ |
| (...skipping 10763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10800 } | 10796 } |
| 10801 | 10797 |
| 10802 @override | 10798 @override |
| 10803 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 10799 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
| 10804 | 10800 |
| 10805 @override | 10801 @override |
| 10806 void visitChildren(AstVisitor visitor) { | 10802 void visitChildren(AstVisitor visitor) { |
| 10807 _safelyVisitChild(_expression, visitor); | 10803 _safelyVisitChild(_expression, visitor); |
| 10808 } | 10804 } |
| 10809 } | 10805 } |
| OLD | NEW |