# `Minga.Parser.StructuralNavResult`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/parser/structural_nav_result.ex#L1)

Result returned by tree-sitter structural navigation.

Positions are zero-indexed tree-sitter points. Columns are byte offsets within the line, matching the rest of the parser protocol.

# `t`

```elixir
@type t() :: %Minga.Parser.StructuralNavResult{
  end_col: non_neg_integer(),
  end_row: non_neg_integer(),
  start_col: non_neg_integer(),
  start_row: non_neg_integer(),
  type_name: String.t()
}
```

# `new`

```elixir
@spec new(
  non_neg_integer(),
  non_neg_integer(),
  non_neg_integer(),
  non_neg_integer(),
  String.t()
) :: t()
```

Builds a structural navigation result.

# `start_position`

```elixir
@spec start_position(t()) :: {non_neg_integer(), non_neg_integer()}
```

Returns the cursor position for the start of the node.

---

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