Table of Contents

Class TypeDefDirectiveNode

Namespace
RDCore.SDK.Model.AST.Directives
Assembly
RDCore.SDK.dll

A BoundNode representing a Def<Type> module directive.

public record TypeDefDirectiveNode : DirectiveNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<TypeDefDirectiveNode>
Inheritance
TypeDefDirectiveNode
Implements
Inherited Members

Constructors

TypeDefDirectiveNode(SyntaxNodeId, SourceLocation, string, ImmutableArray<DefTypePrefixMapping>)

A BoundNode representing a Def<Type> module directive.

public TypeDefDirectiveNode(SyntaxNodeId Identity, SourceLocation Location, string Token, ImmutableArray<DefTypePrefixMapping> Mappings)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location of the directive.

Token string

The DefType token mapping to a specific VBType (per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).

Mappings ImmutableArray<DefTypePrefixMapping>

The prefixing scheme defined by this directive.

Properties

Location

The Location of the directive.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Mappings

The prefixing scheme defined by this directive.

public ImmutableArray<DefTypePrefixMapping> Mappings { get; init; }

Property Value

ImmutableArray<DefTypePrefixMapping>

Token

The DefType token mapping to a specific VBType (per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).

public string Token { get; init; }

Property Value

string

Methods

GetVBType(bool)

public VBType GetVBType(bool is64bit)

Parameters

is64bit bool

Returns

VBType