interface NullRef: ObjectRef, Any
Fields
Name | Description |
---|---|
open object: Any
|
Methods
invoke
open fun invoke(objectConverter: TermToObjectConverter, methodName: String, arguments: List<Term>): Result
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
methodName: String
|
|
arguments: List<Term>
|
ReturnValue
Name | Description |
---|---|
Result
|
assign
open fun assign(objectConverter: TermToObjectConverter, propertyName: String, value: Term): Boolean
Parameters
Name | Description |
---|---|
objectConverter: TermToObjectConverter
|
|
propertyName: String
|
|
value: Term
|
ReturnValue
Name | Description |
---|---|
Boolean
|
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