Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The source location of this module; the SourceRange is invalid.

Children ImmutableArray<SyntaxNode>

An immutable array containing all AST nodes of this module.

Name string

The declared identifier name of the member.

Library string

The external library.

IsPtrSafe bool

An indicator that is true when the declaration includes a PtrSafe token.

MemberKind MemberKind

Specifies the kind of member.

Alias string

The declared alias of the external member, if provided.

AccessModifier AccessModifier

An access modifier, if one was supplied.

Properties

Alias

The declared alias of the external member, if provided.

public string? Alias { get; init; }

Property Value

string

IsPtrSafe

An indicator that is true when the declaration includes a PtrSafe token.

public bool IsPtrSafe { get; init; }

Property Value

bool

Library

The external library.

public string Library { get; init; }

Property Value

string