Enum kailua_syntax::ast::Var [] [src]

pub enum Var {
    Name(Spanned<NameRef>),
    Index(Spanned<Exp>, Spanned<Exp>),
    IndexName(Spanned<Exp>, Spanned<Name>),
}

A left-hand side of the assignment.

Variants

name.

exp[exp].

exp.name. Distinguished from Var::Index for the purpose of IDE support.

Trait Implementations

impl Clone for Var
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Var
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Var
[src]

Formats the value using the given formatter.