struct InvalidOperand
extension InvalidOperand : Equatable, Sendable
The expression uses an invalid operand.
-
Undocumented
Declaration
Swift
let `operator`: String
-
The index of the operand in the expression.
Declaration
Swift
let operandIndex: UInt32
-
The operand type.
Declaration
Swift
let operandType: String
-
The associated expression. Set null if the expression is not found.
Declaration
Swift
let expression: (any IdentifiableExpression)?
-
A list of valid operand types.
Declaration
Swift
let validOperandTypes: [String]
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (lhs: InvalidOperand, rhs: InvalidOperand) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.