API Referenceglobal
Analysisclass
Immutable editor data for one source, input and permission snapshot.
object→Analysis
Methods4
Showing 4 methods
public Sandbox.Script.CompletionList GetCompletions(int position)
Returns permitted suggestions at a UTF-16 caret offset. Accept a suggestion by replacing ReplacementSpan with its InsertText in this snapshot's source. Queries do not execute host code.
| Parameter | Type | Description |
|---|---|---|
| position | int | — |
public System.Nullable`1<Sandbox.Script.SignatureHelp> GetSignatureHelp(int position)
Returns parameter help without executing host code. Handles incomplete and nested calls.
| Parameter | Type | Description |
|---|---|---|
| position | int | — |
No results match this filter.
Properties4
Showing 4 properties
public System.Collections.Generic.IReadOnlyList`1<Sandbox.Script.Diagnostic> Sandbox.Script.Analysis.Diagnostics { get; set; }
Editor diagnostics. An empty list does not guarantee successful execution.
public System.Collections.Generic.IReadOnlyList`1<Sandbox.Script.Input> Sandbox.Script.Analysis.Inputs { get; set; }
Host input metadata captured by this snapshot, including inputs not used by the source.
No results match this filter.