Chromium Code Reviews
DescriptionCreate a TokenStreamRewriter class.
This class will allow parser error recovery to insert synthetic tokens
into the token stream. It makes use of Token.previousToken when it's
available, but does not depend on it; when it's not available, it
falls back on heuristics which should still be fast, and which don't
impose any performance burden until the first synthetic token is
inserted.
R=danrubel@google.com
Committed: https://github.com/dart-lang/sdk/commit/b505603f5f38f28c22effb1c0644731b4804311c
Patch Set 1 #
Total comments: 5
Messages
Total messages: 7 (2 generated)
|
||||||||||||||||||||||||||||