Enum reproto_parser::ast::MatchCondition
[−]
[src]
pub enum MatchCondition<'input> { Value(Loc<Value<'input>>), Type(Loc<MatchVariable<'input>>), }
Variants
Value(Loc<Value<'input>>)
Match a specific value.
Type(Loc<MatchVariable<'input>>)
Match a type, and add a binding for the given name that can be resolved in the action.
Trait Implementations
impl<'input> Debug for MatchCondition<'input>
[src]
impl<'input> IntoModel for MatchCondition<'input>
[src]
type Output = RpMatchCondition
fn into_model(self) -> Result<RpMatchCondition>
Convert the current type to a model.