| 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/ast/token.dart'; |
| (...skipping 2113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2124 | 2124 |
| 2125 /** | 2125 /** |
| 2126 * The references embedded within the documentation comment. This list will be | 2126 * The references embedded within the documentation comment. This list will be |
| 2127 * empty unless this is a documentation comment that has references embedded | 2127 * empty unless this is a documentation comment that has references embedded |
| 2128 * within it. | 2128 * within it. |
| 2129 */ | 2129 */ |
| 2130 NodeList<CommentReference> _references; | 2130 NodeList<CommentReference> _references; |
| 2131 | 2131 |
| 2132 /** | 2132 /** |
| 2133 * Initialize a newly created comment. The list of [tokens] must contain at | 2133 * Initialize a newly created comment. The list of [tokens] must contain at |
| 2134 * least one token. The [type] is the type of the comment. The list of | 2134 * least one token. The [_type] is the type of the comment. The list of |
| 2135 * [references] can be empty if the comment does not contain any embedded | 2135 * [references] can be empty if the comment does not contain any embedded |
| 2136 * references. | 2136 * references. |
| 2137 */ | 2137 */ |
| 2138 CommentImpl(this.tokens, this._type, List<CommentReference> references) { | 2138 CommentImpl(this.tokens, this._type, List<CommentReference> references) { |
| 2139 _references = new NodeListImpl<CommentReference>(this, references); | 2139 _references = new NodeListImpl<CommentReference>(this, references); |
| 2140 } | 2140 } |
| 2141 | 2141 |
| 2142 @override | 2142 @override |
| 2143 Token get beginToken => tokens[0]; | 2143 Token get beginToken => tokens[0]; |
| 2144 | 2144 |
| (...skipping 8888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11033 | 11033 |
| 11034 @override | 11034 @override |
| 11035 dynamic/*=E*/ accept/*<E>*/(AstVisitor/*<E>*/ visitor) => | 11035 dynamic/*=E*/ accept/*<E>*/(AstVisitor/*<E>*/ visitor) => |
| 11036 visitor.visitYieldStatement(this); | 11036 visitor.visitYieldStatement(this); |
| 11037 | 11037 |
| 11038 @override | 11038 @override |
| 11039 void visitChildren(AstVisitor visitor) { | 11039 void visitChildren(AstVisitor visitor) { |
| 11040 _expression?.accept(visitor); | 11040 _expression?.accept(visitor); |
| 11041 } | 11041 } |
| 11042 } | 11042 } |
| OLD | NEW |