| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.ast; | 8 library engine.ast; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 7824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7835 } | 7835 } |
| 7836 | 7836 |
| 7837 /** | 7837 /** |
| 7838 * The abstract class `FormalParameter` defines the behavior of objects represen
ting a | 7838 * The abstract class `FormalParameter` defines the behavior of objects represen
ting a |
| 7839 * parameter to a function. | 7839 * parameter to a function. |
| 7840 * | 7840 * |
| 7841 * <pre> | 7841 * <pre> |
| 7842 * formalParameter ::= | 7842 * formalParameter ::= |
| 7843 * [NormalFormalParameter] | 7843 * [NormalFormalParameter] |
| 7844 * | [DefaultFormalParameter] | 7844 * | [DefaultFormalParameter] |
| 7845 * | [DefaultFormalParameter] | |
| 7846 * </pre> | 7845 * </pre> |
| 7847 */ | 7846 */ |
| 7848 abstract class FormalParameter extends AstNode { | 7847 abstract class FormalParameter extends AstNode { |
| 7849 /** | 7848 /** |
| 7850 * Return the element representing this parameter, or `null` if this parameter
has not been | 7849 * Return the element representing this parameter, or `null` if this parameter
has not been |
| 7851 * resolved. | 7850 * resolved. |
| 7852 * | 7851 * |
| 7853 * @return the element representing this parameter | 7852 * @return the element representing this parameter |
| 7854 */ | 7853 */ |
| 7855 ParameterElement get element { | 7854 ParameterElement get element { |
| (...skipping 12405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20261 _elements[index] = node; | 20260 _elements[index] = node; |
| 20262 } | 20261 } |
| 20263 void clear() { | 20262 void clear() { |
| 20264 _elements = <E> []; | 20263 _elements = <E> []; |
| 20265 } | 20264 } |
| 20266 int get length => _elements.length; | 20265 int get length => _elements.length; |
| 20267 void set length(int value) { | 20266 void set length(int value) { |
| 20268 throw new UnsupportedError("Cannot resize NodeList."); | 20267 throw new UnsupportedError("Cannot resize NodeList."); |
| 20269 } | 20268 } |
| 20270 } | 20269 } |
| OLD | NEW |