Expression
public struct Expression : Codable, CustomStringConvertible, Equatable
extension Expression: ExpressionArgumentConvertible
Undocumented
-
The operator of this expression
Declaration
Swift
public var `operator`: Operator { get }
-
The arguments contained in this expression
Declaration
Swift
public var arguments: [Argument] { get }
-
Undocumented
Declaration
Swift
public init(_ op: Operator, @ExpressionArgumentBuilder content: () -> [Expression.Argument])
-
Create an operator-only expression.
Declaration
Swift
public init(_ op: Operator)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
An
See moreExpressionElement
can be either aop
(associated with aString
) OR anargument
(associated with anExpressionArgument
)Declaration
Swift
public indirect enum Element : Codable, CustomStringConvertible, Equatable
-
An
See moreExpressionArgument
is either a literal (associated with a double, string, boolean, or null value) or anotherExpression
Declaration
Swift
public indirect enum Argument : Codable, CustomStringConvertible, Equatable
-
Undocumented
See moreDeclaration
Swift
enum Operator : String, Codable, CaseIterable
-
Undocumented
Declaration
Swift
public var expressionArguments: [Expression.Argument] { get }
-
Undocumented
See moreDeclaration
Swift
public enum Option : Codable, Equatable