Enum parser_haskell::ast::Pat [] [src]

pub enum Pat {
    Span(Vec<Pat>),
    ViewPattern(IdentBox<Pat>),
    Not(Box<Pat>),
    Ref(Ident),
    Infix(Ident),
    Tuple(Vec<Pat>),
    Brackets(Vec<Pat>),
    Record(IdentVec<(Ident, Pat)>),
    Operator(String),
    Str(String),
    Char(String),
    Num(isize),
    Concat(Box<Pat>, Box<Pat>),
    EmptyParen,
}

Variants

Trait Implementations

impl Clone for Pat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Pat
[src]

Formats the value using the given formatter.