| 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 12465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12476 } | 12476 } |
| 12477 return null; | 12477 return null; |
| 12478 } | 12478 } |
| 12479 } | 12479 } |
| 12480 | 12480 |
| 12481 /** | 12481 /** |
| 12482 * Instances of the class `NodeFoundException` are used to cancel visiting after
a node has | 12482 * Instances of the class `NodeFoundException` are used to cancel visiting after
a node has |
| 12483 * been found. | 12483 * been found. |
| 12484 */ | 12484 */ |
| 12485 class NodeLocator_NodeFoundException extends RuntimeException { | 12485 class NodeLocator_NodeFoundException extends RuntimeException { |
| 12486 static int _serialVersionUID = 1; | |
| 12487 } | 12486 } |
| 12488 | 12487 |
| 12489 /** | 12488 /** |
| 12490 * Instances of the class `NodeReplacer` implement an object that will replace o
ne child node | 12489 * Instances of the class `NodeReplacer` implement an object that will replace o
ne child node |
| 12491 * in an AST node with another node. | 12490 * in an AST node with another node. |
| 12492 */ | 12491 */ |
| 12493 class NodeReplacer implements AstVisitor<bool> { | 12492 class NodeReplacer implements AstVisitor<bool> { |
| 12494 /** | 12493 /** |
| 12495 * Replace the old node with the new node in the AST structure containing the
old node. | 12494 * Replace the old node with the new node in the AST structure containing the
old node. |
| 12496 * | 12495 * |
| (...skipping 7760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20257 _elements[index] = node; | 20256 _elements[index] = node; |
| 20258 } | 20257 } |
| 20259 void clear() { | 20258 void clear() { |
| 20260 _elements = <E>[]; | 20259 _elements = <E>[]; |
| 20261 } | 20260 } |
| 20262 int get length => _elements.length; | 20261 int get length => _elements.length; |
| 20263 void set length(int value) { | 20262 void set length(int value) { |
| 20264 throw new UnsupportedError("Cannot resize NodeList."); | 20263 throw new UnsupportedError("Cannot resize NodeList."); |
| 20265 } | 20264 } |
| 20266 } | 20265 } |
| OLD | NEW |