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
SemanticIdUriLocationLocationThe
Locationof the directive.VBTypeVBTypeThe mapped
VBType(per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).ValueDefTypePrefixMappingThe 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
Value
The prefixing scheme defined by this directive.
public DefTypePrefixMapping Value { get; init; }
Property Value
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
typeVBTypeThe
VBTypeto map.
Returns
- string
nullgiven anyVBTypethat does not have a defined implicit declaration token.