Enum lichen::parse::IR [] [src]

pub enum IR {
    String(String),
    Sym(String),
    Map(Vec<IR>),
}

Intermediate Representation

This is used during the parsing stage

Variants

A non-quoted string turns into a symbol/token

Key-Value, pre-parsed

Trait Implementations

impl Debug for IR
[src]

Formats the value using the given formatter.

impl Clone for IR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IR
[src]

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

This method tests for !=.

impl From<Var> for IR
[src]

Performs the conversion.