CleanMixer.CodeMap.SourceFile (clean_mixer v0.11.4) View Source

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

Specs

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

has_module?(source_file, name)

View Source

Specs

Link to this function

merge_references(source_file, references)

View Source

Specs

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

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

View Source

Specs

Link to this function

prepend_path(file, new_parent_path)

View Source

Specs

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