This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sequtils | |
import strutils | |
import macros | |
import sugar | |
export macros | |
proc replaceNodes*(ast: NimNode): NimNode = | |
## Replace NimIdent and NimSym by a fresh ident node | |
## | |
## Use with the results of ``quote do: ...`` to get |