Skip to content

Type Editor


Type Editor / @type-editor/search / search-query/NullQuery / NullQuery

Class: NullQuery

Defined in: search-query/NullQuery.ts:4

Internal interface for query implementation strategies. Different implementations handle string search vs. regex search.

Implements

Constructors

Constructor

ts
new NullQuery(): NullQuery;

Returns

NullQuery

Methods

findNext()

ts
findNext(): null;

Defined in: search-query/NullQuery.ts:6

Finds the next occurrence of the query in the document.

Returns

null

The search result if found, or null if no match exists

Implementation of

QueryImpl.findNext


findPrev()

ts
findPrev(): null;

Defined in: search-query/NullQuery.ts:10

Finds the previous occurrence of the query in the document.

Returns

null

The search result if found, or null if no match exists

Implementation of

QueryImpl.findPrev