OperatorPriorityException

class OperatorPriorityException(source: Source, operatorToken: Token, operatorText: String, val definition: OperatorDefinition, val operandPriority: Int, val side: String, rulePath: List<String>) : PrologParsingException

Reports an operand whose priority violates its operator's x or y constraint.

Constructors

Link copied to clipboard
constructor(source: Source, operatorToken: Token, operatorText: String, definition: OperatorDefinition, operandPriority: Int, side: String, rulePath: List<String>)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

stable category of the failure

Link copied to clipboard

resolved operator definition

Link copied to clipboard

structured descriptions of acceptable syntax

Link copied to clipboard
expect open val message: String?
Link copied to clipboard

offending source spelling, or null when no token exists

Link copied to clipboard

root priority of the rejected operand

Link copied to clipboard

outer-to-inner grammar rules active at the failure

Link copied to clipboard

rejected operand side

Link copied to clipboard

optional diagnostic identifier of the source

Link copied to clipboard

exact source range associated with the failure