vhdl_syntax 0.1.0

Library to work with VHDL files
Documentation
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) 2026, Lukas Scheller lukasscheller@icloud.com
#[derive(PartialEq, Eq, Copy, Clone, Debug)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum NodeKind {
    AbsolutePathname,
    AccessTypeDefinition,
    ActualPart,
    ActualPartExpression,
    ActualPartOpen,
    ActualPartSubtypeIndication,
    Aggregate,
    AggregateTarget,
    AliasDeclaration,
    AllSensitivityList,
    Allocator,
    ArchitectureBody,
    ArchitectureEpilogue,
    ArchitecturePreamble,
    Assertion,
    AssertionStatement,
    AssociationElement,
    AssociationList,
    AttributeDeclaration,
    AttributeName,
    AttributeSpecification,
    BinaryExpression,
    BindingIndication,
    BlockConfiguration,
    BlockConfigurationEpilogue,
    BlockConfigurationItem,
    BlockConfigurationItems,
    BlockConfigurationPreamble,
    BlockEpilogue,
    BlockHeader,
    BlockPreamble,
    BlockStatement,
    CaseGenerateAlternative,
    CaseGenerateStatement,
    CaseGenerateStatementEpilogue,
    CaseGenerateStatementPreamble,
    CaseStatement,
    CaseStatementAlternative,
    CaseStatementAlternativePreamble,
    CaseStatementEpilogue,
    CaseStatementPreamble,
    Choices,
    ComponentConfiguration,
    ComponentConfigurationEpilogue,
    ComponentConfigurationItems,
    ComponentConfigurationPreamble,
    ComponentDeclaration,
    ComponentDeclarationEpilogue,
    ComponentDeclarationItems,
    ComponentDeclarationPreamble,
    ComponentInstantiatedUnit,
    ComponentInstantiationItems,
    ComponentInstantiationStatement,
    ComponentSpecification,
    CompoundConfigurationSpecification,
    CompoundConfigurationSpecificationItems,
    ConcurrentAssertionStatement,
    ConcurrentConditionalSignalAssignment,
    ConcurrentProcedureCallOrComponentInstantiationStatement,
    ConcurrentSelectedSignalAssignment,
    ConcurrentSelectedSignalAssignmentPreamble,
    ConcurrentSimpleSignalAssignment,
    ConcurrentStatements,
    ConditionClause,
    ConditionalElseItem,
    ConditionalElseWhenExpression,
    ConditionalExpression,
    ConditionalExpressions,
    ConditionalForceAssignment,
    ConditionalVariableAssignment,
    ConditionalWaveform,
    ConditionalWaveformAssignment,
    ConditionalWaveformElseItem,
    ConditionalWaveformElseWhenExpression,
    ConditionalWaveforms,
    ConfigurationDeclaration,
    ConfigurationDeclarationEpilogue,
    ConfigurationDeclarationItems,
    ConfigurationDeclarationPreamble,
    ConfigurationInstantiatedUnit,
    ConstantDeclaration,
    ConstrainedArrayDefinition,
    ContextClause,
    ContextDeclaration,
    ContextDeclarationEpilogue,
    ContextDeclarationPreamble,
    ContextReference,
    DeclarationStatementSeparator,
    Declarations,
    DesignFile,
    DesignUnit,
    DisconnectionSpecification,
    ElementAssociation,
    ElementDeclaration,
    ElementResolutionResolutionIndication,
    EntityClassEntry,
    EntityClassEntryList,
    EntityConfigurationAspect,
    EntityDeclaration,
    EntityDeclarationEpilogue,
    EntityDeclarationPreamble,
    EntityDesignator,
    EntityDesignatorList,
    EntityEntityAspect,
    EntityHeader,
    EntityInstantiatedUnit,
    EntityNameListAll,
    EntityNameListOthers,
    EntityOpenAspect,
    EntitySpecification,
    EnumerationTypeDefinition,
    ExitStatement,
    ExpressionChoice,
    ExternalConstantName,
    ExternalSignalName,
    ExternalVariableName,
    FileDeclaration,
    FileOpenInformation,
    FileTypeDefinition,
    ForGenerateStatement,
    ForGenerateStatementEpilogue,
    ForGenerateStatementPreamble,
    ForIterationScheme,
    FormalPart,
    FullTypeDeclaration,
    FunctionSpecification,
    GenerateStatementBody,
    GenerateStatementBodyEpilogue,
    GenericClause,
    GenericClauseEpilogue,
    GenericClausePreamble,
    GenericMapAspect,
    GroupDeclaration,
    GroupTemplateDeclaration,
    GuardedSignalSpecification,
    IdentifierList,
    IfGenerateElse,
    IfGenerateElsif,
    IfGenerateStatement,
    IfGenerateStatementEpilogue,
    IfGenerateStatementPreamble,
    IfStatement,
    IfStatementElse,
    IfStatementElsif,
    IfStatementEpilogue,
    IfStatementPreamble,
    IncompleteTypeDeclaration,
    IndexConstraint,
    IndexSubtypeDefinition,
    IndexSubtypeDefinitionList,
    InertialDelayMechanism,
    InstantiationListAll,
    InstantiationListList,
    InstantiationListOthers,
    InterfaceConstantDeclaration,
    InterfaceFileDeclaration,
    InterfaceFunctionSpecification,
    InterfaceIncompleteTypeDeclaration,
    InterfaceList,
    InterfacePackageDeclaration,
    InterfacePackageDeclarationPreamble,
    InterfacePackageGenericMapAspect,
    InterfacePackageGenericMapAspectAssociations,
    InterfacePackageGenericMapAspectBox,
    InterfacePackageGenericMapAspectDefault,
    InterfaceProcedureSpecification,
    InterfaceSignalDeclaration,
    InterfaceSubprogramDeclaration,
    InterfaceSubprogramDefaultBox,
    InterfaceSubprogramDefaultName,
    InterfaceVariableDeclaration,
    Label,
    LibraryClause,
    LiteralExpression,
    LoopStatement,
    LoopStatementEpilogue,
    LoopStatementPreamble,
    Name,
    NameDesignatorPrefix,
    NameExpression,
    NameList,
    NameResolutionIndication,
    NameTarget,
    NextStatement,
    NullStatement,
    NumericTypeDefinition,
    OthersChoice,
    Package,
    PackageBody,
    PackageBodyDeclaration,
    PackageBodyEpilogue,
    PackageBodyPreamble,
    PackageDeclaration,
    PackageEpilogue,
    PackageHeader,
    PackageInstantiation,
    PackageInstantiationDeclaration,
    PackageInstantiationDeclarationPrimaryUnit,
    PackageInstantiationPreamble,
    PackagePathname,
    PackagePreamble,
    ParameterList,
    ParameterSpecification,
    ParenthesizedElementResolutionResolutionIndication,
    ParenthesizedExpression,
    ParenthesizedExpressionOrAggregate,
    ParenthesizedInterfaceList,
    ParenthesizedName,
    ParenthesizedProcessSensitivityList,
    PartialPathname,
    PhysicalLiteral,
    PhysicalLiteralExpression,
    PhysicalTypeDefinition,
    PhysicalTypeDefinitionEpilogue,
    PortClause,
    PortClauseEpilogue,
    PortClausePreamble,
    PortMapAspect,
    PrimaryUnitDeclaration,
    PrimaryUnitPackageDeclaration,
    ProcedureCallStatement,
    ProcedureSpecification,
    ProcessStatement,
    ProcessStatementEpilogue,
    ProcessStatementPreamble,
    ProtectedTypeBody,
    ProtectedTypeBodyEpilogue,
    ProtectedTypeBodyPreamble,
    ProtectedTypeDeclaration,
    ProtectedTypeDeclarationEpilogue,
    ProtectedTypeDeclarationPreamble,
    PslClockDeclaration,
    PslDirective,
    PslPropertyDeclaration,
    PslSequenceDeclaration,
    PslVerificationUnit,
    QualifiedExpression,
    RangeConstraint,
    RecordElementDeclarations,
    RecordElementResolution,
    RecordResolution,
    RecordResolutionElementResolution,
    RecordTypeDefinition,
    RecordTypeDefinitionEpilogue,
    RecordTypeDefinitionPreamble,
    RelativePathname,
    ReportStatement,
    ResolutionIndicationElementResolution,
    ReturnStatement,
    SecondaryUnitDeclaration,
    SecondaryUnitPackageBody,
    SelectedAssignmentPreamble,
    SelectedExpressionItem,
    SelectedExpressions,
    SelectedForceAssignment,
    SelectedName,
    SelectedVariableAssignment,
    SelectedWaveformAssignment,
    SelectedWaveformItem,
    SelectedWaveforms,
    SemiColonTerminatedBindingIndication,
    SemiColonTerminatedGenericMapAspect,
    SemiColonTerminatedPortMapAspect,
    SemiColonTerminatedVerificationUnitBindingIndication,
    SensitivityClause,
    SensitivityList,
    SequentialStatements,
    SharedVariableDeclaration,
    SignalDeclaration,
    SignalListAll,
    SignalListList,
    SignalListOthers,
    Signature,
    SimpleConfigurationSpecification,
    SimpleForceAssignment,
    SimpleReleaseAssignment,
    SimpleVariableAssignment,
    SimpleWaveformAssignment,
    SubprogramBody,
    SubprogramBodyEpilogue,
    SubprogramBodyPreamble,
    SubprogramDeclaration,
    SubprogramHeader,
    SubprogramHeaderGenericClause,
    SubprogramInstantiationDeclaration,
    SubprogramInstantiationDeclarationPreamble,
    SubtypeDeclaration,
    SubtypeIndication,
    TimeoutClause,
    TransportDelayMechanism,
    UnaffectedWaveform,
    UnaryExpression,
    UnboundedArrayDefinition,
    UnitDeclarations,
    UseClause,
    UseClauseContextItem,
    UseClauseDeclaration,
    VariableDeclaration,
    VerificationUnitBindingIndication,
    VerificationUnitList,
    WaitStatement,
    WaveformElement,
    WaveformElements,
    WhileIterationScheme,
}