Struct vhdl_lang::ast::ConfigurationDeclaration
source · pub struct ConfigurationDeclaration {
pub context_clause: ContextClause,
pub ident: WithDecl<Ident>,
pub entity_name: WithPos<SelectedName>,
pub decl: Vec<ConfigurationDeclarativeItem>,
pub vunit_bind_inds: Vec<VUnitBindingIndication>,
pub block_config: BlockConfiguration,
pub end_ident_pos: Option<SrcPos>,
/* private fields */
}
Expand description
LRM 3.4 Configuration declarations
Fields§
§context_clause: ContextClause
§ident: WithDecl<Ident>
§entity_name: WithPos<SelectedName>
§decl: Vec<ConfigurationDeclarativeItem>
§vunit_bind_inds: Vec<VUnitBindingIndication>
§block_config: BlockConfiguration
§end_ident_pos: Option<SrcPos>
Trait Implementations§
source§impl ASTNode for ConfigurationDeclaration
impl ASTNode for ConfigurationDeclaration
source§fn visit(
&self,
visitor: &mut dyn Visitor,
ctx: &dyn TokenAccess
) -> VisitorResult
fn visit( &self, visitor: &mut dyn Visitor, ctx: &dyn TokenAccess ) -> VisitorResult
Called when traversing the AST.
Each node must call the respective method in the
Visitor
class.
If the node doesn’t have a representation
(for example, for utility types such as Box
or Vec
),
simply return Continue
.source§impl Clone for ConfigurationDeclaration
impl Clone for ConfigurationDeclaration
source§fn clone(&self) -> ConfigurationDeclaration
fn clone(&self) -> ConfigurationDeclaration
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 ConfigurationDeclaration
impl Debug for ConfigurationDeclaration
source§impl Display for ConfigurationDeclaration
impl Display for ConfigurationDeclaration
source§impl HasTokenSpan for ConfigurationDeclaration
impl HasTokenSpan for ConfigurationDeclaration
fn get_start_token(&self) -> TokenId
fn get_end_token(&self) -> TokenId
fn get_token_slice<'a>(&self, tokens: &'a dyn TokenAccess) -> &'a [Token]
fn get_pos(&self, tokens: &dyn TokenAccess) -> SrcPos
source§impl PartialEq for ConfigurationDeclaration
impl PartialEq for ConfigurationDeclaration
source§fn eq(&self, other: &ConfigurationDeclaration) -> bool
fn eq(&self, other: &ConfigurationDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Search for ConfigurationDeclaration
impl Search for ConfigurationDeclaration
fn search( &mut self, ctx: &dyn TokenAccess, searcher: &mut impl Searcher ) -> SearchResult
impl StructuralPartialEq for ConfigurationDeclaration
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigurationDeclaration
impl Send for ConfigurationDeclaration
impl Sync for ConfigurationDeclaration
impl Unpin for ConfigurationDeclaration
impl !UnwindSafe for ConfigurationDeclaration
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