[−][src]Enum moore_svlog_syntax::ast::ItemData
An item that may appear in a hierarchical scope.
This includes the following scopes:
- file root
- modules
- interfaces
- packages
- classes
- generates
Variants
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>>)
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]
fn get_name(&self) -> Option<Spanned<Name>>
[src]
fn fmt_indefinite(&self, fmt: &mut Formatter<'_>) -> Result
[src]
fn fmt_definite(&self, fmt: &mut Formatter<'_>) -> Result
[src]
fn as_data(&self) -> &dyn AnyNodeData where
Self: Sized,
[src]
Self: Sized,
fn format_indefinite(&self) -> FormatNodeIndefinite<'_> where
Self: Sized,
[src]
Self: Sized,
fn format_definite(&self) -> FormatNodeDefinite<'_> where
Self: Sized,
[src]
Self: Sized,
fn to_indefinite_string(&self) -> String where
Self: Sized,
[src]
Self: Sized,
fn to_definite_string(&self) -> String where
Self: Sized,
[src]
Self: Sized,
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]
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
[src]
impl<'a> ForEachNode<'a> for ItemData<'a>
[src]
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'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>
impl<'a> Send for ItemData<'a>
impl<'a> Sync for ItemData<'a>
impl<'a> Unpin for ItemData<'a>
impl<'a> !UnwindSafe for ItemData<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,