slepher / astranaut

traverse erlang ast and elixir macro in erlang.
MIT License
15 stars 0 forks source link

more powerful astranaut:replace_from_nth(Nodes, N, Forms, Options) #6

Closed slepher closed 5 years ago

slepher commented 5 years ago
astranaut:replace_from_nth(Nodes, N, Forms, Options).

insert Nodes to Forms at nth. if nodes contains -export. -export will stay before first function definition.

more attribute to stay should be supported. more stay before target should be supported.

slepher commented 5 years ago

done