slang::syntax::MemberSyntax struct
#include <AllSyntax.h>

Concrete syntax definition for a Member.

Base classes

class SyntaxNode
Base class for all syntax nodes.

Derived classes

struct AnonymousProgramSyntax
Concrete syntax definition for an AnonymousProgram.
struct BindDirectiveSyntax
Concrete syntax definition for a BindDirective.
struct BinsSelectionSyntax
Concrete syntax definition for a BinsSelection.
struct CaseGenerateSyntax
Concrete syntax definition for a CaseGenerate.
struct CheckerDataDeclarationSyntax
Concrete syntax definition for a CheckerDataDeclaration.
struct CheckerDeclarationSyntax
Concrete syntax definition for a CheckerDeclaration.
struct CheckerInstantiationSyntax
Concrete syntax definition for a CheckerInstantiation.
struct ClassDeclarationSyntax
Concrete syntax definition for a ClassDeclaration.
struct ClassMethodDeclarationSyntax
Concrete syntax definition for a ClassMethodDeclaration.
struct ClassMethodPrototypeSyntax
Concrete syntax definition for a ClassMethodPrototype.
struct ClassPropertyDeclarationSyntax
Concrete syntax definition for a ClassPropertyDeclaration.
struct ClockingDeclarationSyntax
Concrete syntax definition for a ClockingDeclaration.
struct ClockingItemSyntax
Concrete syntax definition for a ClockingItem.
struct ConcurrentAssertionMemberSyntax
Concrete syntax definition for a ConcurrentAssertionMember.
struct ConditionalPathDeclarationSyntax
Concrete syntax definition for a ConditionalPathDeclaration.
struct ConfigDeclarationSyntax
Concrete syntax definition for a ConfigDeclaration.
struct ConstraintDeclarationSyntax
Concrete syntax definition for a ConstraintDeclaration.
struct ConstraintPrototypeSyntax
Concrete syntax definition for a ConstraintPrototype.
struct ContinuousAssignSyntax
Concrete syntax definition for a ContinuousAssign.
struct CoverCrossSyntax
Concrete syntax definition for a CoverCross.
struct CoverageBinsSyntax
Concrete syntax definition for a CoverageBins.
struct CoverageOptionSyntax
Concrete syntax definition for a CoverageOption.
struct CovergroupDeclarationSyntax
Concrete syntax definition for a CovergroupDeclaration.
struct CoverpointSyntax
Concrete syntax definition for a Coverpoint.
struct DPIExportSyntax
Concrete syntax definition for a DPIExport.
struct DPIImportSyntax
Concrete syntax definition for a DPIImport.
struct DataDeclarationSyntax
Concrete syntax definition for a DataDeclaration.
struct DefParamSyntax
Concrete syntax definition for a DefParam.
struct DefaultClockingReferenceSyntax
Concrete syntax definition for a DefaultClockingReference.
struct DefaultDisableDeclarationSyntax
Concrete syntax definition for a DefaultDisableDeclaration.
struct DefaultSkewItemSyntax
Concrete syntax definition for a DefaultSkewItem.
struct ElabSystemTaskSyntax
Concrete syntax definition for an ElabSystemTask.
struct EmptyMemberSyntax
Concrete syntax definition for an EmptyMember.
struct ExplicitAnsiPortSyntax
Concrete syntax definition for an ExplicitAnsiPort.
struct ExternInterfaceMethodSyntax
Concrete syntax definition for an ExternInterfaceMethod.
struct ExternModuleDeclSyntax
Concrete syntax definition for an ExternModuleDecl.
struct ExternUdpDeclSyntax
Concrete syntax definition for an ExternUdpDecl.
struct ForwardInterfaceClassTypedefDeclarationSyntax
Concrete syntax definition for a ForwardInterfaceClassTypedefDeclaration.
struct ForwardTypedefDeclarationSyntax
Concrete syntax definition for a ForwardTypedefDeclaration.
struct FunctionDeclarationSyntax
Concrete syntax definition for a FunctionDeclaration.
struct GenerateBlockSyntax
Concrete syntax definition for a GenerateBlock.
struct GenerateRegionSyntax
Concrete syntax definition for a GenerateRegion.
struct GenvarDeclarationSyntax
Concrete syntax definition for a GenvarDeclaration.
struct HierarchyInstantiationSyntax
Concrete syntax definition for a HierarchyInstantiation.
struct IfGenerateSyntax
Concrete syntax definition for an IfGenerate.
struct IfNonePathDeclarationSyntax
Concrete syntax definition for an IfNonePathDeclaration.
struct ImmediateAssertionMemberSyntax
Concrete syntax definition for an ImmediateAssertionMember.
struct ImplicitAnsiPortSyntax
Concrete syntax definition for an ImplicitAnsiPort.
struct LetDeclarationSyntax
Concrete syntax definition for a LetDeclaration.
struct LibraryDeclarationSyntax
Concrete syntax definition for a LibraryDeclaration.
struct LibraryIncludeStatementSyntax
Concrete syntax definition for a LibraryIncludeStatement.
struct LocalVariableDeclarationSyntax
Concrete syntax definition for a LocalVariableDeclaration.
struct LoopGenerateSyntax
Concrete syntax definition for a LoopGenerate.
struct ModportClockingPortSyntax
Concrete syntax definition for a ModportClockingPort.
struct ModportDeclarationSyntax
Concrete syntax definition for a ModportDeclaration.
struct ModportSimplePortListSyntax
Concrete syntax definition for a ModportSimplePortList.
struct ModportSubroutinePortListSyntax
Concrete syntax definition for a ModportSubroutinePortList.
struct ModuleDeclarationSyntax
Concrete syntax definition for a ModuleDeclaration.
struct NetAliasSyntax
Concrete syntax definition for a NetAlias.
struct NetDeclarationSyntax
Concrete syntax definition for a NetDeclaration.
struct NetTypeDeclarationSyntax
Concrete syntax definition for a NetTypeDeclaration.
struct PackageExportAllDeclarationSyntax
Concrete syntax definition for a PackageExportAllDeclaration.
struct PackageExportDeclarationSyntax
Concrete syntax definition for a PackageExportDeclaration.
struct PackageImportDeclarationSyntax
Concrete syntax definition for a PackageImportDeclaration.
struct ParameterDeclarationStatementSyntax
Concrete syntax definition for a ParameterDeclarationStatement.
struct PathDeclarationSyntax
Concrete syntax definition for a PathDeclaration.
struct PortDeclarationSyntax
Concrete syntax definition for a PortDeclaration.
struct PrimitiveInstantiationSyntax
Concrete syntax definition for a PrimitiveInstantiation.
struct ProceduralBlockSyntax
Concrete syntax definition for a ProceduralBlock.
struct PropertyDeclarationSyntax
Concrete syntax definition for a PropertyDeclaration.
struct PulseStyleDeclarationSyntax
Concrete syntax definition for a PulseStyleDeclaration.
struct SequenceDeclarationSyntax
Concrete syntax definition for a SequenceDeclaration.
struct SpecifyBlockSyntax
Concrete syntax definition for a SpecifyBlock.
struct SpecparamDeclarationSyntax
Concrete syntax definition for a SpecparamDeclaration.
struct SystemTimingCheckSyntax
Concrete syntax definition for a SystemTimingCheck.
struct TimeUnitsDeclarationSyntax
Concrete syntax definition for a TimeUnitsDeclaration.
struct TypedefDeclarationSyntax
Concrete syntax definition for a TypedefDeclaration.
struct UdpDeclarationSyntax
Concrete syntax definition for an UdpDeclaration.
struct UserDefinedNetDeclarationSyntax
Concrete syntax definition for an UserDefinedNetDeclaration.

Public static functions

static auto isKind(SyntaxKind kind) -> bool
Returns true if the provided syntax kind is represented by this type.

Constructors, destructors, conversion operators

MemberSyntax(SyntaxKind kind, const SyntaxList<AttributeInstanceSyntax>& attributes)
Constructs a new instance of the MemberSyntax struct.
MemberSyntax(const MemberSyntax&) defaulted explicit
Copy constructor.

Public functions

auto getChild(size_t index) -> TokenOrSyntax
Gets the child member (token or syntax node) at the provided index within this struct.
auto getChild(size_t index) const -> ConstTokenOrSyntax
Gets the child member (token or syntax node) as a pointer at the provided index within this struct.
auto getChildPtr(size_t index) -> PtrTokenOrSyntax
Gets the child member (token or syntax node) at the provided index within this struct.
void setChild(size_t index, TokenOrSyntax child)
Sets the child member (token or syntax node) at the provided index within this struct.

Public variables

SyntaxList<AttributeInstanceSyntax> attributes
The attributes member.