OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
6 import 'package:analyzer/src/generated/utilities_dart.dart'; | 6 import 'package:analyzer/src/generated/utilities_dart.dart'; |
7 import 'package:front_end/src/scanner/token.dart'; | 7 import 'package:front_end/src/scanner/token.dart'; |
8 import 'package:meta/meta.dart'; | 8 import 'package:meta/meta.dart'; |
9 | 9 |
10 /** | 10 /** |
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 * a string literal, and a semicolon. | 827 * a string literal, and a semicolon. |
828 */ | 828 */ |
829 NativeFunctionBody nativeFunctionBody( | 829 NativeFunctionBody nativeFunctionBody( |
830 Token nativeKeyword, StringLiteral stringLiteral, Token semicolon); | 830 Token nativeKeyword, StringLiteral stringLiteral, Token semicolon); |
831 | 831 |
832 /** | 832 /** |
833 * Returns a newly created list of nodes such that all of the nodes that | 833 * Returns a newly created list of nodes such that all of the nodes that |
834 * are added to the list will have their parent set to the given [owner]. The | 834 * are added to the list will have their parent set to the given [owner]. The |
835 * list will initially be populated with the given [elements]. | 835 * list will initially be populated with the given [elements]. |
836 */ | 836 */ |
837 NodeList/*<E>*/ nodeList/*<E extends AstNode>*/(AstNode owner, | 837 NodeList<E> nodeList<E extends AstNode>(AstNode owner, [List<E> elements]); |
838 [List/*<E>*/ elements]); | |
839 | 838 |
840 /** | 839 /** |
841 * Returns a newly created null literal. | 840 * Returns a newly created null literal. |
842 */ | 841 */ |
843 NullLiteral nullLiteral(Token literal); | 842 NullLiteral nullLiteral(Token literal); |
844 | 843 |
845 /** | 844 /** |
846 * Returns a newly created parenthesized expression. | 845 * Returns a newly created parenthesized expression. |
847 */ | 846 */ |
848 ParenthesizedExpression parenthesizedExpression( | 847 ParenthesizedExpression parenthesizedExpression( |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 */ | 1113 */ |
1115 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes); | 1114 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes); |
1116 | 1115 |
1117 /** | 1116 /** |
1118 * Returns a newly created yield expression. The [star] can be `null` if no | 1117 * Returns a newly created yield expression. The [star] can be `null` if no |
1119 * star was provided. | 1118 * star was provided. |
1120 */ | 1119 */ |
1121 YieldStatement yieldStatement( | 1120 YieldStatement yieldStatement( |
1122 Token yieldKeyword, Token star, Expression expression, Token semicolon); | 1121 Token yieldKeyword, Token star, Expression expression, Token semicolon); |
1123 } | 1122 } |
OLD | NEW |