Enum reproto_parser::ast::MatchCondition [] [src]

pub enum MatchCondition<'input> {
    Value(Loc<Value<'input>>),
    Type(Loc<MatchVariable<'input>>),
}

Variants

Match a specific value.

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]

Formats the value using the given formatter.

impl<'input> IntoModel for MatchCondition<'input>
[src]

Convert the current type to a model.