Class ExternalMemberDeclarationNode
- Namespace
- RDCore.SDK.Model.AST.Declarations
- Assembly
- RDCore.SDK.dll
public record ExternalMemberDeclarationNode : MemberDeclarationNode, IEquatable<SyntaxNode>, IEquatable<MemberDeclarationNode>, IEquatable<ExternalMemberDeclarationNode>
- Inheritance
-
ExternalMemberDeclarationNode
- Implements
- Inherited Members
Constructors
ExternalMemberDeclarationNode(SyntaxNodeId, SourceLocation, ImmutableArray<SyntaxNode>, string, string, bool, MemberKind, string?, AccessModifier)
public ExternalMemberDeclarationNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ImmutableArray<SyntaxNode> Children, string Name = "", string Library = "", bool IsPtrSafe = false, MemberKind MemberKind = MemberKind.ExternalProcedure, string? Alias = null, AccessModifier AccessModifier = AccessModifier.Implicit)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe source location of this module; the
SourceRangeis invalid.ChildrenImmutableArray<SyntaxNode>An immutable array containing all AST nodes of this module.
NamestringThe declared identifier name of the member.
LibrarystringThe external library.
IsPtrSafeboolAn indicator that is
truewhen the declaration includes aPtrSafetoken.MemberKindMemberKindSpecifies the kind of member.
AliasstringThe declared alias of the external member, if provided.
AccessModifierAccessModifierAn access modifier, if one was supplied.
Properties
Alias
The declared alias of the external member, if provided.
public string? Alias { get; init; }
Property Value
IsPtrSafe
An indicator that is true when the declaration includes a PtrSafe token.
public bool IsPtrSafe { get; init; }
Property Value
Library
The external library.
public string Library { get; init; }