|
|
more work aligning fasta.Token with analyzer.Token
* move isPseudo getter out of Token into TokenType
* move special case charCount logic out of fasta.Token into fasta.ErrorToken
* move more accessors from fasta.Token into analyzer.Token
* add @overrides to denote which methods have been declared in analyzer.Token
* make fasta LazySubstring and its subclasses private
* rename fasta.previousToken to previous to match analyzer.Token
* flatten fasta.Token.preceedingCommentTokens into preceedingComments
* normalize fasta.Token.next and analyzer.Token.next
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/81d25f4c71e44e08fa94ea1616e7b5d97af20987
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -156 lines) |
Patch |
 |
M |
pkg/analyzer/lib/src/fasta/ast_builder.dart
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/fasta/token_utils.dart
|
View
|
|
6 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/tool/summary/mini_ast.dart
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/parser/parser.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/scanner/error_token.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/scanner/recover.dart
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/scanner/token.dart
|
View
|
|
14 chunks |
+30 lines, -89 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/scanner/token.dart
|
View
|
|
11 chunks |
+33 lines, -13 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart
|
View
|
|
6 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/test/scanner_fasta_test.dart
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/test/scanner_replacement_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/test/subpackage_relationships_test.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|