Current section

Files

Jump to
hologram lib hologram compiler call_graph_builder elixir_map.ex
Raw

lib/hologram/compiler/call_graph_builder/elixir_map.ex

# TODO: test
alias Hologram.Compiler.CallGraphBuilder
defimpl CallGraphBuilder, for: Map do
def build(map, module_defs, templates, from_vertex) do
map
|> Map.to_list()
|> CallGraphBuilder.build(module_defs, templates, from_vertex)
end
end