[][src]Enum moore_svlog_syntax::ast::ItemData

pub enum ItemData<'a> {
    Dummy,
    ModuleDecl(Module<'a>),
    InterfaceDecl(Interface<'a>),
    PackageDecl(Package<'a>),
    ClassDecl(ClassDecl<'a>),
    ProgramDecl(()),
    ImportDecl(ImportDecl<'a>),
    DpiDecl(DpiDecl<'a>),
    ParamDecl(ParamDecl<'a>),
    ModportDecl(Modport<'a>),
    Typedef(Typedef<'a>),
    PortDecl(PortDecl<'a>),
    Procedure(Procedure<'a>),
    SubroutineDecl(SubroutineDecl<'a>),
    ContAssign(ContAssign<'a>),
    GenvarDecl(Vec<GenvarDecl<'a>>),
    GenerateRegion(SpanVec<Item<'a>>),
    GenerateFor(GenerateFor<'a>),
    GenerateIf(GenerateIf<'a>),
    GenerateCase(GenerateCase<'a>),
    Assertion(Assertion<'a>),
    NetDecl(NetDecl<'a>),
    VarDecl(VarDecl<'a>),
    Inst(Inst<'a>),
}

An item that may appear in a hierarchical scope.

This includes the following scopes:

  • file root
  • modules
  • interfaces
  • packages
  • classes
  • generates

Variants

Dummy
ModuleDecl(Module<'a>)
InterfaceDecl(Interface<'a>)
PackageDecl(Package<'a>)
ClassDecl(ClassDecl<'a>)
ProgramDecl(())
ImportDecl(ImportDecl<'a>)
DpiDecl(DpiDecl<'a>)
ParamDecl(ParamDecl<'a>)
ModportDecl(Modport<'a>)
Typedef(Typedef<'a>)
PortDecl(PortDecl<'a>)
Procedure(Procedure<'a>)
SubroutineDecl(SubroutineDecl<'a>)
ContAssign(ContAssign<'a>)
GenvarDecl(Vec<GenvarDecl<'a>>)
GenerateRegion(SpanVec<Item<'a>>)
GenerateFor(GenerateFor<'a>)
GenerateIf(GenerateIf<'a>)
GenerateCase(GenerateCase<'a>)
Assertion(Assertion<'a>)
NetDecl(NetDecl<'a>)
VarDecl(VarDecl<'a>)
Inst(Inst<'a>)

Trait Implementations

impl<'a> AcceptVisitor<'a> for ItemData<'a>[src]

impl<'a> AnyNodeData for ItemData<'a>[src]

impl<'a> Clone for ItemData<'a>[src]

impl<'a> Debug for ItemData<'a>[src]

impl<'a> Eq for ItemData<'a>[src]

impl<'a> ForEachChild<'a> for ItemData<'a>[src]

impl<'a> ForEachNode<'a> for ItemData<'a>[src]

impl<'a> PartialEq<ItemData<'a>> for ItemData<'a>[src]

impl<'a> StructuralEq for ItemData<'a>[src]

impl<'a> StructuralPartialEq for ItemData<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ItemData<'a>[src]

impl<'a> Send for ItemData<'a>[src]

impl<'a> Sync for ItemData<'a>[src]

impl<'a> Unpin for ItemData<'a>[src]

impl<'a> !UnwindSafe for ItemData<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.