just/src/item.rs
Casey Rodarmor 0931fa8dbf
Allow passing arguments to dependencies (#555)
Allow recipes that take parameters to be used as dependencies.
2019-12-07 04:03:03 -08:00

11 lines
217 B
Rust

use crate::common::*;
/// A single top-level item
#[derive(Debug)]
pub(crate) enum Item<'src> {
Alias(Alias<'src, Name<'src>>),
Assignment(Assignment<'src>),
Recipe(UnresolvedRecipe<'src>),
Set(Set<'src>),
}