Enum moore_svlog_syntax::ast::StmtData [] [src]

pub enum StmtData {
    NullStmt,
    SequentialBlock(Vec<Stmt>),
    ParallelBlock(Vec<Stmt>, JoinKind),
    IfStmt {
        up: Option<UniquePriority>,
        cond: Expr,
        main_stmt: Box<Stmt>,
        else_stmt: Option<Box<Stmt>>,
    },
    BlockingAssignStmt {
        lhs: Expr,
        rhs: Expr,
        op: AssignOp,
    },
    NonblockingAssignStmt {
        lhs: Expr,
        rhs: Expr,
        delay: Option<DelayControl>,
        event: Option<()>,
    },
    TimedStmt(TimingControlBox<Stmt>),
    CaseStmt {
        up: Option<UniquePriority>,
        kind: CaseKind,
        expr: Expr,
        mode: CaseMode,
        items: Vec<CaseItem>,
    },
    ForeverStmt(Box<Stmt>),
    RepeatStmt(ExprBox<Stmt>),
    WhileStmt(ExprBox<Stmt>),
    DoStmt(Box<Stmt>, Expr),
    ForStmt(Box<Stmt>, ExprExprBox<Stmt>),
    ForeachStmt(ExprVec<Option<Identifier>>, Box<Stmt>),
    ExprStmt(Expr),
    VarDeclStmt(VarDecl),
    GenvarDeclStmt(Vec<GenvarDecl>),
    ContinueStmt,
    BreakStmt,
    ReturnStmt(Option<Expr>),
    ImportStmt(ImportDecl),
    AssertionStmt(Box<Assertion>),
    WaitExprStmt(ExprBox<Stmt>),
    WaitForkStmt,
    DisableForkStmt,
    DisableStmt(Name),
}

Variants

Fields of IfStmt

Fields of BlockingAssignStmt

Fields of NonblockingAssignStmt

Fields of CaseStmt

Trait Implementations

impl Debug for StmtData
[src]

[src]

Formats the value using the given formatter.

impl Clone for StmtData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for StmtData
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for StmtData
[src]

impl Encodable for StmtData
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for StmtData
[src]

[src]

Deserialize a value using a Decoder.