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
Abs
Fields of Abs
argument: String | |
body: Box<Expression> | |
annotation: Annotation |
Accessor
Fields of Accessor
expression: Box<Expression> | |
field: String | |
annotation: Annotation |
App
Fields of App
abstraction: Box<Expression> | |
argument: Box<Expression> | |
annotation: Annotation |
Case
Fields of Case
alternatives: Vec<Alternative> | |
expressions: Vec<Expression> | |
annotation: Annotation |
Constructor
Fields of Constructor
name: String | |
type_: String | |
fields: Vec<String> | |
annotation: Annotation |
Let
Fields of Let
expression: Box<Expression> | |
binds: Vec<Decl> | |
annotation: Annotation |
Literal
Fields of Literal
value: Literal | |
annotation: Annotation |
Var
Fields of Var
value: ModuleAndIdentifier | |
annotation: Annotation |
Trait Implementations
impl Debug for Expression
[src]
impl Debug for Expression
Auto Trait Implementations
impl Send for Expression
impl Send for Expression
impl Sync for Expression
impl Sync for Expression