Precedence

interface Precedence

Determines the order of operations in the absence of parentheses.

For example, multiplication (conventionally) has higher precedence than addition, so x + y * z is parsed as x + (y * z).

Functions

compareTo
Link copied to clipboard
open fun compareTo(other: Precedence): Order

Determines the Order of this precedence with respect to other.

Inheritors

HighestPrecedence
Link copied to clipboard
LowestPrecedence
Link copied to clipboard
LogicalOperatorPrecedence
Link copied to clipboard
ComparisonOperatorPrecedence
Link copied to clipboard
AdditiveOperatorPrecedence
Link copied to clipboard
MultiplicativeOperatorPrecedence
Link copied to clipboard