OperatorDefinition

data class OperatorDefinition(val name: String, val specifier: Associativity, val priority: Int)

Declares one Prolog operator name, specifier, and priority.

One name may have several simultaneous definitions as long as their specifiers differ. Prolog priorities range from MIN_PRIORITY to MAX_PRIORITY, with lower values binding more tightly.

Throws

if name is empty or priority is outside the range

Constructors

Link copied to clipboard
constructor(name: String, specifier: Associativity, priority: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

non-empty operator spelling

Link copied to clipboard

Prolog priority in 1..1200

Link copied to clipboard

fixity and operand constraints