| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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:front_end/src/fasta/errors.dart'; | 5 import 'package:front_end/src/fasta/errors.dart'; |
| 6 import 'package:front_end/src/fasta/parser/identifier_context.dart'; | 6 import 'package:front_end/src/fasta/parser/identifier_context.dart'; |
| 7 import 'package:front_end/src/fasta/parser/parser.dart'; | 7 import 'package:front_end/src/fasta/parser/parser.dart'; |
| 8 import 'package:front_end/src/fasta/scanner/token.dart'; | 8 import 'package:front_end/src/scanner/token.dart'; |
| 9 import 'package:front_end/src/fasta/source/stack_listener.dart'; | 9 import 'package:front_end/src/fasta/source/stack_listener.dart'; |
| 10 import 'package:front_end/src/scanner/token.dart' as analyzer; | 10 import 'package:front_end/src/scanner/token.dart' as analyzer; |
| 11 | 11 |
| 12 /// "Mini AST" representation of a declaration which can accept annotations. | 12 /// "Mini AST" representation of a declaration which can accept annotations. |
| 13 class AnnotatedNode { | 13 class AnnotatedNode { |
| 14 final Comment documentationComment; | 14 final Comment documentationComment; |
| 15 | 15 |
| 16 final List<Annotation> metadata; | 16 final List<Annotation> metadata; |
| 17 | 17 |
| 18 AnnotatedNode(this.documentationComment, List<Annotation> metadata) | 18 AnnotatedNode(this.documentationComment, List<Annotation> metadata) |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 final String name; | 464 final String name; |
| 465 | 465 |
| 466 final List<TypeName> typeArguments; | 466 final List<TypeName> typeArguments; |
| 467 | 467 |
| 468 TypeName(this.name, this.typeArguments); | 468 TypeName(this.name, this.typeArguments); |
| 469 } | 469 } |
| 470 | 470 |
| 471 /// "Mini AST" representation of an expression which summary code generation | 471 /// "Mini AST" representation of an expression which summary code generation |
| 472 /// need not be concerned about. | 472 /// need not be concerned about. |
| 473 class UnknownExpression extends Expression {} | 473 class UnknownExpression extends Expression {} |
| OLD | NEW |