Enum sv_parser::CompilerDirective
source · pub enum CompilerDirective {
Show 18 variants
ResetallCompilerDirective(Box<ResetallCompilerDirective>),
IncludeCompilerDirective(Box<IncludeCompilerDirective>),
TextMacroDefinition(Box<TextMacroDefinition>),
TextMacroUsage(Box<TextMacroUsage>),
UndefineCompilerDirective(Box<UndefineCompilerDirective>),
UndefineallCompilerDirective(Box<UndefineallCompilerDirective>),
ConditionalCompilerDirective(Box<ConditionalCompilerDirective>),
TimescaleCompilerDirective(Box<TimescaleCompilerDirective>),
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective>),
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective>),
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective>),
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective>),
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective>),
Pragma(Box<Pragma>),
LineCompilerDirective(Box<LineCompilerDirective>),
PositionCompilerDirective(Box<PositionCompilerDirective>),
KeywordsDirective(Box<KeywordsDirective>),
EndkeywordsDirective(Box<EndkeywordsDirective>),
}
Variants§
ResetallCompilerDirective(Box<ResetallCompilerDirective>)
IncludeCompilerDirective(Box<IncludeCompilerDirective>)
TextMacroDefinition(Box<TextMacroDefinition>)
TextMacroUsage(Box<TextMacroUsage>)
UndefineCompilerDirective(Box<UndefineCompilerDirective>)
UndefineallCompilerDirective(Box<UndefineallCompilerDirective>)
ConditionalCompilerDirective(Box<ConditionalCompilerDirective>)
TimescaleCompilerDirective(Box<TimescaleCompilerDirective>)
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective>)
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective>)
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective>)
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective>)
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective>)
Pragma(Box<Pragma>)
LineCompilerDirective(Box<LineCompilerDirective>)
PositionCompilerDirective(Box<PositionCompilerDirective>)
KeywordsDirective(Box<KeywordsDirective>)
EndkeywordsDirective(Box<EndkeywordsDirective>)
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 for CompilerDirective
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a CompilerDirective> for Locate
impl<'a> TryFrom<&'a CompilerDirective> for Locate
source§impl TryFrom<AnyNode> for CompilerDirective
impl TryFrom<AnyNode> for CompilerDirective
source§impl TryFrom<CompilerDirective> for Locate
impl TryFrom<CompilerDirective> for Locate
impl StructuralPartialEq for CompilerDirective
Auto Trait Implementations§
impl RefUnwindSafe for CompilerDirective
impl Send for CompilerDirective
impl Sync for CompilerDirective
impl Unpin for CompilerDirective
impl UnwindSafe for CompilerDirective
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more