SwiftSemantics Documentation Beta

Enumeration Operator.​Kind

public enum Kind

The kind of operator (prefix, infix, or postfix).

%3 Operator.Kind Operator.Kind Codable Codable Operator.Kind->Codable Hashable Hashable Operator.Kind->Hashable String String Operator.Kind->String

Member Of

Operator

An operator declaration.

Conforms To

Codable
Hashable
String

Enumeration Cases

prefix

case prefix

A unary operator that comes before its operand.

infix

case infix

An binary operator that comes between its operands.

postfix

case postfix

A unary operator that comes after its operand.