NonBacktrackable

abstract class NonBacktrackable<E : ExecutionContext> : UnaryPredicate<E>

Constructors

<init>

constructor(operator: String)

Parameters

Name Description
operator: String

Methods

computeOne

protected abstract fun Request<E>.computeOne(first: Term): Response

Receiver

Name Description
Request<E>

Parameters

Name Description
first: Term

ReturnValue

Name Description
Response

computeAll

protected fun Request<E>.computeAll(first: Term): Sequence<Response>

Template method aimed at computing the application of this predicate to a Term

Receiver

Name Description
Request<E>

Parameters

Name Description
first: Term

ReturnValue

Name Description
Sequence<Response>