Operator
public struct Operator : Hashable, Sendable
The expression of an operator in the AST together with its precedence.
-
The expression of an operator.
Declaration
Swift
public let expr: NameExpr.ID -
The precedence group of
expr.Declaration
Swift
public let precedence: PrecedenceGroup? -
Creates an instance with the given properties.
Declaration
Swift
public init(expr: NameExpr.ID, precedence: PrecedenceGroup?)
View on GitHub