forked from OSchip/llvm-project
6181da4796
JavaScript template strings can be nested arbitrarily: foo = `text ${es.map(e => { return `<${e}>`; })} text`; This change lexes nested template strings using a stack of lexer states to correctly switch back to template string lexing on closing braces. Also, reuse the same stack for the token-stashed logic. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D22431 llvm-svn: 279727 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CleanupTest.cpp | ||
FormatTest.cpp | ||
FormatTestJS.cpp | ||
FormatTestJava.cpp | ||
FormatTestProto.cpp | ||
FormatTestSelective.cpp | ||
FormatTestUtils.h | ||
SortImportsTestJS.cpp | ||
SortIncludesTest.cpp |