https://github.com/angular/angular
Revision 11414d24d480c3776908ae1cf5d71326bf278861 authored by Pete Bacon Darwin on 12 June 2021, 19:56:05 UTC, committed by atscott on 02 August 2021, 16:53:16 UTC
These token interfaces will make it easier to reason about tokens in the
parser and in specs.

Previously, it was never clear what items could appear in the `parts`
array of a token given a particular `TokenType`. Now, each token interface
declares a labelled tuple for the parts, which helps to document the token
better.

PR Close #42062
1 parent 82ca69d
History
Tip revision: 11414d24d480c3776908ae1cf5d71326bf278861 authored by Pete Bacon Darwin on 12 June 2021, 19:56:05 UTC
refactor(compiler): define interfaces for each lexer token (#42062)
Tip revision: 11414d2

README.md

back to top