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 engine.ast; | 5 library analyzer.src.generated.ast; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'element.dart'; | 9 import 'package:analyzer/src/generated/element.dart'; |
10 import 'engine.dart' show AnalysisEngine; | 10 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; |
11 import 'java_core.dart'; | 11 import 'package:analyzer/src/generated/java_core.dart'; |
12 import 'java_engine.dart'; | 12 import 'package:analyzer/src/generated/java_engine.dart'; |
13 import 'parser.dart'; | 13 import 'package:analyzer/src/generated/parser.dart'; |
14 import 'scanner.dart'; | 14 import 'package:analyzer/src/generated/scanner.dart'; |
15 import 'source.dart' show LineInfo, Source; | 15 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; |
16 import 'utilities_collection.dart' show TokenMap; | 16 import 'package:analyzer/src/generated/utilities_collection.dart' show TokenMap; |
17 import 'utilities_dart.dart'; | 17 import 'package:analyzer/src/generated/utilities_dart.dart'; |
18 | 18 |
19 /** | 19 /** |
20 * Two or more string literals that are implicitly concatenated because of being | 20 * Two or more string literals that are implicitly concatenated because of being |
21 * adjacent (separated only by whitespace). | 21 * adjacent (separated only by whitespace). |
22 * | 22 * |
23 * While the grammar only allows adjacent strings when all of the strings are of | 23 * While the grammar only allows adjacent strings when all of the strings are of |
24 * the same kind (single line or multi-line), this class doesn't enforce that | 24 * the same kind (single line or multi-line), this class doesn't enforce that |
25 * restriction. | 25 * restriction. |
26 * | 26 * |
27 * > adjacentStrings ::= | 27 * > adjacentStrings ::= |
(...skipping 20349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20377 } | 20377 } |
20378 | 20378 |
20379 @override | 20379 @override |
20380 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); | 20380 accept(AstVisitor visitor) => visitor.visitYieldStatement(this); |
20381 | 20381 |
20382 @override | 20382 @override |
20383 void visitChildren(AstVisitor visitor) { | 20383 void visitChildren(AstVisitor visitor) { |
20384 _safelyVisitChild(_expression, visitor); | 20384 _safelyVisitChild(_expression, visitor); |
20385 } | 20385 } |
20386 } | 20386 } |
OLD | NEW |