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

Side by Side Diff: pkg/analyzer/lib/src/fasta/ast_builder.dart

Issue 2794533002: Move scope.dart. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library fasta.analyzer.ast_builder; 5 library fasta.analyzer.ast_builder;
6 6
7 import 'package:analyzer/analyzer.dart'; 7 import 'package:analyzer/analyzer.dart';
8 import 'package:analyzer/dart/ast/ast_factory.dart' show AstFactory; 8 import 'package:analyzer/dart/ast/ast_factory.dart' show AstFactory;
9 import 'package:analyzer/dart/ast/standard_ast_factory.dart' as standard; 9 import 'package:analyzer/dart/ast/standard_ast_factory.dart' as standard;
10 import 'package:analyzer/dart/ast/token.dart' as analyzer show Token; 10 import 'package:analyzer/dart/ast/token.dart' as analyzer show Token;
11 import 'package:analyzer/dart/element/element.dart' show Element; 11 import 'package:analyzer/dart/element/element.dart' show Element;
12 import 'package:front_end/src/fasta/parser/parser.dart' 12 import 'package:front_end/src/fasta/parser/parser.dart'
13 show FormalParameterType; 13 show FormalParameterType;
14 import 'package:front_end/src/fasta/scanner/token.dart' 14 import 'package:front_end/src/fasta/scanner/token.dart'
15 show BeginGroupToken, Token; 15 show BeginGroupToken, Token;
16 16
17 import 'package:front_end/src/fasta/errors.dart' show internalError; 17 import 'package:front_end/src/fasta/errors.dart' show internalError;
18 import 'package:front_end/src/fasta/fasta_codes.dart' 18 import 'package:front_end/src/fasta/fasta_codes.dart'
19 show FastaMessage, codeExpectedExpression; 19 show FastaMessage, codeExpectedExpression;
20 import 'package:front_end/src/fasta/kernel/kernel_builder.dart' 20 import 'package:front_end/src/fasta/kernel/kernel_builder.dart'
21 show Builder, KernelLibraryBuilder, ProcedureBuilder; 21 show Builder, KernelLibraryBuilder, ProcedureBuilder, Scope;
22 import 'package:front_end/src/fasta/parser/identifier_context.dart' 22 import 'package:front_end/src/fasta/parser/identifier_context.dart'
23 show IdentifierContext; 23 show IdentifierContext;
24 import 'package:front_end/src/fasta/quote.dart'; 24 import 'package:front_end/src/fasta/quote.dart';
25 import 'package:front_end/src/fasta/source/scope_listener.dart' 25 import 'package:front_end/src/fasta/source/scope_listener.dart'
26 show JumpTargetKind, NullValue, Scope, ScopeListener; 26 show JumpTargetKind, NullValue, ScopeListener;
27 import 'analyzer.dart' show toKernel; 27 import 'analyzer.dart' show toKernel;
28 import 'element_store.dart' 28 import 'element_store.dart'
29 show 29 show
30 AnalyzerLocalVariableElemment, 30 AnalyzerLocalVariableElemment,
31 AnalyzerParameterElement, 31 AnalyzerParameterElement,
32 ElementStore, 32 ElementStore,
33 KernelClassElement; 33 KernelClassElement;
34 import 'package:analyzer/src/dart/error/syntactic_errors.dart'; 34 import 'package:analyzer/src/dart/error/syntactic_errors.dart';
35 import 'token_utils.dart' show toAnalyzerToken, toAnalyzerCommentToken; 35 import 'token_utils.dart' show toAnalyzerToken, toAnalyzerCommentToken;
36 36
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 } else if (identical('static', s)) { 1945 } else if (identical('static', s)) {
1946 staticKeyword = token; 1946 staticKeyword = token;
1947 } else if (identical('var', s)) { 1947 } else if (identical('var', s)) {
1948 finalConstOrVarKeyword = token; 1948 finalConstOrVarKeyword = token;
1949 } else { 1949 } else {
1950 internalError('Unhandled modifier: $s'); 1950 internalError('Unhandled modifier: $s');
1951 } 1951 }
1952 } 1952 }
1953 } 1953 }
1954 } 1954 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/analyzer.dart ('k') | pkg/analyzer/test/generated/parser_fasta_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698