Phrase

open class Phrase(val value: String, explicit: Boolean = false)(source)

The class representing a part of a search queue

Parameters

value

The keyword

explicit

Whether the keyword should be an exact match

Inheritors

Constructors

Link copied to clipboard
constructor(value: String, explicit: Boolean = false)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun not(): Phrase

Inverting the phrase

Link copied to clipboard
operator fun Phrase.plus(value: EmptyPhrase): Phrase
operator fun Phrase.plus(value: Phrase): Phrase
operator fun Phrase.plus(value: String): Phrase
Link copied to clipboard
open override fun toString(): String