Enum hoodlum::ast::Expr [] [src]

pub enum Expr {
    Ref(Ident),
    Slice(IdentBox<Expr>, Option<Box<Expr>>),
    Ternary(Box<Expr>, Box<Expr>, Box<Expr>),
    Concat(Vec<Expr>),
    Repeat(Box<Expr>, Box<Expr>),
    Arith(OpBox<Expr>, Box<Expr>),
    Unary(UnaryOpBox<Expr>),
    Num(i32),
    Placeholder,
    FsmEq(BTreeSet<i32>),
    FsmNe(BTreeSet<i32>),
}

Variants

Methods

impl Expr
[src]

Trait Implementations

impl Eq for Expr
[src]

impl Hash for Expr
[src]

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

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

impl PartialEq<Expr> for Expr
[src]

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

This method tests for !=.

impl Debug for Expr
[src]

Formats the value using the given formatter.

impl Clone for Expr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToVerilog for Expr
[src]

impl Walkable for Expr
[src]