Enum erl_parse::cst::Pattern [] [src]

pub enum Pattern {
    Literal(Literal),
    Variable(VariableToken),
    Tuple(Box<Tuple>),
    Map(Box<Map>),
    Record(Box<Record>),
    RecordFieldIndex(Box<RecordFieldIndex>),
    List(Box<List>),
    Bits(Box<Bits>),
    Parenthesized(Box<Parenthesized>),
    UnaryOpCall(Box<UnaryOpCall>),
    BinaryOpCall(Box<BinaryOpCall>),
    Match(Box<Match>),
}

Variants

Trait Implementations

impl Debug for Pattern
[src]

[src]

Formats the value using the given formatter.

impl Clone for Pattern
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Parse for Pattern
[src]

[src]

[src]

impl PositionRange for Pattern
[src]

[src]

Returns the (inclusive) start position of this.

[src]

Returns the (exclusive) end position of this.