Expression
public struct Expression : Codable, CustomStringConvertible, Equatable
extension Expression: ExpressionArgumentConvertible
Undocumented
-
Undocumented
Declaration
Swift
public init(_ op: Expression.Operator, @ExpressionBuilder content: () -> Expression = { Expression(with: [.argument(.null)])}) -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Undocumented
Declaration
Swift
public init(with elements: [Element]) -
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public init(from decoder: Decoder) throws -
An
See moreExpressionElementcan be either aop(associated with aString) OR anargument(associated with anExpressionArgument)Declaration
Swift
public indirect enum Element : Codable, CustomStringConvertible, Equatableextension Expression.Element: ExpressionArgumentConvertible -
An
See moreExpressionArgumentis either a literal (associated with a double, string, boolean, or null value) or anotherExpressionDeclaration
Swift
public indirect enum Argument : Codable, CustomStringConvertible, Equatableextension Expression.Argument: ExpressionArgumentConvertible -
Undocumented
See moreDeclaration
-
Undocumented
Declaration
Swift
public var expressionElements: [Expression.Element] { get } -
Undocumented
See moreDeclaration
Swift
public enum Option : Codable, Equatable
Expression Structure Reference