Enum purescript_corefn::Expression[][src]

pub enum Expression {
    Abs {
        argument: String,
        body: Box<Expression>,
        annotation: Annotation,
    },
    Accessor {
        expression: Box<Expression>,
        field: String,
        annotation: Annotation,
    },
    App {
        abstraction: Box<Expression>,
        argument: Box<Expression>,
        annotation: Annotation,
    },
    Case {
        alternatives: Vec<Alternative>,
        expressions: Vec<Expression>,
        annotation: Annotation,
    },
    Constructor {
        name: String,
        type_: String,
        fields: Vec<String>,
        annotation: Annotation,
    },
    Let {
        expression: Box<Expression>,
        binds: Vec<Decl>,
        annotation: Annotation,
    },
    Literal {
        value: Literal,
        annotation: Annotation,
    },
    Var {
        value: ModuleAndIdentifier,
        annotation: Annotation,
    },
}

Variants

Fields of Abs

Fields of Accessor

Fields of App

Fields of Case

Fields of Constructor

Fields of Let

Fields of Literal

Fields of Var

Trait Implementations

impl Debug for Expression
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Expression

impl Sync for Expression