vhdl_syntax 0.2.0

VHDL parser for lossless concrete syntax trees
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, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum NodeKind {
    AbsolutePathname,
    AccessTypeDefinition,
    ActualPart,
    ActualPartExpression,
    ActualPartOpen,
    ActualPartSubtypeIndication,
    AfterClause,
    Aggregate,
    AggregateTarget,
    AliasDeclaration,
    AliasSubtype,
    AllSensitivityList,
    Allocator,
    ArchitectureBody,
    ArchitectureDeclarativePart,
    ArchitectureEpilogue,
    ArchitecturePreamble,
    ArchitectureStatementPart,
    Assertion,
    AssertionStatement,
    AssociationElement,
    AssociationList,
    AttributeDeclaration,
    AttributeName,
    AttributeSpecification,
    BinaryExpression,
    Binding,
    BindingIndication,
    BindingUseClause,
    BlockConfiguration,
    BlockConfigurationEpilogue,
    BlockConfigurationItem,
    BlockConfigurationPreamble,
    BlockDeclarativePart,
    BlockEpilogue,
    BlockHeader,
    BlockPreamble,
    BlockStatement,
    BlockStatementPart,
    CaseGenerateAlternative,
    CaseGeneratePreamble,
    CaseGenerateStatement,
    CaseStatement,
    CaseStatementAlternative,
    CaseStatementAlternativePreamble,
    CaseStatementEpilogue,
    CaseStatementPreamble,
    Choices,
    ComponentConfiguration,
    ComponentConfigurationEpilogue,
    ComponentConfigurationPreamble,
    ComponentDeclaration,
    ComponentDeclarationEpilogue,
    ComponentDeclarationPreamble,
    ComponentInstantiationStatement,
    ComponentSpecification,
    CompoundConfigurationSpecification,
    ConcurrentAssertionStatement,
    ConcurrentConditionalSignalAssignment,
    ConcurrentProcedureCallOrComponentInstantiationStatement,
    ConcurrentSelectedSignalAssignment,
    ConcurrentSimpleSignalAssignment,
    ConditionClause,
    ConditionalExpressions,
    ConditionalForceAssignment,
    ConditionalVariableAssignment,
    ConditionalWaveformAssignment,
    ConditionalWaveforms,
    ConfigurationDeclaration,
    ConfigurationDeclarationEpilogue,
    ConfigurationDeclarationPreamble,
    ConfigurationDeclarativePart,
    ConstantDeclaration,
    ConstrainedArrayDefinition,
    ContextClause,
    ContextDeclaration,
    ContextDeclarationEpilogue,
    ContextDeclarationPreamble,
    ContextReference,
    DeclarationStatementSeparator,
    DesignFile,
    DesignUnit,
    DisconnectionSpecification,
    ElementAssociation,
    ElementAssociationList,
    ElementChoices,
    ElementDeclaration,
    ElementResolutionResolutionIndication,
    ElseExpression,
    ElseWaveform,
    ElseWhenExpression,
    ElseWhenWaveform,
    EndPackageBody,
    EntityClassEntry,
    EntityClassEntryList,
    EntityConfigurationAspect,
    EntityDeclaration,
    EntityDeclarationEpilogue,
    EntityDeclarationPreamble,
    EntityDeclarativePart,
    EntityDesignator,
    EntityDesignatorList,
    EntityEntityAspect,
    EntityHeader,
    EntityNameListAll,
    EntityNameListOthers,
    EntityOpenAspect,
    EntitySpecification,
    EntityStatementPart,
    EntityStatements,
    EnumerationList,
    EnumerationTypeDefinition,
    ExitStatement,
    ExpressionChoice,
    ExpressionList,
    ExternalConstantName,
    ExternalSignalName,
    ExternalVariableName,
    FileDeclaration,
    FileOpenInformation,
    FileOpenKind,
    FileTypeDefinition,
    ForGeneratePreamble,
    ForGenerateStatement,
    ForScheme,
    Formal,
    FullTypeDeclaration,
    FunctionSpecification,
    GenerateBodyDeclarations,
    GenerateBodyEpilogue,
    GenerateEpilogue,
    GenerateStatementBody,
    GenericClause,
    GenericMap,
    GenericMapAspect,
    GenericPart,
    GroupDeclaration,
    GroupTemplateDeclaration,
    GuardedSignalSpecification,
    IdentifierList,
    IfGenerateElse,
    IfGenerateElsif,
    IfGenerateIf,
    IfGenerateStatement,
    IfStatement,
    IfStatementElse,
    IfStatementElsif,
    IfStatementEpilogue,
    IfStatementPreamble,
    IncompleteTypeDeclaration,
    IndexConstraint,
    IndexSubtypeDefinition,
    IndexSubtypeDefinitionList,
    InertialDelayMechanism,
    InitialValue,
    InstantiatedComponent,
    InstantiatedConfiguration,
    InstantiatedEntity,
    InstantiationListAll,
    InstantiationListList,
    InstantiationListOthers,
    InterfaceFileDeclaration,
    InterfaceFunctionSpecification,
    InterfaceIncompleteTypeDeclaration,
    InterfaceList,
    InterfaceObjectDeclaration,
    InterfacePackageDeclaration,
    InterfacePackageDeclarationPreamble,
    InterfacePackageGenericMapAspect,
    InterfacePackageGenericMapAspectAssociations,
    InterfacePackageGenericMapAspectBox,
    InterfacePackageGenericMapAspectDefault,
    InterfaceProcedureSpecification,
    InterfaceSubprogramDeclaration,
    InterfaceSubprogramDefaultBox,
    InterfaceSubprogramDefaultName,
    LibraryClause,
    LiteralExpression,
    LogicalNameList,
    LoopStatement,
    LoopStatementEpilogue,
    LoopStatementPreamble,
    Name,
    NameDesignatorPrefix,
    NameExpression,
    NameList,
    NameResolutionIndication,
    NameTarget,
    NextStatement,
    NullStatement,
    NumericTypeDefinition,
    OthersChoice,
    PackageBody,
    PackageBodyDeclaration,
    PackageBodyDeclarativePart,
    PackageBodyEpilogue,
    PackageBodyPreamble,
    PackageDeclaration,
    PackageDeclarationItem,
    PackageDeclarativePart,
    PackageEpilogue,
    PackageHeader,
    PackageInstantiationDeclaration,
    PackageInstantiationDeclarationItem,
    PackageInstantiationDeclarationPrimaryUnit,
    PackageInstantiationPreamble,
    PackagePath,
    PackagePathname,
    PackagePreamble,
    ParameterList,
    ParameterSpecification,
    ParenthesizedCondition,
    ParenthesizedElementResolution,
    ParenthesizedExpression,
    ParenthesizedExpressionOrAggregate,
    ParenthesizedInterfaceList,
    ParenthesizedName,
    ParenthesizedProcessSensitivityList,
    PartialPathname,
    PathnameElement,
    PhysicalLiteral,
    PhysicalLiteralExpression,
    PhysicalTypeDefinition,
    PhysicalTypeDefinitionEpilogue,
    PortClause,
    PortMap,
    PortMapAspect,
    PortPart,
    PrimaryUnitDeclaration,
    PrimaryUnitPackageDeclaration,
    ProcedureCallStatement,
    ProcedureSpecification,
    ProcessDeclarativePart,
    ProcessEpilogue,
    ProcessPreamble,
    ProcessStatement,
    ProcessStatementPart,
    ProtectedPreamble,
    ProtectedTypeBody,
    ProtectedTypeBodyDeclarativePart,
    ProtectedTypeBodyEpilogue,
    ProtectedTypeBodyPreamble,
    ProtectedTypeDeclaration,
    ProtectedTypeDeclarationEpilogue,
    ProtectedTypeDeclarativePart,
    QualifiedExpression,
    RangeConstraint,
    RecordElementDeclarations,
    RecordElementResolution,
    RecordResolution,
    RecordResolutionElementResolution,
    RecordTypeDefinition,
    RecordTypeDefinitionEpilogue,
    RecordTypeDefinitionPreamble,
    RejectClause,
    RelativePathname,
    ReportClause,
    ReportStatement,
    ReturnStatement,
    ReturnType,
    SecondaryUnitDeclaration,
    SecondaryUnitPackageBody,
    SelectedAssignmentPreamble,
    SelectedExpressionItem,
    SelectedExpressions,
    SelectedForceAssignment,
    SelectedName,
    SelectedVariableAssignment,
    SelectedWaveformAssignment,
    SelectedWaveformItem,
    SelectedWaveforms,
    SensitivityClause,
    SensitivityList,
    SequenceOfStatements,
    SeverityClause,
    SignalDeclaration,
    SignalListAll,
    SignalListList,
    SignalListOthers,
    Signature,
    SimpleConfigurationSpecification,
    SimpleForceAssignment,
    SimpleReleaseAssignment,
    SimpleVariableAssignment,
    SimpleWaveformAssignment,
    StmtLabel,
    SubprogramBody,
    SubprogramBodyEpilogue,
    SubprogramBodyPreamble,
    SubprogramDeclaration,
    SubprogramDeclarativePart,
    SubprogramDefault,
    SubprogramHeader,
    SubprogramHeaderGenericClause,
    SubprogramInstantiationDeclaration,
    SubprogramInstantiationDeclarationPreamble,
    SubprogramStatementPart,
    SubtypeDeclaration,
    SubtypeIndication,
    TimeoutClause,
    TransportDelayMechanism,
    TypeMarkList,
    UnaffectedWaveform,
    UnaryExpression,
    UnboundedArrayDefinition,
    UnitDeclarations,
    UpLevel,
    UseClause,
    UseClauseContextItem,
    UseClauseDeclaration,
    VariableDeclaration,
    VerificationUnitBinding,
    VerificationUnitBindingIndication,
    VerificationUnitList,
    WaitStatement,
    WaveformElement,
    WaveformElements,
    WhenClause,
    WhenExpression,
    WhenWaveform,
    WhileScheme,
}