View Source Dagger.SourceMap (dagger v0.14.0)

Source location information.

Summary

Functions

The column number within the line.

The filename from the module source.

A unique identifier for this SourceMap.

The line number within the filename.

The module dependency this was declared in.

Types

@type t() :: %Dagger.SourceMap{client: term(), query_builder: term()}

Functions

@spec column(t()) :: {:ok, integer()} | {:error, term()}

The column number within the line.

@spec filename(t()) :: {:ok, String.t()} | {:error, term()}

The filename from the module source.

@spec id(t()) :: {:ok, Dagger.SourceMapID.t()} | {:error, term()}

A unique identifier for this SourceMap.

@spec line(t()) :: {:ok, integer()} | {:error, term()}

The line number within the filename.

@spec module(t()) :: {:ok, String.t()} | {:error, term()}

The module dependency this was declared in.