Enum sv_parser::CompilerDirective
source · pub enum CompilerDirective {
Show 18 variants
ResetallCompilerDirective(Box<ResetallCompilerDirective, Global>),
IncludeCompilerDirective(Box<IncludeCompilerDirective, Global>),
TextMacroDefinition(Box<TextMacroDefinition, Global>),
TextMacroUsage(Box<TextMacroUsage, Global>),
UndefineCompilerDirective(Box<UndefineCompilerDirective, Global>),
UndefineallCompilerDirective(Box<UndefineallCompilerDirective, Global>),
ConditionalCompilerDirective(Box<ConditionalCompilerDirective, Global>),
TimescaleCompilerDirective(Box<TimescaleCompilerDirective, Global>),
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective, Global>),
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective, Global>),
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective, Global>),
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective, Global>),
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective, Global>),
Pragma(Box<Pragma, Global>),
LineCompilerDirective(Box<LineCompilerDirective, Global>),
PositionCompilerDirective(Box<PositionCompilerDirective, Global>),
KeywordsDirective(Box<KeywordsDirective, Global>),
EndkeywordsDirective(Box<EndkeywordsDirective, Global>),
}
Variants§
ResetallCompilerDirective(Box<ResetallCompilerDirective, Global>)
IncludeCompilerDirective(Box<IncludeCompilerDirective, Global>)
TextMacroDefinition(Box<TextMacroDefinition, Global>)
TextMacroUsage(Box<TextMacroUsage, Global>)
UndefineCompilerDirective(Box<UndefineCompilerDirective, Global>)
UndefineallCompilerDirective(Box<UndefineallCompilerDirective, Global>)
ConditionalCompilerDirective(Box<ConditionalCompilerDirective, Global>)
TimescaleCompilerDirective(Box<TimescaleCompilerDirective, Global>)
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective, Global>)
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective, Global>)
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective, Global>)
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective, Global>)
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective, Global>)
Pragma(Box<Pragma, Global>)
LineCompilerDirective(Box<LineCompilerDirective, Global>)
PositionCompilerDirective(Box<PositionCompilerDirective, Global>)
KeywordsDirective(Box<KeywordsDirective, Global>)
EndkeywordsDirective(Box<EndkeywordsDirective, Global>)
Trait Implementations§
source§impl Clone for CompilerDirective
impl Clone for CompilerDirective
source§fn clone(&self) -> CompilerDirective
fn clone(&self) -> CompilerDirective
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 CompilerDirective
impl Debug for CompilerDirective
source§impl<'a> From<&'a CompilerDirective> for RefNode<'a>
impl<'a> From<&'a CompilerDirective> for RefNode<'a>
source§fn from(x: &'a CompilerDirective) -> RefNode<'a>
fn from(x: &'a CompilerDirective) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a CompilerDirective> for RefNodes<'a>
impl<'a> From<&'a CompilerDirective> for RefNodes<'a>
source§fn from(x: &'a CompilerDirective) -> RefNodes<'a>
fn from(x: &'a CompilerDirective) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<CompilerDirective> for AnyNode
impl From<CompilerDirective> for AnyNode
source§fn from(x: CompilerDirective) -> AnyNode
fn from(x: CompilerDirective) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CompilerDirective
impl<'a> IntoIterator for &'a CompilerDirective
source§impl PartialEq<CompilerDirective> for CompilerDirective
impl PartialEq<CompilerDirective> for CompilerDirective
source§fn eq(&self, other: &CompilerDirective) -> bool
fn eq(&self, other: &CompilerDirective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.