dagger/dsl/search_submatch

Values

pub fn end(
  parent: types.SearchSubmatch,
  client client: types.Client,
  then handler: fn(Result(Int, types.QueryError)) -> a,
) -> a

The match’s end offset within the matched lines.

pub fn id(parent: types.SearchSubmatch) -> types.SearchSubmatch

A unique identifier for this SearchSubmatch.

pub fn start(
  parent: types.SearchSubmatch,
  client client: types.Client,
  then handler: fn(Result(Int, types.QueryError)) -> a,
) -> a

The match’s start offset within the matched lines.

pub fn text(
  parent: types.SearchSubmatch,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The matched text.

Search Document