Exun.Isol (exun v0.5.0)
Isolation module. Try to isolate an ast from other AST.
Link to this section Summary
Functions
Find a subtree (fnd) all around tree and substitute it by rpl Simple exercise, not used for now in lib; I love the simplicity of Elixir for that kind of problems
Return a list of tuples of form {:ok, solution} where olution is the isolated tree for original ast May be return more than one, if we can not collect ast in a single place of eqzero.
Link to this section Functions
Link to this function
find_repl(tree, fnd, rpl)
Find a subtree (fnd) all around tree and substitute it by rpl Simple exercise, not used for now in lib; I love the simplicity of Elixir for that kind of problems
Link to this function
isol(arg, ast)
Return a list of tuples of form {:ok, solution} where olution is the isolated tree for original ast May be return more than one, if we can not collect ast in a single place of eqzero.