Enum fungi_lang::ast::Exp[][src]

pub enum Exp {
    Doc(StringExpRec),
    UseAll(UseAllModuleExpRec),
    Decls(DeclsRecExpRec),
    AnnoE(ExpRecCEffect),
    AnnoC(ExpRecCType),
    Force(Val),
    Thunk(ValExpRec),
    Unroll(ValVarExpRec),
    Unpack(VarVarValExpRec),
    Fix(VarExpRec),
    Ret(Val),
    DefType(VarTypeExpRec),
    Let(VarExpRecExpRec),
    Lam(VarExpRec),
    HostFn(HostEvalFn),
    App(ExpRecVal),
    IdxApp(ExpRecIdxTm),
    Split(ValVarVarExpRec),
    Case(ValVarExpRecVarExpRec),
    IfThenElse(ValExpRecExpRec),
    RefAnon(Val),
    Ref(ValVal),
    Get(Val),
    WriteScope(ValExpRec),
    NameFnApp(ValVal),
    PrimApp(PrimApp),
    Unimp,
    DebugLabel(Option<Name>, Option<String>, ExpRec),
    NoParse(String),
}

Expressions (aka, computation terms)

Variants

Trait Implementations

impl Display for Exp
[src]

Formats the value using the given formatter. Read more

impl Clone for Exp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Exp
[src]

Formats the value using the given formatter. Read more

impl Eq for Exp
[src]

impl PartialEq for Exp
[src]

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

This method tests for !=.

impl Hash for Exp
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Exp

impl !Sync for Exp