pub type DefaultWord = Word<String, DefaultSimpleWord>;
Expand description
Type alias for the default Word
representation.
Aliased Type§
pub enum DefaultWord {
Simple(SimpleWord<String, Parameter<String>, Box<ParameterSubstitution<Parameter<String>, TopLevelWord<String>, TopLevelCommand<String>, Arithmetic<String>>>>),
DoubleQuoted(Vec<SimpleWord<String, Parameter<String>, Box<ParameterSubstitution<Parameter<String>, TopLevelWord<String>, TopLevelCommand<String>, Arithmetic<String>>>>>),
SingleQuoted(String),
}
Variants§
Simple(SimpleWord<String, Parameter<String>, Box<ParameterSubstitution<Parameter<String>, TopLevelWord<String>, TopLevelCommand<String>, Arithmetic<String>>>>)
A regular word.
DoubleQuoted(Vec<SimpleWord<String, Parameter<String>, Box<ParameterSubstitution<Parameter<String>, TopLevelWord<String>, TopLevelCommand<String>, Arithmetic<String>>>>>)
List of words concatenated within double quotes.
SingleQuoted(String)
List of words concatenated within single quotes. Virtually identical as a literal, but makes a distinction between the two.