| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.ast; | 3 library engine.ast; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'java_core.dart'; | 5 import 'java_core.dart'; |
| 6 import 'java_engine.dart'; | 6 import 'java_engine.dart'; |
| 7 import 'package:analyzer_experimental/src/generated/source.dart' show LineInfo; |
| 7 import 'scanner.dart'; | 8 import 'scanner.dart'; |
| 8 import 'engine.dart' show AnalysisEngine; | 9 import 'engine.dart' show AnalysisEngine; |
| 9 import 'utilities_dart.dart'; | 10 import 'utilities_dart.dart'; |
| 10 import 'element.dart'; | 11 import 'element.dart'; |
| 11 /** | 12 /** |
| 12 * The abstract class `ASTNode` defines the behavior common to all nodes in the
AST structure | 13 * The abstract class `ASTNode` defines the behavior common to all nodes in the
AST structure |
| 13 * for a Dart program. | 14 * for a Dart program. |
| 14 * | 15 * |
| 15 * @coverage dart.engine.ast | 16 * @coverage dart.engine.ast |
| 16 */ | 17 */ |
| (...skipping 2719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2736 * [ImportDirective] | 2737 * [ImportDirective] |
| 2737 * | [ExportDirective] | 2738 * | [ExportDirective] |
| 2738 * | 2739 * |
| 2739 * declarations ::= | 2740 * declarations ::= |
| 2740 * [CompilationUnitMember]* | 2741 * [CompilationUnitMember]* |
| 2741 * </pre> | 2742 * </pre> |
| 2742 * | 2743 * |
| 2743 * @coverage dart.engine.ast | 2744 * @coverage dart.engine.ast |
| 2744 */ | 2745 */ |
| 2745 class CompilationUnit extends ASTNode { | 2746 class CompilationUnit extends ASTNode { |
| 2747 /** |
| 2748 * The line information for this compilation unit. |
| 2749 */ |
| 2750 LineInfo lineInfo; |
| 2746 | 2751 |
| 2747 /** | 2752 /** |
| 2748 * The first token in the token stream that was parsed to form this compilatio
n unit. | 2753 * The first token in the token stream that was parsed to form this compilatio
n unit. |
| 2749 */ | 2754 */ |
| 2750 Token _beginToken; | 2755 Token _beginToken; |
| 2751 | 2756 |
| 2752 /** | 2757 /** |
| 2753 * The script tag at the beginning of the compilation unit, or `null` if there
is no script | 2758 * The script tag at the beginning of the compilation unit, or `null` if there
is no script |
| 2754 * tag in this compilation unit. | 2759 * tag in this compilation unit. |
| 2755 */ | 2760 */ |
| (...skipping 12128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14884 void operator[]=(int index, E node) { | 14889 void operator[]=(int index, E node) { |
| 14885 if (index < 0 || index >= _elements.length) { | 14890 if (index < 0 || index >= _elements.length) { |
| 14886 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); | 14891 throw new RangeError("Index: ${index}, Size: ${_elements.length}"); |
| 14887 } | 14892 } |
| 14888 _elements[index] as E; | 14893 _elements[index] as E; |
| 14889 owner.becomeParentOf(node); | 14894 owner.becomeParentOf(node); |
| 14890 _elements[index] = node; | 14895 _elements[index] = node; |
| 14891 } | 14896 } |
| 14892 int get length => _elements.length; | 14897 int get length => _elements.length; |
| 14893 } | 14898 } |
| OLD | NEW |