Enum parser_haskell::ast::Statement
[−]
[src]
pub enum Statement { Import, Type, Data(Ident, Vec<Vec<Ty>>, Vec<Ident>, Option<Vec<Ty>>), Newtype(Ident, Ty, Vec<Ident>), Class, Instance, Prototype(Vec<Expr>, Vec<Ty>), Assign(Vec<Expr>, Expr), GuardAssign, Expression(Expr, Vec<Statement>), Dummy, }
Variants
Import
Type
Data(Ident, Vec<Vec<Ty>>, Vec<Ident>, Option<Vec<Ty>>)
Newtype(Ident, Ty, Vec<Ident>)
Class
Instance
Prototype(Vec<Expr>, Vec<Ty>)
Assign(Vec<Expr>, Expr)
GuardAssign
Expression(Expr, Vec<Statement>)
Dummy
Trait Implementations
impl Clone for Statement
[src]
fn clone(&self) -> Statement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more