Expression
public struct Expression : Decodable
A sub-object of a configuration representation that describes an unevaluated expression.
-
constantValue
is set only if the expression contains no references to other objects, in which case it gives the resulting constant value. This is mapped as for the individual values in a value representation.Declaration
Swift
public let constantValue: String?
-
Alternatively,
references
will be set to a list of references in the expression. Multi-step references will be unwrapped and duplicated for each significant traversal step, allowing callers to more easily recognize the objects they care about without attempting to parse the expressions. Callers should only use string equality checks here, since the syntax may be extended in future releases.Declaration
Swift
public let references: [String]?