Enum bracket::parser::ast::ParameterValue [−][src]
pub enum ParameterValue<'source> {
Path(Path<'source>),
Json {
source: &'source str,
value: Value,
span: Range<usize>,
line: Range<usize>,
},
SubExpr(Call<'source>),
}
Expand description
Parameter values can be used as arguments or hash values.
Variants
Path(Path<'source>)
A parameter that should resolve to a runtime variable.
Tuple Fields of Path
0: Path<'source>
A literal JSON value.
Fields of Json
SubExpr(Call<'source>)
A sub-expression to be invoked at runtime to determine the value.
Tuple Fields of SubExpr
0: Call<'source>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.