Chromium Code Reviews
DescriptionMove token stream translation logic into Fasta.
This logic was initially only used in scanner_fasta_test, however we
are going to need it for other tests (some of which are outside of the
Fasta package), and on a short term basis we may want to use it to
help integrate pieces of Fasta with pieces of the analyzer codebase.
So it needs to be somewhere that's accessible outside of
pkg/front_end/test.
I performed some trivial improvements during the move (such as using
Token.info.kind in preference to "is" checks, and identifying the end
of the input by looking for a nearby EOF token).
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/2e435ec020be9c361e45f92e1c5f57dc4f141809
Patch Set 1 #
Total comments: 3
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||||||||||||||||||||