| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 'dart:collection' show IterableMixin; | 5 import 'dart:collection' show IterableMixin; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../elements/elements.dart' show MetadataAnnotation; |
| 9 import '../resolution/secret_tree_element.dart' |
| 10 show NullTreeElementMixin, StoredTreeElementMixin; |
| 8 import '../tokens/precedence_constants.dart' as Precedence show FUNCTION_INFO; | 11 import '../tokens/precedence_constants.dart' as Precedence show FUNCTION_INFO; |
| 9 import '../tokens/token.dart' show BeginGroupToken, Token; | 12 import '../tokens/token.dart' show BeginGroupToken, Token; |
| 10 import '../tokens/token_constants.dart' as Tokens | 13 import '../tokens/token_constants.dart' as Tokens show PLUS_TOKEN; |
| 11 show IDENTIFIER_TOKEN, KEYWORD_TOKEN, PLUS_TOKEN; | 14 import '../util/characters.dart'; |
| 12 import '../util/util.dart'; | 15 import '../util/util.dart'; |
| 13 import '../util/characters.dart'; | |
| 14 import '../resolution/secret_tree_element.dart' | |
| 15 show NullTreeElementMixin, StoredTreeElementMixin; | |
| 16 import '../elements/elements.dart' show MetadataAnnotation; | |
| 17 import 'dartstring.dart'; | 16 import 'dartstring.dart'; |
| 18 import 'prettyprint.dart'; | 17 import 'prettyprint.dart'; |
| 19 import 'unparser.dart'; | 18 import 'unparser.dart'; |
| 20 | 19 |
| 21 abstract class Visitor<R> { | 20 abstract class Visitor<R> { |
| 22 const Visitor(); | 21 const Visitor(); |
| 23 | 22 |
| 24 R visitNode(Node node); | 23 R visitNode(Node node); |
| 25 | 24 |
| 26 R visitAssert(Assert node) => visitStatement(node); | 25 R visitAssert(Assert node) => visitStatement(node); |
| (...skipping 3087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3114 | 3113 |
| 3115 // VariableDefinitions. | 3114 // VariableDefinitions. |
| 3116 get metadata => null; | 3115 get metadata => null; |
| 3117 get type => null; | 3116 get type => null; |
| 3118 | 3117 |
| 3119 // Typedef. | 3118 // Typedef. |
| 3120 get typeParameters => null; | 3119 get typeParameters => null; |
| 3121 get formals => null; | 3120 get formals => null; |
| 3122 get typedefKeyword => null; | 3121 get typedefKeyword => null; |
| 3123 } | 3122 } |
| OLD | NEW |