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 : BoundDirective, IEquatable<BoundNode>, IEquatable<BoundDirective>, IEquatable<TypeDefDirectiveNode>
Inheritance
TypeDefDirectiveNode
Implements
Inherited Members

Constructors

TypeDefDirectiveNode(Uri, Location, VBType, DefTypePrefixMapping)

A BoundNode representing a Def<Type> module directive.

public TypeDefDirectiveNode(Uri SemanticId, Location Location, VBType VBType, DefTypePrefixMapping Value)

Parameters

SemanticId Uri
Location Location

The Location of the directive.

VBType VBType

The mapped VBType (per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).

Value DefTypePrefixMapping

The prefixing scheme defined by this directive.

Properties

VBType

The mapped VBType (per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).

public VBType VBType { get; init; }

Property Value

VBType

Value

The prefixing scheme defined by this directive.

public DefTypePrefixMapping Value { get; init; }

Property Value

DefTypePrefixMapping

Methods

Token(VBType)

Gets the Def<Type> token corresponding to the specified VBType, as defined in MS-VBAL 5.2.2 Implicit Definition Directives.

public static string? Token(VBType type)

Parameters

type VBType

The VBType to map.

Returns

string

null given any VBType that does not have a defined implicit declaration token.