FunctionWrapper

abstract class FunctionWrapper<C : ExecutionContext> : AbstractWrapper<PrologFunction>

A class wrapping a PrologFunction implementation

Author

Enrico

Constructors

FunctionWrapper
Link copied to clipboard
common
fun FunctionWrapper(signature: Signature)
FunctionWrapper
Link copied to clipboard
common
fun FunctionWrapper(name: String, arity: Int, vararg: Boolean = false)

Properties

descriptionPair
Link copied to clipboard
common
val descriptionPair: Pair<Signature, PrologFunction>
Gets this wrapped primitive description Pair formed by signature and wrapped primitive type
functor
Link copied to clipboard
common
val functor: String
A shorthand to get the signature functor name
signature
Link copied to clipboard
common
val signature: Signature
the supported input signature
wrappedImplementation
Link copied to clipboard
common
override val wrappedImplementation: PrologFunction
Checked PrologFunction implementation

Inheritors

MathFunction
Link copied to clipboard