LspTransport class abstract interface

A live byte channel to a language server process: framed JSON-RPC goes out through write, raw server output arrives on messages.

Implementers

Properties

exitCode → Future<int>
Completes with the server's exit code when the process ends, normally or not. Completes with an error when the exit cannot be determined.
no setter
hashCode → int
The hash code for this object.
no setterinherited
messages → Stream<List<int>>
Raw bytes from the server's stdout. The stream closing (normally or by error) means the connection is dead.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

kill() → void
Terminates the server process. Idempotent.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
write(List<int> data) → void
Writes raw (already framed) bytes to the server's stdin.

Operators

operator ==(Object other) → bool
The equality operator.
inherited