CleanMixer.CodeMap.SourceFile (clean_mixer v0.11.2)

Link to this section Summary

Link to this section Types

Specs

t() :: %CleanMixer.CodeMap.SourceFile{
  modules: [CleanMixer.CodeMap.CodeModule.name()],
  path: Path.t(),
  references: [CleanMixer.CodeMap.ModuleReference.t()]
}

Link to this section Functions

Link to this function

erlang?(source_file)

Specs

erlang?(t()) :: boolean()
Link to this function

has_module?(source_file, name)

Specs

Link to this function

merge_references(source_file, references)

Specs

merge_references(t(), [CleanMixer.CodeMap.ModuleReference.t()]) :: t()
Link to this function

new(path, modules \\ [], refs \\ [])

Specs

Link to this function

prepend_path(file, new_parent_path)

Specs

prepend_path(t(), Path.t()) :: t()