Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: pkg/analyzer/lib/dart/ast/ast.dart

Issue 1693083004: Move scanner out of generated and clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: clean up Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/analyzer.dart ('k') | pkg/analyzer/lib/dart/ast/token.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /** 5 /**
6 * Defines the AST model. The AST (Abstract Syntax Tree) model describes the 6 * Defines the AST model. The AST (Abstract Syntax Tree) model describes the
7 * syntactic (as opposed to semantic) structure of Dart code. The semantic 7 * syntactic (as opposed to semantic) structure of Dart code. The semantic
8 * structure of the code is modeled by the 8 * structure of the code is modeled by the
9 * [element model](../element/element.dart). 9 * [element model](../element/element.dart).
10 * 10 *
(...skipping 18 matching lines...) Expand all
29 * certain properties will not have been computed and the accessors for those 29 * certain properties will not have been computed and the accessors for those
30 * properties will return `null`. The documentation for those getters should 30 * properties will return `null`. The documentation for those getters should
31 * describe that this is a possibility. 31 * describe that this is a possibility.
32 * 32 *
33 * When an AST is resolved, the identifiers in the AST will be associated with 33 * When an AST is resolved, the identifiers in the AST will be associated with
34 * the elements that they refer to and every expression in the AST will have a 34 * the elements that they refer to and every expression in the AST will have a
35 * type associated with it. 35 * type associated with it.
36 */ 36 */
37 library analyzer.dart.ast.ast; 37 library analyzer.dart.ast.ast;
38 38
39 import 'package:analyzer/dart/ast/token.dart';
39 import 'package:analyzer/dart/element/element.dart'; 40 import 'package:analyzer/dart/element/element.dart';
40 import 'package:analyzer/dart/element/type.dart'; 41 import 'package:analyzer/dart/element/type.dart';
41 import 'package:analyzer/src/dart/ast/ast.dart'; 42 import 'package:analyzer/src/dart/ast/ast.dart';
42 import 'package:analyzer/src/dart/element/element.dart' show AuxiliaryElements; 43 import 'package:analyzer/src/dart/element/element.dart' show AuxiliaryElements;
43 import 'package:analyzer/src/generated/java_engine.dart'; 44 import 'package:analyzer/src/generated/java_engine.dart';
44 import 'package:analyzer/src/generated/scanner.dart';
45 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source; 45 import 'package:analyzer/src/generated/source.dart' show LineInfo, Source;
46 import 'package:analyzer/src/generated/utilities_dart.dart'; 46 import 'package:analyzer/src/generated/utilities_dart.dart';
47 47
48 /** 48 /**
49 * Two or more string literals that are implicitly concatenated because of being 49 * Two or more string literals that are implicitly concatenated because of being
50 * adjacent (separated only by whitespace). 50 * adjacent (separated only by whitespace).
51 * 51 *
52 * While the grammar only allows adjacent strings when all of the strings are of 52 * While the grammar only allows adjacent strings when all of the strings are of
53 * the same kind (single line or multi-line), this class doesn't enforce that 53 * the same kind (single line or multi-line), this class doesn't enforce that
54 * restriction. 54 * restriction.
(...skipping 7955 matching lines...) Expand 10 before | Expand all | Expand 10 after
8010 /** 8010 /**
8011 * Return the 'yield' keyword. 8011 * Return the 'yield' keyword.
8012 */ 8012 */
8013 Token get yieldKeyword; 8013 Token get yieldKeyword;
8014 8014
8015 /** 8015 /**
8016 * Return the 'yield' keyword to the given [token]. 8016 * Return the 'yield' keyword to the given [token].
8017 */ 8017 */
8018 void set yieldKeyword(Token token); 8018 void set yieldKeyword(Token token);
8019 } 8019 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/analyzer.dart ('k') | pkg/analyzer/lib/dart/ast/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698