Fields
Name | Description |
---|---|
abstract type: KClass<*>
|
Methods
create
open fun create(objectConverter: TermToObjectConverter, vararg arguments: Term): Result
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
vararg arguments: Term
|
ReturnValue
Name | Description |
---|---|
Result
|
create
abstract fun create(objectConverter: TermToObjectConverter, arguments: List<Term>): Result
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
arguments: List<Term>
|
ReturnValue
Name | Description |
---|---|
Result
|
create
open fun create(objectConverter: TermToObjectConverter, arguments: Iterable<Term>): Result
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
arguments: Iterable<Term>
|
ReturnValue
Name | Description |
---|---|
Result
|
create
open fun create(objectConverter: TermToObjectConverter, arguments: Sequence
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
arguments: Sequence
|
ReturnValue
Name | Description |
---|---|
Result
|
create
open fun create(vararg arguments: Term): Result
Parameters
Name | Description |
---|---|
vararg arguments: Term
|
ReturnValue
Name | Description |
---|---|
Result
|
create
open fun create(arguments: List<Term>): Result
Parameters
Name | Description |
---|---|
arguments: List<Term>
|
ReturnValue
Name | Description |
---|---|
Result
|
Extensions
toClause
fun Term.toClause(source: Any?, line: Int, column: Int): Clause
Receiver
Name | Description |
---|---|
Term
|
Parameters
Name | Description |
---|---|
source: Any?
|
|
line: Int
|
|
column: Int
|
ReturnValue
Name | Description |
---|---|
Clause
|
unfoldGoals
fun Term.unfoldGoals(): Sequence
Receiver
Name | Description |
---|---|
Term
|
ReturnValue
Name | Description |
---|---|
Sequence
|
toGoals
fun Term.toGoals(): Cursor
Receiver
Name | Description |
---|---|
Term
|
ReturnValue
Name | Description |
---|---|
Cursor
|
isWellFormed
fun Term.isWellFormed(): Boolean
Receiver
Name | Description |
---|---|
Term
|
ReturnValue
Name | Description |
---|---|
Boolean
|
prepareForExecutionAsGoal
fun Term.prepareForExecutionAsGoal(): Struct
Prepares the receiver Goal for execution
For example, the goal A
is transformed, after preparation for execution, as the Term: call(A)
Receiver
Name | Description |
---|---|
Term
|
ReturnValue
Name | Description |
---|---|
Struct
|
extractSignature
fun Struct.extractSignature(): Signature
Receiver
Name | Description |
---|---|
Struct
|
ReturnValue
Name | Description |
---|---|
Signature
|
evalAsExpression
fun Term.evalAsExpression(request: Request<*>, index: Int?): Term
Receiver
Name | Description |
---|---|
Term
|
Parameters
Name | Description |
---|---|
request: Request<*>
|
|
index: Int?
|
ReturnValue
Name | Description |
---|---|
Term
|
Check whether the receiver term is a well-formed predication