struct
#include <AllSyntax.h>
StatementSyntax Concrete syntax definition for a Statement.
Base classes
- class SyntaxNode
- Base class for all syntax nodes.
Derived classes
- struct BlockStatementSyntax
- Concrete syntax definition for a BlockStatement.
- struct CaseStatementSyntax
- Concrete syntax definition for a CaseStatement.
- struct CheckerInstanceStatementSyntax
- Concrete syntax definition for a CheckerInstanceStatement.
- struct ConcurrentAssertionStatementSyntax
- Concrete syntax definition for a ConcurrentAssertionStatement.
- struct ConditionalStatementSyntax
- Concrete syntax definition for a ConditionalStatement.
- struct DisableForkStatementSyntax
- Concrete syntax definition for a DisableForkStatement.
- struct DisableStatementSyntax
- Concrete syntax definition for a DisableStatement.
- struct DoWhileStatementSyntax
- Concrete syntax definition for a DoWhileStatement.
- struct EmptyStatementSyntax
- Concrete syntax definition for an EmptyStatement.
- struct EventTriggerStatementSyntax
- Concrete syntax definition for an EventTriggerStatement.
- struct ExpressionStatementSyntax
- Concrete syntax definition for an ExpressionStatement.
- struct ForLoopStatementSyntax
- Concrete syntax definition for a ForLoopStatement.
- struct ForeachLoopStatementSyntax
- Concrete syntax definition for a ForeachLoopStatement.
- struct ForeverStatementSyntax
- Concrete syntax definition for a ForeverStatement.
- struct ImmediateAssertionStatementSyntax
- Concrete syntax definition for an ImmediateAssertionStatement.
- struct JumpStatementSyntax
- Concrete syntax definition for a JumpStatement.
- struct LoopStatementSyntax
- Concrete syntax definition for a LoopStatement.
- struct ProceduralAssignStatementSyntax
- Concrete syntax definition for a ProceduralAssignStatement.
- struct ProceduralDeassignStatementSyntax
- Concrete syntax definition for a ProceduralDeassignStatement.
- struct RandCaseStatementSyntax
- Concrete syntax definition for a RandCaseStatement.
- struct RandSequenceStatementSyntax
- Concrete syntax definition for a RandSequenceStatement.
- struct ReturnStatementSyntax
- Concrete syntax definition for a ReturnStatement.
- struct TimingControlStatementSyntax
- Concrete syntax definition for a TimingControlStatement.
- struct VoidCastedCallStatementSyntax
- Concrete syntax definition for a VoidCastedCallStatement.
- struct WaitForkStatementSyntax
- Concrete syntax definition for a WaitForkStatement.
- struct WaitOrderStatementSyntax
- Concrete syntax definition for a WaitOrderStatement.
- struct WaitStatementSyntax
- Concrete syntax definition for a WaitStatement.
Public static functions
- static auto isKind(SyntaxKind kind) -> bool
- Returns true if the provided syntax kind is represented by this type.
-
static auto isChildOptional(size_
t index) -> bool - Returns true if child member (token or syntax node) at the provided index within this struct is a nullable pointer.
Constructors, destructors, conversion operators
- StatementSyntax(SyntaxKind kind, NamedLabelSyntax* label, const SyntaxList<AttributeInstanceSyntax>& attributes)
- Constructs a new instance of the StatementSyntax struct.
- StatementSyntax(const StatementSyntax&) 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
- NamedLabelSyntax* label
- The label member.
- SyntaxList<AttributeInstanceSyntax> attributes
- The attributes member.