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

Side by Side Diff: pkg/front_end/lib/src/fasta/parser/parser.dart

Issue 2797133008: merge fasta.Keyword into analyzer.Keyword (Closed)
Patch Set: rebase 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
« no previous file with comments | « pkg/analyzer/lib/src/fasta/token_utils.dart ('k') | pkg/front_end/lib/src/fasta/scanner.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) 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 library fasta.parser.parser; 5 library fasta.parser.parser;
6 6
7 import '../fasta_codes.dart' 7 import '../fasta_codes.dart'
8 show 8 show
9 FastaCode, 9 FastaCode,
10 FastaMessage, 10 FastaMessage,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 codeUnspecified, 51 codeUnspecified,
52 codeUnsupportedPrefixPlus, 52 codeUnsupportedPrefixPlus,
53 codeUnterminatedString, 53 codeUnterminatedString,
54 codeYieldAsIdentifier, 54 codeYieldAsIdentifier,
55 codeYieldNotGenerator; 55 codeYieldNotGenerator;
56 56
57 import '../scanner.dart' show ErrorToken; 57 import '../scanner.dart' show ErrorToken;
58 58
59 import '../scanner/recover.dart' show closeBraceFor, skipToEof; 59 import '../scanner/recover.dart' show closeBraceFor, skipToEof;
60 60
61 import '../scanner/keyword.dart' show Keyword; 61 import '../../scanner/token.dart' show Keyword;
62 62
63 import '../scanner/precedence.dart' 63 import '../scanner/precedence.dart'
64 show 64 show
65 ASSIGNMENT_PRECEDENCE, 65 ASSIGNMENT_PRECEDENCE,
66 AS_INFO, 66 AS_INFO,
67 CASCADE_PRECEDENCE, 67 CASCADE_PRECEDENCE,
68 EOF_INFO, 68 EOF_INFO,
69 EQUALITY_PRECEDENCE, 69 EQUALITY_PRECEDENCE,
70 GENERIC_METHOD_TYPE_ASSIGN, 70 GENERIC_METHOD_TYPE_ASSIGN,
71 GENERIC_METHOD_TYPE_LIST, 71 GENERIC_METHOD_TYPE_LIST,
(...skipping 3876 matching lines...) Expand 10 before | Expand all | Expand 10 after
3948 previous.setNext(firstToken); 3948 previous.setNext(firstToken);
3949 beforeToken = firstToken; 3949 beforeToken = firstToken;
3950 } 3950 }
3951 } 3951 }
3952 3952
3953 typedef FastaMessage NoArgument(Uri uri, int charOffset); 3953 typedef FastaMessage NoArgument(Uri uri, int charOffset);
3954 3954
3955 typedef FastaMessage TokenArgument(Uri uri, int charOffset, Token token); 3955 typedef FastaMessage TokenArgument(Uri uri, int charOffset, Token token);
3956 3956
3957 typedef FastaMessage StringArgument(Uri uri, int charOffset, String string); 3957 typedef FastaMessage StringArgument(Uri uri, int charOffset, String string);
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/token_utils.dart ('k') | pkg/front_end/lib/src/fasta/scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698