Commit Graph
7 Commits
Author SHA1 Message Date
Patrick Quist c934dede0a Allow more ast lines while trying to keep out non-user-source (#3860) 2022-07-14 00:48:51 +02:00
RabsRincon 1175b39179 Fix some ast types 2022-04-23 23:50:51 +02:00
Jeremy Rifkin 419d386bd9 Added keyword-spacing eslint rule and fixed instances of inconsistent spacing (#3428) 2022-03-07 22:38:58 -06:00
Matt Godbolt 4e36d206b4 Prefer regex.test() 2021-05-27 23:19:32 -05:00
Arseniy Zaostrovnykh 9b94ce7bab Fix #1346: truncating nested top-level declarations (#2626) 2021-04-27 11:32:47 -05:00
Arseniy Zaostrovnykh c0633d087c Highlight individual tokens in the source file and the corresponding nodes in the LLVM AST pane (#2572)
* Enable the editor to highlight spans in the highlighted line
* Parse and send the column numbers for LLVM AST nodes
* Highlight the part of the line corresponding to a node

For nodes that fit on a single line
* Highlight the nodes directly corresponding to symbol hovered over

Also highlight entire tokens in the source, not just their first character

* Fix the squiggly underline for string literals
2021-04-06 14:59:46 -05:00
Arseniy ZaostrovnykhandArseniy Zaostrovnykh 23b152b298 Colorize the LLVM AST to match the colors of the source (#2511)
Colour the AST view with the same colors as the source code

* Add a couple of trivial test cases for processAstOutput
* Fix the processAstOutput test, ad a test for a file with #include
* Send individual lines for the AST output
* Parse the source lines for AST
* Register as a contributor
* Factor out the LlvmAstParser into a separate file

Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2021-03-22 13:21:08 -05:00