diff options
author | Ivan Yonchovski <yyoncho@users.noreply.github.com> | 2023-01-27 08:11:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 07:11:30 +0100 |
commit | 7031ea65cd220360b8e9f566fd28f01bc0bf53c4 (patch) | |
tree | 0980a960ae6058507a8706d81b8f1e98c8d6e5fb /lib/pure/concurrency | |
parent | 4647c7b59634e0d8bd24d815337e7a7a1f0830bd (diff) | |
download | Nim-7031ea65cd220360b8e9f566fd28f01bc0bf53c4.tar.gz |
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
Diffstat (limited to 'lib/pure/concurrency')
0 files changed, 0 insertions, 0 deletions