Erl2ex v0.0.9 Erl2ex.Results.File

Erl2ex.Results.File defines the result data structure for a particular file.

Summary

Types

t()

The conversion results of a single file

Types

t :: %Erl2ex.Results.File{error: %CompileError{__exception__: term, description: term, file: term, line: term} | nil, input_path: Path.t | nil, output_path: Path.t | nil}

The conversion results of a single file.

  • input_path is the path to the input Erlang file, or nil if the input is a string
  • output_path is the path to the output Elixir file, or nil if the output is a string.
  • error is the CompileError if a fatal error happened, or nil if the conversion was successful.