QueryEngine class
Constructors
-
QueryEngine.new({required Iterable<
PatternItem> patternItems, int defaultPoints = 1, QueryBuilder? builder}) - Creates a new QueryEngine with the provided PatternItems.
Properties
- defaultPoints → int
-
Defines the number of points to give to
each PointedWord that is generated
for a SearchQuery.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Iterable<
PatternItem> -
no setter
Methods
-
buildQuery(
String query) → SearchQuery -
Builds a SearchQuery with the
settings in this QueryEngine
and to process
query
as the SearchQuery's PointedWords. -
fromCharCode(
int charCode) → PatternItem? -
Attempts to search for
charCode
in values. -
getExpression(
String searchWordPattern) → RegExp - builds the Regular Expression of a search word pattern.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultEngine → QueryEngine
-
Defines the a default to QueryEngine
where it's PatternItems are the ones
that are defined as static fields in PatternItem.
final