pub enum AnonymousProgramItem {
TaskDeclaration(Box<TaskDeclaration>),
FunctionDeclaration(Box<FunctionDeclaration>),
ClassDeclaration(Box<ClassDeclaration>),
InterfaceClassDeclaration(Box<InterfaceClassDeclaration>),
CovergroupDeclaration(Box<CovergroupDeclaration>),
ClassConstructorDeclaration(Box<ClassConstructorDeclaration>),
Empty(Box<Symbol>),
}
Variants§
TaskDeclaration(Box<TaskDeclaration>)
FunctionDeclaration(Box<FunctionDeclaration>)
ClassDeclaration(Box<ClassDeclaration>)
InterfaceClassDeclaration(Box<InterfaceClassDeclaration>)
CovergroupDeclaration(Box<CovergroupDeclaration>)
ClassConstructorDeclaration(Box<ClassConstructorDeclaration>)
Empty(Box<Symbol>)
Trait Implementations§
source§impl Clone for AnonymousProgramItem
impl Clone for AnonymousProgramItem
source§fn clone(&self) -> AnonymousProgramItem
fn clone(&self) -> AnonymousProgramItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnonymousProgramItem
impl Debug for AnonymousProgramItem
source§impl<'a> From<&'a AnonymousProgramItem> for RefNode<'a>
impl<'a> From<&'a AnonymousProgramItem> for RefNode<'a>
source§fn from(x: &'a AnonymousProgramItem) -> Self
fn from(x: &'a AnonymousProgramItem) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a AnonymousProgramItem> for RefNodes<'a>
impl<'a> From<&'a AnonymousProgramItem> for RefNodes<'a>
source§fn from(x: &'a AnonymousProgramItem) -> Self
fn from(x: &'a AnonymousProgramItem) -> Self
Converts to this type from the input type.
source§impl From<AnonymousProgramItem> for AnyNode
impl From<AnonymousProgramItem> for AnyNode
source§fn from(x: AnonymousProgramItem) -> Self
fn from(x: AnonymousProgramItem) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a AnonymousProgramItem
impl<'a> IntoIterator for &'a AnonymousProgramItem
source§impl PartialEq<AnonymousProgramItem> for AnonymousProgramItem
impl PartialEq<AnonymousProgramItem> for AnonymousProgramItem
source§fn eq(&self, other: &AnonymousProgramItem) -> bool
fn eq(&self, other: &AnonymousProgramItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.