struct
#include <AllSyntax.h>
NetTypeDeclarationSyntax Concrete syntax definition for a NetTypeDeclaration.
Base classes
- struct MemberSyntax
- Concrete syntax definition for a Member.
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
- NetTypeDeclarationSyntax(const SyntaxList<AttributeInstanceSyntax>& attributes, Token keyword, DataTypeSyntax& type, Token name, WithFunctionClauseSyntax* withFunction, Token semi)
- Constructs a new instance of the NetTypeDeclarationSyntax struct.
- NetTypeDeclarationSyntax(const NetTypeDeclarationSyntax&) 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) 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
- Token keyword
- The keyword member.
-
not_
null<DataTypeSyntax*> type - The type member.
- Token name
- The name member.
- WithFunctionClauseSyntax* withFunction
- The withFunction member.
- Token semi
- The semi member.