Chromium Code Reviews
Descriptionfasta scanner recovery and error code translation improvements
* cleanup defaultRecoveryStrategy next/previous and eof
* add SymbolToken.eof() constructor to ensure that EOF tokens
are correctly self referencing
* add fasta.scanString method to match scan method
* add fasta.ScannerResult.hasErrors field
so that scan and scanString callers can quickly check for errors
* new scanner replacement test
which scans using fasta then asserts as if it were from analyzer
* improve SymbolToken.toString() for EOF
* update analyzer test :: fasta scanner considers "<" to be an opener
* extract and move translateErrorToken into front_end
* address comments in https://codereview.chromium.org/2763833002
R=ahe@google.com, paulberry@google.com
Committed: https://github.com/dart-lang/sdk/commit/186c6f23bd2987b3a356946fa6706f38a52d7e40
Patch Set 1 #Patch Set 2 : merge #
Total comments: 6
Patch Set 3 : revert address comments and fix for token_stream_rewriter test #Messages
Total messages: 7 (2 generated)
|