ExecutionDomain class
The execution domain contains commands related to providing an execution or debugging experience.
Constructors
- ExecutionDomain(AnalysisServer server)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
finalinherited
-
onLaunchData
→ Stream<
ExecutionLaunchData> -
Reports information needed to allow a single file to be launched.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → AnalysisServer
-
finalinherited
Methods
-
createContext(
String? contextRoot) → Future< CreateContextResult> - Create an execution context for the executable file with the given path. The context that is created will persist until execution.deleteContext is used to delete it. Clients, therefore, are responsible for managing the lifetime of execution contexts.
-
deleteContext(
String id) → Future - Delete the execution context with the given identifier. The context id is no longer valid after this command. The server is allowed to re-use ids when they are no longer valid.
-
getSuggestions(
String? code, int? offset, String? contextFile, int? contextOffset, List< RuntimeCompletionVariable> ? variables, {List<RuntimeCompletionExpression> ? expressions}) → Future<RuntimeSuggestionsResult> - Request completion suggestions for the given runtime context.
-
mapUri(
String? id, {String? file, String? uri}) → Future< MapUriResult> - Map a URI from the execution context to the file that it corresponds to, or map a file to the URI that it corresponds to in the execution context.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSubscriptions(
List< String> subscriptions) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited