`i` is a line of code. You can see it with `echo i.repr`. Why do you think it isn't?
You can easily combine it with "obj" and "dot". If you want to do it via string manipulation (easier to start), you can use this same `i.repr`, change it as you need, then use `parseStmt` to create again AST from it. If you want to manipulate `i` directly, as NimNode (which it is), use `treeRepr` to see what it is. Yet you can use `treeRepr` on a sample of desired code (what you try to achieve), to see how you need to change `i`. If you need, I can give you a working code for your macro, as an example, it should make it much clearer for you; I don't for now, in case you want to write it yourself.
