Enum parser_haskell::ast::Statement [] [src]

pub enum Statement {
    Import,
    Type,
    Data(IdentVec<Vec<Ty>>, Vec<Ident>, Option<Vec<Ty>>),
    Newtype(IdentTyVec<Ident>),
    Class,
    Instance,
    Prototype(Vec<Expr>, Vec<Ty>),
    Assign(Vec<Expr>, Expr),
    GuardAssign,
    Expression(ExprVec<Statement>),
    Dummy,
}

Variants

Trait Implementations

impl Clone for Statement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Statement
[src]

Formats the value using the given formatter.