Lemma.PathSegment (lemma_engine v0.10.1)

Copy Markdown View Source

One uses hop on a Show data or rule path.

uses is the import alias. repository is nil for the unnamed workspace; otherwise the interned repository name of the target.

Summary

Functions

Builds a Lemma.PathSegment from one element of a Show path array.

Types

t()

@type t() :: %Lemma.PathSegment{
  repository: String.t() | nil,
  spec: String.t(),
  uses: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Builds a Lemma.PathSegment from one element of a Show path array.