Class
MacroCompletionItem
class MacroCompletionItem
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: MacroCompletionItem.cs
Inheritance: Object → MacroCompletionItem
Implements: IEquatable<MacroCompletionItem>
Describes a completion item contributed by a token-tree macro.
Parameters
| Name | Description |
|---|---|
DisplayText |
The text shown in the completion list. |
InsertionText |
The text inserted into the authored macro body. |
BodyRelativeReplacementSpan |
The body-relative span replaced by the insertion. |
CursorOffset |
The optional cursor offset within InsertionText. |
Description |
Optional completion documentation. |
Symbol |
An optional ordinary Raven symbol represented by the item. |
Constructors
1 item
MacroCompletionItem(DisplayText: string, InsertionText: string, BodyRelativeReplacementSpan: TextSpan, CursorOffset?: Nullable<int>, Description?: string?, Symbol?: ISymbol?)
Describes a completion item contributed by a token-tree macro.
Properties
6 items
BodyRelativeReplacementSpan: TextSpan
The body-relative span replaced by the insertion.
CursorOffset: Nullable<int>
The optional cursor offset within InsertionText.
Description: string?
Optional completion documentation.
DisplayText: string
The text shown in the completion list.
InsertionText: string
The text inserted into the authored macro body.
Symbol: ISymbol?
An optional ordinary Raven symbol represented by the item.
Methods
8 items
<Clone>$() -> MacroCompletionItem
No summary available.
Deconstruct(DisplayText: out string, InsertionText: out string, BodyRelativeReplacementSpan: out TextSpan, CursorOffset: out Nullable<int>, Description: out string?, Symbol: out ISymbol?) -> ()
No summary available.
Equals(other: MacroCompletionItem) -> bool
Indicates whether the current object is equal to another object of the same type.
Required implementation (no default). Defined by IEquatable<MacroCompletionItem>.Equals · Defined by IEquatable<MacroCompletionItem>.Equals
Equals(other: MacroCompletionItem?) -> bool
No summary available.
Equals(obj: object?) -> bool
No summary available.
Overrides Object.Equals
GetHashCode() -> int
No summary available.
Overrides Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string
No summary available.
Overrides Object.ToString
Operators
2 items
Static member:
operator ==(left: MacroCompletionItem?, right: MacroCompletionItem?) -> bool
No summary available.
Static member:
operator !=(left: MacroCompletionItem?, right: MacroCompletionItem?) -> bool
No summary available.