Enum sv_parser::ModulePathPrimary
source · pub enum ModulePathPrimary {
Number(Box<Number, Global>),
Identifier(Box<Identifier, Global>),
ModulePathConcatenation(Box<ModulePathConcatenation, Global>),
ModulePathMultipleConcatenation(Box<ModulePathMultipleConcatenation, Global>),
FunctionSubroutineCall(Box<FunctionSubroutineCall, Global>),
Mintypmax(Box<ModulePathPrimaryMintypmax, Global>),
}
Variants§
Number(Box<Number, Global>)
Identifier(Box<Identifier, Global>)
ModulePathConcatenation(Box<ModulePathConcatenation, Global>)
ModulePathMultipleConcatenation(Box<ModulePathMultipleConcatenation, Global>)
FunctionSubroutineCall(Box<FunctionSubroutineCall, Global>)
Mintypmax(Box<ModulePathPrimaryMintypmax, Global>)
Trait Implementations§
source§impl Clone for ModulePathPrimary
impl Clone for ModulePathPrimary
source§fn clone(&self) -> ModulePathPrimary
fn clone(&self) -> ModulePathPrimary
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 ModulePathPrimary
impl Debug for ModulePathPrimary
source§impl<'a> From<&'a ModulePathPrimary> for RefNode<'a>
impl<'a> From<&'a ModulePathPrimary> for RefNode<'a>
source§fn from(x: &'a ModulePathPrimary) -> RefNode<'a>
fn from(x: &'a ModulePathPrimary) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ModulePathPrimary> for RefNodes<'a>
impl<'a> From<&'a ModulePathPrimary> for RefNodes<'a>
source§fn from(x: &'a ModulePathPrimary) -> RefNodes<'a>
fn from(x: &'a ModulePathPrimary) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ModulePathPrimary> for AnyNode
impl From<ModulePathPrimary> for AnyNode
source§fn from(x: ModulePathPrimary) -> AnyNode
fn from(x: ModulePathPrimary) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ModulePathPrimary
impl<'a> IntoIterator for &'a ModulePathPrimary
source§impl PartialEq<ModulePathPrimary> for ModulePathPrimary
impl PartialEq<ModulePathPrimary> for ModulePathPrimary
source§fn eq(&self, other: &ModulePathPrimary) -> bool
fn eq(&self, other: &ModulePathPrimary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.