Enum yash_syntax::syntax::Value
source · [−]Expand description
Value of an assignment.
Variants
Scalar(Word)
Scalar value, a possibly empty word.
Note: Because a scalar assignment value is created from a normal command word, the location of the word in the scalar value points to the first character of the entire assignment word rather than that of the assigned value.
Array(Vec<Word>)
Array, possibly empty list of non-empty words.
Array assignment is a POSIXly non-portable extension.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Value
impl !UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more