Kreuzberg.CodeCommentInfo (kreuzberg v4.9.5)

Copy Markdown View Source

Comment information.

Fields

  • :text - Comment text
  • :kind - Comment kind (e.g. "line", "block")
  • :span - Source span

Summary

Types

t()

@type t() :: %Kreuzberg.CodeCommentInfo{
  kind: String.t(),
  span: Kreuzberg.CodeSpan.t(),
  text: String.t()
}

Functions

from_map(data)

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

to_map(info)

@spec to_map(t()) :: map()