xshade-parser 0.1.2

Parser and untyped AST for the xshade language.
Documentation
use ::ast::*;

#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
pub enum ExportItem {
    Named(Identifier),
    All
}

#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct ExportDeclaration {
    pub span: Span,
    pub items: Vec<ExportItem>,
}

impl Spanned for ExportDeclaration {
    fn get_span(&self) -> Span {
        self.span
    }
}