Found

com.alecdorrington.annotatedtextformat.llm.Found
final case class Found(start: Int, end: Int, first: Int, last: Int, marked: Option[TextSpan])

Where a part of a quote was found, from start up to end; its first word beginning at first and its last ending at last; and the span that it marks, if it marks one, or else the whole of it.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def span: TextSpan

The span that it stands for: the part it marks, or else the whole of it.

The span that it stands for: the part it marks, or else the whole of it.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product