Class VBEnumMemberSymbol
Represents an Enum type declaration symbol.
public sealed record VBEnumMemberSymbol : VBTypeMemberSymbol, IEquatable<Symbol>, IEquatable<WorkspaceSymbol>, ITypedSymbol, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBEnumMemberSymbol>
- Inheritance
-
VBEnumMemberSymbol
- Implements
- Inherited Members
Constructors
VBEnumMemberSymbol(Uri, Uri, string, ScopeKind, SymbolKindExt, VBType, SourceRange, SourceRange, AccessModifier)
Represents an Enum type declaration symbol.
public VBEnumMemberSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, ScopeKind Scope, SymbolKindExt Kind, VBType ResolvedType, SourceRange Range, SourceRange SelectionRange, AccessModifier AccessModifier)
Parameters
WorkspaceRootUriThe workspace root for this symbol. For an external project or library, this should be different than the user's project workspace.
ParentUriUriThe
Uriof the parent symbol.NamestringThe identifier name of the symbol.
ScopeScopeKindThe allocation scope of the symbol.
KindSymbolKindExtDescribes the kind (category) of symbol for the LSP client.
ResolvedTypeVBTypeThe resolved
VBTypeof the symbol, if available.VBUnknownTypeunless specified otherwise.RangeSourceRangeA
Rangepointing to the document location that belongs to this symbol.SelectionRangeSourceRangeA
Rangepointing to the document location that should be selected when navigating to this symbol.AccessModifierAccessModifierThe access modifier specified for this symbol.
Properties
UriSuffix
protected override string? UriSuffix { get; }
Property Value
Remarks
An Enum's name is a type's, and a variable, a constant or a procedure of its module may take it (MS-VBAL §5.2.3.1,
§5.2.3.2, §5.2.3.4): Property Get PlayerType() As PlayerType. An Enum is addressed with the suffix
Enum after its name (SymbolUri), and its members under it (PlayerType]Enum.HumanControlled).