Kreuzberg.CodeSymbolInfo (kreuzberg v4.9.5)

Copy Markdown View Source

Symbol definition information.

Fields

  • :name - Symbol name
  • :kind - Symbol kind (e.g. "variable", "constant")
  • :type_annotation - Type annotation if present
  • :span - Source span

Summary

Types

t()

@type t() :: %Kreuzberg.CodeSymbolInfo{
  kind: String.t(),
  name: String.t(),
  span: Kreuzberg.CodeSpan.t(),
  type_annotation: String.t() | nil
}

Functions

from_map(data)

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

to_map(info)

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