ExprStatement

Type Alias ExprStatement 

Source
pub type ExprStatement = Option<Expr>;
Expand description

Expression statement.

Aliased Type§

pub enum ExprStatement {
    None,
    Some(Expr),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Expr)

Some value of type T.

Trait Implementations§

Source§

impl Parse for ExprStatement

Source§

fn parse<B>(source: B) -> Result<Self, ParseError>
where B: AsRef<str>,

Parse from a string slice.