Nim/nimsuggest
Ivan Yonchovski 7031ea65cd
Implemented basic macro expand functionality (#20579)
* Implemented level based macro expand functionality

- it can handle single macro call or expand whole function/proc/etc and it

- In addition, I have altered the parser to provide the endInfo for the node.
The usefulness of the `endInfo` is not limited to the `expandMacro`
functionality but also it is useful for `ideOutline` functionality and I have
altered the ideOutline functionality to use `endInfo`. Note `endInfo` most of
the time is lost during the AST transformation thus in `nimsuggest.nim` I am
using freshly parsed tree to get the location information.

* Make sure we stop expanding correctly

* Test CI

* Fix tv3_outline.nim
2023-01-27 07:11:30 +01:00
..
tests Implemented basic macro expand functionality (#20579) 2023-01-27 07:11:30 +01:00
config.nims add --processing:dots|filenames|off to customize hintProcessing (#17817) 2021-04-23 08:07:22 +02:00
crashtester.nim fix nimsuggest warning (#13699) 2020-03-20 09:24:04 +01:00
nimsuggest.nim Implemented basic macro expand functionality (#20579) 2023-01-27 07:11:30 +01:00
nimsuggest.nim.cfg [backport] use old style hints in .cfg files (#18917) 2021-09-29 11:14:47 +02:00
nimsuggest.nimble Partially Revert "Change nim's nimble files to make it installable" (#20296) 2022-09-02 19:05:23 +02:00
sexp.nim fixes #20526; use nimPreviewSlimSystem for documentation build (#20714) 2022-11-01 12:53:14 +01:00
tester.nim Implemented basic macro expand functionality (#20579) 2023-01-27 07:11:30 +01:00