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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Locationof the directive.TokenstringThe
DefTypetoken mapping to a specificVBType(per the semantics defined in MS-VBAL 5.2.2 Implicit Definition Directives).MappingsImmutableArray<DefTypePrefixMapping>The prefixing scheme defined by this directive.
Properties
Location
The Location of the directive.
public SourceLocation Location { get; init; }
Property Value
Mappings
The prefixing scheme defined by this directive.
public ImmutableArray<DefTypePrefixMapping> Mappings { get; init; }
Property Value
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
Methods
GetVBType(bool)
public VBType GetVBType(bool is64bit)
Parameters
is64bitbool