# `Kreuzberg.CodeSymbolInfo`
[🔗](https://github.com/kreuzberg-dev/kreuzberg/blob/main/lib/kreuzberg/code_symbol_info.ex#L1)

Symbol definition information.

## Fields

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

# `t`

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

# `from_map`

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

# `to_map`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
